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

Disassembly:
push 0xffffffffffffffff
push 0x437833
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x4466c0]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4466c0]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov eax, dword [esp + 0x164]
mov dword [esp + 0x18], eax
xor ebp, ebp
mov dword [esp + 0x15c], ebp
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x15c], 2
call fcn.00406cc2
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x402ee5
push 0x80004005
call fcn.00401230
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x15c], 3
call fcn.00406cc2
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x402f17
push 0x80004005
call fcn.00401230
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x15c], 4
call fcn.00406cc2
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x402f49
push 0x80004005
call fcn.00401230
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x15c], 5
call fcn.00406cc2
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x402f7b
push 0x80004005
call fcn.00401230
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x15c], 6
mov eax, dword [esp + 0x16c]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x30], eax
call fcn.004044f0
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x40], edi
mov bl, 7
push ebp
mov byte [esp + 0x160], bl
call fcn.00420c0f
add esp, 4
lea ecx, [esp + 0x38]
push ecx
lea esi, [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
call fcn.004043c0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x160], 8
call fcn.00404470
mov byte [esp + 0x15c], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403012
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x24]
push esi
call fcn.004205d1
add esp, 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0x2001f
push 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
push 0
push 0
add eax, 0x78
push eax
push SysReAllocStringLen
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x403063
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov ebp, ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.pulsmintime
push ebp
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4030a9
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x40309a
cmp eax, 2
jne 0x4030a9
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4030be
cmp byte [esp + eax + 0x43], 0
je 0x4030c3
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x4030ef
push 0x80004005
call fcn.00401230
mov byte [esp + 0x44], 0
lea ecx, [esp + 0x44]
push ecx
call fcn.004205d1
add esp, 4
cmp dword [esp + 0x20], eax
je 0x4031ef
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x403160
push 0x80004005
call fcn.00401230
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push esi
push 1
push 0
push str.pulsmintime
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x28], esp
mov ebp, esp
push eax
call fcn.004044f0
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x168], 9
mov eax, dword [esp + 0x174]
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebp, esp
push eax
call fcn.004044f0
add eax, 0x10
mov dword [ebp], eax
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], bl
call fcn.00402af0
mov eax, dword [esp + 0x18]
jmp 0x4031cf
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push esi
push 1
push 0
push str.pulsmintime
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x20], esp
mov ebp, esp
push eax
call fcn.004044f0
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x168], 0xa
mov eax, dword [esp + 0x174]
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebp, esp
push eax
call fcn.004044f0
add eax, 0x10
mov dword [ebp], eax
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x168], bl
call fcn.00402af0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4031eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x1c]
add edi, 0xfffffff0
mov byte [esp + 0x15c], 6
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403213
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x15c], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40323b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x15c], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403263
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x15c], 3
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40328b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0x15c], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4032af
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
test ebp, ebp
je 0x4032ba
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x15c], 0
mov eax, dword [esp + 0x168]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4032e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x15c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40330d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.00420360
add esp, 0x14c
ret 0xc