Function at 0x581c60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x61a1a0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x94]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.00532330
mov esi, dword [esp + 0x98]
xor edi, edi
mov dword [esp + 0x8c], edi
cmp esi, eax
je 0x581cb9
push eax
mov ecx, esi
call fcn.00502790
lea ecx, [esp + 0x2c]
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x2c], vtable.wxObject.0
call fcn.005026b0
mov ecx, ebx
call fcn.00531940
test al, al
je 0x581d0e
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.005348c0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00531880
jmp 0x581d35
push edi
push edi
mov ecx, ebx
call fcn.00531750
push edi
push edi
mov ecx, ebx
mov byte [esp + 0x1c], al
call fcn.00531780
push edi
push edi
mov ecx, ebx
mov byte [esp + 0x20], al
call fcn.005317b0
mov byte [esp + 0x1c], al
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0xff
push ecx
push edx
push eax
lea ecx, [esp + 0x6c]
call fcn.0041266b
lea ecx, [esp + 0x48]
push 0x10
push ecx
mov dword [esp + 0x94], 1
call fcn.00573fd0
lea edx, [esp + 0x78]
push 0x14
push edx
mov byte [esp + 0x9c], 2
call fcn.00573fd0
add esp, 0x10
mov ecx, ebx
mov byte [esp + 0x8c], 3
call fcn.00531500
mov ebp, eax
mov ecx, ebx
mov dword [esp + 0x2c], ebp
call fcn.00531520
mov dword [esp + 0x24], eax
test ebp, ebp
jle 0x581f1e
xor esi, esi
cmp dword [esp + 0x24], esi
jle 0x581f15
push esi
push edi
mov ecx, ebx
call fcn.00531750
push esi
push edi
mov ecx, ebx
movzx ebp, al
call fcn.00531780
movzx eax, al
push esi
push edi
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.005317b0
movzx ecx, byte [esp + 0x14]
movzx eax, al
mov dword [esp + 0x28], eax
cmp ebp, ecx
jne 0x581e01
movzx edx, byte [esp + 0x18]
cmp dword [esp + 0x20], edx
jne 0x581e01
movzx ecx, byte [esp + 0x1c]
cmp eax, ecx
je 0x581f06
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 4
mov dword [esp + 0x34], vtable.wxColour.0
call fcn.0054e320
movzx edx, byte [esp + 0x7d]
sub edx, 0x32
cmp ebp, edx
mov byte [esp + 0x8c], 5
jl 0x581e96
movzx eax, byte [esp + 0x7f]
sub eax, 0x32
cmp dword [esp + 0x20], eax
jl 0x581e96
movzx ecx, byte [esp + 0x7e]
sub ecx, 0x32
cmp dword [esp + 0x28], ecx
jl 0x581e96
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x38]
call fcn.00502790
movzx ecx, byte [esp + 0x68]
movzx edx, byte [esp + 0x69]
mov eax, dword [esp + 0x64]
mov byte [esp + 0x40], cl
movzx ecx, byte [esp + 0x6b]
mov byte [esp + 0x41], dl
movzx edx, byte [esp + 0x6c]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x6a]
mov byte [esp + 0x42], al
mov byte [esp + 0x43], cl
mov byte [esp + 0x44], dl
jmp 0x581ed8
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x38]
call fcn.00502790
movzx edx, byte [esp + 0x54]
movzx eax, byte [esp + 0x55]
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x40], dl
movzx edx, byte [esp + 0x57]
mov byte [esp + 0x41], al
movzx eax, byte [esp + 0x58]
mov dword [esp + 0x3c], ecx
mov cl, byte [esp + 0x56]
mov byte [esp + 0x42], cl
mov byte [esp + 0x43], dl
mov byte [esp + 0x44], al
mov ecx, dword [esp + 0x42]
mov edx, dword [esp + 0x43]
mov eax, dword [esp + 0x41]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
push eax
push esi
push edi
call fcn.00531580
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 3
call fcn.00535e30
inc esi
cmp esi, dword [esp + 0x24]
jl 0x581db4
mov ebp, dword [esp + 0x2c]
inc edi
cmp edi, ebp
jl 0x581da8
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 2
call fcn.00535e30
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 1
call fcn.00535e30
lea ecx, [esp + 0x5c]
mov dword [esp + 0x8c], 0xffffffff
call fcn.00535e30
mov al, 1
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret