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

Disassembly:
push 0xffffffffffffffff
push 0x617459
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
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 0x5801de
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 0x58024a
mov ecx, dword [esp + 0x7c]
add ecx, 0x2c
lea edx, [esp + 0x18]
cmp edx, ecx
je 0x580215
push ecx
mov ecx, edx
call fcn.005118d0
mov eax, dword [esp + 0x1c]
test ebp, ebp
je 0x58024a
test eax, eax
jne 0x58024a
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.0055a8d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 2
cmp ecx, eax
je 0x58023c
push eax
call fcn.005118d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 1
call fcn.0054ba30
mov eax, dword [edi + 8]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
test eax, eax
je 0x58025c
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 [0x649380]
test al, al
jne 0x58032d
mov esi, dword [esp + 0x7c]
add esi, 4
lea edx, [esp + 0x3c]
cmp edx, esi
je 0x5802c1
push esi
mov ecx, edx
call fcn.005118d0
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 0x58032d
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x24]
lea ecx, [esp + 0x3c]
call edx
test al, al
jne 0x58032d
lea eax, [esp + 0x50]
push eax
mov ecx, ebp
call fcn.0055a720
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], 4
call fcn.0040c35f
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 3
call fcn.0055bd20
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], vtable.wxObject.0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x580343
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 [0x649380]
test al, al
jne 0x58040d
mov esi, dword [esp + 0x7c]
add esi, 0x18
lea ecx, [esp + 0x28]
cmp ecx, esi
je 0x5803a2
push esi
call fcn.005118d0
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 0x58040d
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x28]
call eax
test al, al
jne 0x58040d
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
call fcn.0055a600
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 6
call fcn.0040c35f
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], bl
call fcn.0055bd20
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.0057fd60
mov eax, dword [edi + 0x34]
mov dword [esp + 0x14], 1
test eax, eax
je 0x580443
test byte [edi], 0x80
je 0x580443
mov ebx, dword [esp + 0x7c]
jmp 0x580453
mov ebx, dword [esp + 0x7c]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x58045c
test byte [ebx], 0x80
je 0x58045c
or dword [esi], 0x80
mov dword [esi + 0x34], eax
mov edx, dword [edi]
shr edx, 0xa
test dl, 1
je 0x58046c
lea eax, [edi + 0x38]
push eax
jmp 0x58047a
mov ecx, dword [ebx]
shr ecx, 0xa
test cl, 1
je 0x580488
lea edx, [ebx + 0x38]
push edx
lea ecx, [esi + 0x38]
call fcn.005116a0
or dword [esi], 0x400
mov eax, dword [edi]
shr eax, 8
test al, 1
je 0x580496
mov ecx, dword [edi + 0x44]
jmp 0x5804a3
mov ecx, dword [ebx]
shr ecx, 8
test cl, 1
je 0x5804b2
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 0x5804c4
mov edi, dword [edi + 0x4c]
mov dword [esi + 0x4c], edi
jmp 0x5804d3
mov eax, dword [ebx]
shr eax, 9
test al, 1
je 0x5804d9
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.0055bd20
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 1
call fcn.0055bd20
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0
call fcn.0054ba30
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