Function at 0x100749b0
Capabilities:
Connect socket

Disassembly:
mov eax, 0x1020
call fcn.10090e60
mov eax, dword [0x100cd8ec]
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 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 0x10074a50
mov byte [esp + 0x13], 1
mov eax, dword [ebx]
cmp eax, edi
je 0x10074f52
mov eax, dword [eax + 0x1c]
cmp eax, edi
je 0x10074a6a
cmp eax, 1
jne 0x10074f3f
cmp byte [esp + 0x13], 0
je 0x10074e11
mov eax, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__WinInet_connection
push eax
call fcn.10077b60
lea edi, [esp + 0x34]
add esp, 8
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10074a90
mov ebp, dword [ebx]
mov cx, word [0x100a0604]
mov ebx, 0x10
mov word [edi], cx
cmp dword [ebp + 0x58], ebx
jb 0x10074ab5
mov eax, dword [ebp + 0x44]
jmp 0x10074ab8
lea eax, [ebp + 0x44]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10074ac0
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074ad2
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 0x10074b4f
lea edi, [esp + 0x2c]
add edi, 0xffffffff
lea esp, [esp]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10074b00
mov dx, word [0x100a56a4]
mov word [edi], dx
cmp dword [ebp + 0x74], ebx
jb 0x10074b1e
mov eax, dword [ebp + 0x60]
jmp 0x10074b21
lea eax, [ebp + 0x60]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10074b23
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074b35
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 0x10074bb1
lea edi, [esp + 0x2c]
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10074b60
mov ax, word [0x100a5df4]
mov word [edi], ax
cmp dword [ebp + 0x90], ebx
jb 0x10074b80
mov eax, dword [ebp + 0x7c]
jmp 0x10074b83
lea eax, [ebp + 0x7c]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10074b85
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074b97
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 0x10074c1c
lea edi, [esp + 0x2c]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10074bc1
mov cx, word [0x100ad8c8]
mov word [edi], cx
cmp dword [ebp + 0xac], ebx
jb 0x10074be5
mov eax, dword [ebp + 0x98]
jmp 0x10074beb
lea eax, [ebp + 0x98]
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10074bf0
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074c02
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 0x10074c2c
mov ebx, 0x4c00000
cmp dword [ebp + 0x38], 0x10
jb 0x10074c37
mov eax, dword [ebp + 0x24]
jmp 0x10074c3a
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.10071750
mov esi, eax
test esi, esi
je 0x10074c82
mov eax, dword [edi + 0x88]
push esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_connect_error___d_
push eax
call fcn.10077b60
add esp, 0xc
mov eax, esi
jmp 0x10074e46
cmp dword [esp + 0x20], 0
je 0x10074d55
lea edi, [esp + 0x82c]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10074c97
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov cx, word [0x100a0604]
add eax, 0x40
mov word [edi], cx
cmp dword [eax + 0x18], 0x10
jb 0x10074cbf
mov eax, dword [eax + 4]
jmp 0x10074cc2
add eax, 4
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10074cc4
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 0x10074ce0
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 0x10074d04
mov eax, dword [0x100a7520]
mov dword [edi], eax
mov eax, dword [esp + 0x20]
mov ecx, eax
jmp 0x10074d20
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10074d20
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 0x10074d37
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 0x10074d72
xor eax, eax
jmp 0x10074d60
mov cl, byte [esp + eax + 0x2c]
mov byte [esp + eax + 0x82c], cl
add eax, 1
test cl, cl
jne 0x10074d60
mov ebp, dword [esp + 0x24]
push ebx
lea ecx, [esp + 0x830]
push ecx
push ebp
mov ecx, edi
call fcn.100719f0
mov esi, eax
test esi, esi
je 0x10074dbd
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.10077b60
add esp, 0xc
mov eax, esi
jmp 0x10074e46
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 0x10074ed5
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.10077b60
add esp, 8
or eax, 0xffffffff
jmp 0x10074e46
cmp eax, 1
jne 0x10074e61
mov eax, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_Not_support_HTTPS
push eax
call fcn.10077b60
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.10090e24
add esp, 0x1020
ret 4
mov ecx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__Socket_connection
push ecx
call fcn.10077b60
add esp, 8
push edi
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x10074ea1
mov edx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_socket_error
push edx
call fcn.10077b60
add esp, 8
or eax, 0xffffffff
jmp 0x10074e46
mov ecx, dword [ebx]
push 0x10
call fcn.10076510
push eax
mov eax, dword [esp + 0x20]
push eax
call sub.WS2_32.dll_connect
mov esi, eax
cmp esi, 0xffffffff
jne 0x10074ed9
mov ecx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_connect_error
push ecx
call fcn.10077b60
add esp, 8
jmp 0x10074e2d
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push edi
push edx
mov ecx, ebx
call fcn.10073580
mov esi, eax
test esi, esi
jge 0x10074f03
mov eax, dword [ebx + 0x88]
push esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_sendHttpData_error___d_
push eax
call fcn.10077b60
add esp, 0xc
jmp 0x10074f69
mov ecx, dword [esp + 0x18]
push edi
push ecx
mov ecx, ebx
call fcn.10073da0
mov esi, eax
test esi, esi
jge 0x10074f2d
mov edx, dword [ebx + 0x88]
push esi
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_recvHttpData_error___d_
push edx
call fcn.10077b60
add esp, 0xc
jmp 0x10074f69
mov esi, dword [ebx + 0x84]
sub esi, 0xc8
neg esi
sbb esi, esi
jmp 0x10074f69
cmp eax, 2
jne 0x10074f52
mov eax, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_Not_support_FTP
push eax
jmp 0x10074f5e
mov ecx, dword [ebx + 0x88]
push str._CORE__XWInetGet::getDataFromUrl__FAIL_:_Not_support_Protocol
push ecx
call fcn.10077b60
add esp, 8
or esi, 0xffffffff
cmp byte [esp + 0x13], 0
je 0x10074e2d
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 0x10074e3a