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

Disassembly:
push 0xffffffffffffffff
push 0x5cf028
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x1d4]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x68ccc8]
lea eax, [esp + 0x38]
push eax
push esi
push ecx
xor ebp, ebp
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], ebp
call fcn.0056ae40
mov edi, dword [esp + 0x1e8]
mov ecx, dword [edi + 8]
mov edx, dword [0x68ccc8]
mov eax, ecx
mov dword [esp + 0x1dc], ebp
mov ebx, edx
cmp eax, 0xfffffff4
ja 0x55a3c6
je 0x55a23b
add eax, 0x212
cmp eax, 0x81
ja case.0x559e6c.529
movzx eax, byte [eax + 0x55a814]
jmp dword [eax*4 + 0x55a7d8]
mov ebx, dword [0x691c18]
cmp ebx, edx
jne 0x559e83
mov ebx, dword [0x691c1c]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x64]
mov dword [esp + 0xc0], ecx
mov ecx, dword [edi + 0x60]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov byte [esp + 0x7c], 0
jmp 0x559f4a
mov eax, dword [edi + 0x10]
mov ebx, dword [0x691c20]
mov dword [esp + 0xc0], eax
mov dword [esi + 0x168], eax
mov eax, dword [edi + 0x1c]
push eax
lea ecx, [esp + 0xd4]
call fcn.004cf4e0
mov byte [esp + 0xd4], 0
jmp 0x559f4a
cmp byte [esi + 0x17c], 0
mov eax, dword [edi + 0x14]
mov ebx, dword [0x691c28]
mov dword [esp + 0xc0], eax
je 0x559f4a
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x20]
lea ebp, [esi + 0x16c]
push eax
mov ecx, ebp
call fcn.005570c0
cmp dword [esp + 0x1c], 0
je 0x559f48
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x559f39
mov ecx, eax
call fcn.0055ad90
mov edx, dword [esp + 0x14]
push edx
call fcn.00574048
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 4
push eax
mov ecx, ebp
call fcn.00558ab0
xor ebp, ebp
mov dword [esp + 0x50], ebx
cmp dword [esp + 0xc0], ebp
je 0x559f6f
mov edx, dword [esi]
mov edx, dword [edx + 0x2e0]
lea eax, [esp + 0xc0]
push eax
mov ecx, esi
call edx
mov dword [esp + 0x78], eax
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x44]
push edx
call eax
mov bl, al
mov eax, dword [edi + 8]
cmp eax, 0xfffffe62
ja 0x55a74a
je 0x55a732
add eax, 0x1cc
cmp eax, 0xa
ja case.0x559fa2.453
jmp dword [eax*4 + 0x55a898]
mov eax, dword [edi + 0x10]
mov ebx, dword [0x691c24]
mov dword [esp + 0xc0], eax
mov eax, dword [edi + 0x1c]
push eax
lea ecx, [esp + 0xd4]
call fcn.004cf4e0
cmp dword [edi + 0x1c], ebp
sete cl
mov byte [esp + 0xd4], cl
jmp 0x559f4a
mov edx, dword [esp + 0x1ec]
mov dword [edx], ebp
jmp 0x559f4a
mov eax, dword [edi + 0x14]
mov ebx, dword [0x691c64]
mov dword [esp + 0xc0], eax
jmp 0x559f4a
mov ebx, dword [0x691c2c]
cmp ebx, edx
jne 0x55a00e
mov ebx, dword [0x691c30]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0xc0], ecx
jmp 0x559f4a
mov eax, dword [edi + 0xc]
sub eax, 1
je 0x55a02d
dec eax
mov edx, 1
jmp 0x55a02f
xor edx, edx
xor eax, eax
cmp ecx, 0xfffffe3a
sete al
lea edx, [eax + edx*2]
mov eax, dword [edi + 0x3c]
mov ebx, dword [edx*4 + 0x691a80]
mov dword [esp + 0xc0], eax
jmp 0x559f4a
mov ebx, dword [0x691c4c]
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setl al
movzx ebp, al
neg ebp
mov byte [esp + 0x1b], al
movzx eax, word [edi + 0xc]
sbb ebp, ebp
push 0
and ebp, 0x2000
push eax
shl ebp, 0x10
mov dword [esp + 0x1c], eax
call fcn.0050d040
add esp, 8
test eax, eax
jne 0x55a096
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x68fa34]
push ecx
push ebp
push eax
push edx
lea eax, [esp + 0x110]
push eax
mov ecx, esi
call fcn.005127b0
push eax
lea ecx, [esp + 0x84]
call fcn.00556f20
lea ecx, [esp + 0x100]
mov dword [esp + method.wxObject.virtual_0], vtable.wxObject.0
call fcn.004d0e90
call fcn.0050d6c0
test al, al
jne 0x559f48
call fcn.0050d6a0
test al, al
jne 0x559f48
cmp byte [esp + 0x1b], al
jne 0x559f48
movzx eax, word [edi + 0xc]
cmp ax, 0x20
je 0x55a10f
cmp ax, 0xd
jne 0x559f48
mov ecx, dword [esi + 0xcc]
shr ecx, 5
mov dword [esp + 0x14], 0
test cl, 1
jne 0x55a13c
mov edx, dword [esi]
mov edx, dword [edx + 0x330]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call edx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov edx, dword [0x691c50]
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
lea ecx, [esp + 0x14c]
call fcn.0056ae40
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x140]
push edx
mov byte [esp + 0x1e0], 1
call eax
lea ecx, [esp + 0x140]
mov byte [esp + 0x1dc], 0
call fcn.005591e0
jmp 0x559f48
mov ecx, dword [esi + 0xcc]
shr ecx, 5
test cl, 1
je 0x55a1ce
mov edx, dword [edi + 0x10]
push edx
call fcn.00556bc0
add esp, 4
test al, al
je 0x55a1ce
mov eax, dword [esp + 0x1ec]
mov dword [eax], 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x1dc], 0xffffffff
call fcn.005591e0
mov al, 1
jmp 0x55a7ba
lea ecx, [esp + 0x44]
mov dword [esp + 0x1dc], 0xffffffff
call fcn.005591e0
xor al, al
jmp 0x55a7ba
mov ebx, dword [0x691c44]
cmp ebx, edx
jne 0x55a1f9
mov ebx, dword [0x691c48]
cmp ecx, 0xfffffe3e
je 0x55a222
cmp ecx, 0xfffffe3d
je 0x55a222
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x14]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
jmp 0x559f4a
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x14]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
jmp 0x559f4a
mov eax, dword [edi + 0xc]
sub eax, 1
je 0x55a3aa
sub eax, 0x10000
jne 0x55a272
mov ebx, dword [edi + 0x24]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x16c]
mov dword [esp + 0x1c], ebx
call fcn.005570c0
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jne 0x55a280
mov edx, dword [esp + 0x1ec]
mov dword [edx], ebp
jmp 0x55a1b3
mov ebp, dword [eax + 8]
push 8
push 8
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xe4]
mov dword [esp + 0x20], ebx
call fcn.00556be0
lea ecx, [esp + 0xd8]
push ecx
mov ecx, esi
call fcn.005574c0
test byte [edi + 0x28], 1
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x14], eax
jne 0x55a313
test al, 8
jne 0x55a30d
lea ecx, [esp + 0x1c]
call fcn.004fa2b0
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x20]
lea ebx, [ebp + 0x14]
mov ecx, ebx
mov byte [esp + 0x1dc], 2
call eax
test al, al
je 0x55a2fc
push ebx
lea ecx, [esp + 0x20]
call fcn.0040c3f6
lea ecx, [esp + 0x1c]
push ecx
call fcn.0050d630
add esp, 4
mov dword [edi + 0x34], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1dc], 0
call fcn.00525080
test byte [edi + 0x28], 1
je 0x55a31c
call fcn.00517370
cmp eax, esi
je 0x55a36d
test byte [esp + 0x14], 8
jne 0x55a36d
lea ecx, [esp + 0x1c]
call fcn.004fa2b0
mov edx, dword [ebp]
mov eax, dword [edx + 0x20]
mov ecx, ebp
mov byte [esp + 0x1dc], 3
call eax
test al, al
je 0x55a35c
push ebp
lea ecx, [esp + 0x20]
call fcn.0040c3f6
lea ecx, [esp + 0x1c]
push ecx
call fcn.0050d630
add esp, 4
mov dword [edi + 0x30], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1dc], 0
call fcn.00525080
cmp dword [ebp + 0x2c], 0
je 0x55a398
lea ecx, [ebp + 0x28]
call fcn.0050b160
mov edx, dword [edi + 0x10]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x1ec]
mov dword [eax], 2
jmp 0x55a1b3
mov ecx, dword [esp + 0x1ec]
mov dword [ecx], 0
jmp 0x55a1b3
movzx edx, byte [esi + 0x17c]
mov eax, dword [esp + 0x1ec]
neg edx
sbb edx, edx
and edx, 0x20
mov dword [eax], edx
jmp 0x55a1b3
cmp eax, 0xfffffffb
je 0x55a45d
cmp eax, 0xfffffffd
je 0x55a45d
cmp eax, 0xfffffffe
jne case.0x559e6c.529
call dword [sym.imp.USER32.dll_GetMessagePos]
movzx ecx, ax
shr eax, 0x10
push 1
lea edx, [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x114]
push edx
push eax
push ebp
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 0x3b0]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
push ecx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esp + 0x20], ebp
call edx
test dword [esp + 0x14], 0x100
je 0x559f48
mov eax, dword [esp + 0x34]
mov ebx, dword [0x691c60]
mov dword [esp + 0xc0], eax
jmp 0x559f4a
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x114]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0x114]
lea ecx, [esp + 0x1c]
push ecx
push ebp
push 0x1111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je case.0x559e6c.529
test byte [esp + 0x24], 0x46
je 0x559f48
cmp dword [edi + 8], 0xfffffffd
mov edx, dword [esp + 0x28]
mov ebx, dword [0x691c50]
mov dword [esp + 0xc0], edx
je 0x55a4c2
mov ebx, dword [0x691c54]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
jmp 0x559f4a
cmp byte [esp + 0x7c], 0
je case.0x559fa2.453
push 0x38
call fcn.005740d0
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0x1dc], 4
cmp eax, ebp
je 0x55a514
lea ecx, [esp + 0xc0]
push ecx
push esi
mov ecx, eax
call fcn.00557130
jmp 0x55a516
xor eax, eax
push ebp
push ebp
push esi
lea edx, [esp + 0x28]
push edx
mov ecx, eax
mov byte [esp + 0x1ec], 0
mov dword [esi + 0x180], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.0056b3d0
mov ecx, dword [esi + 0x180]
call fcn.0056b300
jmp case.0x559fa2.453
mov edi, dword [edi + 0x34]
cmp edi, ebp
je 0x55a55c
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov bl, 1
jmp case.0x559fa2.453
mov al, byte [esp + 0x7c]
mov edx, dword [esp + 0x1ec]
xor ecx, ecx
test al, al
sete cl
mov dword [edx], ecx
test al, al
je 0x55a640
mov eax, dword [esi + 0x114]
push ebp
push ebp
push 0x110f
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, ebp
je case.0x559fa2.453
mov eax, dword [esi + 0x164]
cmp eax, ebp
je 0x55a5b6
cmp dword [eax + 0x114], ebp
je 0x55a5b6
mov ecx, esi
call fcn.00558550
cmp dword [esi + 0x164], ebp
jne 0x55a5f4
push 0x1b4
call fcn.005740d0
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0x1dc], 5
cmp eax, ebp
je 0x55a5e4
mov ecx, eax
call fcn.0051c210
jmp 0x55a5e6
xor eax, eax
mov byte [esp + 0x1dc], 0
mov dword [esi + 0x164], eax
mov eax, dword [esi + 0x164]
mov dword [eax + 0x2c], esi
mov eax, dword [esi + 0x164]
mov dword [eax + 0x114], edi
mov ecx, dword [esi + 0x164]
push edi
call fcn.00512d00
mov ecx, dword [esi + 0x164]
mov eax, dword [ecx]
mov edx, dword [eax + 0xb0]
call edx
mov ecx, dword [esi + 0x164]
mov edx, dword [ecx]
or eax, 0x400
push eax
mov eax, dword [edx + 0xac]
call eax
jmp case.0x559fa2.453
mov dword [esi + 0x168], ebp
jmp case.0x559fa2.453
movzx ecx, byte [esp + 0x7c]
mov edx, dword [esp + 0x1ec]
mov dword [edx], ecx
mov ecx, esi
mov bl, 1
call fcn.00558550
jmp case.0x559fa2.453
mov ecx, dword [esp + 0x1ec]
xor eax, eax
cmp byte [esp + 0x7c], al
sete al
mov dword [ecx], eax
jmp case.0x559fa2.453
mov edx, dword [edi + 0x3c]
mov eax, dword [esi]
push 2
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x2dc]
push ecx
mov ecx, esi
call edx
cmp eax, 0xffffffff
je case.0x559fa2.453
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00557aa0
jmp case.0x559fa2.453
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ecx
push edx
mov ecx, esi
call fcn.00557870
mov ebp, eax
test ebp, ebp
je case.0x559fa2.453
test byte [edi + 0xc], 2
je 0x55a6ff
mov eax, dword [esi]
mov edx, dword [eax + 0x31c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call edx
movzx eax, al
neg eax
sbb eax, eax
and eax, 2
push eax
mov ecx, ebp
call fcn.00556c20
mov dword [edi + 0x24], eax
test byte [edi + 0xc], 0x20
je case.0x559fa2.453
mov edx, dword [esi]
mov edx, dword [edx + 0x31c]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call edx
xor ecx, ecx
test al, al
setne cl
lea ecx, [ecx + ecx + 1]
push ecx
mov ecx, ebp
call fcn.00556c20
mov dword [edi + 0x28], eax
jmp case.0x559fa2.453
cmp byte [esp + 0x7c], 0
je case.0x559fa2.453
lea edx, [esp + 0xd0]
push edx
mov ecx, esi
call fcn.00518150
jmp case.0x559fa2.453
cmp eax, 0xfffffffb
je 0x55a762
cmp eax, 0xfffffffd
jne case.0x559fa2.453
mov ecx, dword [esp + 0x1ec]
movzx eax, bl
mov dword [ecx], eax
jmp case.0x559fa2.453
mov edx, dword [esp + 0x1ec]
mov dword [edx], 1
mov esi, dword [esi + 0x114]
mov bl, 1
call dword [sym.imp.USER32.dll_GetMessagePos]
push eax
push esi
push 0x7b
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x559fa2.453
mov eax, dword [esp + 0x1ec]
mov ecx, dword [esp + 0x1e4]
push eax
push edi
push ecx
mov ecx, esi
call fcn.0052ee20
mov bl, al
lea ecx, [esp + 0x44]
mov dword [esp + 0x1dc], 0xffffffff
call fcn.005591e0
mov al, bl
mov ecx, dword [esp + 0x1d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1cc
ret 0xc