Function at 0x100079b0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x10014bc5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4f4
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x10015444
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], ebx
call fcn.1000f3f7
mov ecx, 0x32
xor eax, eax
lea edi, [esp + 0x3c]
xor ebp, ebp
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x518]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x104]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x3a
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x510], 1
and ecx, 3
mov dword [esp + 0x14], ebx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x108]
mov dword [esp + 0x20], ebx
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], 0x10020168
mov dword [esp + 0x40], ebx
call fcn.10006380
add esp, 8
test eax, eax
je 0x10007a65
mov byte [eax], 0
inc eax
push eax
call fcn.100026c9
add esp, 4
mov esi, eax
jmp 0x10007a69
mov esi, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
push str.Http
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esp + 0x30], eax
jne 0x10007aa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetOpen_Error
lea edx, [esp + 0x44]
push str._s:__x
push edx
call fcn.1000a79f
add esp, 0x10
jmp 0x10007d85
push 0
push 0
push 3
push 0
push 0
lea ecx, [esp + 0x118]
push esi
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
mov dword [esp + 0x1c], edi
jne 0x10007adc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetConnect_Error
jmp 0x10007d11
mov eax, dword [esp + 0x524]
mov edx, dword [esp + 0x51c]
push 0
lea ecx, [esp + 0x38]
mov eax, dword [eax]
push 0x84000000
push ecx
push eax
push str.HTTP_1.0
push edx
push 0x1002011c
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
mov dword [esp + 0x24], esi
jne 0x10007b38
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HttpOpenRequest_Error
lea eax, [esp + 0x44]
push str._s:__x
push eax
call fcn.1000a79f
add esp, 0x10
jmp 0x10007cf6
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x10007b6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HttpSendRequest_Error
lea ecx, [esp + 0x44]
push str._s:__d
push ecx
call fcn.1000a79f
add esp, 0x10
jmp 0x10007cf6
lea edx, [esp + 0x10]
push 0
push edx
push 0
push 0x16
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [esp + 0x10]
inc eax
push eax
call fcn.1000edcd
add esp, 4
lea ecx, [esp + 0x10]
mov edi, eax
push 0
push ecx
push edi
push 0x16
push esi
mov dword [esp + 0x3c], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x10007bcc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HttpQueryInfo
lea edx, [esp + 0x44]
push str._s:__x
push edx
call fcn.1000a79f
add esp, 0x10
jmp 0x10007cd8
mov eax, dword [esp + 0x10]
push 0x7d01
mov byte [edi + eax], 0
call fcn.1000edcd
add esp, 4
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
push 0x7d00
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10007cae
jmp 0x10007c03
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov byte [ebx + edx], 0
mov esi, dword [esp + 0x10]
add ebp, esi
mov dword [esp + 0x2c], ebp
inc ebp
push ebp
call fcn.1000edcd
mov edx, dword [esp + 0x1c]
mov ebp, eax
add esp, 4
test edx, edx
mov byte [ebp], 0
je 0x10007c55
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.1000edf6
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x18], ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10007cd0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
push 0x7d00
push ebx
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10007bff
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push ebx
call fcn.1000edf6
mov eax, dword [esp + 0x1c]
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x10007cd8
push eax
call fcn.1000edf6
add esp, 4
mov dword [esp + 0x18], ebx
jmp 0x10007cd8
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
test edi, edi
je 0x10007ce5
push edi
call fcn.1000edf6
add esp, 4
test ebx, ebx
je 0x10007cf2
push ebx
call fcn.1000edf6
add esp, 4
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x10007d23
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
jne 0x10007d23
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CloseHandle_Error
lea edx, [esp + 0x44]
push str._s:__x
push edx
call fcn.1000a79f
add esp, 0x10
test edi, edi
je 0x10007d50
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
jne 0x10007d50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CloseHandle_Error
lea eax, [esp + 0x44]
push str._s:__x
push eax
call fcn.1000a79f
add esp, 0x10
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
jne 0x10007d7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CloseHandle_Error
lea edx, [esp + 0x44]
push str._s:__x
push edx
call fcn.1000a79f
add esp, 0x10
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x10007da2
mov esi, dword [esp + 0x514]
push 0x10015444
mov ecx, esi
call fcn.1000f3f7
mov dword [esp + 0x20], 1
jmp 0x10007e14
push esi
lea ecx, [esp + 0x18]
call fcn.1000f4c6
push esi
call fcn.1000edf6
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x10007df9
push str.error
lea ecx, [esp + 0x18]
call fcn.1000d9f7
test eax, eax
jge 0x10007df9
push str.html
lea ecx, [esp + 0x18]
call fcn.1000d9f7
test eax, eax
jg 0x10007df9
mov esi, dword [esp + 0x514]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.1000f0fe
jmp 0x10007e0c
mov esi, dword [esp + 0x514]
push 0x10015444
mov ecx, esi
call fcn.1000f3f7
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x50c], 0
call fcn.1000f389
mov ecx, dword [esp + 0x504]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x500
ret