Function at 0x100f7c0d
Capabilities:
Initialize winhttp library

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015581d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x120
mov eax, dword [0x101fe1c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x74]
mov esi, dword [ebx + 8]
xor edi, edi
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xec], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0xe8], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0x10c], eax
call fcn.1001305d
lea ecx, [ebp - 0x5c]
call fcn.1001305d
lea ecx, [ebp - 0x44]
call fcn.1001305d
and dword [ebp - 0xdc], edi
mov ecx, 0x10187c90
call fcn.1007017c
movzx ecx, byte [ebx + 0x1c]
xor edx, edx
test eax, eax
cmove edx, ecx
mov dword [ebp - 0xf0], edx
test dl, dl
jne 0x100f7cd9
call fcn.100f7aff
mov dword [ebp - 0xdc], eax
test esi, esi
je 0x100f7cf7
push esi
lea ecx, [ebp - 0x2c]
call fcn.100111ba
push eax
lea ecx, [ebp - 0x74]
call fcn.100057ca
lea ecx, [ebp - 0x2c]
call fcn.100093c1
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x100f7d1b
push eax
lea ecx, [ebp - 0x2c]
call fcn.100111ba
push eax
lea ecx, [ebp - 0x5c]
call fcn.100057ca
lea ecx, [ebp - 0x2c]
call fcn.100093c1
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x100f7d3f
push eax
lea ecx, [ebp - 0x2c]
call fcn.100111ba
push eax
lea ecx, [ebp - 0x44]
call fcn.100057ca
lea ecx, [ebp - 0x2c]
call fcn.100093c1
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xec]
push eax
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0xe4]
call fcn.100f78ea
push ecx
push 0x10205130
lea ecx, [ebp - 0x130]
call fcn.10071979
push dword [ebp - 0xe4]
lea eax, [ebp - 0x120]
push eax
call fcn.100f8042
cmp byte [ebp - 0xf0], 0
mov esi, dword [eax]
jne 0x100f7e07
cmp esi, dword [0x10205120]
je 0x100f7e07
call fcn.100f7aff
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0x74]
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x114]
call fcn.100f78ea
push eax
lea ecx, [ebp - 0xe4]
call fcn.1002ec4f
mov ecx, dword [ebp - 0x110]
test ecx, ecx
je 0x100f7df1
call fcn.10024d5e
push dword [ebp - 0xe4]
lea eax, [ebp - 0x124]
push eax
call fcn.100f8042
mov esi, dword [eax]
jmp 0x100f7d98
lea ecx, [ebp - 0x130]
call fcn.10071a12
mov eax, dword [0x10205120]
cmp esi, eax
jne 0x100f7f5a
push ecx
push 0x1020512c
lea ecx, [ebp - 0x20]
call fcn.1007194d
push dword [ebp - 0xe4]
lea eax, [ebp - 0x110]
push eax
call fcn.100f8042
cmp byte [ebp - 0xf0], 0
mov esi, dword [eax]
jne 0x100f7eba
mov eax, dword [0x10205120]
cmp esi, eax
je 0x100f7ec7
call fcn.100f7aff
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0x74]
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x11c]
call fcn.100f78ea
push eax
lea ecx, [ebp - 0xe4]
call fcn.1002ec4f
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x100f7ea4
call fcn.10024d5e
push dword [ebp - 0xe4]
lea eax, [ebp - 0xf0]
push eax
call fcn.100f8042
mov esi, dword [eax]
jmp 0x100f7e4a
mov eax, dword [0x10205120]
cmp esi, eax
jne 0x100f7f49
push dword [ebp - 0x108]
mov eax, dword [ebp - 0xf8]
push eax
mov eax, dword [ebp - 0xfc]
push eax
push dword [ebp - 0x100]
push dword [ebp - 0xf4]
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
lea edx, [ebp - 0xf4]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xf4], edi
call fcn.100f7962
test edi, edi
mov edi, dword [ebp - 0x100]
je 0x100f7f30
cmp dword [ebp - 0x104], 0
jne 0x100f7fd8
mov eax, dword [ebp - 0xdc]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov dword [ebp - 0xdc], eax
test edi, edi
je 0x100f7f43
mov ecx, edi
call fcn.10024d5e
mov edi, dword [ebp - 0xdc]
lea ecx, [ebp - 0x20]
call fcn.100719ea
mov eax, dword [0x10205120]
cmp esi, eax
je 0x100f7f64
mov eax, dword [esi + 0x64]
mov edi, dword [eax + 4]
lock inc dword [eax + 8]
mov esi, dword [ebp - 0xe0]
test edi, edi
je 0x100f7f93
test esi, esi
je 0x100f7f76
lock inc dword [esi + 4]
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xe4]
mov dword [edx], eax
mov ecx, dword [edx + 4]
mov dword [edx + 4], esi
test ecx, ecx
je 0x100f7f93
call fcn.10024d5e
test esi, esi
je 0x100f7f9e
mov ecx, esi
call fcn.10024d5e
lea ecx, [ebp - 0x44]
call fcn.100093c1
lea ecx, [ebp - 0x5c]
call fcn.100093c1
lea ecx, [ebp - 0x74]
call fcn.100093c1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10033218
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c
push dword [ebp - 0xe4]
lea ecx, [ebp - 0xd8]
call fcn.100f79f1
and dword [ebp - 0x84], 0
and dword [ebp - 0x80], 0
test edi, edi
je 0x100f7ffc
lock inc dword [edi + 4]
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x80], edi
push eax
call fcn.100f7725
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x100f802a
call fcn.10024d5e
lea ecx, [ebp - 0xd8]
call fcn.100f7a8b
jmp 0x100f7f38