Function at 0x1038492
Capabilities:
Check http status code

Disassembly:
push 0x4c
mov eax, 0x103a068
call fcn.010372df
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.01014810
xor eax, eax
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x10384c6
push dword [ebp + 0xc]
call fcn.010162c4
cmp eax, ebx
jne 0x10384c6
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], 0x1007518
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x44], 9
mov dword [ebp - 0x40], 0x10076a0
mov dword [ebp - 0x38], 0x14
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0x10073a8
mov dword [ebp - 0x24], 0x15
mov dword [ebp - 0x20], ebx
mov dword [esi + 0x5a8], ebx
mov dword [esi + 0x5a0], eax
call fcn.01038104
xor edi, edi
mov ecx, dword [edi + 0x103e65c]
push dword [edi + 0x103e660]
imul ecx, ecx, 0x30
mov edx, dword [edi + 0x103e658]
mov eax, dword [edi + 0x103e654]
push edx
push eax
push dword [edi + 0x103e650]
add ecx, esi
mov dword [ebp + 8], edx
call fcn.01015a87
cmp eax, ebx
mov dword [ebp + 0xc], eax
jl 0x1038607
add edi, 0x14
cmp edi, 0x154
jb 0x1038533
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 0x10385a8
imul ecx, ecx, 0x30
push edx
push eax
push dword [edi]
add ecx, esi
push dword [edi - 4]
call fcn.01015a87
cmp eax, ebx
mov dword [ebp + 0xc], eax
jl 0x103863b
inc dword [ebp + 8]
add edi, 0x14
cmp dword [ebp + 8], 3
jb 0x103857c
mov ecx, esi
call fcn.010383f0
push 0x1002ef0
lea ecx, [ebp - 0x1c]
call fcn.01014c4a
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x1038661
mov eax, dword [section..data]
cmp eax, section..data
je 0x1038a12
test byte [eax + 0x1c], 1
je 0x1038a12
push dword [ebp + 0xc]
push 0x100756c
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x1038a12
mov eax, dword [section..data]
cmp eax, section..data
je 0x1038a12
test byte [eax + 0x1c], 1
je 0x1038a12
push dword [ebp + 8]
push 0x100756c
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008bcd
jmp 0x1038a12
mov eax, dword [section..data]
cmp eax, section..data
je 0x1038a12
test byte [eax + 0x1c], 1
je 0x1038a12
push dword [ebp + 0x10]
push 0x100756c
push 0xe
jmp 0x103862b
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.01015d45
push eax
push 0x80000002
call dword [sym.imp.KERNEL32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10386a4
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.01016085
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_RegCloseKey]
call edi
mov dword [ebp - 0x10], ebx
jmp 0x10386aa
mov edi, dword [sym.imp.KERNEL32.dll_RegCloseKey]
lea ecx, [esi + 0x60]
call fcn.01015d45
neg eax
sbb eax, eax
inc eax
lea ecx, [esi + 0x30]
mov dword [esi + 0x5bc], eax
call fcn.01015d45
neg eax
sbb eax, eax
inc eax
push 0x1002e88
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x5c0], eax
call fcn.01014c4a
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x103870d
mov eax, dword [section..data]
cmp eax, section..data
je 0x1038a12
test byte [eax + 0x1c], 1
je 0x1038a12
push dword [ebp + 0xc]
push 0x100756c
push 0x10
jmp 0x10385f7
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.01015d45
push eax
push 0x80000002
call dword [sym.imp.KERNEL32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1038748
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.01016085
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], ebx
lea ecx, [esi + 0x60]
call fcn.01015d1b
lea ecx, [esi + 0x30]
mov dword [esi + 0x5c4], eax
call fcn.01015d1b
dec eax
neg eax
sbb eax, eax
inc eax
lea ecx, [esi + 0x60]
mov dword [esi + 0x5c8], eax
call fcn.01015d45
lea ecx, [esi + 0x30]
mov dword [esi + 0x5b4], eax
call fcn.01015d45
push 0x1002ef0
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x5b8], eax
call fcn.01014c4a
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x10387c3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1038a12
test byte [eax + 0x1c], 1
je 0x1038a12
push dword [ebp + 0xc]
push 0x100756c
push 0x11
jmp 0x10385f7
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.01015d45
push eax
push 0x80000001
call dword [sym.imp.KERNEL32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10387fe
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.01016085
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], ebx
lea ecx, [esi + 0x60]
call fcn.01015d45
lea ecx, [esi + 0x30]
mov dword [esi + 0x5ac], eax
call fcn.01015d45
push 0x1002e88
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x5b0], eax
call fcn.01014c4a
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x1038857
mov eax, dword [section..data]
cmp eax, section..data
je 0x1038a12
test byte [eax + 0x1c], 1
je 0x1038a12
push dword [ebp + 0xc]
push 0x100756c
push 0x12
jmp 0x10385f7
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.01015d45
push eax
push 0x80000001
call dword [sym.imp.KERNEL32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1038892
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.01016085
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], ebx
xor edi, edi
mov eax, dword [edi + 0x103e7b0]
mov ecx, dword [edi + 0x103e7b4]
mov edx, dword [edi + 0x103e7b8]
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x10388cc
imul ecx, ecx, 0x30
push edx
push eax
push dword [edi + 0x103e7ac]
add ecx, esi
push dword [edi + 0x103e7a8]
call fcn.01015a87
cmp eax, ebx
mov dword [ebp + 0xc], eax
jl 0x1038914
add edi, 0x14
cmp edi, 0xc8
jb 0x1038894
push 0x1002ef0
lea ecx, [ebp - 0x1c]
call fcn.01014c4a
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x103893d
mov eax, dword [section..data]
cmp eax, section..data
je 0x1038a12
test byte [eax + 0x1c], 1
je 0x1038a12
push dword [ebp + 0xc]
push 0x100756c
push 0x14
jmp 0x10385f7
mov eax, dword [section..data]
cmp eax, section..data
je 0x1038a12
test byte [eax + 0x1c], 1
je 0x1038a12
push dword [ebp + 8]
push 0x100756c
push 0x13
jmp 0x103862b
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.01015d45
mov edi, dword [sym.imp.KERNEL32.dll_RegOpenKeyExW]
push eax
push 0x80000002
call edi
test eax, eax
jne 0x103897e
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.01016085
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
push 0x1002e88
lea ecx, [ebp - 0x1c]
call fcn.01014c4a
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x10389b3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1038a12
test byte [eax + 0x1c], 1
je 0x1038a12
push dword [ebp + 0xc]
push 0x100756c
push 0x15
jmp 0x10385f7
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
lea ecx, [ebp - 0x1c]
call fcn.01015d45
push eax
push 0x80000002
call edi
test eax, eax
jne 0x10389ee
push 0x100
push ebx
push 0x1e
push esi
push dword [ebp - 0x10]
call fcn.01016085
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea eax, [esi + 0x5a8]
push eax
mov ecx, esi
call fcn.010381e4
mov ecx, esi
mov dword [esi + 0x5a4], eax
call fcn.01038064
mov dword [esi + 0x5cc], eax
mov dword [ebp + 0xc], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.01014822
mov eax, dword [ebp + 0xc]
call fcn.010373cb
ret 0xc