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

Disassembly:
push 0xffffffffffffffff
push 0x6feba7
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0xa0]
push esi
call fcn.004a0840
mov eax, dword [esi]
add esp, 4
mov ebp, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
push eax
push dword [edi]
call ebp
mov ebx, dword [sym.imp.MSVCR120.dll_free]
test eax, eax
jne 0x589824
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 6
call fcn.00439d10
add esp, 0x24
test al, al
je 0x589824
call fcn.005c92f0
mov dword [esp + 0x18], eax
mov dword [esp + 0x98], 0
call fcn.005c92f0
mov dword [esp + 0x1c], eax
push 0xffffffffffffffff
lea eax, [esp + 0x24]
mov byte [esp + 0x9c], 1
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.00439000
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
push 0
mov dword [esp + 0xa8], 2
mov dword [esp + 0x44], 6
mov dword [esp + 0x4c], str....._srcmswlistctrl.cpp
mov dword [esp + 0x54], str.wxMSWGetColumnClicked
mov dword [esp + 0x50], 0x791
mov dword [esp + 0x58], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
mov dword [esp + 0x84], eax
mov byte [esp + 0xa8], 3
call sub.KERNEL32.dll_GetLastError
push eax
call fcn.005e5210
add esp, 0x14
push eax
call sub.KERNEL32.dll_GetLastError
push eax
push str.ScreenToClient_listctrl_header_
push 0x791
push str....._srcmswlistctrl.cpp
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00479740
push dword [esp + 0x74]
mov byte [esp + 0x9c], 2
call ebx
add esp, 4
cmp dword [esp + 0x70], 8
jb 0x5897f0
push dword [esp + 0x5c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
call fcn.00439c40
lea ecx, [esp + 0x18]
mov dword [esp + 0x98], 0xffffffff
call fcn.00420020
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call ebp
test eax, eax
jne 0x5899f0
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 6
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5899f0
call fcn.005c92f0
mov dword [esp + 0x18], eax
mov dword [esp + 0x98], 4
call fcn.005c92f0
mov dword [esp + 0x1c], eax
push 0xffffffffffffffff
lea eax, [esp + 0x24]
mov byte [esp + 0x9c], 5
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.00439000
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
push 0
mov dword [esp + 0xa8], 6
mov dword [esp + 0x44], 6
mov dword [esp + 0x4c], str....._srcmswlistctrl.cpp
mov dword [esp + 0x54], str.wxMSWGetColumnClicked
mov dword [esp + 0x50], 0x796
mov dword [esp + 0x58], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
mov dword [esp + 0x84], eax
mov byte [esp + 0xa8], 7
call sub.KERNEL32.dll_GetLastError
push eax
call fcn.005e5210
add esp, 0x14
push eax
call sub.KERNEL32.dll_GetLastError
push eax
push str.ScreenToClient_listctrl_
push 0x796
push str....._srcmswlistctrl.cpp
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00479740
push dword [esp + 0x74]
call ebx
add esp, 4
cmp dword [esp + 0x70], 8
jb 0x58996a
push dword [esp + 0x5c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
mov dword [esp + 0x14], esi
test esi, esi
je 0x5899dc
push 0x4294d0
push dword [esi + 0x10]
mov byte [esp + 0xa0], 8
push dword [esi + 0x14]
call fcn.005f0870
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call ebx
push 0x439bf0
push dword [esi]
mov byte [esp + 0xb0], 6
push dword [esi + 4]
call fcn.005f0870
push dword [esi]
mov dword [esi + 8], 0
call ebx
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 0x24
lea ecx, [esp + 0x18]
mov dword [esp + 0x98], 0xffffffff
call fcn.00420020
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1200
push dword [edi]
call ebp
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x589a42
jmp 0x589a10
lea eax, [esp + 0x7c]
push eax
push esi
push 0x1207
push dword [edi]
call ebp
test eax, eax
je 0x589a3d
push dword [esp + 0x30]
lea eax, [esp + 0x80]
push dword [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x589a6a
inc esi
cmp esi, ebx
jl 0x589a10
or eax, 0xffffffff
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x88
ret
mov eax, esi
jmp 0x589a45