Function at 0x10074f90
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.10090e60
mov eax, dword [0x100cd8ec]
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 0x1009fc09
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.10065760
add esp, 0x20
cmp dword [eax + 0x84], 1
jne 0x10075052
mov byte [esp + 0x13], 1
mov eax, dword [ebx]
test eax, eax
je 0x100755e7
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x1007506c
cmp eax, 1
jne 0x100755d4
cmp byte [esp + 0x13], 0
je 0x100754a5
mov ecx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__WinInet_connection
push ecx
call fcn.10077b60
lea eax, [esp + 0x34]
add esp, 8
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x10075092
mov edx, dword [str.Cookie:]
mov ecx, dword [0x100b0b20]
mov dword [eax], edx
mov dl, byte [0x100b0b24]
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 0x100750c0
lea edi, [esp + 0x2c]
sub eax, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100750d2
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 0x100750f4
mov ebp, dword [ebx]
mov ax, word [0x100a0604]
mov ebx, 0x10
mov word [edi], ax
cmp dword [ebp + 0x58], ebx
jb 0x10075118
mov eax, dword [ebp + 0x44]
jmp 0x1007511b
lea eax, [ebp + 0x44]
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10075120
lea edi, [esp + 0x130]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10075135
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 0x100751b2
lea edi, [esp + 0x130]
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10075160
mov cx, word [0x100a56a4]
mov word [edi], cx
cmp dword [ebp + 0x74], ebx
jb 0x1007517e
mov eax, dword [ebp + 0x60]
jmp 0x10075181
lea eax, [ebp + 0x60]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10075183
lea edi, [esp + 0x130]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10075198
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 0x1007521f
lea edi, [esp + 0x130]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x100751c5
mov dx, word [0x100a5df4]
mov word [edi], dx
cmp dword [ebp + 0x90], ebx
jb 0x100751e6
mov eax, dword [ebp + 0x7c]
jmp 0x100751e9
lea eax, [ebp + 0x7c]
mov edx, eax
jmp 0x100751f0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100751f0
lea edi, [esp + 0x130]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10075205
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 0x1007528f
lea edi, [esp + 0x130]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10075232
mov ax, word [0x100ad8c8]
mov word [edi], ax
cmp dword [ebp + 0xac], ebx
jb 0x10075255
mov eax, dword [ebp + 0x98]
jmp 0x1007525b
lea eax, [ebp + 0x98]
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10075260
lea edi, [esp + 0x130]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10075275
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 0x1007529f
mov ebx, 0x4c80000
cmp dword [ebp + 0x38], 0x10
jb 0x100752aa
mov eax, dword [ebp + 0x24]
jmp 0x100752ad
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.10071750
mov esi, eax
test esi, esi
je 0x100752f8
mov edx, dword [edi + 0x88]
push esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_connect_error___d_
push edx
call fcn.10077b60
add esp, 0xc
mov eax, esi
jmp 0x100754da
cmp dword [esp + 0x20], 0
je 0x100753ce
lea edi, [esp + 0x930]
add edi, 0xffffffff
lea ecx, [ecx]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10075310
mov ax, word [0x100a0604]
mov ecx, dword [esp + 0x14]
mov word [edi], ax
mov eax, dword [ecx]
add eax, 0x40
cmp dword [eax + 0x18], 0x10
jb 0x10075337
mov eax, dword [eax + 4]
jmp 0x1007533a
add eax, 4
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10075340
lea edi, [esp + 0x930]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10075355
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 0x10075380
mov edx, dword [0x100a7520]
mov eax, dword [esp + 0x20]
mov dword [edi], edx
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10075398
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 0x100753b0
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 0x100753e5
xor eax, eax
mov cl, byte [esp + eax + 0x130]
mov byte [esp + eax + 0x930], cl
add eax, 1
test cl, cl
jne 0x100753d0
mov ebp, dword [esp + 0x24]
push ebx
lea eax, [esp + 0x934]
push eax
push ebp
mov ecx, edi
call fcn.100719f0
mov esi, eax
test esi, esi
je 0x10075430
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.10077b60
add esp, 0xc
mov eax, esi
jmp 0x100754da
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 0x10075483
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.10077b60
add esp, 8
or eax, 0xffffffff
jmp 0x100754da
push 0xa0000000
push 0xffffffffffffffff
lea edx, [esp + 0x34]
push edx
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x1007556a
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_HttpAddRequestHeaders_error___1___
jmp 0x1007546b
cmp eax, 1
jne 0x100754f5
mov edx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_Not_support_HTTPS
push edx
call fcn.10077b60
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.10090e24
add esp, 0x1124
ret 8
mov eax, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__Socket_connection
push eax
call fcn.10077b60
add esp, 8
push 0
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x10075536
mov ecx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_socket_error
push ecx
call fcn.10077b60
add esp, 8
or eax, 0xffffffff
jmp 0x100754da
mov ecx, dword [ebx]
push 0x10
call fcn.10076510
mov edx, dword [esp + 0x1c]
push eax
push edx
call sub.WS2_32.dll_connect
mov esi, eax
cmp esi, 0xffffffff
jne 0x1007556e
mov eax, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_connect_error
push eax
call fcn.10077b60
add esp, 8
jmp 0x100754c1
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edi
push ecx
mov ecx, ebx
call fcn.10073580
mov esi, eax
test esi, esi
jge 0x10075598
mov edx, dword [ebx + 0x88]
push esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_sendHttpData_error___d_
push edx
call fcn.10077b60
add esp, 0xc
jmp 0x100755fe
mov eax, dword [esp + 0x18]
push edi
push eax
mov ecx, ebx
call fcn.10073da0
mov esi, eax
test esi, esi
jge 0x100755c2
mov ecx, dword [ebx + 0x88]
push esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_recvHttpData_error___d_
push ecx
call fcn.10077b60
add esp, 0xc
jmp 0x100755fe
mov esi, dword [ebx + 0x84]
sub esi, 0xc8
neg esi
sbb esi, esi
jmp 0x100755fe
cmp eax, 2
jne 0x100755e7
mov edx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_Not_support_FTP
push edx
jmp 0x100755f3
mov eax, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_Not_support_Protocol
push eax
call fcn.10077b60
add esp, 8
or esi, 0xffffffff
cmp byte [esp + 0x13], 0
je 0x100754c1
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 0x100754ce