Function at 0x476280
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 1], cl
mov esi, edx
xor edx, edx
push ebp
push 0x47652d
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 3
push 0
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0xc]
push edx
mov ecx, 0x47653c
mov edx, 0x80000002
call fcn.0044d88c
mov ebx, eax
test ebx, ebx
je 0x476373
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x38]
mov eax, 0x80000002
call fcn.00475470
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov eax, 0x47657c
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x34]
mov ecx, 1
mov al, 0x3d
call fcn.004731a0
push dword [ebp - 0x2c]
push 0x4765bc
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x4765cc
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x4c]
mov eax, ebx
call fcn.00409c78
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0x50]
mov eax, ebx
call fcn.0044e218
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
mov ecx, 2
mov al, 0x34
call fcn.004731a0
push dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00403df8
mov ecx, dword [ebp - 0x28]
mov dl, 1
mov eax, dword [0x408a18]
call fcn.0040c3f4
call fcn.00403588
mov eax, esi
call fcn.00403efc
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 4
xor eax, eax
push ebp
push 0x47645b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.00407498
test eax, eax
jne 0x476451
mov eax, dword [ebp - 0x18]
dec eax
je 0x4763cb
sub eax, 2
je 0x4763f1
dec eax
je 0x476428
jmp 0x476451
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.0044d7f4
test al, al
je 0x476451
mov eax, dword [ebp - 0x20]
call fcn.00409cdc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 1
jmp 0x476451
cmp dword [ebp - 0x10], 1
jb 0x476451
cmp dword [ebp - 0x10], 4
ja 0x476451
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.00407498
test eax, eax
je 0x47641f
call fcn.0040c38c
mov dword [ebp - 0x1c], 3
jmp 0x476451
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.00407498
test eax, eax
je 0x476451
call fcn.0040c38c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47646a
cmp dword [ebp - 0x14], 0
jge 0x476475
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
sete al
and al, byte [ebp - 1]
je 0x476484
inc dword [ebp - 0x14]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
dec eax
je 0x476497
add eax, 0xfffffffe
sub eax, 2
jb 0x4764ce
jmp 0x4764e7
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00409ca8
mov eax, dword [ebp - 0x20]
call fcn.00403d38
inc eax
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403efc
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004074a0
jmp 0x4764e7
push 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004074a0
mov eax, dword [ebp - 8]
push eax
call fcn.00407458
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476534
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00403adc
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00403adc
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00403adc
lea eax, [ebp - 0x20]
call fcn.00403ab8
ret