Function at 0x408bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x43e6dc]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xa34], ecx
mov dword [ebp - 0xa30], 0
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x104
mov ax, word [0x43976c]
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0041ce70
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x408c43
mov ecx, dword [ebp - 0xa34]
call fcn.0040ad60
movzx edx, al
test edx, edx
jne 0x408c43
mov eax, dword [ebp - 0xa34]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040d890
mov eax, dword [ebp + 8]
jmp 0x408e6a
mov ecx, dword [ebp - 0xa34]
cmp dword [ecx + 0xc], 0
je 0x408cb5
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0xa34]
add ecx, 0x18
call fcn.0041add0
push eax
mov ecx, dword [ebp - 0xa34]
add ecx, 0x14
call fcn.0041add0
push eax
mov edx, dword [ebp - 0xa34]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x218]
push ecx
call fcn.0041cfca
add esp, 4
test eax, eax
jne 0x408cb3
push str.configdefaultskin
lea edx, [ebp - 0x218]
push edx
call fcn.0041cfab
add esp, 8
jmp 0x408cc9
push str.configdefaultskin
lea eax, [ebp - 0x218]
push eax
call fcn.0041cfab
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0xa34]
call fcn.0040ddf0
push 0x5c
push 1
lea edx, [ebp - 0xa28]
push edx
mov ecx, dword [ebp - 0xa34]
call fcn.0040b0f0
or dword [ebp - 0xa30], 1
push eax
call fcn.0040b180
add esp, 8
movzx eax, al
test eax, eax
jne 0x408d41
push 0x2f
push 1
lea ecx, [ebp - 0xa2c]
push ecx
mov ecx, dword [ebp - 0xa34]
call fcn.0040b0f0
or dword [ebp - 0xa30], 2
push eax
call fcn.0040b180
add esp, 8
movzx edx, al
test edx, edx
jne 0x408d41
mov dword [ebp - 0xa38], 0
jmp 0x408d4b
mov dword [ebp - 0xa38], 1
mov al, byte [ebp - 0xa38]
mov byte [ebp - 0xa21], al
mov ecx, dword [ebp - 0xa30]
and ecx, 2
je 0x408d74
and dword [ebp - 0xa30], 0xfffffffd
lea ecx, [ebp - 0xa2c]
call fcn.0040d8f0
mov edx, dword [ebp - 0xa30]
and edx, 1
je 0x408d91
and dword [ebp - 0xa30], 0xfffffffe
lea ecx, [ebp - 0xa28]
call fcn.0040d8f0
movzx eax, byte [ebp - 0xa21]
test eax, eax
je 0x408db8
push 1
mov ecx, dword [ebp - 0xa34]
call fcn.0040e4a0
sub eax, 1
push eax
mov ecx, dword [ebp - 0xa34]
call fcn.0040ade0
mov dword [ebp - 0xa1c], 0x400
push 0x400
lea ecx, [ebp - 0xa18]
push ecx
push 0
call fcn.00408b20
add esp, 0xc
mov dword [ebp - 0xa20], 0
jmp 0x408df3
mov edx, dword [ebp - 0xa20]
add edx, 1
mov dword [ebp - 0xa20], edx
mov eax, dword [ebp - 0xa34]
mov ecx, dword [ebp - 0xa20]
cmp ecx, dword [eax + 8]
jge 0x408e13
lea edx, [ebp - 0xa18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x408de4
mov ecx, dword [ebp - 0xa34]
call fcn.0041add0
push eax
lea eax, [ebp - 0xa18]
push eax
lea ecx, [ebp - 0xa18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0xa18]
push edx
push 0
call fcn.00408e80
add esp, 8
test eax, eax
jne 0x408e58
push str.configdefaultskin
mov ecx, dword [ebp - 0xa34]
call fcn.0040ddf0
mov eax, dword [ebp - 0xa34]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040d890
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041ce01
mov esp, ebp
pop ebp
ret 8