Function at 0x100fa3b0
Capabilities:
Check http status code
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011e9a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x20], edx
mov ebx, ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x24], esi
push 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push eax
push 2
push esi
mov dword [ebp - 0x1c], 0x7d0
call edi
push 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 3
push eax
push 3
push esi
call edi
mov eax, dword [0x101548f0]
mov dword [ebp - 0x1c], 0x101548f0
test eax, eax
je 0x100fa430
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10150e84
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.1001cdf0
mov eax, dword [0x101548f0]
test eax, eax
je 0x100fa451
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
cmovae eax, dword [ebp - 0x4c]
cmp dword [ebx + 0x14], 8
jb 0x100fa468
mov ebx, dword [ebx]
push 0x4400000
push ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x34]
call fcn.1010f1b0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 0
test eax, eax
je 0x100fa4e2
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0x18]
cmp eax, 0xc8
je 0x100fa566
cmp eax, 0x12e
je 0x100fa566
cmp eax, 0x12d
je 0x100fa566
cmp eax, 0x133
je 0x100fa566
test eax, eax
je 0x100fa4e2
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x30]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x100fa4f6
push eax
call ebx
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100fa500
push eax
call ebx
cmp dword [ebp - 0x34], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x100fa529
call edi
push dword [ebp - 0x34]
mov edi, eax
call ebx
push edi
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x100fa5fa
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100fa5f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fa634
jmp 0x100fa5f0
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x64]
mov edx, edi
call fcn.100e69e0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.100e4480
test al, al
jne 0x100fa58b
lea ecx, [ebp - 0x64]
call fcn.100e4780
push 0
push 0
push 0
mov edx, edi
lea ecx, [ebp - 0x34]
call fcn.100f6400
mov edx, dword [ebp - 0x50]
add esp, 0xc
mov byte [ebp - 0x11], al
cmp edx, 8
jb 0x100fa5d7
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100fa5cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fa639
push edx
push ecx
call fcn.1006fca3
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
jmp 0x100fa4e6
push edx
push ecx
call fcn.1006fca3
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
test esi, esi
je 0x100fa620
call edi
push esi
mov edi, eax
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007d9e8
call fcn.1007d9e8
int3