Function at 0x100038e0
Capabilities:
Check http status code
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004f67b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2084
call fcn.10027aa0
mov eax, dword [0x10084ca0]
push ebx
push esi
mov esi, ecx
mov edx, dword [esi + 0x2838]
test edx, edx
mov dword [esp + 0x2088], eax
push edi
mov dword [esp + 0x1c], esi
jne 0x1000392f
mov eax, 0x9c43
jmp 0x10003b34
xor eax, eax
mov byte [esp + 0x88], 0
mov ecx, 0x7ff
lea edi, [esp + 0x89]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x90]
push ecx
push 0x13
mov ebx, 0x2000
push edx
mov dword [esp + 0x20], ebx
call edi
test eax, eax
je 0x10003a08
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x88]
push eax
mov byte [esp + edx + 0x8c], 0
call fcn.10027a09
add esp, 4
cmp eax, 0xc8
jne 0x10003a08
mov eax, dword [esi + 0x2838]
push 0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x90]
push edx
push 5
push eax
mov dword [esp + 0x20], ebx
call edi
test eax, eax
jne 0x10003a12
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [esp + 0x10], 1
mov edi, edi
mov eax, dword [esi + 0x2838]
lea ecx, [esp + 0x10]
push ecx
push 0x63
lea edx, [esp + 0x28]
push edx
push eax
call edi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push 0x10089ca0
mov byte [esp + ecx + 0x28], 0
call fcn.10003690
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x100039d0
mov eax, 0x9c41
jmp 0x10003b34
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + eax + 0x8c], 0
call fcn.10027981
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
je 0x10003a08
lea ebx, [esi + 0x282c]
mov ecx, ebx
call fcn.10001220
mov ecx, dword [esi + 0x2838]
lea edx, [esp + 0x14]
push edx
push 0x2000
lea eax, [esp + 0x90]
push eax
xor edi, edi
push ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], 0x2000
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10003b24
jmp 0x10003a80
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10003b24
add edi, eax
mov esi, eax
call fcn.1003a62b
push eax
push esi
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0x1c]
call fcn.100011b0
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
push eax
push esi
mov ecx, ebx
mov dword [esp + 0x20a4], 0
call fcn.100027a0
cmp edi, dword [esp + 0x18]
je 0x10003b1b
lea eax, [esi - 0x10]
mov dword [esp + 0x209c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003aee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [eax + 0x2838]
lea edx, [esp + 0x90]
push edx
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10003a80
jmp 0x10003b24
lea ecx, [esp + 0x10]
call fcn.10001320
mov edx, dword [esp + 0x18]
xor eax, eax
cmp edi, edx
setne al
add eax, 0x9c40
mov ecx, dword [esp + 0x2094]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x208c]
call fcn.10027973
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret