Function at 0x5c5710
Capabilities:
Connect socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1dc
mov eax, dword [0x7c0ab4]
xor eax, esp
mov dword [esp + 0x1d8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, edx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
or esi, 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], esi
mov eax, dword [edi + 0x3088]
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], 0x10000
mov dword [esp + 0x28], 1
cmp eax, 0xffffffff
je 0x5c5782
mov esi, dword [edi + 0x3010]
mov ecx, esi
push eax
push edi
call dword [0x70d440]
call esi
add esp, 8
or esi, 0xffffffff
cmp dword [0x7ccc3c], 0
mov dword [edi + 0x3088], 0xffffffff
mov dword [edi + 0x16170], 1
jne 0x5c57bd
lea eax, [esp + 0x50]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x5c5824
mov dword [0x7ccc3c], 1
push 0x20
lea eax, [esp + 0x34]
mov dword [edi + 0x16170], 2
push 0
push eax
call fcn.006d4310
add esp, 0xc
mov dword [esp + 0x34], 0
test byte [edi + 0x14], 4
mov eax, 0
setne al
inc eax
cmp dword [edi + 0x16154], 0
mov dword [esp + 0x38], eax
lea eax, [edi + 0x134c4]
je 0x5c58cf
push dword [edi + 0x16158]
push 0x7948e0
push eax
call fcn.0049efe0
mov eax, dword [edi + 0x16154]
mov dword [esp + 0x18], eax
jmp 0x5c58db
mov ecx, edi
mov dword [edi + 0x16174], 0
call fcn.005c5650
cmp word [edi + 0xa], 2
mov ebx, eax
mov eax, str.SOAP_ENV:Client
mov esi, str.SOAP_ENV:Sender
mov ecx, edi
cmovne esi, eax
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c5860
mov eax, dword [eax + 0x10]
mov ecx, edi
mov dword [eax], esi
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c587b
mov eax, dword [eax + 0x14]
jmp 0x5c587e
add eax, 4
mov ecx, edi
mov dword [eax], ebx
call fcn.004da9d0
test eax, eax
je 0x5c5891
mov dword [eax], str.TCP_init_failed_in_tcp_connect__
push 0xebe
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2gsoap_stdsoap2.cpp
push str.tcp_connect_use_socket
push 0x1c
push ecx
mov ecx, 3
mov dword [edi + 0x1616c], 0x1c
call fcn.005d2190
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
push ebx
push 0x7948e0
push eax
call fcn.0049efe0
mov ebx, dword [0x7cd4c4]
add esp, 0xc
test ebx, ebx
jne 0x5c58f7
xor ecx, ecx
call fcn.005c22a0
mov ebx, eax
mov dword [0x7cd4c4], ebx
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [edi + 0x134c4]
push eax
push dword [esp + 0x18]
call dword [0x70d440]
call ebx
mov ebx, eax
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
test ebx, ebx
je 0x5c59e8
push 0
push 0x400
push 0x7cd0c0
push 0x400
push ebx
push 0
push 0x12ff
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
cmp word [edi + 0xa], 2
mov eax, str.SOAP_ENV:Client
mov esi, str.SOAP_ENV:Sender
mov ecx, edi
cmovne esi, eax
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c596f
mov eax, dword [eax + 0x10]
mov ecx, edi
mov dword [eax], esi
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c598a
mov eax, dword [eax + 0x14]
jmp 0x5c598d
add eax, 4
mov ecx, edi
mov dword [eax], 0x7cd0c0
call fcn.004da9d0
test eax, eax
je 0x5c59a4
mov dword [eax], str.getaddrinfo_failed_in_tcp_connect__
push 0xed3
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2gsoap_stdsoap2.cpp
push str.tcp_connect_use_socket
push 0x1c
push ecx
mov ecx, 3
mov dword [edi + 0x1616c], 0x1c
call fcn.005d2190
mov dword [edi + 0x16174], ebx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov ebx, 1
cmp esi, 0xffffffff
jne 0x5c5a15
push dword [eax + 0xc]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
call fcn.005c24e0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], esi
mov dword [edi + 0x16170], 0
cmp esi, 0xffffffff
jne 0x5c5a35
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x5c5d67
mov dword [esp + 0x14], eax
jmp 0x5c59f5
mov eax, dword [edi + 0x4c]
cmp eax, 0x80
jne 0x5c5ae4
push 4
lea eax, [esp + 0x28]
push 0
push eax
call fcn.006d4310
mov ax, word [edi + 0x58]
add esp, 0xc
mov word [esp + 0x26], ax
lea eax, [esp + 0x24]
mov word [esp + 0x24], bx
push 4
push eax
push 0x80
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x5c5b04
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, edi
mov dword [edi + 0x16174], eax
call fcn.005c5650
cmp word [edi + 0xa], 2
mov ebx, str.SOAP_ENV:Sender
mov dword [esp + 0xc], eax
mov ecx, edi
mov eax, str.SOAP_ENV:Client
cmovne ebx, eax
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c5ac2
mov eax, dword [eax + 0x10]
mov ecx, edi
mov dword [eax], ebx
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c5e01
mov eax, dword [eax + 0x14]
jmp 0x5c5e04
test eax, eax
je 0x5c5b04
push 4
lea ecx, [esp + 0x2c]
push ecx
push eax
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x5c5e25
cmp word [edi + 0x1613c], 0
jne 0x5c5b18
cmp word [edi + 0x1613e], 0
je 0x5c5b35
push 4
lea eax, [esp + 0x2c]
push eax
push 8
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x5c652e
push 4
lea eax, [esp + 0x30]
push eax
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x5c64af
push 4
lea eax, [esp + 0x30]
push eax
push 0x1002
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x5c6430
cmp dword [edi + 0x16140], 0
lea eax, [edi + 0x16140]
je 0x5c5b9a
push 4
push eax
push 3
push 6
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x5c5ea4
cmp dword [edi + 0x16144], 0
lea eax, [edi + 0x16144]
je 0x5c5bbf
push 4
push eax
push 0x11
push 6
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x5c5f15
cmp dword [edi + 0x16148], 0
lea eax, [edi + 0x16148]
je 0x5c5be4
push 4
push eax
push 0x10
push 6
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x5c5f86
test byte [edi + 0x14], 4
jne 0x5c5c04
push 4
lea eax, [esp + 0x2c]
push eax
push 1
push 6
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x5c5ff7
mov eax, dword [edi + 0x14]
test al, 4
je 0x5c5c7b
mov ecx, dword [edi + 0x171f4]
test ecx, ecx
je 0x5c5c22
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x18], ecx
mov eax, dword [edi + 0x14]
test al, 4
je 0x5c5c7b
cmp dword [edi + 0x171f8], 0
je 0x5c5c7b
cmp dword [edi + 0x171f4], 0
jne 0x5c5c7b
mov eax, dword [edi + 0x171fc]
test eax, eax
jle 0x5c5c60
push 1
mov byte [esp + 0x23], al
lea eax, [esp + 0x23]
push eax
push 0xa
push 0
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x5c6068
push 4
push dword [edi + 0x171f8]
push 9
push 0
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x5c60c6
test byte [edi + 0x14], 4
jne 0x5c63e4
cmp dword [edi + 0x40], 0
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push esi
mov dword [esp + 0x18], 1
jne 0x5c5ca6
mov dword [esp + 0x18], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], 0xa
push dword [eax + 0x10]
push dword [eax + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x5c62ff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2740
jne 0x5c5d0e
push esi
mov esi, dword [edi + 0x3010]
mov ecx, esi
push edi
call dword [0x70d440]
call esi
mov ecx, dword [esp + 0x14]
add esp, 8
mov esi, dword [esp + 0x20]
mov eax, ecx
dec ecx
mov dword [esp + 0xc], ecx
test eax, eax
jle 0x5c5d2c
mov eax, dword [esp + 0x14]
jmp 0x5c59f0
cmp dword [edi + 0x40], 0
je 0x5c5d2c
cmp ebx, 0x2734
je 0x5c6124
cmp ebx, 0x2733
je 0x5c6124
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x1c], 0
jne 0x5c5d5b
test ebx, ebx
je 0x5c5cb8
cmp ebx, 0x2714
je 0x5c5cb8
push ecx
mov dword [edi + 0x16174], ebx
push 0x1004
jmp 0x5c6163
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x14], eax
jmp 0x5c59f0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, edi
mov dword [edi + 0x16174], eax
call fcn.005c5650
cmp word [edi + 0xa], 2
mov ebx, eax
mov eax, str.SOAP_ENV:Client
mov esi, str.SOAP_ENV:Sender
mov ecx, edi
cmovne esi, eax
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c5da5
mov eax, dword [eax + 0x10]
mov ecx, edi
mov dword [eax], esi
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c5dc0
mov eax, dword [eax + 0x14]
jmp 0x5c5dc3
add eax, 4
mov ecx, edi
mov dword [eax], ebx
call fcn.004da9d0
test eax, eax
je 0x5c5dd6
mov dword [eax], str.socket_failed_in_tcp_connect__
push 0xef4
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2gsoap_stdsoap2.cpp
push str.tcp_connect_use_socket
push 0x1c
push ecx
mov ecx, 3
mov dword [edi + 0x1616c], 0x1c
call fcn.005d2190
jmp 0x5c65de
add eax, 4
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov ecx, edi
call fcn.004da9d0
test eax, eax
je 0x5c5e1b
mov dword [eax], str.setsockopt_SO_LINGER_failed_in_tcp_connect__
push 0xf0b
jmp 0x5c65a8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, edi
mov dword [edi + 0x16174], eax
call fcn.005c5650
cmp word [edi + 0xa], 2
mov ebx, str.SOAP_ENV:Sender
mov dword [esp + 0xc], eax
mov ecx, edi
mov eax, str.SOAP_ENV:Client
cmovne ebx, eax
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c5e65
mov eax, dword [eax + 0x10]
mov ecx, edi
mov dword [eax], ebx
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c5e80
mov eax, dword [eax + 0x14]
jmp 0x5c5e83
add eax, 4
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov ecx, edi
call fcn.004da9d0
test eax, eax
je 0x5c5e9a
mov dword [eax], str.setsockopt_failed_in_tcp_connect__
push 0xf15
jmp 0x5c65a8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ecx
push 0xf3a
sub esp, 8
mov dword [edi + 0x16174], eax
push str.setsockopt_TCP_KEEPIDLE_failed_in_tcp_connect__
push ecx
mov ecx, edi
call fcn.005c5650
add esp, 4
mov edx, eax
mov ecx, edi
call fcn.005d2110
add esp, 0x14
push esi
mov esi, dword [edi + 0x3010]
mov ecx, esi
push edi
call dword [0x70d440]
call esi
mov ebx, dword [esp + 0x18]
add esp, 8
test ebx, ebx
je 0x5c660b
mov ecx, ebx
call fcn.005c2450
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ecx
push 0xf45
sub esp, 8
mov dword [edi + 0x16174], eax
push str.setsockopt_TCP_KEEPINTVL_failed_in_tcp_connect__
push ecx
mov ecx, edi
call fcn.005c5650
add esp, 4
mov edx, eax
mov ecx, edi
call fcn.005d2110
add esp, 0x14
push esi
mov esi, dword [edi + 0x3010]
mov ecx, esi
push edi
call dword [0x70d440]
call esi
mov ebx, dword [esp + 0x18]
add esp, 8
test ebx, ebx
je 0x5c660b
mov ecx, ebx
call fcn.005c2450
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ecx
push 0xf50
sub esp, 8
mov dword [edi + 0x16174], eax
push str.setsockopt_TCP_KEEPCNT_failed_in_tcp_connect__
push ecx
mov ecx, edi
call fcn.005c5650
add esp, 4
mov edx, eax
mov ecx, edi
call fcn.005d2110
add esp, 0x14
push esi
mov esi, dword [edi + 0x3010]
mov ecx, esi
push edi
call dword [0x70d440]
call esi
mov ebx, dword [esp + 0x18]
add esp, 8
test ebx, ebx
je 0x5c660b
mov ecx, ebx
call fcn.005c2450
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ecx
push 0xf5b
sub esp, 8
mov dword [edi + 0x16174], eax
push str.setsockopt_TCP_NODELAY_failed_in_tcp_connect__
push ecx
mov ecx, edi
call fcn.005c5650
add esp, 4
mov edx, eax
mov ecx, edi
call fcn.005d2110
add esp, 0x14
push esi
mov esi, dword [edi + 0x3010]
mov ecx, esi
push edi
call dword [0x70d440]
call esi
mov ebx, dword [esp + 0x18]
add esp, 8
test ebx, ebx
je 0x5c660b
mov ecx, ebx
call fcn.005c2450
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ecx
push 0xf6f
sub esp, 8
mov dword [edi + 0x16174], eax
push str.setsockopt_IP_MULTICAST_TTL_failed_in_tcp_connect__
push ecx
mov ecx, edi
call fcn.005c5650
add esp, 4
mov edx, eax
mov ecx, edi
call fcn.005d2110
add esp, 0x14
push esi
mov esi, dword [edi + 0x3010]
mov ecx, esi
push edi
call dword [0x70d440]
call esi
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ecx
push 0xf77
sub esp, 8
mov dword [edi + 0x16174], eax
push str.setsockopt_IP_MULTICAST_IF_failed_in_tcp_connect__
push ecx
mov ecx, edi
call fcn.005c5650
add esp, 4
mov edx, eax
mov ecx, edi
call fcn.005d2110
add esp, 0x14
push esi
mov esi, dword [edi + 0x3010]
mov ecx, esi
push edi
call dword [0x70d440]
call esi
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
push dword [edi + 0x40]
mov edx, esi
mov ecx, edi
push 6
call fcn.005c67b0
add esp, 8
test eax, eax
jle 0x5c6141
test al, 4
jne 0x5c61c2
lea ebx, [edi + 0x16174]
test eax, eax
jg 0x5c6227
je 0x5c6202
cmp dword [ebx], 0x2714
je 0x5c6124
push ecx
push 0xfe3
sub esp, 8
push str.connect_failed_in_tcp_connect__
push ecx
mov ecx, edi
call fcn.005c5650
add esp, 4
mov edx, eax
mov ecx, edi
call fcn.005d2110
add esp, 0x14
push esi
mov esi, dword [edi + 0x3010]
mov ecx, esi
push edi
call dword [0x70d440]
call esi
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x5c660b
mov ecx, eax
call fcn.005c2450
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 4
push eax
lea ebx, [edi + 0x16174]
push ebx
push 0x1007
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x5c61ef
cmp dword [ebx], eax
jne 0x5c61f7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
push ecx
push 0xfcd
jmp 0x5c6163
push ecx
push 0xfd8
sub esp, 8
mov edx, str.Timeout
mov ecx, edi
push str.connect_failed_in_tcp_connect__
call fcn.005d2110
mov dword [ebx], 0x274c
jmp 0x5c617f
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 4
push eax
push ebx
push 0x1007
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x5c6256
cmp dword [edi + 0x16174], eax
je 0x5c62ff
cmp dword [edi + 0x16174], 0
jne 0x5c626b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi + 0x16174], eax
mov ecx, edi
call fcn.005c5650
cmp word [edi + 0xa], 2
mov ebx, str.SOAP_ENV:Sender
mov dword [esp + 0xc], eax
mov ecx, edi
mov eax, str.SOAP_ENV:Client
cmovne ebx, eax
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c629f
mov eax, dword [eax + 0x10]
mov ecx, edi
mov dword [eax], ebx
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c62ba
mov eax, dword [eax + 0x14]
jmp 0x5c62bd
add eax, 4
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov ecx, edi
call fcn.004da9d0
test eax, eax
je 0x5c62d4
mov dword [eax], str.connect_failed_in_tcp_connect__
push 0xff1
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2gsoap_stdsoap2.cpp
push str.tcp_connect_use_socket
push 0x1c
push ecx
mov ecx, 3
mov dword [edi + 0x1616c], 0x1c
call fcn.005d2190
jmp 0x5c6182
mov eax, dword [esp + 0x10]
mov dword [edi + 0x17280], 0
test eax, eax
je 0x5c633a
mov ebx, dword [0x7cd4cc]
test ebx, ebx
jne 0x5c632f
lea ecx, [ebx + 2]
call fcn.005c22a0
mov ebx, eax
mov eax, dword [esp + 0x10]
mov dword [0x7cd4cc], ebx
push eax
mov ecx, ebx
call dword [0x70d440]
call ebx
cmp dword [edi + 0x38], 0
jne 0x5c634e
cmp dword [edi + 0x3c], 0
mov dword [esp + 0xc], 0
je 0x5c6356
mov dword [esp + 0xc], 1
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ecx, dword [esp + 0x18]
mov edx, str.https:
and dword [edi + 0x10], 0xfffff7ff
and dword [edi + 0x14], 0xfffff7ff
mov dword [edi + 0x3088], esi
call fcn.005c51d0
test eax, eax
jne 0x5c6419
push esi
mov esi, dword [edi + 0x3010]
mov ecx, esi
push edi
call dword [0x70d440]
call esi
add esp, 8
mov dword [edi + 0x1616c], 0x1e
push 0x1128
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2gsoap_stdsoap2.cpp
push str.tcp_connect_use_socket
push 0x1e
push ecx
mov ecx, 3
call fcn.005d2190
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
push dword [eax + 0x10]
push dword [eax + 0x18]
lea eax, [edi + 0x17200]
push eax
call fcn.006d2cf0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ebx, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x17280], eax
test ebx, ebx
je 0x5c6419
mov ecx, ebx
call fcn.005c2450
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, edi
mov dword [edi + 0x16174], eax
call fcn.005c5650
cmp word [edi + 0xa], 2
mov ebx, str.SOAP_ENV:Sender
mov dword [esp + 0x18], eax
mov ecx, edi
mov eax, str.SOAP_ENV:Client
cmovne ebx, eax
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c6470
mov eax, dword [eax + 0x10]
mov ecx, edi
mov dword [eax], ebx
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c648b
mov eax, dword [eax + 0x14]
jmp 0x5c648e
add eax, 4
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, edi
call fcn.004da9d0
test eax, eax
je 0x5c64a5
mov dword [eax], str.setsockopt_SO_RCVBUF_failed_in_tcp_connect__
push 0xf30
jmp 0x5c65a8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, edi
mov dword [edi + 0x16174], eax
call fcn.005c5650
cmp word [edi + 0xa], 2
mov ebx, str.SOAP_ENV:Sender
mov dword [esp + 0x18], eax
mov ecx, edi
mov eax, str.SOAP_ENV:Client
cmovne ebx, eax
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c64ef
mov eax, dword [eax + 0x10]
mov ecx, edi
mov dword [eax], ebx
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c650a
mov eax, dword [eax + 0x14]
jmp 0x5c650d
add eax, 4
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, edi
call fcn.004da9d0
test eax, eax
je 0x5c6524
mov dword [eax], str.setsockopt_SO_SNDBUF_failed_in_tcp_connect__
push 0xf27
jmp 0x5c65a8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, edi
mov dword [edi + 0x16174], eax
call fcn.005c5650
cmp word [edi + 0xa], 2
mov ebx, str.SOAP_ENV:Sender
mov dword [esp + 0x18], eax
mov ecx, edi
mov eax, str.SOAP_ENV:Client
cmovne ebx, eax
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c656e
mov eax, dword [eax + 0x10]
mov ecx, edi
mov dword [eax], ebx
call fcn.004da8a0
cmp word [edi + 0xa], 2
mov eax, dword [edi + 0x2fbc]
jne 0x5c6589
mov eax, dword [eax + 0x14]
jmp 0x5c658c
add eax, 4
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, edi
call fcn.004da9d0
test eax, eax
je 0x5c65a3
mov dword [eax], str.setsockopt_SO_KEEPALIVE_failed_in_tcp_connect__
push 0xf1e
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2gsoap_stdsoap2.cpp
push str.tcp_connect_use_socket
push 0x1c
push ecx
mov ecx, 3
mov dword [edi + 0x1616c], 0x1c
call fcn.005d2190
push esi
mov esi, dword [edi + 0x3010]
mov ecx, esi
push edi
call dword [0x70d440]
call esi
add esp, 8
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x5c660b
mov esi, dword [0x7cd4cc]
test esi, esi
jne 0x5c6600
lea ecx, [esi + 2]
call fcn.005c22a0
mov esi, eax
mov dword [0x7cd4cc], esi
push ebx
mov ecx, esi
call dword [0x70d440]
call esi
mov ecx, dword [esp + 0x1e4]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006d0856
mov esp, ebp
pop ebp
ret