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

Disassembly:
push 0xffffffffffffffff
push 0x5e8698
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [esp + 0x78], 8
mov edx, dword [esp + 0x6c]
setne al
movzx ecx, al
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.0057d3d0
mov eax, dword [esp + 0x70]
xor edx, edx
mov dword [esp + 0x60], edx
cmp byte [esp + 0x40], dl
je 0x57e3d4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x14]
mov esi, dword [esp + 0x68]
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x70], edx
mov edx, dword [esi + 0xdc]
shr edx, 9
mov dword [esp + 0x1c], ecx
test dl, 1
je 0x57e3fb
mov dword [esp + 0x70], 1
push 0x24
call fcn.004b1800
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x2c], eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x70]
add esp, 4
call eax
mov edi, vtable.wxObject.0
mov dword [esp + 0x2c], edi
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
test eax, eax
je 0x57e433
inc dword [eax + 4]
mov dword [esp + 0x2c], vtable.wxPen.0
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
mov eax, dword [esp + 0x78]
mov edx, dword [edx + 0x6c]
push eax
mov byte [esp + 0x64], 1
call edx
mov eax, dword [esi + 0xdc]
shr eax, 8
mov byte [esp + 0x60], 2
test al, 1
je 0x57e5e8
lea ecx, [esp + 0x44]
push 0xf
push ecx
call fcn.004d79e0
add esp, 8
push 0x64
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 3
call fcn.004f2fb0
mov esi, eax
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x34]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
mov byte [esp + 0x60], 4
call edx
mov dword [esp + 0x20], edi
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
test eax, eax
je 0x57e4b5
inc dword [eax + 4]
mov dword [esp + 0x20], vtable.wxBrush.0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
push esi
mov byte [esp + 0x64], 5
call eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 7
call fcn.00506650
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 8
mov dword [esp + 0x44], edi
call fcn.00423980
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0x174]
push ebp
push 3
push 0
lea eax, [esi + 2]
push eax
call edx
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
lea edx, [ebx + 0x14]
push edx
call eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov edi, ebp
sub edi, eax
push edi
push esi
push eax
mov eax, dword [edx + 0x164]
push esi
call eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
lea eax, [ebx + 0x1c]
push eax
call edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
push ebp
lea eax, [esi + 1]
push eax
push 0
push eax
mov eax, dword [edx + 0x164]
call eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
lea eax, [ebx + 0xc]
push eax
call edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
push ebp
lea eax, [esi + 5]
push eax
push 0
push eax
mov eax, dword [edx + 0x164]
call eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
add ebx, 4
push ebx
call eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx + 0x164]
push edi
add esi, 6
push esi
push eax
push esi
call edx
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 9
call edx
test al, al
je 0x57e5d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x74]
lea eax, [esp + 0x20]
push eax
call edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 2
call fcn.00506650
mov edi, vtable.wxObject.0
jmp 0x57e6bc
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.0049ef20
push 0x64
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 0xa
call fcn.004f2fb0
mov esi, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
mov byte [esp + 0x60], 0xb
call eax
mov dword [esp + 0x20], edi
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
test eax, eax
je 0x57e631
inc dword [eax + 4]
mov dword [esp + 0x20], vtable.wxBrush.0
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
push esi
mov byte [esp + 0x64], 0xc
call eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 0xe
call fcn.00506650
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 0xf
mov dword [esp + 0x44], edi
call fcn.00423980
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x74]
mov edx, dword [edx + 0x174]
push ebp
push 3
push 0
push eax
call edx
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0x10
call edx
test al, al
je 0x57e6ae
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x74]
lea eax, [esp + 0x20]
push eax
call edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 2
call fcn.00506650
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 0x11
call edx
test al, al
je 0x57e6e5
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x2c]
push eax
call edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 0
mov dword [esp + 0x2c], edi
call fcn.00423980
mov dword [esp + 0x34], vtable.wxDC.0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], 0x12
test ecx, ecx
je 0x57e717
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x34], edi
call fcn.00423980
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x18