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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58ce70
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x4d34]
test ecx, ecx
jne 0x53068b
mov eax, dword [esi + 0xa7c]
test eax, eax
je 0x530d92
jmp 0x530699
mov eax, dword [esi + 0x638]
test eax, eax
je 0x530d92
mov ecx, dword [0x5f385c]
mov edi, dword [esp + 0x58]
inc ecx
mov dword [0x5f385c], ecx
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx + 0x4d34]
test eax, eax
jne 0x530876
mov edx, dword [esi + 0xa7c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor ebp, ebp
push ebp
push ebp
push 0x1004
push edx
call ebx
test eax, eax
jle 0x5309d7
push ebp
lea ecx, [esi + 0xa5c]
call sub.MFC42.DLL_CListCtrl::GetItemData
cmp eax, edi
je 0x530707
mov eax, dword [esi + 0xa7c]
push 0
push 0
push 0x1004
push eax
inc ebp
call ebx
cmp ebp, eax
jl 0x5306db
jmp 0x5309d7
mov ecx, dword [esi + 0xa7c]
push 0
push ebp
push 0x1008
push ecx
call ebx
mov eax, dword [esi + 0x80]
test eax, eax
je 0x530841
add eax, 0xd0
test eax, eax
je 0x530841
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x530841
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::CString_5
mov ebp, dword [esi + 0xc0]
lea edx, [esp + 0x24]
push 3
push edx
mov dword [esp + 0x58], 0
call fcn.004a0bd0
mov ebx, eax
lea eax, [esp + 0x28]
push 2
push eax
mov byte [esp + 0x60], 1
call fcn.004a0bd0
add esp, 0x10
push ebx
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_operator_1
push 0x5ed868
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x5c], 3
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push ebp
push eax
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x5c], 4
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, dword [esi + 0x80]
push 0
add ecx, 0xd0
call fcn.00467a80
mov eax, dword [esi + 0x80]
push 1
add eax, 0xd0
push 0
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x58]
mov ecx, dword [esi + 0x80]
push eax
push 0
push 1
call fcn.00486740
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x120]
test ebx, ebx
je 0x5309d7
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5309d7
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5309d7
jmp 0x5309cf
push edi
lea ecx, [esi + 0x618]
call fcn.004b20c0
mov eax, dword [esi + 0x80]
test eax, eax
je 0x5309ab
add eax, 0xd0
test eax, eax
je 0x5309ab
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x5309ab
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::CString_5
mov ebp, dword [esi + 0xc0]
lea ecx, [esp + 0x18]
push 3
push ecx
mov dword [esp + 0x58], 5
call fcn.004a0bd0
mov ebx, eax
lea edx, [esp + 0x24]
push 2
push edx
mov byte [esp + 0x60], 6
call fcn.004a0bd0
add esp, 0x10
push ebx
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x58], 7
push eax
call sub.MFC42.DLL_operator_1
push 0x5ed868
lea ecx, [esp + 0x28]
mov bl, 8
push eax
push ecx
mov byte [esp + 0x5c], bl
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push ebp
lea edx, [esp + 0x5c]
push eax
push edx
mov byte [esp + 0x5c], 9
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x58]
mov ecx, dword [esi + 0x80]
push eax
push 0
add ecx, 0xd0
call fcn.00467a80
mov eax, dword [esi + 0x80]
push 1
add eax, 0xd0
push 0
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esp + 0x58]
mov ecx, dword [esi + 0x80]
push edx
push 0
push 1
call fcn.00486740
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x120]
test ebx, ebx
je 0x5309d7
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5309d7
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5309d7
push edi
mov ecx, ebx
call fcn.004c8710
push edi
mov ecx, esi
call fcn.005341c0
mov ebx, dword [0x5f385c]
lea ecx, [esp + 0x14]
dec ebx
mov dword [0x5f385c], ebx
mov eax, dword [esi + 0x78]
mov ebp, dword [eax + 0x218]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x14]
lea ebx, [edi + 0x520]
push ecx
mov ecx, dword [esi + 0x78]
push ebx
add ecx, 0x5ec0
mov dword [esp + 0x58], 0xa
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
je 0x530a65
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
test eax, eax
jl 0x530a65
mov ecx, dword [esi + 0x78]
cmp eax, dword [ecx + 0x5e00]
jge 0x530a65
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ecx + 0x5dfc]
shl edx, 6
add eax, edx
mov ecx, dword [eax + 0x84]
test ecx, ecx
je 0x530a65
mov ebp, dword [eax + 0x88]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x530ca8
test ebp, ebp
je 0x530ca8
mov eax, dword [esi + 0xb44]
test eax, eax
je 0x530ca8
test byte [edi + 0x100], 2
jne 0x530ca8
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CStringArray::CStringArray
push 0xffffffffffffffff
push 6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xb
call sub.MFC42.DLL_CStringArray::SetSize
lea ecx, [edi + 0x6c]
push ecx
mov ecx, dword [esp + 0x3c]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x38]
lea edx, [edi + 0x32]
push edx
lea ecx, [eax + 4]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x38]
push edi
add ecx, 8
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x38]
lea edx, [edi + 0x9e]
push edx
lea ecx, [eax + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x38]
push ebx
add ecx, 0x10
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x38]
mov eax, dword [edi + 0x64]
push eax
lea ebp, [edx + 0x14]
call sub.WSOCK32.dll_inet_ntoa
push eax
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [edi + 0xf4]
test eax, eax
jne 0x530b1f
xor ebp, ebp
jmp 0x530b26
mov ebp, dword [edi + 0xf8]
inc ebp
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov ecx, dword [eax + 0x174]
push ecx
call ebx
cmp ebp, eax
jl 0x530b64
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x174]
push edx
call ebx
mov ecx, dword [edi + 0xfc]
lea ebp, [ecx + 1]
cmp ebp, eax
jl 0x530b64
mov ebp, 1
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x5c]
add eax, 0x10
push eax
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x5c]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5e0b58
push ecx
mov byte [esp + 0x58], 0xc
call ebx
add esp, 8
test eax, eax
jne 0x530bba
mov edx, dword [esp + 0x38]
push 0x5f3788
mov eax, dword [edx + 0xc]
push eax
call ebx
add esp, 8
test eax, eax
je 0x530bba
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x5c]
add eax, 0xc
push eax
call fcn.00572d3c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
push ecx
mov bl, 0xd
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push 0x5ed888
push ecx
mov byte [esp + 0x6c], bl
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0
push ebp
mov edx, dword [eax + 0x174]
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov ebp, eax
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x4d08]
push ecx
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x5f3788
call sub.MFC42.DLL_CString::CString_3
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x5f3788
mov byte [esp + 0x6c], 0xe
call sub.MFC42.DLL_CString::CString_3
push 1
push 0
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x78], 0xf
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x78], 0x10
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x5ed878
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x78], bl
call fcn.005323d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x50], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 0xa
call fcn.00572f3a
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x7c]
mov esi, eax
test esi, esi
je 0x530d81
push ecx
lea eax, [edi + 0x104]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [edi + 0x64]
mov byte [esp + 0x54], 0x11
push ecx
call sub.WSOCK32.dll_inet_ntoa
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edx, [edi + 0x9e]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x60], 0x12
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [edi + 0x520]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x64], 0x13
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x64], 0x14
mov ecx, esp
mov dword [esp + 0x2c], esp
push edi
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [edi + 0x32]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x6c], 0x15
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edx, [edi + 0x552]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x70], 0x16
call sub.MFC42.DLL_CString::CString_3
push ecx
add edi, 0x6c
mov ecx, esp
mov dword [esp + 0x50], esp
push edi
mov byte [esp + 0x74], 0x17
call sub.MFC42.DLL_CString::CString_3
push 2
mov ecx, esi
mov byte [esp + 0x74], 0xa
call fcn.00493040
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret 8