Function at 0x10324e8
Capabilities:
Terminate process

Disassembly:
mov eax, 0x1071bb7
call fcn.0105c640
sub esp, 0x158
mov eax, dword [0x1251b5c]
xor eax, dword [ebp + 4]
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], eax
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 - 0x50]
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]
test eax, eax
pop ecx
mov dword [ebp - 0x3c], eax
jne 0x1032561
push eax
push 0x30
push 0x100612c
call fcn.0102e0c1
push 1
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp + 8]
add ecx, 0x220
call fcn.0101a437
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.010322b4
mov ecx, eax
mov eax, dword [ebx + 0x45c]
cmp ecx, dword [eax + 0x290b8]
mov dword [ebp - 0x14], ecx
jge 0x1032879
push esi
push edi
jmp 0x103259a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x45c]
push dword [eax + 0x174]
mov edx, dword [eax + 0x290b4]
push dword [eax + 0x170]
mov edi, dword [edx + ecx*4]
push dword [eax + 0x16c]
mov esi, dword [edi + 4]
push dword [eax + 0x168]
push dword [esi + 0x2c]
push dword [esi + 0x28]
call fcn.0101a461
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x45c]
push dword [eax + 0x174]
mov dword [ebp - 0x54], edx
push dword [eax + 0x170]
push dword [eax + 0x16c]
push dword [eax + 0x168]
push dword [esi + 0x34]
push dword [esi + 0x30]
call fcn.0101a461
cmp edx, dword [ebp + 0x10]
jb 0x103285f
ja 0x1032612
cmp eax, dword [ebp + 0xc]
jb 0x103285f
mov eax, dword [ebp + 0x18]
cmp dword [ebp - 0x54], eax
ja 0x103285f
jb 0x103262c
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0x58], eax
ja 0x103285f
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x45c]
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 - 0x60], eax
mov dword [ebp - 0x5c], edx
jb 0x103285f
ja 0x103267b
cmp eax, dword [ebp + 0xc]
jb 0x103285f
cmp edx, dword [ebp + 0x18]
ja 0x1032877
jb 0x103268f
cmp eax, dword [ebp + 0x14]
ja 0x1032877
mov ecx, dword [edi + 0x10]
mov eax, 0x60e
cmp ecx, eax
ja 0x10326d1
je 0x10326ca
sub ecx, 0x60a
je 0x10326c3
dec ecx
je 0x10326bc
dec ecx
je 0x10326b5
dec ecx
jne 0x1032719
push 0x1006120
jmp 0x1032704
push 0x1006118
jmp 0x1032704
push 0x1006110
jmp 0x1032704
push 0x1006108
jmp 0x1032704
push 0x10060fc
jmp 0x1032704
sub ecx, 0x60f
je 0x10326ff
sub ecx, 0x1fb
je 0x10326eb
dec ecx
jne 0x1032719
push 0x1006110
jmp 0x10326f0
push 0x1006108
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator
push 0x10060f8
jmp 0x1032711
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 dword [ebp - 0x48]
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 0x103274d
mov eax, dword [eax]
jmp 0x1032752
mov eax, 0x10024d2
push 0xa
lea ecx, [ebp - 0x164]
push ecx
movzx ecx, word [esi + 0x14]
push ecx
push eax
lea eax, [ebp - 0x2c]
push 0x10060e4
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x18
push dword [ebp - 0x44]
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 0x10327a6
mov eax, dword [eax]
jmp 0x10327ab
mov eax, 0x10024d2
push 0xa
lea ecx, [ebp - 0x164]
push ecx
movzx ecx, word [esi + 0x16]
push ecx
push eax
lea eax, [ebp - 0x24]
push 0x10060e4
push eax
call sub.MFC42.DLL_CString::Format
push dword [edi + 0x14]
mov edi, 0x10023ec
lea eax, [ebp - 0x1c]
push edi
push eax
call sub.MFC42.DLL_CString::Format
fild qword [ebp - 0x60]
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 - 0x3c]
push ecx
push dword [eax + 0x18]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.0105db9d
push dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x18]
push 0x10023e4
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
cmp dword [ebp - 0x4c], 0
je 0x103283f
mov eax, dword [esi + 4]
push dword [eax + 0x18]
lea eax, [ebp - 0x18]
push edi
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 9
lea esi, [ebp - 0x38]
pop edi
push 0
push 1
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [ebp + 8]
push eax
call fcn.01025d51
add esi, 4
dec edi
jne 0x1032845
inc dword [ebp - 0x14]
mov eax, dword [ebx + 0x45c]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x290b8]
jl 0x1032597
pop edi
pop esi
mov ecx, dword [ebp + 8]
push 0
call sub.MFC42.DLL_CWnd::UpdateData
mov ecx, dword [ebp + 8]
push 1
push 0
call fcn.01025ad0
lea ecx, [ebp - 0x50]
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 - 0x40]
call fcn.0105bcd2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop ebx
call fcn.0105b9a4
leave
ret 0x18