Function at 0x4032f0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x430b0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x52c
push ebx
push ebp
push esi
push edi
push 0x43f314
call fcn.00402e90
mov edx, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x440]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x440]
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push ecx
xor ebx, ebx
push eax
push edx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
call fcn.004031b0
add esp, 0x14
cmp eax, ebx
je 0x403370
or eax, 0xffffffff
jmp 0x403605
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x4446fc
lea ecx, [esp + 0x14]
stosb byte es:[edi], al
call fcn.00421c3c
lea ecx, [esp + 0x20]
mov dword [esp + 0x544], ebx
push ecx
push 0x20019
push ebx
push 0x43f2d8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x4033d6
lea ecx, [esp + 0x10]
mov dword [esp + 0x544], 0xffffffff
call fcn.00421bce
mov eax, 0xfffffffe
jmp 0x403605
mov ecx, dword [esp + 0x20]
push ebx
push ebx
push ebx
lea edx, [esp + 0x30]
push ebx
lea eax, [esp + 0x348]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x44], 0x104
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x40358c
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x238]
lea edx, [esp + 0x338]
rep stosd dword es:[edi], eax
push edx
push 0x43f2d8
lea eax, [esp + 0x240]
push 0x43f2d0
push eax
call fcn.00410a4b
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x148]
lea edx, [esp + 0x248]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x148]
push ecx
push 0x43f2c4
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403260
add esp, 0x20
test eax, eax
je 0x403546
lea edi, [esp + 0x138]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x138]
push ecx
lea ecx, [esp + 0x440]
push eax
push ecx
call fcn.00411120
add esp, 0xc
test eax, eax
jne 0x403546
mov ecx, 0x40
lea edi, [esp + 0x138]
lea edx, [esp + 0x138]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x23c]
push 0x43f2b8
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403260
lea ecx, [esp + 0x148]
lea edx, [esp + 0x20]
push ecx
push 0x43f2b0
push edx
call fcn.00420ce1
mov eax, dword [esp + 0x2c]
add esp, 0x1c
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push eax
call esi
mov edx, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
push ebx
push ecx
lea eax, [esp + 0x40]
push 0x100
push eax
lea ecx, [esp + 0x3c]
push 4
push ecx
push 0x170002
push edx
mov dword [esp + 0x4c], 0x1010101
call ebp
test eax, eax
jne 0x40361e
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x338]
push ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2c]
push ebx
push ebx
lea edx, [esp + 0x30]
push ebx
lea ecx, [esp + 0x348]
inc eax
push edx
mov edx, dword [esp + 0x34]
push ecx
push eax
push edx
mov dword [esp + 0x44], 0x104
mov dword [esp + 0x48], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x403413
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x19]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x17]
and ecx, 0xff
and edx, 0xff
push ecx
mov ecx, dword [esp + 0x1a]
and eax, 0xff
push edx
mov edx, dword [esp + 0x1d]
push eax
mov eax, dword [esp + 0x20]
and ecx, 0xff
and edx, 0xff
push ecx
mov ecx, dword [esp + 0x55c]
and eax, 0xff
push edx
push eax
push 0x43f290
push ecx
call fcn.00410a4b
add esp, 0x20
lea ecx, [esp + 0x10]
mov dword [esp + 0x544], 0xffffffff
call fcn.00421bce
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x53c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x538
ret
mov edx, dword [esp + 0x54c]
mov ecx, 8
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x3d]
mov ecx, dword [esp + 0x3c]
and eax, 0xff
and ecx, 0xff
push eax
mov eax, dword [esp + 0x3f]
push ecx
mov ecx, dword [esp + 0x42]
and eax, 0xff
and ecx, 0xff
push eax
mov eax, dword [esp + 0x45]
push ecx
mov ecx, dword [esp + 0x48]
and eax, 0xff
and ecx, 0xff
push eax
push ecx
push 0x43f290
push edx
call fcn.00410a4b
mov edx, dword [esp + 0x40]
add esp, 0x20
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x544], 0xffffffff
call fcn.00421bce
xor eax, eax
jmp 0x403605