Function at 0x409cc2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x728
cmp dword [0x420a88], 0
je 0x409d38
cmp dword [ebp + 0x18], 0xffffffff
jne 0x409d38
mov eax, dword [ebp + 0x1c]
and eax, 0xff
push eax
push 0x420c14
push 0x420c18
push 0x420c1c
push 0x420c20
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00406c95
add esp, 0xc
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00406c95
add esp, 0xc
push eax
push 0
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040652e
add esp, 0x2c
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x728]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [0x418008]
test eax, eax
je 0x409d60
mov eax, dword [ebp + 0x18]
jmp 0x409f99
mov dword [ebp - 0x108], 0x400
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x508]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x728]
push eax
call dword [0x418018]
test eax, eax
jne 0x409f89
lea ecx, [ebp - 0x508]
mov dword [ebp - 0x50c], ecx
mov edx, dword [ebp - 0x50c]
movsx eax, byte [edx]
test eax, eax
je 0x409f89
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x724], ecx
mov edx, dword [ebp - 0x724]
movsx eax, byte [edx]
test eax, eax
je 0x409df8
mov ecx, dword [ebp - 0x724]
movsx edx, byte [ecx]
cmp edx, 0x20
je 0x409df8
mov eax, dword [ebp - 0x724]
movsx ecx, byte [eax]
cmp ecx, 0x2c
je 0x409df8
mov edx, dword [ebp - 0x724]
add edx, 1
mov dword [ebp - 0x724], edx
jmp 0x409dbe
mov eax, dword [ebp - 0x724]
movsx ecx, byte [eax]
test ecx, ecx
je 0x409e10
mov edx, dword [ebp - 0x724]
mov byte [edx], 0
jmp 0x409e1f
mov eax, dword [ebp - 0x724]
sub eax, 1
mov dword [ebp - 0x724], eax
push 0
mov ecx, dword [ebp - 0x50c]
push ecx
call fcn.00403360
add esp, 8
mov dword [ebp - 0x618], eax
lea edx, [ebp - 0x614]
push edx
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x618]
push ecx
call fcn.004038ca
add esp, 0xc
mov dword [ebp - 0x510], eax
mov edx, dword [ebp - 0x510]
push edx
push 0xffffffffffffffff
push 0
push 1
push 0x1002
mov eax, dword [ebp + 8]
push eax
call dword [0x41835c]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0x720], eax
lea ecx, [ebp - 0x71c]
push ecx
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x618]
push eax
mov ecx, dword [ebp - 0x50c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00406381
add esp, 0x14
and eax, 0xff
test eax, eax
je 0x409f75
cmp dword [ebp + 0x18], 0xffffffff
jne 0x409f1b
mov eax, dword [ebp + 0x1c]
and eax, 0xff
push eax
push 0x420c24
push 0x420c28
push 0x420c2c
push 0x420c30
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00406c95
add esp, 0xc
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00406c95
add esp, 0xc
push eax
push 0
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040652e
add esp, 0x2c
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
and eax, 0xff
push eax
lea ecx, [ebp - 0x71c]
push ecx
lea edx, [ebp - 0x614]
push edx
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x618]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00406c95
add esp, 0xc
push eax
mov edx, dword [ebp - 0x50c]
push edx
push 4
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x720]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040652e
add esp, 0x2c
mov eax, dword [ebp - 0x724]
add eax, 1
mov dword [ebp - 0x50c], eax
jmp 0x409da1
mov ecx, dword [ebp - 0x728]
push ecx
call dword [0x41800c]
mov eax, dword [ebp + 0x18]
mov esp, ebp
pop ebp
ret