Function at 0x30032cd4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [section..cdata]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp + 0x1b4], eax
xor eax, eax
mov word [ebp - 0x54], si
mov ecx, 0x81
lea edi, [ebp - 0x52]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x1c4]
add ecx, ecx
mov edx, ecx
stosw word es:[edi], ax
mov edi, dword [ebp + 0x1c0]
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp - 0x60]
push eax
push 0x20019
push esi
push 0x30005b64
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x7c], esi
xor ebx, ebx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x30032d70
push 0x30005b44
call fcn.30022d69
pop ecx
jmp 0x30032efd
push esi
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x30032d98
push 0x30005b20
jmp 0x30032d65
push dword [ebp - 0x70]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
inc dword [ebp - 0x5c]
push 0x40
call edi
cmp eax, esi
mov dword [ebp - 0x58], eax
je 0x30032dbf
mov eax, dword [ebp - 0x5c]
add eax, eax
push eax
push 0x40
call edi
mov ebx, eax
cmp ebx, esi
jne 0x30032dc6
push 0x30005b08
jmp 0x30032d65
cmp dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], esi
jbe 0x30032ec5
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x78]
push eax
push esi
lea eax, [ebp - 0x68]
push eax
push ebx
push dword [ebp - 0x64]
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x30032eb6
cmp dword [ebp - 0x78], 1
jne 0x30032eb6
cmp dword [ebp - 0x68], 6
jne 0x30032eb6
cmp word [ebx], 0x44
jne 0x30032eb6
cmp word [ebx + 2], 0x57
jne 0x30032eb6
mov ax, word [ebx + 4]
push eax
call fcn.30032114
test eax, eax
je 0x30032eb6
mov di, word [ebx + 6]
push edi
call fcn.30032114
test eax, eax
je 0x30032eb6
mov dx, word [ebx + 8]
push edx
call fcn.30032114
test eax, eax
je 0x30032eb6
mov cx, word [ebx + 0xa]
push ecx
call fcn.30032114
test eax, eax
je 0x30032eb6
movzx eax, word [ebx + 4]
sub eax, 0x30
imul eax, eax, 0xa
movzx edi, di
lea eax, [eax + edi - 0x30]
imul eax, eax, 0xa
movzx edx, dx
lea eax, [eax + edx - 0x30]
imul eax, eax, 0xa
movzx ecx, cx
lea eax, [eax + ecx - 0x30]
cmp eax, dword [ebp - 0x80]
jbe 0x30032eb6
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1c4]
add eax, eax
cmp dword [ebp - 0x74], eax
jae 0x30032f3d
push dword [ebp - 0x58]
push dword [ebp + 0x1c4]
push dword [ebp + 0x1c0]
call fcn.30032cbe
inc dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x6c]
jb 0x30032dd2
mov edi, dword [ebp + 0x1c8]
cmp edi, esi
je 0x30032ef6
push 0x104
lea eax, [ebp - 0x54]
push eax
push esi
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x30032ef6
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x1c0]
call fcn.3003204c
mov dword [edi], eax
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x60], esi
je 0x30032f0b
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x58], esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x30032f1b
push dword [ebp - 0x58]
call edi
cmp ebx, esi
je 0x30032f22
push ebx
call edi
mov ecx, dword [ebp + 0x1b4]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
pop ebx
call fcn.30062f67
add ebp, 0x1b8
leave
ret 0xc
push 0x30005ae4
jmp 0x30032d65