Function at 0x46ee80
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5125f8
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push ebp
mov ebp, dword [esp + 0xd0]
push esi
push edi
xor edi, edi
cmp ebp, edi
mov esi, ecx
je 0x46f7fd
call fcn.0046e4a0
test eax, eax
jne 0x46f7fd
mov dword [esi + 0x59c], edi
mov edi, dword [esp + 0xdc]
or ebx, 0xffffffff
test edi, edi
je 0x46ef87
mov eax, dword [0x55e134]
cmp edi, eax
jle 0x46eee4
sub edi, eax
jmp 0x46eee6
xor edi, edi
push edi
lea eax, [esp + 0x64]
push str.REST__u_r_n
push eax
call fcn.004c286d
add esp, 0xc
lea ecx, [esp + 0x18]
lea edx, [esp + 0x60]
push 0
push ecx
push 0
push edx
mov ecx, esi
call fcn.00469ea0
cmp dword [esp + 0x18], 0x15e
je 0x46f200
lea eax, [esp + 0x10]
push 0xd6
push eax
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 1
call fcn.00452660
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
mov eax, dword [edx + ebp + 4]
mov eax, dword [eax + 0x4c]
cmp eax, ebx
jne 0x46ef68
mov eax, ebx
push 0
push eax
call fcn.004c4fcc
add esp, 8
lea ecx, [ebp + 0xc]
push 0
call fcn.004d28b6
mov dword [esi + 0x59c], 0
push 1
mov ecx, esi
call fcn.0044f540
mov eax, dword [esi + 0x4b0]
mov eax, dword [eax + 0x64]
cmp eax, 2
jne 0x46efac
call fcn.004f7db8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x838]
test eax, eax
je 0x46f00d
call fcn.004f7db8
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x710]
test ecx, ecx
je 0x46f00d
mov ecx, esi
call fcn.0046e770
test eax, eax
je 0x46f00d
mov ecx, esi
call fcn.0046e740
lea ecx, [esp + 0x10]
push 0xd9
push ecx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 2
call fcn.00452660
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
lea edx, [esp + 0x10]
push 0xac
push edx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 1
push eax
mov ecx, esi
mov dword [esp + 0xd4], 3
call fcn.00452660
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov ebp, dword [esp + 0xd4]
push 1
push ebp
mov ecx, esi
call fcn.004525c0
mov edi, ebp
mov ecx, ebx
xor eax, eax
push 0
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x458]
not ecx
dec ecx
push ecx
push ebp
push eax
call sub.WSOCK32.dll_send
mov ecx, dword [esi + 0x4b0]
mov eax, dword [ecx + 0x64]
cmp eax, 2
jne 0x46f08e
call fcn.004f7db8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x838]
test eax, eax
je 0x46f0ef
call fcn.004f7db8
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x710]
test ecx, ecx
jne 0x46f0ef
mov ecx, esi
call fcn.0046e770
test eax, eax
je 0x46f0ef
mov ecx, esi
call fcn.0046e740
lea edx, [esp + 0x10]
push 0xd9
push edx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 4
call fcn.00452660
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0046a840
cmp eax, 0x1aa
jg 0x46f616
cmp eax, 0x1a9
jge case.0x46f62c.451
add eax, 2
cmp eax, 0x98
ja case.0x46f62c.455
xor ecx, ecx
mov cl, byte [eax + 0x46f86c]
jmp dword [ecx*4 + 0x46f858]
mov edx, dword [esp + 0x1c]
mov ecx, esi
mov eax, dword [edx + 4]
push eax
call fcn.00469be0
test eax, eax
mov dword [esi + 0x598], eax
jne 0x46f154
mov eax, dword [esp + 0xe0]
mov dword [esi + 0x598], eax
mov eax, dword [esp + 0x1c]
mov edi, eax
test eax, eax
mov dword [esp + 0x20], edi
je 0x46f18d
lea ecx, [eax + 8]
mov dword [esp + 0xcc], 5
call fcn.004dd111
lea ecx, [edi + 4]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
push edi
call fcn.004dd783
add esp, 4
mov ecx, dword [esi + 0x4b0]
mov eax, dword [ecx + 0x64]
cmp eax, 2
jne 0x46f1a9
call fcn.004f7db8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x838]
test eax, eax
jne 0x46f24e
mov ecx, esi
call fcn.0046e770
test eax, eax
je 0x46f24e
mov ecx, esi
call fcn.0046e740
lea edx, [esp + 0x10]
push 0xd9
push edx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x10
call fcn.00452660
mov dword [esp + 0xcc], ebx
lea ecx, [esp + 0x10]
jmp 0x46f830
lea eax, [esp + 0x10]
push 0x123
push eax
call fcn.0042e080
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x60]
push edi
push eax
push ecx
call fcn.004c286d
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.004dd111
lea edx, [esp + 0x60]
push 0
push edx
mov ecx, esi
call fcn.00452660
push edi
lea ecx, [ebp + 0xc]
call fcn.004d28b6
mov dword [esi + 0x59c], edi
jmp 0x46ef90
push 4
push str.RETR
push ebp
xor edi, edi
call fcn.004c39f0
add esp, 0xc
test eax, eax
jne 0x46f269
mov edi, 1
mov eax, dword [esi + 0x598]
mov ecx, dword [esi + 0x6a0]
add ecx, eax
push edi
mov dword [esi + 0x6a0], ecx
mov ecx, dword [esp + 0xdc]
push ecx
mov ecx, esi
call fcn.0046e8b0
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0046e740
cmp dword [esp + 0x18], ebx
je 0x46f835
push 0
mov ecx, esi
call fcn.0046a840
cmp eax, 0xfa
jg 0x46f2ea
cmp eax, 0xfa
je case.0x46f2d3.2
add eax, 2
cmp eax, 0xe4
ja case.0x46f302.430
xor edx, edx
mov dl, byte [eax + 0x46f920]
jmp dword [edx*4 + 0x46f908]
push 0
mov ecx, esi
call fcn.0046a840
cmp eax, 0xfa
jle 0x46f2b7
add eax, 0xfffffe57
cmp eax, 0x80
ja case.0x46f302.430
xor ecx, ecx
mov cl, byte [eax + 0x46fa20]
jmp dword [ecx*4 + 0x46fa08]
lea edx, [esp + 0x2c]
push 0x1fa
push edx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x14
call fcn.00452660
lea ecx, [esp + 0x2c]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, 1
jmp 0x46f83a
lea eax, [esp + 0x3c]
push 0xde
push eax
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x11
call fcn.00452660
lea ecx, [esp + 0x3c]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, 5
jmp 0x46f83a
lea ecx, [esp + 0x5c]
push 0xda
push ecx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x12
call fcn.00452660
lea ecx, [esp + 0x5c]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, 6
jmp 0x46f83a
lea edx, [esp + 0x58]
push 0xe1
push edx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x13
call fcn.00452660
mov dword [esp + 0xcc], ebx
lea ecx, [esp + 0x58]
jmp 0x46f830
xor eax, eax
jmp 0x46f83a
lea eax, [esp + 0x54]
push 0x1fa
push eax
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x15
call fcn.00452660
lea ecx, [esp + 0x54]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, 7
jmp 0x46f83a
lea ecx, [esp + 0x34]
push 0x1ad
push ecx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x16
call fcn.00452660
lea ecx, [esp + 0x34]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, 7
jmp 0x46f83a
lea edx, [esp + 0x4c]
push 0x136
push edx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x17
call fcn.00452660
lea ecx, [esp + 0x4c]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, 1
jmp 0x46f83a
lea eax, [esp + 0x24]
push 0x1fa
push eax
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x18
call fcn.00452660
lea ecx, [esp + 0x24]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, 8
jmp 0x46f83a
lea ecx, [esp + 0x20]
push 0xc5
push ecx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x19
call fcn.00452660
mov dword [esp + 0xcc], ebx
lea ecx, [esp + 0x20]
jmp 0x46f830
lea edx, [esp + 0x10]
push 0xde
push edx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 6
call fcn.00452660
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, 5
jmp 0x46f83a
lea eax, [esp + 0x44]
push 0xda
push eax
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 7
call fcn.00452660
lea ecx, [esp + 0x44]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, 6
jmp 0x46f83a
lea ecx, [esp + 0x28]
push 0xe1
push ecx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 8
call fcn.00452660
mov dword [esp + 0xcc], ebx
lea ecx, [esp + 0x28]
jmp 0x46f830
add eax, 0xfffffe3e
cmp eax, 0x67
ja case.0x46f62c.455
xor edx, edx
mov dl, byte [eax + 0x46fabc]
jmp dword [edx*4 + 0x46faa4]
lea eax, [esp + 0x30]
push 0x1fa
push eax
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 9
call fcn.00452660
lea ecx, [esp + 0x30]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, 1
jmp 0x46f83a
lea ecx, [esp + 0x38]
push 0x1fa
push ecx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0xa
call fcn.00452660
lea ecx, [esp + 0x38]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, 7
jmp 0x46f83a
lea edx, [esp + 0x40]
push 0x1ad
push edx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0xb
call fcn.00452660
lea ecx, [esp + 0x40]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, 7
jmp 0x46f83a
lea eax, [esp + 0x48]
push 0x136
push eax
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0xc
call fcn.00452660
lea ecx, [esp + 0x48]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, 1
jmp 0x46f83a
lea ecx, [esp + 0x50]
push 0x1fa
push ecx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0xd
call fcn.00452660
lea ecx, [esp + 0x50]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, 8
jmp 0x46f83a
mov ecx, esi
call fcn.0046e740
lea edx, [esp + 0x14]
push 0xc8
push edx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0xe
call fcn.00452660
lea ecx, [esp + 0x14]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
mov eax, dword [esp + 0x1c]
mov esi, eax
test eax, eax
mov dword [esp + 0x20], esi
je 0x46f835
lea ecx, [eax + 8]
mov dword [esp + 0xcc], 0xf
call fcn.004dd111
lea ecx, [esi + 4]
mov dword [esp + 0xcc], ebx
call fcn.004dd111
push esi
call fcn.004dd783
add esp, 4
jmp 0x46f835
lea eax, [esp + 0x14]
push 0x10f
push eax
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push edi
push eax
mov ecx, esi
mov dword [esp + 0xd4], edi
call fcn.00452660
mov dword [esp + 0xcc], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004dd111
mov eax, 4
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc0
ret 0x10