Function at 0x10082c3
Capabilities:
Check http status code

Disassembly:
push 0x4c
mov eax, 0x100a01b
call fcn.01009c4f
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0100895d
xor eax, eax
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x10082f7
push dword [ebp + 0xc]
call fcn.010091a7
cmp eax, ebx
jne 0x10082f7
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x50], ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], ecx
mov dword [esi + 0x5a4], ecx
mov ecx, esi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0x1001ce8
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x44], 9
mov dword [ebp - 0x40], 0x1001ef0
mov dword [ebp - 0x38], 0x14
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0x1001b78
mov dword [ebp - 0x24], 0x15
mov dword [ebp - 0x20], ebx
mov dword [esi + 0x5a8], ebx
mov dword [esi + 0x5a0], eax
call fcn.01007da8
xor edi, edi
mov ecx, dword [edi + 0x100c02c]
push dword [edi + 0x100c030]
imul ecx, ecx, 0x30
mov edx, dword [edi + 0x100c028]
mov eax, dword [edi + 0x100c024]
push edx
push eax
push dword [edi + 0x100c020]
add ecx, esi
mov dword [ebp + 8], edx
call fcn.0100562f
cmp eax, ebx
mov dword [ebp + 0xc], eax
jl 0x1008438
add edi, 0x14
cmp edi, 0x154
jb 0x1008364
mov dword [ebp + 8], ebx
lea edi, [ebp - 0x54]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [ebp + 0x10], eax
cmp eax, ebx
je 0x10083d9
imul ecx, ecx, 0x30
push edx
push eax
push dword [edi]
add ecx, esi
push dword [edi - 4]
call fcn.0100562f
cmp eax, ebx
mov dword [ebp + 0xc], eax
jl 0x100846c
inc dword [ebp + 8]
add edi, 0x14
cmp dword [ebp + 8], 3
jb 0x10083ad
mov ecx, esi
call fcn.01008221
push 0x1001dd0
lea ecx, [ebp - 0x1c]
call fcn.01008a8d
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x1008492
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008843
test byte [eax + 0x1c], 1
je 0x1008843
push dword [ebp + 0xc]
push 0x1001d3c
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003070
jmp 0x1008843
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008843
test byte [eax + 0x1c], 1
je 0x1008843
push dword [ebp + 8]
push 0x1001d3c
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100309c
jmp 0x1008843
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008843
test byte [eax + 0x1c], 1
je 0x1008843
push dword [ebp + 0x10]
push 0x1001d3c
push 0xe
jmp 0x100845c
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.01008985
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10084d5
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.010059c6
push dword [ebp - 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
mov dword [ebp - 0x10], ebx
jmp 0x10084db
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi + 0x60]
call fcn.01008985
neg eax
sbb eax, eax
inc eax
lea ecx, [esi + 0x30]
mov dword [esi + 0x5bc], eax
call fcn.01008985
neg eax
sbb eax, eax
inc eax
push 0x1001638
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x5c0], eax
call fcn.01008a8d
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x100853e
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008843
test byte [eax + 0x1c], 1
je 0x1008843
push dword [ebp + 0xc]
push 0x1001d3c
push 0x10
jmp 0x1008428
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.01008985
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1008579
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.010059c6
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], ebx
lea ecx, [esi + 0x60]
call fcn.0100578a
lea ecx, [esi + 0x30]
mov dword [esi + 0x5c4], eax
call fcn.0100578a
dec eax
neg eax
sbb eax, eax
inc eax
lea ecx, [esi + 0x60]
mov dword [esi + 0x5c8], eax
call fcn.01008985
lea ecx, [esi + 0x30]
mov dword [esi + 0x5b4], eax
call fcn.01008985
push 0x1001dd0
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x5b8], eax
call fcn.01008a8d
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x10085f4
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008843
test byte [eax + 0x1c], 1
je 0x1008843
push dword [ebp + 0xc]
push 0x1001d3c
push 0x11
jmp 0x1008428
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.01008985
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100862f
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.010059c6
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], ebx
lea ecx, [esi + 0x60]
call fcn.01008985
lea ecx, [esi + 0x30]
mov dword [esi + 0x5ac], eax
call fcn.01008985
push 0x1001638
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x5b0], eax
call fcn.01008a8d
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x1008688
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008843
test byte [eax + 0x1c], 1
je 0x1008843
push dword [ebp + 0xc]
push 0x1001d3c
push 0x12
jmp 0x1008428
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.01008985
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10086c3
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.010059c6
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], ebx
xor edi, edi
mov eax, dword [edi + 0x100c180]
mov ecx, dword [edi + 0x100c184]
mov edx, dword [edi + 0x100c188]
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x10086fd
imul ecx, ecx, 0x30
push edx
push eax
push dword [edi + 0x100c17c]
add ecx, esi
push dword [edi + 0x100c178]
call fcn.0100562f
cmp eax, ebx
mov dword [ebp + 0xc], eax
jl 0x1008745
add edi, 0x14
cmp edi, 0xc8
jb 0x10086c5
push 0x1001dd0
lea ecx, [ebp - 0x1c]
call fcn.01008a8d
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x100876e
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008843
test byte [eax + 0x1c], 1
je 0x1008843
push dword [ebp + 0xc]
push 0x1001d3c
push 0x14
jmp 0x1008428
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008843
test byte [eax + 0x1c], 1
je 0x1008843
push dword [ebp + 8]
push 0x1001d3c
push 0x13
jmp 0x100845c
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.01008985
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x80000002
call edi
test eax, eax
jne 0x10087af
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.010059c6
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
push 0x1001638
lea ecx, [ebp - 0x1c]
call fcn.01008a8d
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x10087e4
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008843
test byte [eax + 0x1c], 1
je 0x1008843
push dword [ebp + 0xc]
push 0x1001d3c
push 0x15
jmp 0x1008428
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.01008985
push eax
push 0x80000002
call edi
test eax, eax
jne 0x100881f
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.010059c6
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea eax, [esi + 0x5a8]
push eax
mov ecx, esi
call fcn.01008015
mov ecx, esi
mov dword [esi + 0x5a4], eax
call fcn.01007d08
mov dword [esi + 0x5cc], eax
mov dword [ebp + 0xc], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0100896f
mov eax, dword [ebp + 0xc]
call fcn.01009cfd
ret 0xc