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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122ef6
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 [0x10159978]
mov dword [ebp - 0x1c], 0x10159978
test eax, eax
je 0x100fddf0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10155e84
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.1001cdf0
mov eax, dword [0x10159978]
test eax, eax
je 0x100fde11
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 0x100fde28
mov ebx, dword [ebx]
push 0x4400000
push ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x34]
call fcn.10113690
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 0
test eax, eax
je 0x100fdea2
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 0x100fdf26
cmp eax, 0x12e
je 0x100fdf26
cmp eax, 0x12d
je 0x100fdf26
cmp eax, 0x133
je 0x100fdf26
test eax, eax
je 0x100fdea2
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 0x100fdeb6
push eax
call ebx
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100fdec0
push eax
call ebx
cmp dword [ebp - 0x34], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x100fdee9
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 0x100fdfba
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100fdfb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fdff4
jmp 0x100fdfb0
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x64]
mov edx, edi
call fcn.100ea150
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.100e7950
test al, al
jne 0x100fdf4b
lea ecx, [ebp - 0x64]
call fcn.100e7c50
push 0
push 0
push 0
mov edx, edi
lea ecx, [ebp - 0x34]
call fcn.100f9dc0
mov edx, dword [ebp - 0x50]
add esp, 0xc
mov byte [ebp - 0x11], al
cmp edx, 8
jb 0x100fdf97
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100fdf8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fdff9
push edx
push ecx
call fcn.1007306e
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
jmp 0x100fdea6
push edx
push ecx
call fcn.1007306e
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 0x100fdfe0
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.10080da8
call fcn.10080da8
int3