Function at 0x4214a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x535df0]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x6a8]
test eax, eax
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0
je 0x421755
mov eax, dword [eax]
cmp eax, 2
jne 0x421755
mov edi, dword [ecx + 0x378]
test edi, edi
mov dword [ecx + 0x80], 1
je 0x421755
jmp 0x421500
cmp dword [edi + 4], 0
jl 0x4215d3
cmp dword [0x5426d0], 3
jb 0x421693
push 0x26000003
call fcn.00408960
add esp, 4
test eax, eax
je 0x421693
mov esi, dword [edi]
push 0x44
mov ebx, 0x40
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
je 0x421767
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x10], eax
add eax, 4
xor ecx, ecx
push esi
mov byte [eax], 0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], 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 + 0x34]
call fcn.00402ff0
mov eax, dword [esp + 0x40]
add esp, 8
test eax, eax
je 0x4215a0
cmp dword [esp + 0x34], 0
jl 0x4215a0
mov edx, dword [esp + 0x30]
lea esi, [edx + eax]
jmp 0x4215a2
xor esi, esi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0
push ecx
call fcn.0041fe40
mov edx, dword [edi + 4]
add esp, 0xc
push eax
push edx
push esi
push str.MULTI:_internal_route__s__d_____s
push 0x26000003
call fcn.00408640
add esp, 0x14
jmp 0x421693
cmp dword [0x5426d0], 3
jb 0x421693
push 0x26000003
call fcn.00408960
add esp, 4
test eax, eax
je 0x421693
mov esi, dword [edi]
push 0x44
mov ebx, 0x40
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
je 0x421767
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x10], eax
add eax, 4
xor ecx, ecx
push esi
mov byte [eax], 0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 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 + 0x24]
call fcn.00402ff0
mov eax, dword [esp + 0x30]
add esp, 8
test eax, eax
je 0x421669
cmp dword [esp + 0x24], 0
jl 0x421669
mov edx, dword [esp + 0x20]
lea esi, [edx + eax]
jmp 0x42166b
xor esi, esi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0
push ecx
call fcn.0041fe40
add esp, 0xc
push eax
push esi
push str.MULTI:_internal_route__s_____s
push 0x26000003
call fcn.00408640
add esp, 0x10
mov eax, dword [edi + 4]
test eax, eax
mov edx, dword [esp + 0x18]
mov ebx, dword [edx + 0x24]
jl 0x4216eb
cmp eax, 0x20
jl 0x4216cd
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x4216cd
push 0x190
push str..mroute.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
add dword [ebx], 1
mov eax, dword [edi + 4]
add dword [ebx + eax*4 + 0x2c], 1
mov ecx, dword [edi + 4]
cmp dword [ebx + ecx*4 + 0x2c], 1
lea eax, [ebx + eax*4 + 0x2c]
jne 0x4216eb
call fcn.0041ce50
mov eax, dword [edi]
mov ebx, dword [edi + 4]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
test ebx, ebx
mov byte [esp + 0x3e], 2
mov byte [esp + 0x3f], 0
mov byte [esp + 0x3c], 4
mov dword [esp + 0x40], eax
jl 0x421717
mov byte [esp + 0x3e], 0xa
mov byte [esp + 0x3f], bl
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push edx
lea eax, [esp + 0x44]
call fcn.00420f10
mov edi, dword [edi + 8]
add esp, 8
test edi, edi
jne 0x421500
mov eax, dword [esp + 0x10]
test eax, eax
je 0x421755
mov edi, dword [sym.imp.MSVCR80.dll_free]
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x421747
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004dcaae
mov esp, ebp
pop ebp
ret
jmp fcn.00408a80