Function at 0x403200
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x550
mov eax, dword [0x42ad20]
xor eax, esp
push ebx
push ebp
push esi
xor ebx, ebx
xor esi, esi
push edi
mov dword [esp + 0x55c], eax
mov dword [esp + 0x10], 0x104
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], ebx
mov dword [0x42bda4], ebx
call fcn.00401a90
cmp dword [0x42bc48], ebx
je 0x403759
mov dword [esp + 0x34], ebx
jmp 0x403250
mov esi, dword [esp + 0x30]
lea ecx, [ecx]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x42bc4c]
lea ecx, [esp + 0x3c]
push ecx
push 0x20019
push ebx
push str.SystemCurrentControlSetServices_
push eax
mov dword [esp + 0x58], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40377c
lea eax, [esi + esi*2]
shl eax, 3
lea edx, [eax + 0x42bdfc]
lea ecx, [eax + 0x42be00]
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ecx
lea edx, [eax + 0x42be08]
lea ecx, [eax + 0x42be04]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ecx
lea ebp, [eax + 0x42bdf8]
jmp 0x4032c0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push 0x104
lea edx, [esp + 0x254]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x403719
mov ecx, 8
mov esi, str.SystemCurrentControlSetServices_
lea edi, [esp + 0x458]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0x250]
movsb byte es:[edi], byte [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403308
lea edi, [esp + 0x458]
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x403320
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x20]
push edx
mov ecx, eax
push 1
and ecx, 3
push ebx
lea eax, [esp + 0x464]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x50]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403719
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x358]
push eax
lea ecx, [esp + 0x34]
push ecx
push ebx
push str.ImagePath
push edx
mov dword [esp + 0x28], 0x104
call esi
test eax, eax
jne 0x40370e
mov eax, dword [esp + 0x2c]
cmp eax, 1
je 0x4033a2
cmp eax, 2
jne 0x40370e
cmp dword [esp + 0x10], ebx
je 0x40370e
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x354]
mov byte [esp + eax + 0x48], cl
inc eax
cmp cl, bl
jne 0x4033b0
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
lea ecx, [esp + 0x48]
push str.umsmaster
push ecx
call fcn.0041352b
add esp, 8
test eax, eax
je 0x403545
lea edx, [esp + 0x48]
push str..exe
push edx
call fcn.0041352b
add esp, 8
test eax, eax
je 0x403545
lea eax, [esp + 0x250]
push eax
call fcn.00413999
lea ecx, [esp + 0x358]
push ecx
mov dword [ebp], eax
call fcn.00413999
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
mov dword [edx], eax
mov eax, dword [edi + 0x42bc48]
push eax
call fcn.00413999
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov dword [ecx], eax
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
push ecx
push ebx
push str.Description
push edx
mov dword [esp + 0x28], 0x104
call esi
test eax, eax
jne 0x403476
lea eax, [esp + 0x48]
push eax
call fcn.00413999
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [ecx], eax
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
push ecx
push ebx
push str.DisplayName
push edx
mov dword [esp + 0x28], 0x104
call esi
test eax, eax
jne 0x4036c6
mov ecx, dword [0x42bde4]
mov eax, dword [edi + 0x42bc48]
push ecx
push eax
call fcn.004135dd
add esp, 8
test eax, eax
je 0x40352e
mov eax, dword [edi + 0x42bc48]
add eax, 2
lea edx, [esp + 0x14c]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4034d0
lea edi, [esp + 0x14c]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4034e2
mov dx, word [0x42449c]
lea eax, [esp + 0x48]
mov word [edi], dx
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403500
lea edi, [esp + 0x14c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x403511
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4036b0
xor eax, eax
mov cl, byte [esp + eax + 0x48]
mov byte [esp + eax + 0x14c], cl
inc eax
cmp cl, bl
jne 0x403530
jmp 0x4036b0
lea edx, [esp + 0x48]
push str.unls
push edx
call fcn.0041352b
add esp, 8
test eax, eax
je 0x40370e
lea eax, [esp + 0x48]
push str..exe
push eax
call fcn.0041352b
add esp, 8
test eax, eax
je 0x40370e
lea ecx, [esp + 0x250]
push ecx
call fcn.00413999
lea edx, [esp + 0x358]
push edx
mov dword [ebp], eax
call fcn.00413999
mov edi, dword [esp + 0x3c]
mov edx, dword [edi + 0x42bc48]
mov ecx, dword [esp + 0x24]
push edx
mov dword [ecx], eax
call fcn.00413999
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov dword [ecx], eax
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
push ecx
push ebx
push str.Description
push edx
mov dword [esp + 0x28], 0x104
call esi
test eax, eax
jne 0x4035f0
lea eax, [esp + 0x48]
push eax
call fcn.00413999
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [ecx], eax
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
push ecx
push ebx
push str.DisplayName
push edx
mov dword [esp + 0x28], 0x104
call esi
test eax, eax
jne 0x4036c6
mov ecx, dword [0x42bde4]
mov eax, dword [edi + 0x42bc48]
push ecx
push eax
call fcn.004135dd
add esp, 8
test eax, eax
je 0x40369d
mov eax, dword [edi + 0x42bc48]
add eax, 2
lea edx, [esp + 0x14c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x403648
lea edi, [esp + 0x14c]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x403660
mov dx, word [0x42449c]
lea eax, [esp + 0x48]
mov word [edi], dx
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403678
lea edi, [esp + 0x14c]
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x403690
jmp 0x403519
xor eax, eax
nop
mov cl, byte [esp + eax + 0x48]
mov byte [esp + eax + 0x14c], cl
inc eax
cmp cl, bl
jne 0x4036a0
lea eax, [esp + 0x14c]
push eax
call fcn.00413999
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
add esp, 4
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
inc edx
mov eax, 0x18
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x28]
add edi, eax
add esi, eax
add edx, eax
add ecx, eax
add ebp, eax
cmp ebp, 0x42c9f8
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], ecx
jl 0x40370e
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
inc ecx
cmp eax, ebx
mov dword [esp + 0x38], ecx
je 0x4032c0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
inc esi
push eax
mov dword [esp + 0x44], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi*8]
cmp dword [eax + 0x42bc48], ebx
mov dword [esp + 0x34], eax
jne 0x403249
call fcn.00403180
mov eax, 1
mov ecx, dword [esp + 0x55c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004131be
add esp, 0x550
ret
movzx edx, word [0x42ca04]
push ebx
push ebx
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [0x42bd4c]
mov ecx, dword [esp + 0x14]
push 0x30
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x403763