Function at 0x433ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1d82
mov eax, dword fs:[0]
push eax
sub esp, 0xa28
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x206
mov esi, ecx
mov dword [ebp - 0xa20], ebx
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0xa30], edi
mov dword [ebp - 0xa34], 1
mov dword [ebp - 0xa2c], 0x104
mov word [ebp - 0x218], ax
call fcn.0048d9d0
add esp, 0xc
cmp dword [ebp + 0xc], ebx
jne 0x433f58
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x433f58
add eax, 0xfffffff0
push eax
jmp 0x434186
cmp dword [esi + 0xc], ebx
je 0x433fc9
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [ebp - 0xa2c]
push edx
lea edx, [ebp - 0x218]
push edx
lea edx, [ebp - 0xa34]
push edx
push eax
mov eax, dword [esi + 0x10]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x433f90
sub eax, edx
sar eax, 1
jne 0x433fe7
xor eax, eax
jmp 0x433fb0
movzx ecx, word [eax + str.configdefaultskin]
mov word [ebp + eax - 0x218], cx
add eax, 2
cmp cx, bx
jne 0x433fb0
jmp 0x433fe7
xor eax, eax
jmp 0x433fd0
movzx ecx, word [eax + str.configdefaultskin]
mov word [ebp + eax - 0x218], cx
add eax, 2
cmp cx, bx
jne 0x433fd0
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x433ff0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.0040c210
push 1
lea edx, [ebp - 0xa24]
push edx
mov ecx, esi
call fcn.0040dae0
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
mov dword [ebp - 4], ebx
mov ebx, 2
mov dword [ebp - 0xa20], ebx
cmp eax, 1
jne 0x43404d
test eax, eax
jge 0x434044
push 0x80070057
call fcn.0040b2a0
movzx eax, word [ecx]
cmp ax, 0x5c
je 0x434092
push 1
lea eax, [ebp - 0xa28]
push eax
mov ecx, esi
call fcn.0040dae0
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
mov ebx, 6
mov dword [ebp - 0xa20], ebx
cmp eax, 1
jne 0x434089
test eax, eax
jge 0x434080
push 0x80070057
call fcn.0040b2a0
movzx eax, word [ecx]
cmp ax, 0x2f
je 0x434092
mov byte [ebp - 0xa19], 0
jmp 0x434099
mov byte [ebp - 0xa19], 1
test bl, 4
je 0x4340c9
mov eax, dword [ebp - 0xa28]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [ebp - 0xa20], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4340c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x4340f7
mov eax, dword [ebp - 0xa24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4340f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xa19], 0
je 0x434110
mov ecx, dword [esi]
mov edx, dword [ecx - 0xc]
push 1
dec edx
push edx
mov ecx, esi
call fcn.004307e0
mov ecx, dword [esi + 4]
push 0x400
lea eax, [ebp - 0xa18]
push eax
push ecx
call fcn.00410d40
xor ebx, ebx
add esp, 0xc
cmp dword [esi + 8], ebx
jle 0x43414a
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0xa18]
push edx
call edi
inc ebx
cmp ebx, dword [esi + 8]
jl 0x434135
mov edi, dword [ebp - 0xa30]
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0xa18]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xa18]
push eax
push 0
call fcn.0042e030
add esp, 8
test eax, eax
jne 0x434180
push 0x12
push str.configdefaultskin
mov ecx, esi
call fcn.0040c210
mov esi, dword [esi]
sub esi, 0x10
push esi
call fcn.0040b880
add esp, 4
add eax, 0x10
mov dword [edi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret 8