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

Disassembly:
push 0xffffffffffffffff
push 0x4d1076
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, ecx
mov dword [esi], 0x4dc78c
lea ebx, [esi + 0x1c]
call fcn.004be803
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
xor ebp, ebp
mov dword [esp + 0x20], ebp
call fcn.004be803
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x48], eax
mov byte [esp + 0x20], 1
call fcn.004be803
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x60], eax
mov byte [esp + 0x20], 2
call fcn.004be803
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x64], eax
mov byte [esp + 0x20], 3
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.00409140
mov edx, dword [esp + 0x10]
mov dword [esi + 0x9c], eax
mov byte [eax + 0x21], 1
mov eax, dword [esi + 0x9c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x9c]
mov dword [eax], eax
mov eax, dword [esi + 0x9c]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xa0], ebp
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xac], ebp
mov dword [esi + 0xb0], edx
mov dword [esi + 0xb4], eax
mov byte [esp + 0x20], 4
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00409140
mov dword [esi + 0xbc], eax
mov byte [eax + 0x21], 1
mov eax, dword [esi + 0xbc]
mov dword [eax + 4], eax
mov eax, dword [esi + 0xbc]
mov dword [eax], eax
mov eax, dword [esi + 0xbc]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc0], ebp
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], ebp
mov dword [esi + 0xd0], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xd4], ecx
mov eax, edi
mov ecx, esi
mov byte [esp + 0x20], 5
call fcn.00420d40
mov eax, dword [esp + 0x2c]
cmp eax, ebp
jbe 0x42133a
cmp eax, 0x1000000
jae 0x42133a
mov eax, 1
jmp 0x42133c
xor eax, eax
mov ecx, dword [esi + 8]
add ecx, 0x78
cmp eax, ebp
mov dword [esi + 0x6c], eax
push ebp
je 0x4213d3
lea edi, [esp + 0x14]
call fcn.00438330
add esp, 4
mov edi, eax
mov byte [esp + 0x20], 6
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [esp + 0x34]
call fcn.00409e90
mov byte [esp + 0x20], 7
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
mov edi, dword [edi]
mov eax, dword [eax]
push edx
movzx edx, word [esp + 0x3c]
push ecx
push edi
push edx
push eax
mov eax, dword [esp + 0x40]
push eax
push str.ed2kftp:___lu__s:_i__s__I64i_
push ebx
call fcn.004058b0
mov byte [esp + 0x40], 6
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0x20
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4213c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x20], 5
mov eax, dword [esp + 0x10]
jmp 0x421451
lea edi, [esp + 0x38]
call fcn.00438330
add esp, 4
mov edi, eax
mov byte [esp + 0x20], 8
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [esp + 0x3c]
call fcn.00409e90
mov byte [esp + 0x20], 9
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
mov edi, dword [edi]
mov eax, dword [eax]
push edx
movzx edx, word [esp + 0x34]
push ecx
push edi
push edx
push eax
push str.ed2kftp:___s:_i__s__I64i_
push ebx
call fcn.004058b0
mov byte [esp + 0x3c], 8
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
add esp, 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421448
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x20], 5
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42146b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x3c]
xor eax, eax
cmp ecx, ebp
setne al
cmp eax, ebp
mov dword [esi + 0x24], eax
je 0x421496
mov edx, dword [ecx]
lea eax, [esi + 0x28]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
push str.eDonkey2000
mov dword [esi + 0x5c], 1
call fcn.004ac8fd
add esp, 4
push eax
push str.eDonkey2000
lea ecx, [esi + 0x60]
call fcn.00403ee0
mov ecx, esi
call fcn.004219d0
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18