Function at 0x10074100
Capabilities:
Connect socket

Disassembly:
mov eax, 0x1020
call fcn.10090560
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x101c], eax
mov eax, dword [esp + 0x1024]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebx, ecx
push 0x7ff
lea ecx, [esp + 0x31]
push edi
xor ebp, ebp
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], edi
mov byte [esp + 0x1f], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], ebp
mov byte [esp + 0x38], 0
call sub.MSVCR80.dll_memset
push 0x7ff
lea edx, [esp + 0x83d]
push edi
push edx
mov byte [esp + 0x844], 0
call sub.MSVCR80.dll_memset
add esp, 0x18
push edi
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 0x100741a0
mov byte [esp + 0x13], 1
mov eax, dword [ebx]
cmp eax, edi
je 0x100746a2
mov eax, dword [eax + 0x1c]
cmp eax, edi
je 0x100741ba
cmp eax, 1
jne 0x1007468f
cmp byte [esp + 0x13], 0
je 0x10074561
mov eax, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__WinInet_connection
push eax
call fcn.100772b0
lea edi, [esp + 0x34]
add esp, 8
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x100741e0
mov ebp, dword [ebx]
mov cx, word [0x1009f604]
mov ebx, 0x10
mov word [edi], cx
cmp dword [ebp + 0x58], ebx
jb 0x10074205
mov eax, dword [ebp + 0x44]
jmp 0x10074208
lea eax, [ebp + 0x44]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10074210
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074222
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 0x1007429f
lea edi, [esp + 0x2c]
add edi, 0xffffffff
lea esp, [esp]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10074250
mov dx, word [0x100a468c]
mov word [edi], dx
cmp dword [ebp + 0x74], ebx
jb 0x1007426e
mov eax, dword [ebp + 0x60]
jmp 0x10074271
lea eax, [ebp + 0x60]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10074273
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074285
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 0x10074301
lea edi, [esp + 0x2c]
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x100742b0
mov ax, word [0x100a4ddc]
mov word [edi], ax
cmp dword [ebp + 0x90], ebx
jb 0x100742d0
mov eax, dword [ebp + 0x7c]
jmp 0x100742d3
lea eax, [ebp + 0x7c]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100742d5
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100742e7
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 0x1007436c
lea edi, [esp + 0x2c]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10074311
mov cx, word [0x100ac740]
mov word [edi], cx
cmp dword [ebp + 0xac], ebx
jb 0x10074335
mov eax, dword [ebp + 0x98]
jmp 0x1007433b
lea eax, [ebp + 0x98]
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10074340
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074352
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, 0x4400000
jne 0x1007437c
mov ebx, 0x4c00000
cmp dword [ebp + 0x38], 0x10
jb 0x10074387
mov eax, dword [ebp + 0x24]
jmp 0x1007438a
lea eax, [ebp + 0x24]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [ebp + 0x3c]
push 0
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
mov ecx, edi
call fcn.10070ec0
mov esi, eax
test esi, esi
je 0x100743d2
mov eax, dword [edi + 0x88]
push esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_connect_error___d_
push eax
call fcn.100772b0
add esp, 0xc
mov eax, esi
jmp 0x10074596
cmp dword [esp + 0x20], 0
je 0x100744a5
lea edi, [esp + 0x82c]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x100743e7
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov cx, word [0x1009f604]
add eax, 0x40
mov word [edi], cx
cmp dword [eax + 0x18], 0x10
jb 0x1007440f
mov eax, dword [eax + 4]
jmp 0x10074412
add eax, 4
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10074414
lea edi, [esp + 0x82c]
sub eax, edx
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074430
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 + 0x82c]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10074454
mov eax, dword [0x100a6508]
mov dword [edi], eax
mov eax, dword [esp + 0x20]
mov ecx, eax
jmp 0x10074470
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10074470
lea edi, [esp + 0x82c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074487
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 0x100744c2
xor eax, eax
jmp 0x100744b0
mov cl, byte [esp + eax + 0x2c]
mov byte [esp + eax + 0x82c], cl
add eax, 1
test cl, cl
jne 0x100744b0
mov ebp, dword [esp + 0x24]
push ebx
lea ecx, [esp + 0x830]
push ecx
push ebp
mov ecx, edi
call fcn.10071160
mov esi, eax
test esi, esi
je 0x1007450d
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call edi
mov edx, dword [esp + 0x1c]
push edx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x88]
push esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_CheckProxyAuthentication_error___d_
push ecx
call fcn.100772b0
add esp, 0xc
mov eax, esi
jmp 0x10074596
push 0
push ebx
push 0
push 0
push str.HTTP_1.1
lea edx, [esp + 0x40]
push edx
push str.POST
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
jne 0x10074625
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_HttpOpenRequest_error___1___
push edx
call fcn.100772b0
add esp, 8
or eax, 0xffffffff
jmp 0x10074596
cmp eax, 1
jne 0x100745b1
mov eax, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_Not_support_HTTPS
push eax
call fcn.100772b0
add esp, 8
or esi, 0xffffffff
mov eax, dword [esp + 0x18]
push eax
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 + 0x102c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10090524
add esp, 0x1020
ret 4
mov ecx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__Socket_connection
push ecx
call fcn.100772b0
add esp, 8
push edi
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x100745f1
mov edx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_socket_error
push edx
call fcn.100772b0
add esp, 8
or eax, 0xffffffff
jmp 0x10074596
mov ecx, dword [ebx]
push 0x10
call fcn.10075c60
push eax
mov eax, dword [esp + 0x20]
push eax
call sub.WS2_32.dll_connect
mov esi, eax
cmp esi, 0xffffffff
jne 0x10074629
mov ecx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_connect_error
push ecx
call fcn.100772b0
add esp, 8
jmp 0x1007457d
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push edi
push edx
mov ecx, ebx
call fcn.10072cd0
mov esi, eax
test esi, esi
jge 0x10074653
mov eax, dword [ebx + 0x88]
push esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_sendHttpData_error___d_
push eax
call fcn.100772b0
add esp, 0xc
jmp 0x100746b9
mov ecx, dword [esp + 0x18]
push edi
push ecx
mov ecx, ebx
call fcn.100734f0
mov esi, eax
test esi, esi
jge 0x1007467d
mov edx, dword [ebx + 0x88]
push esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_recvHttpData_error___d_
push edx
call fcn.100772b0
add esp, 0xc
jmp 0x100746b9
mov esi, dword [ebx + 0x84]
sub esi, 0xc8
neg esi
sbb esi, esi
jmp 0x100746b9
cmp eax, 2
jne 0x100746a2
mov eax, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_Not_support_FTP
push eax
jmp 0x100746ae
mov ecx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_Not_support_Protocol
push ecx
call fcn.100772b0
add esp, 8
or esi, 0xffffffff
cmp byte [esp + 0x13], 0
je 0x1007457d
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push ebp
call edi
mov edx, dword [esp + 0x1c]
push edx
call edi
jmp 0x1007458a