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

Disassembly:
push 0xffffffffffffffff
push 0x70e390
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x820ac4]
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.005a2930
mov esi, dword [esp + 0x98]
xor edi, edi
cmp esi, eax
mov dword [esp + 0x8c], edi
je 0x5d2da9
push eax
mov ecx, esi
call fcn.005fd950
lea ecx, [esp + 0x2c]
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x2c], vtable.wxObject.0
call fcn.005fd8d0
mov ecx, ebx
call fcn.005a1e20
test al, al
je 0x5d2dfe
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.005a4f10
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.005a1d60
jmp 0x5d2e25
push edi
push edi
mov ecx, ebx
call fcn.005a1c30
push edi
push edi
mov ecx, ebx
mov byte [esp + 0x1c], al
call fcn.005a1c60
push edi
push edi
mov ecx, ebx
mov byte [esp + 0x20], al
call fcn.005a1c90
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.00580ad0
lea ecx, [esp + 0x48]
push 0x10
push ecx
mov dword [esp + 0x94], 1
call fcn.005bc1f0
lea edx, [esp + 0x78]
push 0x14
push edx
mov byte [esp + 0x9c], 2
call fcn.005bc1f0
add esp, 0x10
mov ecx, ebx
mov byte [esp + 0x8c], 3
call fcn.005a19d0
mov ebp, eax
mov ecx, ebx
mov dword [esp + 0x2c], ebp
call fcn.005a19f0
test ebp, ebp
mov dword [esp + 0x24], eax
jle 0x5d3012
xor esi, esi
cmp dword [esp + 0x24], esi
jle 0x5d3007
push esi
push edi
mov ecx, ebx
call fcn.005a1c30
push esi
push edi
mov ecx, ebx
movzx ebp, al
call fcn.005a1c60
movzx eax, al
push esi
push edi
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.005a1c90
movzx ecx, byte [esp + 0x14]
cmp ebp, ecx
movzx eax, al
mov dword [esp + 0x28], eax
jne 0x5d2ef1
movzx edx, byte [esp + 0x18]
cmp dword [esp + 0x20], edx
jne 0x5d2ef1
movzx ecx, byte [esp + 0x1c]
cmp eax, ecx
je 0x5d2ff6
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 4
mov dword [esp + 0x34], vtable.wxColour.0
call fcn.00598570
movzx edx, byte [esp + 0x7d]
sub edx, 0x32
cmp ebp, edx
mov byte [esp + 0x8c], 5
jl 0x5d2f86
movzx eax, byte [esp + 0x7f]
sub eax, 0x32
cmp dword [esp + 0x20], eax
jl 0x5d2f86
movzx ecx, byte [esp + 0x7e]
sub ecx, 0x32
cmp dword [esp + 0x28], ecx
jl 0x5d2f86
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x38]
call fcn.005fd950
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 0x5d2fc8
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x38]
call fcn.005fd950
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.005a1a50
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 3
call fcn.0057d0a0
add esi, 1
cmp esi, dword [esp + 0x24]
jl 0x5d2ea4
mov ebp, dword [esp + 0x2c]
add edi, 1
cmp edi, ebp
jl 0x5d2e98
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 2
call fcn.0057d0a0
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 1
call fcn.0057d0a0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x8c], 0xffffffff
call fcn.0057d0a0
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