Function at 0x10f0800
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11412a1
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x128], ecx
mov ecx, dword [esi]
push ecx
push 0x1042df8
push 0x1017b58
lea edx, [ebp - 0x120]
push edx
push 0x1042d78
lea eax, [ebp - 0x11c]
push 2
push eax
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x120], 0
call fcn.01075110
add esp, 0x20
mov edi, dword [edi]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x250], ecx
call dword [0x115f5dc]
push eax
push edi
lea ecx, [ebp - 0x250]
call fcn.01097ab0
mov edi, dword [ebx]
lea edx, [ebp - 0x350]
mov byte [ebp - 4], 1
mov dword [ebp - 0x354], edx
call dword [0x115f5dc]
push eax
push edi
lea ecx, [ebp - 0x354]
call fcn.01097ab0
mov esi, dword [esi]
lea eax, [ebp - 0x454]
mov byte [ebp - 4], 2
mov dword [ebp - 0x458], eax
call dword [0x115f5dc]
push eax
push esi
lea ecx, [ebp - 0x458]
call fcn.01097ab0
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp - 0x354]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x458]
push 0
push ecx
push edx
push edi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
mov eax, dword [ebp - 0x458]
test eax, eax
je 0x10f092d
lea ecx, [ebp - 0x454]
cmp eax, ecx
je 0x10f092d
push eax
call fcn.01083cad
add esp, 4
mov eax, dword [ebp - 0x354]
test eax, eax
je 0x10f094a
lea edx, [ebp - 0x350]
cmp eax, edx
je 0x10f094a
push eax
call fcn.01083cad
add esp, 4
mov eax, dword [ebp - 0x250]
test eax, eax
mov byte [ebp - 4], 0
je 0x10f096b
lea ecx, [ebp - 0x24c]
cmp eax, ecx
je 0x10f096b
push eax
call fcn.01083cad
add esp, 4
test esi, esi
jne 0x10f09cb
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10f097f
call esi
jmp 0x10f098b
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.01127f00
test al, al
je 0x10f0aae
mov edx, dword [ebp - 0x124]
mov eax, dword [edx]
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x120]
push edi
push eax
push ecx
push edx
push 0x1042ce8
push 0x1042c68
push 0
call fcn.01128b70
add esp, 0x1c
jmp 0x10f0aae
mov ebx, dword [ebp - 0x128]
lea ecx, [ebp + 0x18]
mov eax, 3
mov dword [ebp - 0x148], ecx
lea edx, [ebp + 0x1c]
lea ecx, [ebp + 0x20]
mov dword [ebx], esi
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x144], 0x1042c54
mov dword [ebp - 0x140], 6
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x138], 0x1042c44
mov dword [ebp - 0x134], 5
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x12c], 0x1042c38
lea esi, [ebp - 0x148]
mov dword [ebp - 0x124], eax
call fcn.01127f00
test al, al
je 0x10f0a5d
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, dword [esi + 4]
push eax
push ecx
push 0x1042bf8
push 0x1042b78
push 3
call fcn.01128b70
add esp, 0x14
mov ecx, dword [esi]
cmp dword [ecx], 0
je 0x10f0aa2
mov edx, dword [esi - 4]
mov eax, dword [ebx]
push 4
push ecx
push edx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x10f0aa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.01127f00
test al, al
je 0x10f0aa2
mov eax, dword [esi + 4]
push edi
push eax
push 0x1042b00
push 0x1042a80
push 3
call fcn.01128b70
add esp, 0x14
add esi, 0xc
sub dword [ebp - 0x124], 1
jne 0x10f0a37
mov esi, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call fcn.01075230
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret 0x1c