Function at 0x45f760
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
Start tcp server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5678de
mov eax, dword fs:[0]
push eax
mov eax, 0x13414
call fcn.00528110
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x144], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x133ec], ecx
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x2194], eax
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x14c], 0
call fcn.0043ce60
test eax, eax
je 0x45f7d4
push str.220_CCProxy_FTP_Service_r_n220_you_need_to_input_userid_site_as_login_name._r_n220_Example:_user_anonymous_ftp.netscape.com_r_n
lea ecx, [ebp - 0x114c]
push ecx
call fcn.0052a310
add esp, 8
jmp 0x45f7e8
push str.220_CCProxy_FTP_Service_Unregistered__r_n220_you_need_to_input_userid_site_as_login_name._r_n220_Example:_user_anonymous_ftp.netscape.com_r_n
lea edx, [ebp - 0x114c]
push edx
call fcn.0052a310
add esp, 8
lea eax, [ebp - 0x114c]
push eax
call fcn.00529140
add esp, 4
push eax
lea ecx, [ebp - 0x114c]
push ecx
mov edx, dword [ebp - 0x2194]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7f70
test eax, eax
jne 0x45f821
mov eax, 1
jmp 0x460caf
mov dword [ebp - 0x134], 0x1000
mov ecx, dword [ebp - 0x134]
push ecx
lea edx, [ebp - 0x114c]
push edx
mov eax, dword [ebp - 0x2194]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7870
test eax, eax
jne 0x45f85b
mov eax, 1
jmp 0x460caf
lea edx, [ebp - 0x114c]
push edx
call fcn.00529140
add esp, 4
mov byte [ebp + eax - 0x114e], 0
push 5
push 0x57ff80
lea eax, [ebp - 0x114c]
push eax
call fcn.0055bb6c
add esp, 0xc
test eax, eax
je 0x45f896
mov eax, 8
jmp 0x460caf
lea ecx, [ebp - 0x1147]
push ecx
lea edx, [ebp - 0x3204]
push edx
call fcn.0052a310
add esp, 8
push 0x40
lea eax, [ebp - 0x3204]
push eax
call fcn.00460d00
add esp, 8
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x45f8d6
mov eax, 2
jmp 0x460caf
mov ecx, dword [ebp - 0x120]
mov byte [ecx], 0
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x3208], 0x15
push 0x57ff88
mov eax, dword [ebp - 0x120]
push eax
call fcn.00420b60
add esp, 8
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x45f93c
mov ecx, dword [ebp - 0x118]
mov byte [ecx], 0
mov edx, dword [ebp - 0x118]
add edx, 1
push edx
call fcn.0052a6f6
add esp, 4
mov dword [ebp - 0x3208], eax
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov byte [ebp - 0x2164], 0
push 0x1000
push 0
lea edx, [ebp - 0x2163]
push edx
call fcn.005281f0
add esp, 0xc
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x3204]
push ecx
push str.CONNECT__s__s
lea edx, [ebp - 0x2164]
push edx
call fcn.0052a9d1
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x13370], esp
push 0x57ff9c
call fcn.00415da0
mov dword [ebp - 0x133f0], eax
mov eax, dword [ebp - 0x133f0]
mov dword [ebp - 0x133f4], eax
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x13374], esp
push 0x57ffa0
call fcn.00415da0
mov dword [ebp - 0x133f8], eax
mov ecx, dword [ebp - 0x133f8]
mov dword [ebp - 0x133fc], ecx
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x13378], esp
push 0x57ffa4
call fcn.00415da0
mov dword [ebp - 0x13400], eax
mov edx, dword [ebp - 0x13400]
mov dword [ebp - 0x13404], edx
mov byte [ebp - 4], 2
push 0
push 0
push 0xc8
push ecx
mov eax, esp
mov dword [ebp - 0x1337c], esp
lea ecx, [ebp - 0x2164]
push ecx
push eax
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x13408], eax
mov edx, dword [ebp + 8]
push edx
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x5c8578
call fcn.004514c0
lea ecx, [ebp - 0x2190]
call fcn.00460d70
mov dword [ebp - 4], 3
lea eax, [ebp - 0x2190]
push eax
push 4
mov ecx, 0x5ca8a8
call fcn.0048bcd0
mov dword [ebp - 0x2168], 0
cmp dword [0x5ec65c], 0
je 0x45fab6
mov dword [ebp - 0x321c], 0x10
lea ecx, [ebp - 0x321c]
push ecx
lea edx, [ebp - 0x3218]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_getsockname]
mov edx, dword [ebp - 0x3214]
mov dword [ebp - 0x2168], edx
mov eax, dword [ebp - 0x2168]
push eax
lea ecx, [ebp - 0x2190]
push ecx
mov edx, dword [ebp - 0x3208]
push edx
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x13384]
push ecx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x1340c], eax
mov edx, dword [ebp - 0x1340c]
mov dword [ebp - 0x13410], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x13410]
call fcn.00415f60
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c8720
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x1337d], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x13384]
call fcn.00415e20
movzx edx, byte [ebp - 0x1337d]
test edx, edx
je 0x45fb62
mov dword [ebp - 0x13388], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x13388]
jmp 0x460caf
mov eax, dword [ebp + 8]
cmp dword [eax], 2
jne 0x45fca1
mov ecx, dword [ebp - 0x133ec]
cmp dword [ecx + 0x210], 0
je 0x45fca1
mov dword [ebp - 0x134], 0x1000
mov edx, dword [ebp - 0x134]
push edx
lea eax, [ebp - 0x114c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7870
test eax, eax
jne 0x45fbd5
mov dword [ebp - 0x1338c], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x1338c]
jmp 0x460caf
push 3
push 0x57ffac
lea eax, [ebp - 0x114c]
push eax
call fcn.0055bb6c
add esp, 0xc
test eax, eax
je 0x45fc80
mov dword [ebp - 0x3220], 0
mov dword [ebp - 0x3220], 0
jmp 0x45fc18
mov ecx, dword [ebp - 0x3220]
add ecx, 1
mov dword [ebp - 0x3220], ecx
cmp dword [ebp - 0x3220], 3
jge 0x45fc4e
mov edx, dword [ebp - 0x3220]
movsx eax, byte [ebp + edx - 0x114c]
sub eax, 0x30
js 0x45fc4a
mov ecx, dword [ebp - 0x3220]
movsx edx, byte [ebp + ecx - 0x114c]
sub edx, 0x30
cmp edx, 9
jle 0x45fc4c
jmp 0x45fc4e
jmp 0x45fc09
cmp dword [ebp - 0x3220], 3
jne 0x45fc7e
mov dword [ebp - 0x13390], 5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x13390]
jmp 0x460caf
jmp 0x45fc9c
push 4
push str.220
lea eax, [ebp - 0x114c]
push eax
call fcn.0055bb6c
add esp, 0xc
test eax, eax
jne 0x45fc9c
jmp 0x45fca1
jmp 0x45fb62
lea ecx, [ebp - 0x3204]
push ecx
push 0x57ffb8
lea edx, [ebp - 0x114c]
push edx
call fcn.0052a9d1
add esp, 0xc
lea eax, [ebp - 0x114c]
push eax
call fcn.00529140
add esp, 4
push eax
lea ecx, [ebp - 0x114c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7f70
test eax, eax
jne 0x45fd0f
mov dword [ebp - 0x13394], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x13394]
jmp 0x460caf
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x12c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x11c], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx], 2
jne 0x460c8d
mov edx, dword [ebp - 0x133ec]
cmp dword [edx + 0x210], 0
je 0x460c8d
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x3228], 0
jmp 0x45fd7d
mov eax, dword [ebp - 0x3228]
add eax, 1
mov dword [ebp - 0x3228], eax
mov ecx, dword [ebp - 0x3228]
cmp ecx, dword [ebp - 0x114]
jae 0x45fda3
mov edx, dword [ebp - 0x3228]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + edx*4 - 0x110]
cmp ecx, dword [eax]
jne 0x45fda1
jmp 0x45fda3
jmp 0x45fd6e
mov edx, dword [ebp - 0x3228]
cmp edx, dword [ebp - 0x114]
jne 0x45fddb
cmp dword [ebp - 0x114], 0x40
jae 0x45fddb
mov eax, dword [ebp - 0x3228]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp + eax*4 - 0x110], edx
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
xor ecx, ecx
jne 0x45fd62
mov dword [ebp - 0x322c], 0
jmp 0x45fdfa
mov edx, dword [ebp - 0x322c]
add edx, 1
mov dword [ebp - 0x322c], edx
mov eax, dword [ebp - 0x322c]
cmp eax, dword [ebp - 0x114]
jae 0x45fe23
mov ecx, dword [ebp - 0x322c]
mov edx, dword [ebp - 0x2194]
mov eax, dword [ebp + ecx*4 - 0x110]
cmp eax, dword [edx]
jne 0x45fe21
jmp 0x45fe23
jmp 0x45fdeb
mov ecx, dword [ebp - 0x322c]
cmp ecx, dword [ebp - 0x114]
jne 0x45fe5e
cmp dword [ebp - 0x114], 0x40
jae 0x45fe5e
mov edx, dword [ebp - 0x322c]
mov eax, dword [ebp - 0x2194]
mov ecx, dword [eax]
mov dword [ebp + edx*4 - 0x110], ecx
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
xor eax, eax
jne 0x45fddf
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0xffffffff
je 0x45feeb
mov dword [ebp - 0x3230], 0
jmp 0x45fe89
mov edx, dword [ebp - 0x3230]
add edx, 1
mov dword [ebp - 0x3230], edx
mov eax, dword [ebp - 0x3230]
cmp eax, dword [ebp - 0x114]
jae 0x45feaf
mov ecx, dword [ebp - 0x3230]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + ecx*4 - 0x110]
cmp eax, dword [edx]
jne 0x45fead
jmp 0x45feaf
jmp 0x45fe7a
mov ecx, dword [ebp - 0x3230]
cmp ecx, dword [ebp - 0x114]
jne 0x45fee7
cmp dword [ebp - 0x114], 0x40
jae 0x45fee7
mov edx, dword [ebp - 0x3230]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp + edx*4 - 0x110], ecx
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
xor eax, eax
jne 0x45fe6e
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0xffffffff
je 0x45ff70
mov dword [ebp - 0x3234], 0
jmp 0x45ff0e
mov edx, dword [ebp - 0x3234]
add edx, 1
mov dword [ebp - 0x3234], edx
mov eax, dword [ebp - 0x3234]
cmp eax, dword [ebp - 0x114]
jae 0x45ff34
mov ecx, dword [ebp - 0x3234]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + ecx*4 - 0x110]
cmp eax, dword [edx]
jne 0x45ff32
jmp 0x45ff34
jmp 0x45feff
mov ecx, dword [ebp - 0x3234]
cmp ecx, dword [ebp - 0x114]
jne 0x45ff6c
cmp dword [ebp - 0x114], 0x40
jae 0x45ff6c
mov edx, dword [ebp - 0x3234]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp + edx*4 - 0x110], ecx
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
xor eax, eax
jne 0x45fef3
lea ecx, [ebp - 0x130]
push ecx
push 0
push 0
lea edx, [ebp - 0x114]
push edx
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x3224], eax
cmp dword [ebp - 0x3224], 0
jne 0x45ffef
cmp dword [0x5fa5b4], 0
jg 0x45ffa7
jmp 0x45fd39
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x138]
mov ecx, dword [0x5fa5b4]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jle 0x45ffea
mov dword [ebp - 0x13398], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x13398]
jmp 0x460caf
jmp 0x45fd39
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x3224], 0
jge 0x46002b
mov dword [ebp - 0x1339c], 0xa
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x1339c]
jmp 0x460caf
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x460140
mov dword [ebp - 0x13240], 0x10000
mov byte [ebp - 0x1323c], 0
push 0x10000
push 0
lea edx, [ebp - 0x1323b]
push edx
call fcn.005281f0
add esp, 0xc
push 0
lea eax, [ebp - 0x13240]
push eax
lea ecx, [ebp - 0x1323c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7cd0
test eax, eax
jne 0x4600ea
cmp dword [ebp - 0x13240], 0
jne 0x4600c3
mov dword [ebp - 0x133a0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133a0]
jmp 0x460caf
mov dword [ebp - 0x133a4], 0xd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133a4]
jmp 0x460caf
cmp dword [ebp - 0x13240], 0
jbe 0x460140
mov ecx, dword [ebp - 0x13240]
push ecx
lea edx, [ebp - 0x1323c]
push edx
mov eax, dword [ebp - 0x2194]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7f70
test eax, eax
jne 0x460140
mov dword [ebp - 0x133a8], 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133a8]
jmp 0x460caf
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0xffffffff
je 0x4603f9
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4603f9
cmp dword [ebp - 0x11c], 0
jne 0x460309
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x13254], ecx
mov dword [ebp - 0x13280], 0x10
lea edx, [ebp - 0x13280]
push edx
lea eax, [ebp - 0x13250]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_accept]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push 2
mov edx, dword [ebp - 0x13254]
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [ebp - 0x13254]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x11c], 1
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x1154]
push eax
mov ecx, dword [ebp - 0x1158]
push ecx
mov edx, dword [ebp - 0x128]
push edx
push 0x57ffc4
lea eax, [ebp - 0x21fc]
push eax
call fcn.0052a9d1
add esp, 0x18
lea ecx, [ebp - 0x1327c]
call fcn.00460d70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1327c]
push ecx
push 4
mov ecx, 0x5ca8a8
call fcn.0048bcd0
push 0
lea edx, [ebp - 0x1327c]
push edx
mov eax, dword [ebp - 0x1150]
shl eax, 8
add eax, dword [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x21fc]
push ecx
lea edx, [ebp - 0x133b0]
push edx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x13414], eax
mov eax, dword [ebp - 0x13414]
mov dword [ebp - 0x13418], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x13418]
call fcn.00415f60
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c8720
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x133a9], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x133b0]
call fcn.00415e20
movzx eax, byte [ebp - 0x133a9]
test eax, eax
je 0x4602f5
mov dword [ebp - 0x133b4], 0xffffffff
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1327c]
call fcn.00460d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133b4]
jmp 0x460caf
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1327c]
call fcn.00460d20
jmp 0x45fd39
mov dword [ebp - 0x134], 0x1000
mov byte [ebp - 0x114c], 0
push 0
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x114c]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7cd0
test eax, eax
jne 0x460391
push 2
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
push 2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0xffffffff
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov dword [ebp - 0x11c], 0
jmp 0x4603f9
cmp dword [ebp - 0x134], 0
jbe 0x4603f9
push 1
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044d350
add esp, 0xc
mov edx, dword [ebp - 0x134]
push edx
lea eax, [ebp - 0x114c]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7f70
test eax, eax
jne 0x4603f9
mov dword [ebp - 0x133b8], 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133b8]
jmp 0x460caf
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0xffffffff
je 0x46050f
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x46050f
mov dword [ebp - 0x134], 0x1000
mov byte [ebp - 0x114c], 0
push 0
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x114c]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7cd0
test eax, eax
jne 0x4604a7
push 2
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
push 2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0xffffffff
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov dword [ebp - 0x11c], 0
jmp 0x46050f
cmp dword [ebp - 0x134], 0
jbe 0x46050f
push 0
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044d350
add esp, 0xc
mov edx, dword [ebp - 0x134]
push edx
lea eax, [ebp - 0x114c]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7f70
test eax, eax
jne 0x46050f
mov dword [ebp - 0x133bc], 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133bc]
jmp 0x460caf
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x2194]
mov edx, dword [ecx]
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x460c88
mov dword [ebp - 0x134], 0x1000
mov byte [ebp - 0x114c], 0
mov eax, dword [ebp - 0x134]
push eax
lea ecx, [ebp - 0x114c]
push ecx
mov edx, dword [ebp - 0x2194]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7870
test eax, eax
jne 0x46058a
mov dword [ebp - 0x133c0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133c0]
jmp 0x460caf
push 4
push str.PORT
lea ecx, [ebp - 0x114c]
push ecx
call fcn.0055bb6c
add esp, 0xc
test eax, eax
jne 0x46083d
lea edx, [ebp - 0x13c]
push edx
lea eax, [ebp - 0x1150]
push eax
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x1154]
push edx
lea eax, [ebp - 0x1158]
push eax
lea ecx, [ebp - 0x128]
push ecx
push str.PORT__d__d__d__d__d__d
lea edx, [ebp - 0x114c]
push edx
call fcn.0052f37c
add esp, 0x20
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, 2
mov word [ebp - 0x13298], dx
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x13296], ax
mov dword [ebp - 0x13294], 0
push 0x10
lea eax, [ebp - 0x13298]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_bind]
push 5
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_listen]
mov dword [ebp - 0x1329c], 0x10
lea edx, [ebp - 0x1329c]
push edx
lea eax, [ebp - 0x13298]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
mov dword [ebp - 0x132a8], 0
movzx eax, word [ebp - 0x13296]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
mov dword [ebp - 0x132a8], ecx
lea edx, [ebp - 0x1329c]
push edx
lea eax, [ebp - 0x13298]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [ebp - 0x13294]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x21fc]
push ecx
call fcn.0052a310
add esp, 8
lea edx, [ebp - 0x132a4]
push edx
lea eax, [ebp - 0x13284]
push eax
lea ecx, [ebp - 0x132a0]
push ecx
lea edx, [ebp - 0x13288]
push edx
push 0x57fff0
lea eax, [ebp - 0x21fc]
push eax
call fcn.0052f37c
add esp, 0x18
mov ecx, dword [ebp - 0x132a8]
and ecx, 0x800000ff
jns 0x460707
dec ecx
or ecx, 0xffffff00
inc ecx
push ecx
mov eax, dword [ebp - 0x132a8]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
push eax
mov edx, dword [ebp - 0x132a4]
push edx
mov eax, dword [ebp - 0x13284]
push eax
mov ecx, dword [ebp - 0x132a0]
push ecx
mov edx, dword [ebp - 0x13288]
push edx
push str.PORT__d__d__d__d__d__d_r_n
lea eax, [ebp - 0x114c]
push eax
call fcn.0052a9d1
add esp, 0x20
lea ecx, [ebp - 0x114c]
push ecx
call fcn.00529140
add esp, 4
push eax
lea edx, [ebp - 0x114c]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7f70
test eax, eax
jne 0x46079e
mov dword [ebp - 0x133c4], 0xf
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133c4]
jmp 0x460caf
mov dword [ebp - 0x134], 0x1000
mov edx, dword [ebp - 0x134]
push edx
lea eax, [ebp - 0x114c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7870
test eax, eax
jne 0x4607f2
mov dword [ebp - 0x133c8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133c8]
jmp 0x460caf
lea eax, [ebp - 0x114c]
push eax
mov ecx, dword [ebp - 0x2194]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c81b0
test eax, eax
jne 0x460838
mov dword [ebp - 0x133cc], 0xf
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133cc]
jmp 0x460caf
jmp 0x45fd39
push 4
push str.PASV
lea eax, [ebp - 0x114c]
push eax
call fcn.0055bb6c
add esp, 0xc
test eax, eax
jne 0x460c48
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, 2
mov word [ebp - 0x132c8], dx
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x132c6], ax
mov dword [ebp - 0x132c4], 0
push 0x10
lea eax, [ebp - 0x132c8]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_bind]
push 5
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_listen]
mov dword [ebp - 0x13360], 0x10
lea edx, [ebp - 0x13360]
push edx
lea eax, [ebp - 0x132c8]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
mov dword [ebp - 0x1336c], 0
movzx eax, word [ebp - 0x132c6]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
mov dword [ebp - 0x1336c], ecx
lea edx, [ebp - 0x13360]
push edx
lea eax, [ebp - 0x132c8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [ebp - 0x132c4]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x1335c]
push ecx
call fcn.0052a310
add esp, 8
lea edx, [ebp - 0x13368]
push edx
lea eax, [ebp - 0x132b4]
push eax
lea ecx, [ebp - 0x13364]
push ecx
lea edx, [ebp - 0x132b8]
push edx
push 0x580020
lea eax, [ebp - 0x1335c]
push eax
call fcn.0052f37c
add esp, 0x18
mov ecx, dword [ebp - 0x1336c]
and ecx, 0x800000ff
jns 0x46097d
dec ecx
or ecx, 0xffffff00
inc ecx
push ecx
mov eax, dword [ebp - 0x1336c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
push eax
mov edx, dword [ebp - 0x13368]
push edx
mov eax, dword [ebp - 0x132b4]
push eax
mov ecx, dword [ebp - 0x13364]
push ecx
mov edx, dword [ebp - 0x132b8]
push edx
push 0x58002c
lea eax, [ebp - 0x114c]
push eax
call fcn.0052a9d1
add esp, 0x20
lea ecx, [ebp - 0x114c]
push ecx
call fcn.00529140
add esp, 4
push eax
lea edx, [ebp - 0x114c]
push edx
mov eax, dword [ebp - 0x2194]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7f70
test eax, eax
jne 0x460a17
mov dword [ebp - 0x133d0], 0xf
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133d0]
jmp 0x460caf
mov dword [ebp - 0x13360], 0x10
lea edx, [ebp - 0x13360]
push edx
lea eax, [ebp - 0x132c8]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_accept]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
push 2
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
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_WSASocketW]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push str.PASV_r_n
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x133ec]
call fcn.004c81b0
mov dword [ebp - 0x134], 0x1000
mov ecx, dword [ebp - 0x134]
push ecx
lea edx, [ebp - 0x114c]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c7870
test eax, eax
jne 0x460adb
mov dword [ebp - 0x133d4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133d4]
jmp 0x460caf
lea edx, [ebp - 0x132b0]
push edx
lea eax, [ebp - 0x132ac]
push eax
lea ecx, [ebp - 0x13368]
push ecx
lea edx, [ebp - 0x132b4]
push edx
lea eax, [ebp - 0x13364]
push eax
lea ecx, [ebp - 0x132b8]
push ecx
push str.227_Entering_Passive_Mode___d__d__d__d__d__d__r_n
lea edx, [ebp - 0x114c]
push edx
call fcn.0052f37c
add esp, 0x20
mov eax, dword [ebp - 0x13368]
push eax
mov ecx, dword [ebp - 0x132b4]
push ecx
mov edx, dword [ebp - 0x13364]
push edx
mov eax, dword [ebp - 0x132b8]
push eax
push str._d._d._d._d
lea ecx, [ebp - 0x1335c]
push ecx
call fcn.0052a9d1
add esp, 0x18
lea ecx, [ebp - 0x132f0]
call fcn.00460d70
mov byte [ebp - 4], 7
lea edx, [ebp - 0x132f0]
push edx
push 4
mov ecx, 0x5ca8a8
call fcn.0048bcd0
push 0
lea eax, [ebp - 0x132f0]
push eax
mov ecx, dword [ebp - 0x132ac]
shl ecx, 8
add ecx, dword [ebp - 0x132b0]
push ecx
lea edx, [ebp - 0x1335c]
push edx
lea eax, [ebp - 0x133dc]
push eax
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x1341c], eax
mov ecx, dword [ebp - 0x1341c]
mov dword [ebp - 0x13420], ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x13420]
call fcn.00415f60
push eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x133ec]
call fcn.004c8720
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x133d5], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x133dc]
call fcn.00415e20
movzx ecx, byte [ebp - 0x133d5]
test ecx, ecx
je 0x460c2a
mov dword [ebp - 0x133e0], 0xffffffff
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x132f0]
call fcn.00460d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133e0]
jmp 0x460caf
mov dword [ebp - 0x11c], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x132f0]
call fcn.00460d20
jmp 0x45fd39
lea edx, [ebp - 0x114c]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x133ec]
call fcn.004c81b0
test eax, eax
jne 0x460c88
mov dword [ebp - 0x133e4], 0xf
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133e4]
jmp 0x460caf
jmp 0x45fd39
mov dword [ebp - 0x133e8], 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2190]
call fcn.00460d20
mov eax, dword [ebp - 0x133e8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x144]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret 0x10