Function at 0x4072a3
Capabilities:
Enumerate files on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5b4
and dword [ebp - 4], 0
push ebx
push esi
mov ebx, 0x42a0f0
push edi
lea eax, [ebp - 0x26c]
push ebx
push eax
call fcn.004108e0
push 0x420590
push 0x11
call fcn.0040857d
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004108f0
lea eax, [ebp - 0x26c]
push 0x5c
push eax
call fcn.004126e0
mov esi, dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
add esp, 0x20
mov edi, eax
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x407436
inc edi
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
or dword [ebp - 4], 2
lea eax, [ebp - 0x380]
push eax
push dword [ebp - 0x14]
call fcn.004108e0
push 0x420588
push 6
call fcn.0040857d
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004108f0
add esp, 0x18
test edi, edi
je 0x40741e
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x407415
xor edi, edi
push 0x10
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.004109d0
add esp, 0xc
lea eax, [ebp - 0x1c]
mov word [ebp - 0x26], 1
mov word [ebp - 0x2c], 0x7d4
push eax
lea eax, [ebp - 0x2c]
push eax
mov word [ebp - 0x2a], 1
call dword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
push 1
push edi
push edi
push dword [ebp - 0x394]
call fcn.00412f00
mov edi, dword [ebp - 0x18]
xor ecx, ecx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
sbb edx, edi
xor edi, edi
sub eax, ecx
mov ecx, dword [ebp - 0x398]
sbb edx, edi
add eax, ecx
adc edx, edi
push edi
push 0x989680
push edx
push eax
call fcn.00412f40
push edi
push 0xe10
push edx
push eax
call fcn.00412f40
push edi
push 0x18
push edx
push eax
call fcn.00412f40
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40], edx
mov ecx, dword [edi]
cmp ecx, eax
jg 0x4073fb
mov ecx, eax
lea eax, [ebp - 0x3ac]
mov dword [edi], ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x40736d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea eax, [ebp - 0x3ac]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x40731a
push dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.DLL_FindClose]
call edi
lea eax, [ebp - 0x26c]
push ebx
push eax
call fcn.004108e0
push 0x42057c
push 8
call fcn.0040857d
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004108f0
add esp, 0x18
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
cmp eax, 0xffffffff
je 0x407486
or dword [ebp - 4], 4
push eax
call edi
lea eax, [ebp - 0x26c]
push ebx
push eax
call fcn.004108e0
push 0x420564
push 0x14
call fcn.0040857d
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004108f0
add esp, 0x18
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
cmp eax, 0xffffffff
je 0x4074cb
or dword [ebp - 4], 0x20
push eax
call edi
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x42053c
push 0x25
call fcn.0040857d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop ecx
pop ecx
mov edi, 0x80000001
push eax
push edi
call ebx
test eax, eax
jne 0x407504
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0x10
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x420518
push 0x23
call fcn.0040857d
pop ecx
pop ecx
push eax
push edi
call ebx
test eax, eax
jne 0x407532
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 8
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x4204f4
push 0x21
call fcn.0040857d
pop ecx
pop ecx
push eax
push edi
call ebx
test eax, eax
jne 0x407560
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0x40
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x4204d4
push 0x1e
call fcn.0040857d
pop ecx
pop ecx
push eax
push edi
call ebx
test eax, eax
jne 0x40758e
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0x40
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.j_cj_
push 0x22
call fcn.0040857d
pop ecx
pop ecx
push eax
push edi
call ebx
test eax, eax
jne 0x4075bc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or byte [ebp - 4], 0x80
lea eax, [ebp - 0x26c]
push 0x429ee8
push eax
call fcn.004108e0
push 0x4204a4
push 9
call fcn.0040857d
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004108f0
add esp, 0x18
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
cmp eax, 0xffffffff
jne 0x4076d3
and dword [ebp + 8], 0
push 1
push 0x42049c
push 7
call fcn.0040857d
pop ecx
pop ecx
push eax
call fcn.0040672e
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004108e0
add esp, 0x10
push 1
push 0x420490
push 0xb
call fcn.0040857d
pop ecx
pop ecx
push eax
call fcn.0040672e
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004108e0
lea eax, [ebp - 0x5b4]
push str.Software_
push eax
call fcn.004108e0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x5b4]
push eax
call fcn.004108f0
push edi
lea eax, [ebp - 0xc]
push 1
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x5b4]
push eax
call fcn.0040862a
add esp, 0x38
test al, al
je 0x4076de
push dword [ebp - 0xc]
lea eax, [ebp - 0x26c]
push dword [ebp + 8]
push eax
call fcn.00410c40
mov eax, dword [ebp - 0xc]
add esp, 0xc
push dword [ebp + 8]
and byte [ebp + eax - 0x26c], 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
cmp eax, 0xffffffff
je 0x4076de
or byte [ebp - 3], 1
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea eax, [ebp - 8]
xor edi, edi
push eax
push 0x20019
push edi
push 0x420448
push 0x3a
call fcn.0040857d
pop ecx
pop ecx
push eax
push 0x80000000
call ebx
test eax, eax
jne 0x407753
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x208
push eax
lea eax, [ebp - 0x26c]
push eax
push edi
push edi
push 0x41f5b8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40774a
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
cmp eax, 0xffffffff
je 0x40774a
or byte [ebp - 3], 0x20
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x42a0f0
lea eax, [ebp - 0x26c]
push edi
push eax
call fcn.004108e0
push 0x420438
push 0xf
call fcn.0040857d
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004108f0
add esp, 0x18
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
cmp eax, 0xffffffff
je 0x4077a1
or byte [ebp - 3], 4
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea eax, [ebp - 0x26c]
push edi
push eax
call fcn.004108e0
push 0x420428
push 0xe
call fcn.0040857d
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004108f0
add esp, 0x18
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
cmp eax, 0xffffffff
je 0x4077ea
or byte [ebp - 3], 8
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea eax, [ebp - 0x26c]
push edi
push eax
call fcn.004108e0
push 0x42041c
push 0xa
call fcn.0040857d
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004108f0
add esp, 0x18
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
pop edi
pop esi
cmp eax, 0xffffffff
pop ebx
je 0x407836
or byte [ebp - 3], 0x10
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [ebp - 4]
leave
ret