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

Disassembly:
push 0xffffffffffffffff
push 0x618da0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
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.0053c560
mov esi, dword [esp + 0x98]
xor edi, edi
mov dword [esp + 0x8c], edi
cmp esi, eax
je 0x594199
push eax
mov ecx, esi
call fcn.005118d0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x2c], vtable.wxObject.0
call fcn.00511800
mov ecx, ebx
call fcn.0053bae0
test al, al
je 0x5941ee
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.0053eb20
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.0053ba20
jmp 0x594215
push edi
push edi
mov ecx, ebx
call fcn.0053b8f0
push edi
push edi
mov ecx, ebx
mov byte [esp + 0x1c], al
call fcn.0053b920
push edi
push edi
mov ecx, ebx
mov byte [esp + 0x20], al
call fcn.0053b950
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.0041d347
lea ecx, [esp + 0x48]
push 0x10
push ecx
mov dword [esp + 0x94], 1
call fcn.00581fb0
lea edx, [esp + 0x78]
push 0x14
push edx
mov byte [esp + 0x9c], 2
call fcn.00581fb0
add esp, 0x10
mov ecx, ebx
mov byte [esp + 0x8c], 3
call fcn.0053b6a0
mov ebp, eax
mov ecx, ebx
mov dword [esp + 0x2c], ebp
call fcn.0053b6c0
mov dword [esp + 0x24], eax
test ebp, ebp
jle 0x5943fe
xor esi, esi
cmp dword [esp + 0x24], esi
jle 0x5943f5
push esi
push edi
mov ecx, ebx
call fcn.0053b8f0
push esi
push edi
mov ecx, ebx
movzx ebp, al
call fcn.0053b920
movzx eax, al
push esi
push edi
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.0053b950
movzx ecx, byte [esp + 0x14]
movzx eax, al
mov dword [esp + 0x28], eax
cmp ebp, ecx
jne 0x5942e1
movzx edx, byte [esp + 0x18]
cmp dword [esp + 0x20], edx
jne 0x5942e1
movzx ecx, byte [esp + 0x1c]
cmp eax, ecx
je 0x5943e6
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 4
mov dword [esp + 0x34], vtable.wxColour.0
call fcn.0055bc80
movzx edx, byte [esp + 0x7d]
sub edx, 0x32
cmp ebp, edx
mov byte [esp + 0x8c], 5
jl 0x594376
movzx eax, byte [esp + 0x7f]
sub eax, 0x32
cmp dword [esp + 0x20], eax
jl 0x594376
movzx ecx, byte [esp + 0x7e]
sub ecx, 0x32
cmp dword [esp + 0x28], ecx
jl 0x594376
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x38]
call fcn.005118d0
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 0x5943b8
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x38]
call fcn.005118d0
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.0053b720
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 3
call fcn.0055bd20
inc esi
cmp esi, dword [esp + 0x24]
jl 0x594294
mov ebp, dword [esp + 0x2c]
inc edi
cmp edi, ebp
jl 0x594288
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 2
call fcn.0055bd20
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 1
call fcn.0055bd20
lea ecx, [esp + 0x5c]
mov dword [esp + 0x8c], 0xffffffff
call fcn.0055bd20
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