Function at 0x416d50
Capabilities:
Check for time delay via gettickcount
Create raw socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Get socket status
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x4280
call fcn.0043ae00
mov eax, dword [esp + 0x4284]
push ebx
mov ebx, ecx
push ebp
lea eax, [eax + eax*2]
mov ecx, dword [0x51a850]
push esi
push edi
lea eax, [eax + eax*4]
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x280]
mov edi, str.220_CCProxy_FTP_Service_r_n
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x18], eax
mov ebp, dword [eax + ecx]
mov eax, dword [0x51f6c4]
test eax, eax
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1280], 0
jne 0x416daa
mov edi, str.220_CCProxy_FTP_Service_Unregistered__r_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x280]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x284]
push ecx
push ebp
mov ecx, ebx
call fcn.00411190
test eax, eax
jne 0x416dff
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4280
ret 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x280]
push edx
push eax
push ebp
mov ecx, ebx
mov dword [esp + 0x1c], 0x1000
call fcn.004123e0
test eax, eax
jne 0x416e32
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4280
ret 0xc
mov ecx, dword [esp + 0x10]
push 5
lea edx, [esp + 0x284]
push str.USER
push edx
mov byte [esp + ecx + 0x28a], 0
call fcn.00445b80
add esp, 0xc
test eax, eax
je 0x416e6b
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x4280
ret 0xc
lea edi, [esp + 0x285]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x328c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x328c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x51a83c]
push ecx
push edx
call fcn.0043beb0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x416ec5
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x4280
ret 0xc
mov byte [ebp], 0
inc ebp
push str.:5432_o_a.y
push ebp
mov ebx, 0x15
call fcn.0043ad80
add esp, 8
test eax, eax
je 0x416ef0
mov byte [eax], 0
inc eax
push eax
call fcn.0043bd89
add esp, 4
mov ebx, eax
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov ecx, dword [0x51a850]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
lea edi, [esp + 0x1285]
mov dword [esi + ecx + 4], eax
mov dl, byte [0x473aa0]
mov ecx, 0x400
xor eax, eax
mov byte [esp + 0x1284], dl
rep stosd dword es:[edi], eax
mov eax, dword [0x51a850]
mov ecx, dword [esi + eax + 0xc]
mov eax, dword [esi + eax + 0x20]
cmp eax, 0xffffffff
je 0x416f72
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [0x4f4398]
lea edx, [eax + edx*4]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [esp + 0x128c]
push str._s__s_FTP
push eax
call fcn.0043afc4
add esp, 0x10
jmp 0x416f8f
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [esp + 0x1288]
push str._s_unknown_FTP
push ecx
call fcn.0043afc4
add esp, 0xc
mov eax, dword [0x501cf0]
test eax, eax
je 0x41700a
mov dl, byte [0x473aa0]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x2289]
mov byte [esp + 0x2288], dl
push ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x3290]
lea ecx, [esp + 0x228c]
push eax
push str._s__s
push ecx
call fcn.0043afc4
lea edi, [esp + 0x2298]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1284]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x1284]
push eax
call fcn.0040a330
mov edi, dword [esp + 0x18]
add esp, 4
push 4
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push edi
mov ecx, ebx
call fcn.00419740
test eax, eax
jne 0x417044
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x4280
ret 0xc
mov ecx, dword [0x51a850]
cmp dword [esi + ecx + 0x18], 2
jne 0x4170bd
mov ebp, 0x1000
lea edx, [esp + 0x10]
lea eax, [esp + 0x280]
push edx
push eax
push edi
mov ecx, ebx
mov dword [esp + 0x1c], ebp
call fcn.004123e0
test eax, eax
je 0x417116
push 3
lea ecx, [esp + 0x284]
push 0x46fccc
push ecx
call fcn.00445b80
add esp, 0xc
test eax, eax
jne 0x417128
push 4
lea edx, [esp + 0x284]
push str.220
push edx
call fcn.00445b80
add esp, 0xc
test eax, eax
je 0x4170bd
mov eax, dword [0x51a850]
cmp dword [esi + eax + 0x18], 2
je 0x417056
lea ecx, [esp + 0x328c]
lea edx, [esp + 0x280]
push ecx
push str.USER__s_r_n
push edx
call fcn.0043afc4
lea edi, [esp + 0x28c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x280]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, ebx
call fcn.00411190
test eax, eax
jne 0x41713a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4280
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x4280
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x4280
ret 0xc
xor edi, edi
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa0], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x51a850]
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], edi
mov eax, dword [esi + ecx + 0x20]
cmp eax, 0xffffffff
je 0x417192
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [0x4f4398]
mov edi, dword [eax + edx*4 + 0x7c]
lea eax, [eax + edx*4]
mov edx, dword [eax + 0x80]
add edx, edi
mov dword [esp + 0x28], edx
cmp dword [esi + ecx + 0x18], 2
jne 0x417ba4
mov ebx, dword [esp + 0x429c]
mov ebp, dword [esp + 0x4298]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov eax, 1
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xa4], eax
xor ecx, ecx
lea edx, [esp + 0xa8]
cmp dword [edx], esi
je 0x4171dc
inc ecx
add edx, 4
cmp ecx, 1
jb 0x4171cf
cmp ecx, 1
jne 0x4171f4
mov eax, 2
mov dword [esp + 0xac], esi
mov dword [esp + 0xa4], eax
mov esi, dword [ebp]
cmp esi, 0xffffffff
je 0x417234
xor ecx, ecx
test eax, eax
jbe 0x417215
lea edx, [esp + 0xa8]
cmp dword [edx], esi
je 0x417215
inc ecx
add edx, 4
cmp ecx, eax
jb 0x417209
cmp ecx, eax
jne 0x417234
cmp eax, 0x40
jae 0x417234
mov dword [esp + ecx*4 + 0xa8], esi
mov eax, dword [esp + 0xa4]
inc eax
mov dword [esp + 0xa4], eax
mov esi, dword [ebx]
cmp esi, 0xffffffff
je 0x417273
xor ecx, ecx
test eax, eax
jbe 0x417254
lea edx, [esp + 0xa8]
cmp dword [edx], esi
je 0x417254
inc ecx
add edx, 4
cmp ecx, eax
jb 0x417248
cmp ecx, eax
jne 0x417273
cmp eax, 0x40
jae 0x417273
mov dword [esp + ecx*4 + 0xa8], esi
mov eax, dword [esp + 0xa4]
inc eax
mov dword [esp + 0xa4], eax
lea edx, [esp + 0x9c]
lea eax, [esp + 0xa4]
push edx
push 0
push 0
push eax
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x4172c0
mov eax, dword [0x502140]
cmp eax, 0xffffffff
je 0x417b90
mov ecx, dword [esp + 0x2c]
lea eax, [eax + eax*2]
inc ecx
lea edx, [eax + eax*4]
mov dword [esp + 0x2c], ecx
shl edx, 2
cmp ecx, edx
jg 0x417bb6
jmp 0x417b90
test eax, eax
mov dword [esp + 0x2c], 0
jl 0x417bc5
mov eax, dword [0x51a850]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + eax + 0x20]
cmp eax, 0xffffffff
je 0x417394
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [0x4f4398]
mov eax, dword [eax + edx*4 + 0x70]
cmp eax, 0xffffffff
jle 0x417394
test eax, eax
je 0x417bd7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x51a850]
mov edx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [edx + ecx + 0x20]
mov edx, dword [0x4f4398]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov esi, dword [edx + ecx*4 + 0x80]
lea ecx, [edx + ecx*4]
mov edx, dword [ecx + 0x7c]
add esi, edx
mov edx, dword [esp + 0x28]
cmp esi, edx
jae 0x417347
xor edx, edx
mov dword [esp + 0x28], edx
mov eax, esi
mov ebx, edx
shl eax, 5
shl ebx, 5
sub eax, esi
sub ebx, edx
lea eax, [esi + eax*4]
lea edx, [edx + ebx*4]
shl eax, 3
shl edx, 3
sub eax, edx
xor edx, edx
div dword [ecx + 0x70]
mov ecx, dword [esp + 0x40]
mov edx, edi
sub edx, ecx
cmp edx, eax
jae 0x41738d
sub eax, edi
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x429c]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xa4]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x417429
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push 0
lea edx, [esp + 0x284]
push ecx
push edx
push esi
mov ecx, edi
mov dword [esp + 0x20], 0x1000
mov byte [esp + 0x290], 0
call fcn.004112c0
test eax, eax
je 0x417be9
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x417406
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x284]
push eax
push ecx
mov ecx, edi
call fcn.00411190
test eax, eax
je 0x417c01
mov ecx, dword [esp + 0x10]
mov edx, dword [0x51a850]
mov esi, dword [esp + 0x18]
mov eax, dword [esi + edx + 0x20]
cmp eax, 0xffffffff
je 0x417431
push 0
push ecx
push eax
mov ecx, 0x4f4398
call fcn.00423400
jmp 0x417431
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp]
cmp eax, 0xffffffff
je 0x417597
lea ecx, [esp + 0xa4]
push ecx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x417597
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4174fc
mov esi, dword [ebp]
lea edx, [esp + 0x1a8]
push edx
push esi
mov ecx, edi
call fcn.00411780
push esi
mov dword [ebp], eax
call dword [sym.imp.WS2_32.dll_closesocket]
push 1
push 0
push 0
push 0
push 1
push 2
mov dword [esp + 0x3c], 1
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x94]
mov dword [ebx], eax
mov eax, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
lea ecx, [esp + 0x22c]
push str._d._d._d._d
push ecx
call fcn.0043afc4
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x80]
add esp, 0x18
lea eax, [esp + 0x21c]
shl edx, 8
add edx, ecx
mov ecx, dword [ebx]
push 4
push edx
push eax
push ecx
mov ecx, edi
call fcn.00419740
test eax, eax
je 0x417c3d
jmp 0x417b90
mov ecx, dword [ebp]
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x284]
push edx
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x20], 0x1000
mov byte [esp + 0x290], 0
call fcn.004112c0
test eax, eax
jne 0x417554
mov edx, dword [ebx]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebx], 0xffffffff
mov dword [ebp], 0xffffffff
mov dword [esp + 0x24], 0
jmp 0x417577
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x417577
mov edx, dword [ebx]
lea ecx, [esp + 0x280]
push eax
push ecx
push edx
mov ecx, edi
call fcn.00411190
test eax, eax
je 0x417c01
mov eax, dword [0x51a850]
mov eax, dword [esi + eax + 0x20]
cmp eax, 0xffffffff
je 0x417597
mov ecx, dword [esp + 0x10]
push 0
push ecx
push eax
mov ecx, 0x4f4398
call fcn.00423400
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x417654
lea edx, [esp + 0xa4]
push edx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x417654
mov edx, dword [ebx]
lea eax, [esp + 0x10]
push 0
lea ecx, [esp + 0x284]
push eax
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x20], 0x1000
mov byte [esp + 0x290], 0
call fcn.004112c0
test eax, eax
jne 0x41760f
mov eax, dword [ebx]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebx], 0xffffffff
mov dword [ebp], 0xffffffff
mov dword [esp + 0x24], 0
jmp 0x417633
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x417633
push eax
mov eax, dword [ebp]
lea edx, [esp + 0x284]
mov ecx, edi
push edx
push eax
call fcn.00411190
test eax, eax
je 0x417c01
mov ecx, dword [0x51a850]
mov eax, dword [esi + ecx + 0x20]
cmp eax, 0xffffffff
je 0x417654
mov edx, dword [esp + 0x10]
push 1
push edx
push eax
mov ecx, 0x4f4398
call fcn.00423400
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xa4]
push eax
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x417b90
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
lea eax, [esp + 0x280]
push edx
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x1c], 0x1000
mov byte [esp + 0x28c], 0
call fcn.004123e0
test eax, eax
je 0x417c13
mov edx, dword [0x51a850]
mov eax, dword [esi + edx + 0x20]
cmp eax, 0xffffffff
je 0x4176c0
mov ecx, dword [esp + 0x10]
push 1
push ecx
push eax
mov ecx, 0x4f4398
call fcn.00423400
push 4
lea edx, [esp + 0x284]
push str.PORT
push edx
call fcn.00445b80
add esp, 0xc
test eax, eax
jne 0x4178e4
lea eax, [esp + 0x68]
lea ecx, [esp + 0x98]
push eax
lea edx, [esp + 0x94]
push ecx
lea eax, [esp + 0x64]
push edx
lea ecx, [esp + 0xa0]
push eax
lea edx, [esp + 0x80]
push ecx
push edx
lea eax, [esp + 0x298]
push str.PORT__d__d__d__d__d__d
push eax
call fcn.0043c620
add esp, 0x20
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
push 0
mov dword [ebp], eax
mov word [esp + 0x7c], 2
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp]
lea ecx, [esp + 0x78]
push 0x10
push ecx
push edx
mov word [esp + 0x86], ax
mov dword [esp + 0x88], 0
call dword [sym.imp.WS2_32.dll_bind]
mov eax, dword [ebp]
push 5
push eax
call dword [sym.imp.WS2_32.dll_listen]
mov eax, dword [ebp]
mov esi, dword [sym.imp.WS2_32.dll_getsockname]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x78]
push ecx
push edx
push eax
mov dword [esp + 0x54], 0x10
call esi
mov ecx, dword [esp + 0x7a]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x14]
mov bx, ax
lea edx, [esp + 0x48]
lea eax, [esp + 0x78]
push edx
push eax
push ecx
and ebx, 0xffff
call esi
mov edx, dword [esp + 0x7c]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x21c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x64]
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x74]
push eax
push ecx
lea edx, [esp + 0x22c]
push str._d._d._d._d
push edx
call fcn.0043c620
mov eax, ebx
and eax, 0x800000ff
jns 0x41781f
dec eax
or eax, 0xffffff00
inc eax
push eax
mov eax, ebx
cdq
mov ecx, dword [esp + 0xa8]
and edx, 0xff
add eax, edx
mov edx, dword [esp + 0x7c]
sar eax, 8
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x90]
push edx
push eax
push ecx
lea edx, [esp + 0x2b0]
push str.PORT__d__d__d__d__d__d_r_n
push edx
call fcn.0043afc4
lea edi, [esp + 0x2b8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x38
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x280]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00411190
test eax, eax
je 0x417c2b
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x280]
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 0x1000
call fcn.004123e0
test eax, eax
je 0x417c3d
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x280]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00411190
test eax, eax
je 0x417c2b
jmp 0x417b89
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x417909
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x284]
mov ecx, edi
push edx
push eax
call fcn.00411190
test eax, eax
je 0x417c2b
push 4
lea ecx, [esp + 0x284]
push str.PASV
push ecx
call fcn.00445b80
add esp, 0xc
test eax, eax
jne 0x417b90
push 1
push eax
push eax
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
push 0
mov dword [ebp], eax
mov word [esp + 0x50], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x4e], ax
mov eax, dword [ebp]
lea edx, [esp + 0x4c]
push 0x10
push edx
push eax
mov dword [esp + 0x5c], 0
call dword [sym.imp.WS2_32.dll_bind]
mov ecx, dword [ebp]
push 5
push ecx
call dword [sym.imp.WS2_32.dll_listen]
mov ecx, dword [ebp]
mov esi, dword [sym.imp.WS2_32.dll_getsockname]
lea edx, [esp + 0x44]
lea eax, [esp + 0x4c]
push edx
push eax
push ecx
mov dword [esp + 0x50], 0x10
call esi
mov edx, dword [esp + 0x4e]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
mov edx, dword [0x51a850]
mov bx, ax
lea eax, [esp + 0x44]
lea ecx, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
and ebx, 0xffff
mov ecx, dword [eax + edx]
push ecx
call esi
mov edx, dword [esp + 0x50]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1b8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
lea edx, [esp + 0x1c8]
push str._d._d._d._d
push edx
call fcn.0043c620
mov eax, ebx
and eax, 0x800000ff
jns 0x417a26
dec eax
or eax, 0xffffff00
inc eax
push eax
mov eax, ebx
cdq
mov ecx, dword [esp + 0x58]
and edx, 0xff
add eax, edx
mov edx, dword [esp + 0x54]
sar eax, 8
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push eax
push ecx
lea edx, [esp + 0x2b0]
push str.227_Entering_Passive_Mode___d__d__d__d__d__d__r_n
push edx
call fcn.0043afc4
lea edi, [esp + 0x2b8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x38
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x280]
push ecx
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00411190
test eax, eax
je 0x417c2b
mov eax, dword [ebp]
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x4c]
mov ecx, esi
push edx
push eax
call fcn.00411780
mov ecx, dword [esp + 0x429c]
mov dword [ecx], eax
mov edx, dword [ebp]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov edx, dword [esp + 0x14]
mov dword [ebp], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x280]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x1c], 0x1000
call fcn.004123e0
test eax, eax
je 0x417c3d
lea eax, [esp + 0x88]
lea ecx, [esp + 0x74]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
lea eax, [esp + 0x298]
push str.227_Entering_Passive_Mode___d__d__d__d__d__d__r_n
push eax
call fcn.0043c620
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push eax
push ecx
lea edx, [esp + 0x1e8]
push str._d._d._d._d
push edx
call fcn.0043afc4
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xc0]
add esp, 0x38
lea ecx, [esp + 0x1b8]
shl eax, 8
add eax, edx
mov edx, dword [ebp]
push 4
push eax
push ecx
push edx
mov ecx, esi
call fcn.00419740
test eax, eax
je 0x417c3d
mov dword [esp + 0x24], 1
mov ebx, dword [esp + 0x429c]
mov eax, dword [0x51a850]
mov ecx, dword [esp + 0x18]
cmp dword [ecx + eax + 0x18], 2
je 0x4171ab
pop edi
pop esi
pop ebp
mov eax, 0x10
pop ebx
add esp, 0x4280
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4280
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
add esp, 0x4280
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
add esp, 0x4280
ret 0xc
mov eax, dword [esp + 0x10]
pop edi
neg eax
sbb eax, eax
pop esi
pop ebp
and eax, 0xd
pop ebx
add esp, 0x4280
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x4280
ret 0xc
mov eax, dword [esp + 0x10]
pop edi
neg eax
sbb eax, eax
pop esi
pop ebp
and eax, 0xe
pop ebx
add esp, 0x4280
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 0xf
pop ebx
add esp, 0x4280
ret 0xc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x4280
ret 0xc