Function at 0x100746e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
mov eax, 0x1124
call fcn.10090560
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x1120], eax
mov eax, dword [esp + 0x1128]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1138]
push edi
mov ebx, ecx
xor edi, edi
push 0x103
lea ecx, [esp + 0x31]
push edi
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], edi
mov byte [esp + 0x1f], 0
mov byte [esp + 0x38], 0
call sub.MSVCR80.dll_memset
xor ebp, ebp
push 0x7ff
lea edx, [esp + 0x141]
push ebp
push edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x148], 0
call sub.MSVCR80.dll_memset
push 0x7ff
lea eax, [esp + 0x94d]
push ebp
push eax
mov byte [esp + 0x954], 0
call sub.MSVCR80.dll_memset
add esp, 0x24
push ebp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x1009ec09
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
call fcn.10064fd0
add esp, 0x20
cmp dword [eax + 0x84], 1
jne 0x100747a2
mov byte [esp + 0x13], 1
mov eax, dword [ebx]
test eax, eax
je 0x10074d37
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x100747bc
cmp eax, 1
jne 0x10074d24
cmp byte [esp + 0x13], 0
je 0x10074bf5
mov ecx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__WinInet_connection
push ecx
call fcn.100772b0
lea eax, [esp + 0x34]
add esp, 8
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x100747e2
mov edx, dword [str.Cookie:]
mov ecx, dword [0x100af988]
mov dword [eax], edx
mov dl, byte [0x100af98c]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
mov eax, esi
mov ecx, esi
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10074810
lea edi, [esp + 0x2c]
sub eax, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074822
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x130]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10074844
mov ebp, dword [ebx]
mov ax, word [0x1009f604]
mov ebx, 0x10
mov word [edi], ax
cmp dword [ebp + 0x58], ebx
jb 0x10074868
mov eax, dword [ebp + 0x44]
jmp 0x1007486b
lea eax, [ebp + 0x44]
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10074870
lea edi, [esp + 0x130]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074885
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp + 0x70], 0
jbe 0x10074902
lea edi, [esp + 0x130]
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x100748b0
mov cx, word [0x100a468c]
mov word [edi], cx
cmp dword [ebp + 0x74], ebx
jb 0x100748ce
mov eax, dword [ebp + 0x60]
jmp 0x100748d1
lea eax, [ebp + 0x60]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100748d3
lea edi, [esp + 0x130]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100748e8
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp + 0x8c], 0
jbe 0x1007496f
lea edi, [esp + 0x130]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10074915
mov dx, word [0x100a4ddc]
mov word [edi], dx
cmp dword [ebp + 0x90], ebx
jb 0x10074936
mov eax, dword [ebp + 0x7c]
jmp 0x10074939
lea eax, [ebp + 0x7c]
mov edx, eax
jmp 0x10074940
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10074940
lea edi, [esp + 0x130]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074955
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp + 0xa8], 0
jbe 0x100749df
lea edi, [esp + 0x130]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10074982
mov ax, word [0x100ac740]
mov word [edi], ax
cmp dword [ebp + 0xac], ebx
jb 0x100749a5
mov eax, dword [ebp + 0x98]
jmp 0x100749ab
lea eax, [ebp + 0x98]
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100749b0
lea edi, [esp + 0x130]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100749c5
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp + 0x1c], 1
mov ebx, 0x4480000
jne 0x100749ef
mov ebx, 0x4c80000
cmp dword [ebp + 0x38], 0x10
jb 0x100749fa
mov eax, dword [ebp + 0x24]
jmp 0x100749fd
lea eax, [ebp + 0x24]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebp + 0x3c]
push 1
lea edx, [esp + 0x140]
push edx
push ecx
push eax
mov ecx, edi
call fcn.10070ec0
mov esi, eax
test esi, esi
je 0x10074a48
mov edx, dword [edi + 0x88]
push esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_connect_error___d_
push edx
call fcn.100772b0
add esp, 0xc
mov eax, esi
jmp 0x10074c2a
cmp dword [esp + 0x20], 0
je 0x10074b1e
lea edi, [esp + 0x930]
add edi, 0xffffffff
lea ecx, [ecx]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10074a60
mov ax, word [0x1009f604]
mov ecx, dword [esp + 0x14]
mov word [edi], ax
mov eax, dword [ecx]
add eax, 0x40
cmp dword [eax + 0x18], 0x10
jb 0x10074a87
mov eax, dword [eax + 4]
jmp 0x10074a8a
add eax, 4
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10074a90
lea edi, [esp + 0x930]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074aa5
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x930]
add edi, 0xffffffff
lea esp, [esp]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10074ad0
mov edx, dword [0x100a6508]
mov eax, dword [esp + 0x20]
mov dword [edi], edx
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10074ae8
lea edi, [esp + 0x930]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
nop
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074b00
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
jmp 0x10074b35
xor eax, eax
mov cl, byte [esp + eax + 0x130]
mov byte [esp + eax + 0x930], cl
add eax, 1
test cl, cl
jne 0x10074b20
mov ebp, dword [esp + 0x24]
push ebx
lea eax, [esp + 0x934]
push eax
push ebp
mov ecx, edi
call fcn.10071160
mov esi, eax
test esi, esi
je 0x10074b80
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call edi
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x88]
push esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_CheckProxyAuthentication_error___d_
push eax
call fcn.100772b0
add esp, 0xc
mov eax, esi
jmp 0x10074c2a
push 0
push ebx
push 0
push 0
push str.HTTP_1.1
lea ecx, [esp + 0x144]
push ecx
push str.POST
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
jne 0x10074bd3
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_HttpOpenRequest_error___1___
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x88]
push ecx
call fcn.100772b0
add esp, 8
or eax, 0xffffffff
jmp 0x10074c2a
push 0xa0000000
push 0xffffffffffffffff
lea edx, [esp + 0x34]
push edx
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x10074cba
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_HttpAddRequestHeaders_error___1___
jmp 0x10074bbb
cmp eax, 1
jne 0x10074c45
mov edx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_Not_support_HTTPS
push edx
call fcn.100772b0
add esp, 8
or esi, 0xffffffff
mov edx, dword [esp + 0x18]
push edx
call sub.XecureAcIO.dll_XFA_Socket_Close
add esp, 4
xor eax, eax
test esi, esi
setge al
sub eax, 1
and eax, esi
mov ecx, dword [esp + 0x1130]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10090524
add esp, 0x1124
ret 8
mov eax, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__Socket_connection
push eax
call fcn.100772b0
add esp, 8
push 0
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x10074c86
mov ecx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_socket_error
push ecx
call fcn.100772b0
add esp, 8
or eax, 0xffffffff
jmp 0x10074c2a
mov ecx, dword [ebx]
push 0x10
call fcn.10075c60
mov edx, dword [esp + 0x1c]
push eax
push edx
call sub.WS2_32.dll_connect
mov esi, eax
cmp esi, 0xffffffff
jne 0x10074cbe
mov eax, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_connect_error
push eax
call fcn.100772b0
add esp, 8
jmp 0x10074c11
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edi
push ecx
mov ecx, ebx
call fcn.10072cd0
mov esi, eax
test esi, esi
jge 0x10074ce8
mov edx, dword [ebx + 0x88]
push esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_sendHttpData_error___d_
push edx
call fcn.100772b0
add esp, 0xc
jmp 0x10074d4e
mov eax, dword [esp + 0x18]
push edi
push eax
mov ecx, ebx
call fcn.100734f0
mov esi, eax
test esi, esi
jge 0x10074d12
mov ecx, dword [ebx + 0x88]
push esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_recvHttpData_error___d_
push ecx
call fcn.100772b0
add esp, 0xc
jmp 0x10074d4e
mov esi, dword [ebx + 0x84]
sub esi, 0xc8
neg esi
sbb esi, esi
jmp 0x10074d4e
cmp eax, 2
jne 0x10074d37
mov edx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_Not_support_FTP
push edx
jmp 0x10074d43
mov eax, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_Not_support_Protocol
push eax
call fcn.100772b0
add esp, 8
or esi, 0xffffffff
cmp byte [esp + 0x13], 0
je 0x10074c11
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push ebp
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call edi
jmp 0x10074c1e