Function at 0x2e07f392
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x2e0c18a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x240], eax
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x234], esi
xor ebx, ebx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x230], esi
call fcn.2e06e640
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push esi
push edi
call fcn.2e06e640
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
push 0x20019
push esi
push 0x2e005f54
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
test eax, eax
jne 0x2e07f474
push esi
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x2e07f483
push esi
push 0x30303030
call fcn.2e0448b0
jmp 0x2e07f63e
push dword [ebp - 0x22c]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
inc dword [ebp - 0x214]
push 0x40
call edi
mov dword [ebp - 0x210], eax
cmp eax, esi
je 0x2e07f63e
mov eax, dword [ebp - 0x214]
add eax, eax
push eax
push 0x40
call edi
mov ebx, eax
cmp ebx, esi
je 0x2e07f63e
mov dword [ebp - 0x21c], esi
cmp dword [ebp - 0x224], esi
jbe 0x2e07f5fd
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x210]
lea eax, [ebp - 0x238]
push eax
push esi
lea eax, [ebp - 0x228]
push eax
push ebx
push dword [ebp - 0x21c]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x2e07f5e5
cmp dword [ebp - 0x238], 1
jne 0x2e07f5e5
cmp dword [ebp - 0x228], 6
jne 0x2e07f5e5
cmp word [ebx], 0x44
jne 0x2e07f5e5
cmp word [ebx + 2], 0x57
jne 0x2e07f5e5
movzx eax, word [ebx + 4]
push eax
call fcn.2e07f37b
test eax, eax
je 0x2e07f5e5
movzx eax, word [ebx + 6]
push eax
call fcn.2e07f37b
test eax, eax
je 0x2e07f5e5
movzx edi, word [ebx + 8]
push edi
call fcn.2e07f37b
test eax, eax
je 0x2e07f5e5
movzx edx, word [ebx + 0xa]
push edx
call fcn.2e07f37b
test eax, eax
je 0x2e07f5e5
movzx eax, word [ebx + 4]
movzx ecx, ax
movzx eax, word [ebx + 6]
sub ecx, 0x30
imul ecx, ecx, 0xa
lea eax, [eax + ecx - 0x30]
imul eax, eax, 0xa
movzx ecx, di
lea eax, [eax + ecx - 0x30]
imul eax, eax, 0xa
movzx ecx, dx
lea eax, [eax + ecx - 0x30]
cmp eax, dword [ebp - 0x230]
jbe 0x2e07f5e5
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0xc]
add eax, eax
cmp dword [ebp - 0x220], eax
jae 0x2e07f63e
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x23c]
call fcn.2e070d96
add esp, 0xc
inc dword [ebp - 0x21c]
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x224]
jb 0x2e07f4d0
mov edi, dword [ebp - 0x240]
cmp edi, esi
je 0x2e07f634
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x2e07f634
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x23c]
call fcn.2e07f299
mov dword [edi], eax
mov dword [ebp - 0x234], 1
cmp dword [ebp - 0x218], esi
je 0x2e07f652
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x210], esi
je 0x2e07f668
push dword [ebp - 0x210]
call edi
cmp ebx, esi
je 0x2e07f66f
push ebx
call edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e06e7f2
leave
ret 0xc