Function at 0x1035dc6
Capabilities:
Terminate process

Disassembly:
mov eax, 0x1071e79
call fcn.0105c640
sub esp, 0x154
mov eax, dword [0x1251b5c]
xor eax, dword [ebp + 4]
push ebx
mov ebx, ecx
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x3c], ebx
call sub.MFC42.DLL_CString::CString_2
and dword [ebp - 4], 0
push fcn.0105bcd2
push sub.MFC42.DLL_CString::CString_2
push 9
push 4
lea eax, [ebp - 0x38]
push eax
call fcn.0105c845
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_2
push 0x104
mov byte [ebp - 4], 2
call dword [sym.imp.msvcrt.dll_malloc]
mov edi, eax
test edi, edi
pop ecx
mov dword [ebp - 0x44], edi
jne 0x1035e45
push eax
push 0x30
push 0x10067b8
call fcn.0102e0c1
push 1
call dword [sym.imp.msvcrt.dll_exit]
push 0x41
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
add ecx, 0x220
call fcn.0101a437
mov ecx, dword [ebx + 0x390]
call fcn.01022f9d
test eax, eax
mov dword [ebp - 0x40], eax
je 0x10360f3
push esi
mov ecx, dword [ebx + 0x390]
lea eax, [ebp - 0x40]
push eax
call fcn.01022fb1
mov ecx, dword [ebx + 0x390]
push eax
call sub.MFC42.DLL_CListCtrl::GetItemData
mov ecx, dword [ebx + 0x40]
mov ecx, dword [ecx + 0x290a0]
mov esi, dword [ecx + eax*4]
cmp dword [esi + 0x38], 0
je 0x10360e8
mov edi, dword [esi + 4]
jmp 0x10360e0
mov eax, dword [ebx + 0x40]
push dword [eax + 0x174]
push dword [eax + 0x170]
push dword [eax + 0x16c]
push dword [eax + 0x168]
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.0101a461
cmp edx, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
jb 0x10360de
ja 0x1035eea
cmp eax, dword [ebp + 0xc]
jb 0x10360de
cmp edx, dword [ebp + 0x18]
ja 0x10360e8
jb 0x1035efe
cmp eax, dword [ebp + 0x14]
ja 0x10360e8
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x10]
mov ecx, 0x60e
cmp eax, ecx
ja 0x1035f48
je 0x1035f41
sub eax, 0x60a
je 0x1035f3a
dec eax
je 0x1035f33
dec eax
je 0x1035f2c
dec eax
jne 0x1035f8e
push 0x1006120
jmp 0x1035f79
push 0x1006118
jmp 0x1035f79
push 0x1006110
jmp 0x1035f79
push 0x1006108
jmp 0x1035f79
push 0x10060fc
jmp 0x1035f79
sub eax, 0x60f
je 0x1035f74
sub eax, 0x1fb
je 0x1035f60
dec eax
jne 0x1035f8e
push 0x1006110
jmp 0x1035f65
push 0x1006108
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator
push 0x10060f8
jmp 0x1035f86
push 0x10060f0
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator
push 0x10060ec
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::operator
push ebx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::operator
push dword [ebp - 0x34]
xor eax, eax
mov ax, word [esi + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
push eax
call dword [sym.imp.WS2_32.dll_getservbyport]
test eax, eax
je 0x1035fc0
mov eax, dword [eax]
jmp 0x1035fc5
mov eax, 0x10024d2
push 0xa
lea ecx, [ebp - 0x160]
push ecx
movzx ecx, word [esi + 0x14]
push ecx
push eax
mov ebx, 0x10060e4
lea eax, [ebp - 0x2c]
push ebx
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x18
push dword [ebp - 0x58]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
push dword [ebp - 0x34]
xor eax, eax
mov ax, word [esi + 0x16]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
push eax
call dword [sym.imp.WS2_32.dll_getservbyport]
test eax, eax
je 0x103601a
mov eax, dword [eax]
jmp 0x103601f
mov eax, 0x10024d2
push 0xa
lea ecx, [ebp - 0x160]
push ecx
movzx ecx, word [esi + 0x16]
push ecx
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
call sub.MFC42.DLL_CString::Format
push dword [edi + 0x14]
mov ebx, 0x10023ec
lea eax, [ebp - 0x1c]
push ebx
push eax
call sub.MFC42.DLL_CString::Format
fild qword [ebp - 0x54]
add esp, 0x1c
lea eax, [ebp - 0x38]
fmul dword [0x1002090]
fstp qword [esp]
push 0x10060dc
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 4]
add esp, 0x10
lea ecx, [ebp - 0x44]
push ecx
push dword [eax + 0x18]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.0105db9d
push dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0x10023e4
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x10360af
mov eax, dword [esi + 4]
push dword [eax + 0x18]
lea eax, [ebp - 0x18]
push ebx
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
cmp dword [esi + 0x38], 0
je 0x10360db
lea ebx, [ebp - 0x38]
mov dword [ebp - 0x14], 9
push 0
push 1
mov ecx, ebx
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [ebp + 8]
push eax
call fcn.01025d51
add ebx, 4
dec dword [ebp - 0x14]
jne 0x10360bf
mov ebx, dword [ebp - 0x3c]
mov edi, dword [edi]
test edi, edi
jne 0x1035eaa
cmp dword [ebp - 0x40], 0
jne 0x1035e71
pop esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0105bcd2
push fcn.0105bcd2
push 9
push 4
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0
call fcn.0105c762
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0105bcd2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop ebx
call fcn.0105b9a4
leave
ret 0x18