Function at 0x401bc0
Capabilities:
Connect socket
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x40f046
push eax
mov eax, 0xc838
mov dword fs:[0], esp
call fcn.00408680
push ebx
push ebp
push esi
push edi
push str._n____SOAP_action_n
mov dword [esp + 0xc854], 1
call fcn.0040863a
mov al, byte [esp + 0xc870]
add esp, 4
xor ebx, ebx
lea ecx, [esp + 0x14]
push ebx
mov byte [esp + 0x18], al
call fcn.00405d00
mov ecx, dword [0x410198]
lea edx, [esp + 0xc86c]
push ecx
push ebx
push edx
lea ecx, [esp + 0x20]
call fcn.00405950
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
cmp edi, ebx
mov byte [esp + 0xc850], 2
jne 0x401c44
mov edi, 0x41019c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x48]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0xc85c]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
jne 0x401c75
mov eax, 0x41019c
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov edx, dword [esp + 0xc868]
xor ecx, ecx
mov dword [esp + 0x24], ecx
push edx
mov dword [esp + 0x2c], ecx
mov esi, eax
mov dword [esp + 0x30], ecx
mov word [esp + 0x28], 2
mov dword [esp + 0x34], ecx
call dword [sym.imp.WSOCK32.dll_htons]
push ebx
push 1
push 2
mov word [esp + 0x32], ax
mov dword [esp + 0x34], esi
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
lea eax, [esp + 0x44]
push eax
push 0x8004667e
push esi
mov dword [esp + 0x50], 1
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
lea ecx, [esp + 0x24]
push 0x10
push ecx
push esi
call dword [sym.imp.WSOCK32.dll_connect]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call edi
push ebx
lea edx, [esp + 0x4c]
push ebp
push edx
push esi
call dword [sym.imp.WSOCK32.dll_send]
push 0xbb8
call edi
push ebx
lea eax, [esp + 0x4c]
push 0xc800
push eax
push esi
call dword [sym.imp.WSOCK32.dll_recv]
mov ebp, eax
push esi
mov byte [esp + ebp + 0x4c], bl
call dword [sym.imp.WSOCK32.dll_closesocket]
push ebp
push str.____recieve_len:__d
call fcn.0040863a
or esi, 0xffffffff
add esp, 8
cmp ebp, esi
je 0x401d3c
cmp ebp, ebx
jne 0x401d80
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xc854], 1
call fcn.00405d00
push 1
lea ecx, [esp + 0xc85c]
mov byte [esp + 0xc854], bl
call fcn.00405d00
push 1
lea ecx, [esp + 0xc870]
mov dword [esp + 0xc854], esi
call fcn.00405d00
xor al, al
jmp 0x401ead
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x38], cl
lea ecx, [esp + 0x38]
call fcn.00405d00
push 1
push ebp
lea ecx, [esp + 0x3c]
call fcn.00405d70
test al, al
je 0x401dc5
mov edi, dword [esp + 0x38]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x48]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], ebp
mov byte [eax + ebp], bl
mov ecx, dword [0x410198]
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0xc880]
push ebx
push edx
mov byte [esp + 0xc85c], 3
call fcn.00405950
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x401e0b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x401e02
cmp al, 0xff
je 0x401e02
dec al
mov byte [ecx], al
jmp 0x401e0b
push ecx
call fcn.00408147
add esp, 4
push str._n____________________SOAP_action_____________n
call fcn.0040863a
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp ecx, ebx
je 0x401e3c
mov al, byte [ecx - 1]
cmp al, bl
je 0x401e32
cmp al, 0xff
je 0x401e32
dec al
mov byte [ecx - 1], al
jmp 0x401e3c
dec ecx
push ecx
call fcn.00408147
add esp, 4
mov ecx, dword [esp + 0xc85c]
mov dword [esp + 0x18], ebx
cmp ecx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x401e6f
mov al, byte [ecx - 1]
cmp al, bl
je 0x401e65
cmp al, 0xff
je 0x401e65
dec al
mov byte [ecx - 1], al
jmp 0x401e6f
dec ecx
push ecx
call fcn.00408147
add esp, 4
mov ecx, dword [esp + 0xc870]
mov dword [esp + 0xc85c], ebx
cmp ecx, ebx
mov dword [esp + 0xc860], ebx
mov dword [esp + 0xc864], ebx
je 0x401eab
mov al, byte [ecx - 1]
cmp al, bl
je 0x401ea1
cmp al, 0xff
je 0x401ea1
dec al
mov byte [ecx - 1], al
jmp 0x401eab
dec ecx
push ecx
call fcn.00408147
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xc848]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc844
ret