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

Disassembly:
push 0xffffffffffffffff
push 0x5cd129
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, dword [esp + 0x78]
mov dword [esp + 0x14], 0
mov eax, dword [edi + 0x30]
mov ebx, vtable.wxObject.0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x53f7ee
inc dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.wxFont.0
mov ebp, dword [esp + 0x80]
mov esi, 1
mov dword [esp + 0x6c], esi
test eax, eax
jne 0x53f85a
mov ecx, dword [esp + 0x7c]
add ecx, 0x2c
lea edx, [esp + 0x18]
cmp edx, ecx
je 0x53f825
push ecx
mov ecx, edx
call fcn.004d0f70
mov eax, dword [esp + 0x1c]
test ebp, ebp
je 0x53f85a
test eax, eax
jne 0x53f85a
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.0051a010
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 2
cmp ecx, eax
je 0x53f84c
push eax
call fcn.004d0f70
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 1
call fcn.0050b150
mov eax, dword [edi + 8]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
test eax, eax
je 0x53f86c
add dword [eax + 4], esi
movzx eax, byte [edi + 0x10]
movzx ecx, byte [edi + 0x11]
mov edx, dword [edi + 0xc]
mov byte [esp + 0x48], al
movzx eax, byte [edi + 0x13]
mov byte [esp + 0x49], cl
movzx ecx, byte [edi + 0x14]
mov dword [esp + 0x44], edx
mov dl, byte [edi + 0x12]
mov ebx, vtable.wxColour.0
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x4a], dl
mov byte [esp + 0x4b], al
mov byte [esp + 0x4c], cl
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 3
call dword [0x5fc0b8]
test al, al
jne 0x53f93d
mov esi, dword [esp + 0x7c]
add esi, 4
lea edx, [esp + 0x3c]
cmp edx, esi
je 0x53f8d1
push esi
mov ecx, edx
call fcn.004d0f70
movzx ecx, byte [esi + 0xc]
movzx edx, byte [esi + 0xd]
mov eax, dword [esi + 8]
mov byte [esp + 0x48], cl
movzx ecx, byte [esi + 0xf]
mov byte [esp + 0x49], dl
movzx edx, byte [esi + 0x10]
mov dword [esp + 0x44], eax
mov al, byte [esi + 0xe]
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], cl
mov byte [esp + 0x4c], dl
test ebp, ebp
je 0x53f93d
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x24]
lea ecx, [esp + 0x3c]
call edx
test al, al
jne 0x53f93d
lea eax, [esp + 0x50]
push eax
mov ecx, ebp
call fcn.00519e60
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], 4
call fcn.0040c3f6
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 3
call fcn.00525080
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], vtable.wxObject.0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x53f953
inc dword [eax + 4]
movzx edx, byte [edi + 0x24]
movzx eax, byte [edi + 0x25]
mov ecx, dword [edi + 0x20]
mov byte [esp + 0x34], dl
movzx edx, byte [edi + 0x27]
mov byte [esp + 0x35], al
movzx eax, byte [edi + 0x28]
mov dword [esp + 0x30], ecx
mov cl, byte [edi + 0x26]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x36], cl
mov byte [esp + 0x37], dl
mov byte [esp + 0x38], al
mov bl, 5
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], bl
call dword [0x5fc0b8]
test al, al
jne 0x53fa1d
mov esi, dword [esp + 0x7c]
add esi, 0x18
lea ecx, [esp + 0x28]
cmp ecx, esi
je 0x53f9b2
push esi
call fcn.004d0f70
movzx eax, byte [esi + 0xc]
movzx ecx, byte [esi + 0xd]
mov edx, dword [esi + 8]
mov byte [esp + 0x34], al
movzx eax, byte [esi + 0xf]
mov byte [esp + 0x35], cl
movzx ecx, byte [esi + 0x10]
mov dword [esp + 0x30], edx
mov dl, byte [esi + 0xe]
mov byte [esp + 0x36], dl
mov byte [esp + 0x37], al
mov byte [esp + 0x38], cl
test ebp, ebp
je 0x53fa1d
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x28]
call eax
test al, al
jne 0x53fa1d
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
call fcn.00519d40
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 6
call fcn.0040c3f6
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], bl
call fcn.00525080
mov esi, dword [esp + 0x74]
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.0053f370
mov eax, dword [edi + 0x34]
mov dword [esp + 0x14], 1
test eax, eax
je 0x53fa53
test byte [edi], 0x80
je 0x53fa53
mov ebx, dword [esp + 0x7c]
jmp 0x53fa63
mov ebx, dword [esp + 0x7c]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x53fa6c
test byte [ebx], 0x80
je 0x53fa6c
or dword [esi], 0x80
mov dword [esi + 0x34], eax
mov edx, dword [edi]
shr edx, 0xa
test dl, 1
je 0x53fa7c
lea eax, [edi + 0x38]
push eax
jmp 0x53fa8a
mov ecx, dword [ebx]
shr ecx, 0xa
test cl, 1
je 0x53fa98
lea edx, [ebx + 0x38]
push edx
lea ecx, [esi + 0x38]
call fcn.004d0c10
or dword [esi], 0x400
mov eax, dword [edi]
shr eax, 8
test al, 1
je 0x53faa6
mov ecx, dword [edi + 0x44]
jmp 0x53fab3
mov ecx, dword [ebx]
shr ecx, 8
test cl, 1
je 0x53fac2
mov ecx, dword [ebx + 0x44]
mov eax, dword [edi + 0x48]
or dword [esi], 0x100
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], ecx
mov edx, dword [edi]
shr edx, 9
test dl, 1
je 0x53fad4
mov edi, dword [edi + 0x4c]
mov dword [esi + 0x4c], edi
jmp 0x53fae3
mov eax, dword [ebx]
shr eax, 9
test al, 1
je 0x53fae9
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x4c], eax
or dword [esi], 0x200
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 3
call fcn.00525080
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 1
call fcn.00525080
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0
call fcn.0050b150
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret