Function at 0x10082f7
Capabilities:
Check http status code

Disassembly:
push 0x4c
mov eax, 0x100a01b
call fcn.01009c4d
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.01008991
xor eax, eax
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x100832b
push dword [ebp + 0xc]
call fcn.010091a5
cmp eax, ebx
jne 0x100832b
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.01007dde
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 0x100846c
add edi, 0x14
cmp edi, 0x154
jb 0x1008398
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 0x100840d
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 0x10084a0
inc dword [ebp + 8]
add edi, 0x14
cmp dword [ebp + 8], 3
jb 0x10083e1
mov ecx, esi
call fcn.01008255
push 0x1001dd0
lea ecx, [ebp - 0x1c]
call fcn.01008a8b
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x10084c6
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008877
test byte [eax + 0x1c], 1
je 0x1008877
push dword [ebp + 0xc]
push 0x1001d3c
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003070
jmp 0x1008877
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008877
test byte [eax + 0x1c], 1
je 0x1008877
push dword [ebp + 8]
push 0x1001d3c
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100309c
jmp 0x1008877
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008877
test byte [eax + 0x1c], 1
je 0x1008877
push dword [ebp + 0x10]
push 0x1001d3c
push 0xe
jmp 0x1008490
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.010057b4
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1008509
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.010059ce
push dword [ebp - 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
mov dword [ebp - 0x10], ebx
jmp 0x100850f
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi + 0x60]
call fcn.010057b4
neg eax
sbb eax, eax
inc eax
lea ecx, [esi + 0x30]
mov dword [esi + 0x5bc], eax
call fcn.010057b4
neg eax
sbb eax, eax
inc eax
push 0x1001638
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x5c0], eax
call fcn.01008a8b
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x1008572
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008877
test byte [eax + 0x1c], 1
je 0x1008877
push dword [ebp + 0xc]
push 0x1001d3c
push 0x10
jmp 0x100845c
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.010057b4
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10085ad
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.010059ce
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.010057b4
lea ecx, [esi + 0x30]
mov dword [esi + 0x5b4], eax
call fcn.010057b4
push 0x1001dd0
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x5b8], eax
call fcn.01008a8b
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x1008628
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008877
test byte [eax + 0x1c], 1
je 0x1008877
push dword [ebp + 0xc]
push 0x1001d3c
push 0x11
jmp 0x100845c
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.010057b4
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1008663
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.010059ce
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], ebx
lea ecx, [esi + 0x60]
call fcn.010057b4
lea ecx, [esi + 0x30]
mov dword [esi + 0x5ac], eax
call fcn.010057b4
push 0x1001638
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x5b0], eax
call fcn.01008a8b
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x10086bc
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008877
test byte [eax + 0x1c], 1
je 0x1008877
push dword [ebp + 0xc]
push 0x1001d3c
push 0x12
jmp 0x100845c
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.010057b4
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10086f7
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.010059ce
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 0x1008731
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 0x1008779
add edi, 0x14
cmp edi, 0xc8
jb 0x10086f9
push 0x1001dd0
lea ecx, [ebp - 0x1c]
call fcn.01008a8b
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x10087a2
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008877
test byte [eax + 0x1c], 1
je 0x1008877
push dword [ebp + 0xc]
push 0x1001d3c
push 0x14
jmp 0x100845c
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008877
test byte [eax + 0x1c], 1
je 0x1008877
push dword [ebp + 8]
push 0x1001d3c
push 0x13
jmp 0x1008490
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.010057b4
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x10087e3
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.010059ce
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
push 0x1001638
lea ecx, [ebp - 0x1c]
call fcn.01008a8b
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x1008818
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1008877
test byte [eax + 0x1c], 1
je 0x1008877
push dword [ebp + 0xc]
push 0x1001d3c
push 0x15
jmp 0x100845c
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.010057b4
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x1008853
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.010059ce
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.01008049
mov ecx, esi
mov dword [esi + 0x5a4], eax
call fcn.01007d3e
mov dword [esi + 0x5cc], eax
mov dword [ebp + 0xc], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.010089a3
mov eax, dword [ebp + 0xc]
call fcn.01009cfb
ret 0xc