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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x512638
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 0x46f83d
call fcn.0046e4e0
test eax, eax
jne 0x46f83d
mov dword [esi + 0x59c], edi
mov edi, dword [esp + 0xdc]
or ebx, 0xffffffff
test edi, edi
je 0x46efc7
mov eax, dword [0x55e234]
cmp edi, eax
jle 0x46ef24
sub edi, eax
jmp 0x46ef26
xor edi, edi
push edi
lea eax, [esp + 0x64]
push str.REST__u_r_n
push eax
call fcn.004c28ad
add esp, 0xc
lea ecx, [esp + 0x18]
lea edx, [esp + 0x60]
push 0
push ecx
push 0
push edx
mov ecx, esi
call fcn.00469ee0
cmp dword [esp + 0x18], 0x15e
je 0x46f240
lea eax, [esp + 0x10]
push 0xd6
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 1
call fcn.00452680
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
mov eax, dword [edx + ebp + 4]
mov eax, dword [eax + 0x4c]
cmp eax, ebx
jne 0x46efa8
mov eax, ebx
push 0
push eax
call fcn.004c500c
add esp, 8
lea ecx, [ebp + 0xc]
push 0
call fcn.004d28f6
mov dword [esi + 0x59c], 0
push 1
mov ecx, esi
call fcn.0044f560
mov eax, dword [esi + 0x4b0]
mov eax, dword [eax + 0x64]
cmp eax, 2
jne 0x46efec
call fcn.004f7df8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x838]
test eax, eax
je 0x46f04d
call fcn.004f7df8
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x710]
test ecx, ecx
je 0x46f04d
mov ecx, esi
call fcn.0046e7b0
test eax, eax
je 0x46f04d
mov ecx, esi
call fcn.0046e780
lea ecx, [esp + 0x10]
push 0xd9
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 2
call fcn.00452680
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
lea edx, [esp + 0x10]
push 0xac
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 1
push eax
mov ecx, esi
mov dword [esp + 0xd4], 3
call fcn.00452680
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov ebp, dword [esp + 0xd4]
push 1
push ebp
mov ecx, esi
call fcn.004525e0
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 0x46f0ce
call fcn.004f7df8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x838]
test eax, eax
je 0x46f12f
call fcn.004f7df8
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x710]
test ecx, ecx
jne 0x46f12f
mov ecx, esi
call fcn.0046e7b0
test eax, eax
je 0x46f12f
mov ecx, esi
call fcn.0046e780
lea edx, [esp + 0x10]
push 0xd9
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 4
call fcn.00452680
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0046a880
cmp eax, 0x1aa
jg 0x46f656
cmp eax, 0x1a9
jge case.0x46f66c.451
add eax, 2
cmp eax, 0x98
ja case.0x46f66c.455
xor ecx, ecx
mov cl, byte [eax + 0x46f8ac]
jmp dword [ecx*4 + 0x46f898]
mov edx, dword [esp + 0x1c]
mov ecx, esi
mov eax, dword [edx + 4]
push eax
call fcn.00469c20
test eax, eax
mov dword [esi + 0x598], eax
jne 0x46f194
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 0x46f1cd
lea ecx, [eax + 8]
mov dword [esp + 0xcc], 5
call fcn.004dd151
lea ecx, [edi + 4]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
push edi
call fcn.004dd7c3
add esp, 4
mov ecx, dword [esi + 0x4b0]
mov eax, dword [ecx + 0x64]
cmp eax, 2
jne 0x46f1e9
call fcn.004f7df8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x838]
test eax, eax
jne 0x46f28e
mov ecx, esi
call fcn.0046e7b0
test eax, eax
je 0x46f28e
mov ecx, esi
call fcn.0046e780
lea edx, [esp + 0x10]
push 0xd9
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x10
call fcn.00452680
mov dword [esp + 0xcc], ebx
lea ecx, [esp + 0x10]
jmp 0x46f870
lea eax, [esp + 0x10]
push 0x123
push eax
call fcn.0042e0a0
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x60]
push edi
push eax
push ecx
call fcn.004c28ad
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.004dd151
lea edx, [esp + 0x60]
push 0
push edx
mov ecx, esi
call fcn.00452680
push edi
lea ecx, [ebp + 0xc]
call fcn.004d28f6
mov dword [esi + 0x59c], edi
jmp 0x46efd0
push 4
push str.RETR
push ebp
xor edi, edi
call fcn.004c3a30
add esp, 0xc
test eax, eax
jne 0x46f2a9
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.0046e8f0
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0046e780
cmp dword [esp + 0x18], ebx
je 0x46f875
push 0
mov ecx, esi
call fcn.0046a880
cmp eax, 0xfa
jg 0x46f32a
cmp eax, 0xfa
je case.0x46f313.2
add eax, 2
cmp eax, 0xe4
ja case.0x46f342.430
xor edx, edx
mov dl, byte [eax + 0x46f960]
jmp dword [edx*4 + 0x46f948]
push 0
mov ecx, esi
call fcn.0046a880
cmp eax, 0xfa
jle 0x46f2f7
add eax, 0xfffffe57
cmp eax, 0x80
ja case.0x46f342.430
xor ecx, ecx
mov cl, byte [eax + 0x46fa60]
jmp dword [ecx*4 + 0x46fa48]
lea edx, [esp + 0x2c]
push 0x1fa
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x14
call fcn.00452680
lea ecx, [esp + 0x2c]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, 1
jmp 0x46f87a
lea eax, [esp + 0x3c]
push 0xde
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x11
call fcn.00452680
lea ecx, [esp + 0x3c]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, 5
jmp 0x46f87a
lea ecx, [esp + 0x5c]
push 0xda
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x12
call fcn.00452680
lea ecx, [esp + 0x5c]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, 6
jmp 0x46f87a
lea edx, [esp + 0x58]
push 0xe1
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x13
call fcn.00452680
mov dword [esp + 0xcc], ebx
lea ecx, [esp + 0x58]
jmp 0x46f870
xor eax, eax
jmp 0x46f87a
lea eax, [esp + 0x54]
push 0x1fa
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x15
call fcn.00452680
lea ecx, [esp + 0x54]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, 7
jmp 0x46f87a
lea ecx, [esp + 0x34]
push 0x1ad
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x16
call fcn.00452680
lea ecx, [esp + 0x34]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, 7
jmp 0x46f87a
lea edx, [esp + 0x4c]
push 0x136
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x17
call fcn.00452680
lea ecx, [esp + 0x4c]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, 1
jmp 0x46f87a
lea eax, [esp + 0x24]
push 0x1fa
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x18
call fcn.00452680
lea ecx, [esp + 0x24]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, 8
jmp 0x46f87a
lea ecx, [esp + 0x20]
push 0xc5
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0x19
call fcn.00452680
mov dword [esp + 0xcc], ebx
lea ecx, [esp + 0x20]
jmp 0x46f870
lea edx, [esp + 0x10]
push 0xde
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 6
call fcn.00452680
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, 5
jmp 0x46f87a
lea eax, [esp + 0x44]
push 0xda
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 7
call fcn.00452680
lea ecx, [esp + 0x44]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, 6
jmp 0x46f87a
lea ecx, [esp + 0x28]
push 0xe1
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 8
call fcn.00452680
mov dword [esp + 0xcc], ebx
lea ecx, [esp + 0x28]
jmp 0x46f870
add eax, 0xfffffe3e
cmp eax, 0x67
ja case.0x46f66c.455
xor edx, edx
mov dl, byte [eax + 0x46fafc]
jmp dword [edx*4 + 0x46fae4]
lea eax, [esp + 0x30]
push 0x1fa
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 9
call fcn.00452680
lea ecx, [esp + 0x30]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, 1
jmp 0x46f87a
lea ecx, [esp + 0x38]
push 0x1fa
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0xa
call fcn.00452680
lea ecx, [esp + 0x38]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, 7
jmp 0x46f87a
lea edx, [esp + 0x40]
push 0x1ad
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0xb
call fcn.00452680
lea ecx, [esp + 0x40]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, 7
jmp 0x46f87a
lea eax, [esp + 0x48]
push 0x136
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0xc
call fcn.00452680
lea ecx, [esp + 0x48]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, 1
jmp 0x46f87a
lea ecx, [esp + 0x50]
push 0x1fa
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0xd
call fcn.00452680
lea ecx, [esp + 0x50]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, 8
jmp 0x46f87a
mov ecx, esi
call fcn.0046e780
lea edx, [esp + 0x14]
push 0xc8
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0xe
call fcn.00452680
lea ecx, [esp + 0x14]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
mov eax, dword [esp + 0x1c]
mov esi, eax
test eax, eax
mov dword [esp + 0x20], esi
je 0x46f875
lea ecx, [eax + 8]
mov dword [esp + 0xcc], 0xf
call fcn.004dd151
lea ecx, [esi + 4]
mov dword [esp + 0xcc], ebx
call fcn.004dd151
push esi
call fcn.004dd7c3
add esp, 4
jmp 0x46f875
lea eax, [esp + 0x14]
push 0x10f
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push edi
push eax
mov ecx, esi
mov dword [esp + 0xd4], edi
call fcn.00452680
mov dword [esp + 0xcc], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004dd151
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