Function at 0x100036c5
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
jmp 0x1001eaa0
sub esp, 0x7f0
mov eax, dword [0x100e8038]
xor eax, esp
mov dword [esp + 0x7ec], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x800]
push edi
mov edi, dword [esp + 0x808]
push 0
push 0
push 0
push 1
push str.Mozilla_5.0
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0x14], eax
jb 0x1001eae5
mov edi, dword [edi]
push 0
push 0
push 0
push 0
push edi
mov edi, eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebp, eax
mov dword [esp + 0x20], ebp
test ebp, ebp
jne 0x1001eb0a
push edi
call ebx
push 0x7d0
xorps xmm0, xmm0
lea eax, [esp + 0x30]
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push eax
mov byte [esi], 0
call fcn.10003206
add esp, 0xc
mov dword [esp + 0x10], 0
nop dword [eax]
lea eax, [esp + 0x10]
push eax
push 0x7d0
lea eax, [esp + 0x34]
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1001eb60
push ebp
call ebx
push edi
call ebx
mov ecx, dword [esi + 0x14]
mov eax, ecx
mov ebp, dword [esi + 0x10]
sub eax, ebp
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
cmp ebx, eax
ja 0x1001eba0
lea eax, [ebx + ebp]
mov dword [esi + 0x10], eax
mov eax, esi
cmp ecx, 0x10
jb 0x1001eb85
mov eax, dword [esi]
lea edi, [eax + ebp]
push ebx
lea eax, [esp + 0x30]
push eax
push edi
call fcn.10005aba
add esp, 0xc
mov byte [edi + ebx], 0
jmp 0x1001ec83
mov eax, 0x7fffffff
sub eax, ebp
cmp eax, ebx
jb 0x1001ed1c
lea edi, [ebx + ebp]
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x1001ebc4
mov edi, 0x7fffffff
jmp 0x1001ebe2
mov edx, ecx
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x1001ebda
mov edi, 0x7fffffff
jmp 0x1001ebe2
lea eax, [edx + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
mov ecx, esi
push eax
call fcn.100015cd
cmp dword [esp + 0x18], 0x10
lea ecx, [ebx + ebp]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ecx
lea edi, [eax + ebp]
mov dword [esp + 0x1c], eax
lea ecx, [edi + ebx]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ecx
push ebp
jb 0x1001ec61
mov edi, dword [esi]
push edi
push eax
call fcn.1000593e
push ebx
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x38]
call fcn.1000593e
mov eax, dword [esp + 0x40]
add esp, 0x18
mov ecx, dword [esp + 0x18]
inc ecx
mov byte [eax], 0
cmp ecx, 0x1000
jb 0x1001ec55
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1001ed21
mov edi, edx
push ecx
push edi
call fcn.10001a78
add esp, 8
jmp 0x1001ec7d
push esi
push eax
call fcn.1000593e
push ebx
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.1000593e
lea eax, [edi + ebx]
add esp, 0x18
mov byte [eax], 0
mov eax, dword [esp + 0x1c]
mov dword [esi], eax
push 0x7d0
lea eax, [esp + 0x30]
push 0
push eax
call fcn.10003206
add esp, 0xc
cmp dword [esp + 0x10], 0
je 0x1001ecb1
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
jmp 0x1001eb40
push dword [esp + 0x20]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
mov eax, dword [esp + 0x14]
push eax
call edi
xor edi, edi
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1001ecd0
mov eax, dword [esi]
push 2
push 0x100ccc50
push edi
push dword [esi + 0x10]
push eax
call fcn.1000414c
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x1001ed01
push 2
push 0x100ccc54
push 2
push edi
mov ecx, esi
call fcn.1000399a
add edi, 2
jmp 0x1001ecc6
mov ecx, dword [esp + 0x7fc]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000314d
add esp, 0x7f0
ret
call fcn.100039e5
call fcn.100049b2
int3