Function at 0x4135a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x234
mov eax, dword [esp + 0x238]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x30], ecx
mov ecx, dword [0x437348]
lea edi, [eax + 4]
test edi, edi
mov dword [esp + 0x14], ecx
je 0x413614
mov ecx, edi
shr ecx, 0x10
jne 0x4135df
and edi, 0xffff
lea ecx, [esp + 0x14]
push edi
call fcn.00409ea0
jmp 0x413610
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x413610
push esi
lea ecx, [esp + 0x18]
call fcn.004023a0
test eax, eax
je 0x413610
mov ecx, esi
mov esi, edi
mov edi, dword [esp + 0x14]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
jge 0x413620
or esi, 0xffffffff
jmp 0x413643
push 0x437448
push ecx
call fcn.0042a63f
add esp, 8
test eax, eax
jne 0x41363b
mov ecx, dword [esp + 0x14]
or esi, 0xffffffff
jmp 0x413643
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov esi, eax
mov edx, dword [0x437348]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, edx
test esi, esi
mov ebp, SysReAllocString
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
jle 0x4137f9
mov ecx, dword [ecx - 8]
mov eax, esi
cmp esi, ecx
jle 0x413677
mov eax, ecx
push 0
push 0
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], edx
call fcn.00412690
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004022c0
lea ecx, [esp + 0x1c]
call fcn.004024e0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
cmp ecx, eax
je 0x4136f7
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4136c5
mov edx, dword [0x43734c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4136cc
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4136dc
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.00402510
jmp 0x4136f3
lea ecx, [esp + 0x20]
call fcn.00402400
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
add eax, 0xfffffff4
push eax
call edi
mov eax, dword [esp + 0x10]
mov edx, dword [0x43734c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41371e
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41371e
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004292c0
add esp, 4
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
mov eax, dword [edx - 8]
sub eax, esi
dec eax
test ecx, ecx
jge 0x413731
xor ecx, ecx
test eax, eax
jge 0x413737
xor eax, eax
mov edx, dword [edx - 8]
lea esi, [ecx + eax]
cmp esi, edx
jle 0x413745
mov eax, edx
sub eax, ecx
cmp ecx, edx
jle 0x41374b
xor eax, eax
mov edx, dword [0x437348]
push 0
push ecx
push eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
mov dword [esp + 0x2c], edx
call fcn.00412690
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004022c0
lea ecx, [esp + 0x1c]
call fcn.004024e0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp ecx, eax
je 0x4137d0
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41379e
mov edx, dword [0x43734c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4137a5
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4137b5
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00402510
jmp 0x4137cc
lea ecx, [esp + 0x24]
call fcn.00402400
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
add eax, 0xfffffff4
push eax
call edi
mov eax, dword [esp + 0x10]
mov edx, dword [0x43734c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41383f
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41383f
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004292c0
add esp, 4
jmp 0x41383f
cmp eax, ecx
je 0x41383f
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x413811
mov edx, dword [0x43734c]
add eax, 0xfffffff4
cmp eax, edx
jne 0x413818
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x413828
mov eax, dword [ecx - 8]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00402510
jmp 0x41383f
lea ecx, [esp + 0x24]
call fcn.00402400
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
add eax, 0xfffffff4
push eax
call edi
mov ecx, dword [esp + 0x20]
push str.HKEY_CLASSES_ROOT
push ecx
call fcn.00429736
add esp, 8
test eax, eax
jne 0x41385c
mov ebp, SysReAllocString
jmp 0x4138ce
mov edx, dword [esp + 0x20]
push str.HKEY_CURRENT_USER
push edx
call fcn.00429736
add esp, 8
test eax, eax
jne 0x413879
mov ebp, SysReAllocString
jmp 0x4138ce
mov eax, dword [esp + 0x20]
push str.HKEY_LOCAL_MACHINE
push eax
call fcn.00429736
add esp, 8
test eax, eax
jne 0x413896
mov ebp, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x4138ce
mov ecx, dword [esp + 0x20]
push str.HKEY_USERS
push ecx
call fcn.00429736
add esp, 8
test eax, eax
jne 0x4138b3
mov ebp, SysStringLen
jmp 0x4138ce
mov edx, dword [esp + 0x20]
push str.HKEY_CURRENT_CONFIG
push edx
call fcn.00429736
add esp, 8
test eax, eax
jne 0x4138ce
mov ebp, SysStringLen
mov eax, dword [esp + 0x248]
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], 0
lea edx, [esp + 0x2c]
mov ecx, dword [eax + 0x20c]
xor eax, eax
mov dword [esp + 0x38], ecx
mov ecx, 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x24]
push edx
mov ebx, 0x104
push eax
push ebp
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x413d08
lea ecx, [esp + 0x34]
lea edx, [esp + 0x3c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
push edx
mov edx, dword [esp + 0x250]
lea ecx, [esp + 0x40]
add edx, 0x108
push ecx
push 0
push edx
push eax
call esi
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
mov ebp, 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x413998
mov eax, dword [esp + 0x248]
or ecx, 0xffffffff
lea edx, [eax + 0x210]
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x413998
lea ecx, [esp + 0x3c]
push edx
push ecx
call fcn.0042a63f
add esp, 8
test eax, eax
je 0x413998
mov dword [esp + 0x10], ebp
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4139c3
mov edx, dword [esp + 0x248]
or ecx, 0xffffffff
lea edi, [edx + 0x210]
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4139c3
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x248]
lea edi, [eax + 4]
push edi
call fcn.0042a6b5
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x4139f9
push str.RISING
push edi
call fcn.0042a63f
add esp, 8
test eax, eax
je 0x4139f9
mov edi, dword [esp + 0x30]
mov dword [edi + 0x24], ebp
jmp 0x4139fd
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x24]
test eax, eax
je 0x413a25
mov ecx, dword [0x43c098]
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.0042a9c0
add esp, 8
test eax, eax
jne 0x413a25
mov dword [esp + 0x10], eax
jmp 0x413cfd
mov eax, dword [esp + 0x10]
test eax, eax
je 0x413cfd
mov eax, dword [edi + 0x24]
test eax, eax
je 0x413a48
mov eax, dword [esp + 0x2c]
mov ecx, edi
push eax
call fcn.00413d40
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x413cfd
mov ecx, dword [0x437348]
xor eax, eax
mov dword [esp + 0x18], ecx
mov ecx, 0x40
lea edi, [esp + 0x141]
mov byte [esp + 0x140], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x30]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [edx + 0x24]
test eax, eax
je 0x413aac
lea eax, [esp + 0x34]
lea ecx, [esp + 0x140]
push eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x3c]
push ecx
push edx
push 0
push str.name
push eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
call esi
lea edi, [esp + 0x140]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x413b24
mov edx, dword [esp + 0x248]
lea ecx, [esp + 0x140]
push ecx
push eax
mov eax, dword [edx]
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004249d0
mov edx, dword [eax]
add esp, 0xc
lea eax, [esp + 0x1c]
push edx
push str._s___s_
push eax
call fcn.004025c0
mov eax, dword [esp + 0x38]
mov edx, dword [0x43734c]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x413bbc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x413bbc
mov edx, dword [esp + 0x28]
jmp 0x413bb0
mov eax, dword [esp + 0x248]
push 0
lea edx, [esp + 0x2c]
mov ecx, dword [eax]
push ecx
push edx
call fcn.004249d0
mov ecx, dword [esp + 0x24]
mov esi, eax
add esp, 0xc
mov eax, dword [esi]
cmp ecx, eax
je 0x413b8d
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x413b5d
mov edx, dword [0x43734c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x413b64
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x413b74
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x20]
call fcn.00402510
jmp 0x413b8d
lea ecx, [esp + 0x18]
call fcn.00402400
mov esi, dword [esi]
mov dword [esp + 0x18], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x28]
mov edx, dword [0x43734c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x413bbc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x413bbc
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.004292c0
add esp, 4
mov eax, dword [0x437348]
mov ecx, 0x4382b8
test ecx, ecx
mov dword [esp + 0x28], eax
jne 0x413bd2
xor eax, eax
jmp 0x413bdd
push 0x4382b8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x18]
push ecx
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x2c]
push edx
push 0x4382b8
push eax
call fcn.004107f0
lea eax, [esp + 0x28]
lea ecx, [esp + 0x1c]
push eax
call fcn.004022c0
lea ecx, [esp + 0x28]
call fcn.004024e0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
je 0x413c62
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x413c2c
mov edx, dword [0x43734c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x413c33
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x413c43
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00402510
jmp 0x413c5e
lea ecx, [esp + 0x18]
call fcn.00402400
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x43734c]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x413c8d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x413c8d
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.004292c0
add esp, 4
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push ecx
push 0
lea esi, [edi + 0x30]
mov ecx, esi
call fcn.00413e50
cmp eax, 0xffffffff
jne 0x413cf4
mov eax, dword [edi + 0x24]
test eax, eax
je 0x413ce6
mov edx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x18b
push edx
call edi
test eax, eax
je 0x413ce6
mov eax, dword [esi]
push 0
push 0
push 0x182
push eax
call edi
mov ecx, dword [esi]
push 0
push 0
push 0x18b
push ecx
call edi
test eax, eax
jne 0x413cc6
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
push 0
call fcn.00413e30
lea ecx, [esp + 0x18]
call fcn.004024e0
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
call fcn.004024e0
lea ecx, [esp + 0x20]
call fcn.004024e0
lea ecx, [esp + 0x14]
call fcn.004024e0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret 4