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

Disassembly:
push 0xffffffffffffffff
push 0x616400
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e163c]
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.0053a880
mov esi, dword [esp + 0x98]
xor edi, edi
mov dword [esp + 0x8c], edi
cmp esi, eax
je 0x5923d9
push eax
mov ecx, esi
call fcn.0050f940
lea ecx, [esp + 0x2c]
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x2c], vtable.wxObject.0
call fcn.0050f870
mov ecx, ebx
call fcn.00539e00
test al, al
je 0x59242e
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.0053ce40
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.00539d40
jmp 0x592455
push edi
push edi
mov ecx, ebx
call fcn.00539c10
push edi
push edi
mov ecx, ebx
mov byte [esp + 0x1c], al
call fcn.00539c40
push edi
push edi
mov ecx, ebx
mov byte [esp + 0x20], al
call fcn.00539c70
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.0041d61d
lea ecx, [esp + 0x48]
push 0x10
push ecx
mov dword [esp + 0x94], 1
call fcn.00580270
lea edx, [esp + 0x78]
push 0x14
push edx
mov byte [esp + 0x9c], 2
call fcn.00580270
add esp, 0x10
mov ecx, ebx
mov byte [esp + 0x8c], 3
call fcn.005399c0
mov ebp, eax
mov ecx, ebx
mov dword [esp + 0x2c], ebp
call fcn.005399e0
mov dword [esp + 0x24], eax
test ebp, ebp
jle 0x59263e
xor esi, esi
cmp dword [esp + 0x24], esi
jle 0x592635
push esi
push edi
mov ecx, ebx
call fcn.00539c10
push esi
push edi
mov ecx, ebx
movzx ebp, al
call fcn.00539c40
movzx eax, al
push esi
push edi
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.00539c70
movzx ecx, byte [esp + 0x14]
movzx eax, al
mov dword [esp + 0x28], eax
cmp ebp, ecx
jne 0x592521
movzx edx, byte [esp + 0x18]
cmp dword [esp + 0x20], edx
jne 0x592521
movzx ecx, byte [esp + 0x1c]
cmp eax, ecx
je 0x592626
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 4
mov dword [esp + 0x34], vtable.wxColour.0
call fcn.00559e20
movzx edx, byte [esp + 0x7d]
sub edx, 0x32
cmp ebp, edx
mov byte [esp + 0x8c], 5
jl 0x5925b6
movzx eax, byte [esp + 0x7f]
sub eax, 0x32
cmp dword [esp + 0x20], eax
jl 0x5925b6
movzx ecx, byte [esp + 0x7e]
sub ecx, 0x32
cmp dword [esp + 0x28], ecx
jl 0x5925b6
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x38]
call fcn.0050f940
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 0x5925f8
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x38]
call fcn.0050f940
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.00539a40
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 3
call fcn.005429d0
inc esi
cmp esi, dword [esp + 0x24]
jl 0x5924d4
mov ebp, dword [esp + 0x2c]
inc edi
cmp edi, ebp
jl 0x5924c8
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 2
call fcn.005429d0
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 1
call fcn.005429d0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x8c], 0xffffffff
call fcn.005429d0
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