Function at 0x10001f00
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c3b0
mov eax, dword fs:[0]
push eax
mov eax, 0x2844
call fcn.1002c570
mov eax, dword [0x100662ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2838], edx
mov dword [ebp - 0x284c], eax
mov dword [ebp - 0x2850], ecx
test edx, edx
je 0x100022b7
mov dword [ecx], 0
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x10001f64
mov ecx, dword [eax]
mov dword [eax + 0x10], 0
xor edi, edi
mov byte [ecx], 0
mov dword [ebp - 0x281c], 0
mov dword [ebp - 0x2818], 1
mov dword [ebp - 0x2814], 3
nop
mov ax, word [0x100518cc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2834], xmm0
mov word [ebp - 0x282c], ax
movq xmm0, qword [0x100518c4]
mov al, byte [0x100518ce]
mov dword [ebp - 0x2824], 0
mov dword [ebp - 0x2820], 0
mov dword [ebp - 0x2824], 0xb
mov dword [ebp - 0x2820], 0xf
movq qword [ebp - 0x2834], xmm0
mov byte [ebp - 0x282a], al
mov byte [ebp - 0x2829], 0
mov dword [ebp - 4], 0
mov eax, 0x10066274
cmp dword [0x10066288], 0x10
lea ecx, [ebp - 0x2834]
push dword [0x10066284]
cmovae eax, dword [0x10066274]
push eax
call fcn.10010280
push 4
push 0x100518d0
lea ecx, [ebp - 0x2834]
call fcn.10010280
cmp dword [0x10066288], 0x10
mov eax, 0x10066274
push 0
cmovae eax, dword [0x10066274]
push 0
push 0
push dword [ebp + edi*4 - 0x281c]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [ebp - 0x283c], esi
test esi, esi
je 0x1000225f
push 4
lea eax, [ebp - 0x2844]
mov dword [ebp - 0x2844], 0x2710
push eax
push 2
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
cmp dword [ebp - 0x2820], 0x10
lea eax, [ebp - 0x2834]
push 0
cmovae eax, dword [ebp - 0x2834]
push 0x80000000
push dword [ebp - 0x2824]
push eax
push dword [ebp - 0x2838]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x100020c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x283c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
inc edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2820]
cmp ecx, 0x10
jb 0x1000210b
mov edx, dword [ebp - 0x2834]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002101
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100022d6
push ecx
push edx
call fcn.1002bffb
add esp, 8
mov dword [ebp - 0x2824], 0
mov dword [ebp - 0x2820], 0xf
mov byte [ebp - 0x2834], 0
test esi, esi
jne 0x10002138
cmp edi, 3
jl 0x10001f90
jmp 0x100022b7
push 0
lea eax, [ebp - 0x2848]
mov dword [ebp - 0x2840], 0
push eax
lea eax, [ebp - 0x2840]
mov dword [ebp - 0x2848], 4
push eax
push 0x13
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ecx, 0x100518d8
lea eax, [ebp - 0x2840]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002190
test dl, dl
je 0x1000218c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002190
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002170
xor eax, eax
jmp 0x10002195
sbb eax, eax
or eax, 1
test eax, eax
je 0x100021b1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x283c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x100022b7
push 0x2800
lea eax, [ebp - 0x2810]
push 0
push eax
call fcn.1002dbf0
add esp, 0xc
lea eax, [ebp - 0x2838]
xor edi, edi
mov dword [ebp - 0x2838], edi
push eax
push 0x2800
lea eax, [ebp - 0x2810]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x2838]
test eax, eax
je 0x10002245
mov ecx, dword [ebp - 0x284c]
push eax
lea eax, [ebp - 0x2810]
push eax
push edi
call fcn.10010fc0
mov ecx, dword [ebp - 0x2850]
mov eax, dword [ebp - 0x2838]
add edi, eax
mov dword [ebp - 0x2838], 0
add dword [ecx], eax
lea eax, [ebp - 0x2838]
push eax
push 0x2800
lea eax, [ebp - 0x2810]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x2838]
test eax, eax
jne 0x100021f3
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x283c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x100022b9
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2820]
cmp ecx, 0x10
jb 0x1000229c
mov edx, dword [ebp - 0x2834]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002292
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100022d6
push ecx
push edx
call fcn.1002bffb
add esp, 8
mov dword [ebp - 0x2824], 0
mov dword [ebp - 0x2820], 0xf
mov byte [ebp - 0x2834], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c009
mov esp, ebp
pop ebp
ret 0xc
call fcn.10030ecf
int3