Function at 0x30032b7c
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 0x30032c18
push 0x30005b44
call fcn.30022c53
pop ecx
jmp 0x30032da5
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 0x30032c40
push 0x30005b20
jmp 0x30032c0d
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 0x30032c67
mov eax, dword [ebp - 0x5c]
add eax, eax
push eax
push 0x40
call edi
mov ebx, eax
cmp ebx, esi
jne 0x30032c6e
push 0x30005b08
jmp 0x30032c0d
cmp dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], esi
jbe 0x30032d6d
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 0x30032d5e
cmp dword [ebp - 0x78], 1
jne 0x30032d5e
cmp dword [ebp - 0x68], 6
jne 0x30032d5e
cmp word [ebx], 0x44
jne 0x30032d5e
cmp word [ebx + 2], 0x57
jne 0x30032d5e
mov ax, word [ebx + 4]
push eax
call fcn.30031fbc
test eax, eax
je 0x30032d5e
mov di, word [ebx + 6]
push edi
call fcn.30031fbc
test eax, eax
je 0x30032d5e
mov dx, word [ebx + 8]
push edx
call fcn.30031fbc
test eax, eax
je 0x30032d5e
mov cx, word [ebx + 0xa]
push ecx
call fcn.30031fbc
test eax, eax
je 0x30032d5e
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 0x30032d5e
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1c4]
add eax, eax
cmp dword [ebp - 0x74], eax
jae 0x30032de5
push dword [ebp - 0x58]
push dword [ebp + 0x1c4]
push dword [ebp + 0x1c0]
call fcn.30032b66
inc dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x6c]
jb 0x30032c7a
mov edi, dword [ebp + 0x1c8]
cmp edi, esi
je 0x30032d9e
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 0x30032d9e
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x1c0]
call fcn.30031ef4
mov dword [edi], eax
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x60], esi
je 0x30032db3
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 0x30032dc3
push dword [ebp - 0x58]
call edi
cmp ebx, esi
je 0x30032dca
push ebx
call edi
mov ecx, dword [ebp + 0x1b4]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
pop ebx
call fcn.30062195
add ebp, 0x1b8
leave
ret 0xc
push 0x30005ae4
jmp 0x30032c0d