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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5126f0
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x4b0]
mov eax, dword [eax + 0x64]
cmp eax, 2
jne 0x46fba9
call fcn.004f7df8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x838]
or ebx, 0xffffffff
test eax, eax
je 0x46fc07
call fcn.004f7df8
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x710]
test ecx, ecx
je 0x46fc07
mov ecx, esi
call fcn.0046e7b0
test eax, eax
je 0x46fc07
mov ecx, esi
call fcn.0046e780
lea ecx, [esp + 0xc]
push 0xd9
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 0
call fcn.00452680
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], ebx
call fcn.004dd151
push ebp
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 + 0x54], 1
call fcn.00452680
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], ebx
call fcn.004dd151
mov ebp, dword [esp + 0x54]
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]
pop ebp
mov eax, dword [ecx + 0x64]
cmp eax, 2
jne 0x46fc81
call fcn.004f7df8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x838]
test eax, eax
je 0x46fcdc
call fcn.004f7df8
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x710]
test ecx, ecx
jne 0x46fcdc
mov ecx, esi
call fcn.0046e7b0
test eax, eax
je 0x46fcdc
mov ecx, esi
call fcn.0046e780
lea edx, [esp + 0x50]
push 0xd9
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 2
call fcn.00452680
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], ebx
call fcn.004dd151
push 0
mov ecx, esi
call fcn.0046a880
cmp eax, 0x1aa
mov dword [esi + 0x4a8], eax
jg 0x47014d
cmp eax, 0x1a9
jge case.0x470163.501
add eax, 2
cmp eax, 0x98
ja case.0x470163.505
xor ecx, ecx
mov cl, byte [eax + 0x470304]
jmp dword [ecx*4 + 0x4702f0]
mov edx, dword [esi + 0x4b0]
mov eax, dword [edx + 0x64]
cmp eax, 2
jne 0x46fd3a
call fcn.004f7df8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x838]
test eax, eax
jne 0x46fd83
mov ecx, esi
call fcn.0046e7b0
test eax, eax
je 0x46fd83
mov ecx, esi
call fcn.0046e780
lea eax, [esp + 0x50]
push 0xd9
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 0xb
call fcn.00452680
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x50]
jmp 0x4702cf
mov edi, dword [esp + 0x54]
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + edi + 4]
mov eax, dword [eax + 0x4c]
cmp eax, ebx
jne 0x46fd99
mov eax, ebx
push eax
call fcn.004c4cca
mov dword [esi + 0x598], eax
mov eax, dword [esp + 0x5c]
add esp, 4
mov dword [esi + 0x59c], eax
test eax, eax
jne 0x46fdbf
push 1
mov ecx, esi
call fcn.0044f560
mov eax, dword [esi + 0x598]
mov ecx, dword [esi + 0x6a0]
add ecx, eax
push edi
mov dword [esi + 0x6a0], ecx
mov ecx, esi
call fcn.0046ec50
mov ecx, esi
call fcn.0046e780
push 0
mov ecx, esi
call fcn.0046a880
cmp eax, 0xfa
mov dword [esi + 0x4a8], eax
jg 0x46ff00
je case.0x46fe18.1
add eax, 2
cmp eax, 0xe4
ja case.0x46ff18.429
xor ecx, ecx
mov cl, byte [eax + 0x4703b4]
jmp dword [ecx*4 + 0x4703a0]
lea edx, [esp + 0x54]
push 0xde
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 0xc
call fcn.00452680
lea ecx, [esp + 0x54]
mov dword [esp + 0x48], ebx
call fcn.004dd151
pop edi
pop esi
mov eax, 5
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
lea eax, [esp + 0x58]
push 0xda
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 0xd
call fcn.00452680
lea ecx, [esp + 0x58]
mov dword [esp + 0x48], ebx
call fcn.004dd151
pop edi
pop esi
mov eax, 6
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
lea ecx, [esp + 0x10]
push 0xe1
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 0xe
call fcn.00452680
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x10]
jmp 0x4702cf
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
add eax, 0xfffffe57
cmp eax, 0x80
ja case.0x46ff18.429
xor edx, edx
mov dl, byte [eax + 0x4704b0]
jmp dword [edx*4 + 0x47049c]
lea eax, [esp + 0x14]
push 0x1fa
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 0xf
call fcn.00452680
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], ebx
call fcn.004dd151
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
lea ecx, [esp + 0x18]
push 0x1ad
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 0x10
call fcn.00452680
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], ebx
call fcn.004dd151
pop edi
pop esi
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
lea edx, [esp + 0x1c]
push 0x136
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 0x11
call fcn.00452680
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], ebx
call fcn.004dd151
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
lea eax, [esp + 0x20]
push 0x1fa
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 0x12
call fcn.00452680
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebx
call fcn.004dd151
pop edi
pop esi
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
lea ecx, [esp + 0x24]
push 0xe2
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 0x13
call fcn.00452680
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x24]
jmp 0x4702cf
lea edx, [esp + 0x50]
push 0xde
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 3
call fcn.00452680
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], ebx
call fcn.004dd151
pop edi
pop esi
mov eax, 5
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
lea eax, [esp + 0xc]
push 0xda
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 4
call fcn.00452680
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], ebx
call fcn.004dd151
pop edi
pop esi
mov eax, 6
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
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 + 0x50], 5
call fcn.00452680
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x28]
jmp 0x4702cf
add eax, 0xfffffe0b
cmp eax, 0x34
ja case.0x470163.505
xor edx, edx
mov dl, byte [eax + 0x470548]
jmp dword [edx*4 + 0x470534]
lea eax, [esp + 0x2c]
push 0x1fa
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 6
call fcn.00452680
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], ebx
call fcn.004dd151
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
lea ecx, [esp + 0x30]
push 0x1fa
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 7
call fcn.00452680
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], ebx
call fcn.004dd151
pop edi
pop esi
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
lea edx, [esp + 0x34]
push 0x1ad
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 8
call fcn.00452680
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], ebx
call fcn.004dd151
pop edi
pop esi
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
lea eax, [esp + 0x38]
push 0x136
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 9
call fcn.00452680
lea ecx, [esp + 0x38]
mov dword [esp + 0x48], ebx
call fcn.004dd151
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
mov ecx, esi
call fcn.0046e780
lea ecx, [esp + 0x3c]
push 0xc8
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], 0xa
call fcn.00452680
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x3c]
call fcn.004dd151
mov ecx, dword [esp + 0x40]
pop edi
pop esi
mov eax, 4
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc