Function at 0x43dc60
Capabilities:
Terminate process

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push esi
xor ebx, ebx
or eax, 0xffffffff
xor esi, esi
cmp ebp, ebx
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], eax
je 0x43de4e
cmp dword [ebp], ebx
mov dword [esp + 0x14], ebx
jbe 0x43de4e
lea esi, [ebp + 0x14]
mov dword [esp + 0x30], esi
mov edi, edi
mov eax, dword [esi - 0x10]
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
push eax
call edi
mov ecx, dword [esi - 0xc]
push ecx
mov dword [esp + 0x2c], eax
call edi
cmp dword [0x5426d0], 7
mov edx, dword [esi]
mov edi, dword [esi + 0x14]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], edi
jb 0x43de10
push 0x46000087
call fcn.00408960
add esp, 4
test eax, eax
je 0x43de10
push 0x44
mov esi, 0x40
xor ebx, ebx
xor ebp, ebp
call dword [sym.imp.MSVCR80.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x43deaa
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov dword [edi], eax
lea eax, [edi + 4]
push ecx
mov byte [eax], 0
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], eax
call dword [sym.imp.WS2_32.dll_htonl]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x5103a4
lea esi, [esp + 0x48]
call fcn.00402ff0
mov eax, dword [esp + 0x54]
add esp, 8
cmp eax, ebp
je 0x43dd61
cmp dword [esp + 0x48], ebp
jl 0x43dd61
mov edx, dword [esp + 0x44]
add edx, eax
mov dword [esp + 0x20], edx
jmp 0x43dd65
mov dword [esp + 0x20], ebp
push 0x44
mov esi, 0x40
xor ebx, ebx
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
je 0x43deaa
mov dword [eax], edi
mov dword [esp + 0x18], eax
add eax, 4
mov byte [eax], bl
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
call dword [sym.imp.WS2_32.dll_htonl]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x5103a4
lea esi, [esp + 0x58]
call fcn.00402ff0
mov eax, dword [esp + 0x64]
add esp, 8
test eax, eax
je 0x43ddd4
cmp dword [esp + 0x58], ebx
jl 0x43ddd4
mov ecx, dword [esp + 0x54]
add eax, ecx
jmp 0x43ddd6
xor eax, eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x24]
push ecx
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
push str.GDGR:_route__d___s__s_i_d_m_d
push 0x46000087
call fcn.00408640
mov ebp, dword [esp + 0x80]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x4c]
add esp, 0x1c
cmp dword [esp + 0x28], 0
jne 0x43de33
cmp dword [esp + 0x2c], 0
jne 0x43de33
cmp edi, dword [esp + 0x1c]
jae 0x43de33
lea eax, [esi - 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], ebx
add ebx, 1
add esi, 0x38
cmp ebx, dword [ebp]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], esi
jb 0x43dca0
mov esi, dword [esp + 0x18]
cmp dword [0x5426d0], 7
jb 0x43de84
push 0x46000087
call fcn.00408960
add esp, 4
test eax, eax
je 0x43de84
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
push ecx
push edx
push str.GDGR:_best_d_lm_u
push 0x46000087
call fcn.00408640
add esp, 0x10
test esi, esi
je 0x43de9e
mov edi, dword [sym.imp.MSVCR80.dll_free]
mov eax, esi
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x43de90
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
jmp fcn.00408a80