Function at 0x4535ba
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
mov eax, 0x46094c
call fcn.0045e9d0
mov eax, 0x1234
call fcn.0045e9a0
mov dl, byte [0x460a68]
push ebx
push esi
push edi
mov dword [ebp - 0x2c], ecx
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x13b]
mov byte [ebp - 0x13c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x1ff
xor eax, eax
mov ecx, esi
lea edi, [ebp - 0xa3f]
mov byte [ebp - 0xa40], dl
mov byte [ebp - 0x1240], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x123f]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x104
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
stosb byte es:[edi], al
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x28], ebx
call fcn.0043b24a
cmp dword [ebp + 8], 2
mov dword [ebp - 4], ebx
jne 0x45378a
mov al, byte [0x460a68]
push 0x40
mov byte [ebp - 0x240], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x23f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esi
push eax
mov edi, 0x40a530
push 0x411210
mov esi, SysReAllocStringLen
push edi
push esi
mov dword [ebp - 0x14], 1
call ebx
test eax, eax
jne 0x4536be
lea edi, [ebp - 0x240]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4536b9
mov eax, dword [ebp - 0x2c]
push dword [eax + 4]
call fcn.00448b13
pop ecx
jmp 0x4538c9
mov edi, 0x40a530
push 4
and dword [ebp + 8], 0
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x411204
push edi
push esi
call ebx
cmp dword [ebp + 8], 0
je 0x45377b
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
lea eax, [ebp - 0x1240]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dcf4
push edi
push esi
mov dword [ebp - 0x10], 0x800
call ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4111f8
push edi
push esi
mov dword [ebp - 0x10], 0x800
call ebx
cmp dword [0x476648], 0
lea eax, [ebp - 0xa40]
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x34], eax
je 0x45375a
lea eax, [ebp - 0x1240]
mov dword [ebp - 0x30], eax
jmp 0x453761
mov dword [ebp - 0x30], 0x460a68
lea eax, [ebp - 0x38]
push 0xc
push eax
push 0x26
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionA]
call fcn.0042678d
jmp 0x4538c9
push 0
lea ecx, [ebp - 0x20]
call fcn.0043b276
jmp 0x4538c9
cmp dword [ebp + 8], ebx
jne 0x453792
push ebx
jmp 0x45377d
cmp dword [0x4647a4], ebx
mov esi, SysReAllocStringLen
jne 0x4537b7
lea eax, [ebp - 0x18]
push eax
push 0x40e8fc
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4538c9
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x13c]
push eax
push ebx
mov ebx, 0x40ad64
push ebx
push dword [ebp - 0x18]
call fcn.00425086
add esp, 0x24
test eax, eax
jne 0x45384f
lea edi, [ebp - 0x13c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4537f7
mov edi, dword [ebp - 0x1c]
cmp dword [ebp + 0xc], edi
je 0x45381a
inc dword [ebp - 0x1c]
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 0x10], 0x104
push dword [ebp - 0x1c]
jmp 0x4537cf
push esi
lea eax, [ebp - 0xa40]
push 0x800
push eax
lea eax, [ebp - 0x13c]
push eax
push ebx
call fcn.0042499c
push esi
push edi
push 0x40e060
push 0x40a468
call fcn.00424e36
add esp, 0x24
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x18], 0
je 0x45385e
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x28], 0
je 0x4538c2
lea edi, [ebp - 0xa40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x45388c
cmp byte [ebp + ecx - 0xa41], 0x3b
lea eax, [ebp + ecx - 0xa41]
jne 0x45388c
and byte [eax], 0
lea ecx, [ebp - 0x24]
call fcn.0043b24a
lea eax, [ebp - 0xa40]
lea ecx, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
call fcn.0043b276
mov eax, dword [ebp + 0xc]
mov dword [0x476900], eax
call fcn.0042678d
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0043b26f
jmp 0x4538c9
or dword [0x476900], 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0043b26f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8