Function at 0x4033c0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439788
mov eax, dword fs:[0]
push eax
sub esp, 0xaa4
mov eax, dword [0x44cc80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0xa94], ebx
mov edi, edx
xor esi, esi
push esi
push str.CManinstApp::ReadAllRegistryIni
lea eax, [ebp - 0xab0]
push eax
call fcn.00405b00
add esp, 0xc
mov dword [ebp - 4], esi
mov dword [ebp - 0xa90], 0x800000
mov byte [ebp - 4], 1
mov word [ebp - 0x630], si
push 0x206
push esi
lea ecx, [ebp - 0x62e]
push ecx
call fcn.004250c0
add esp, 0xc
mov word [ebp - 0x428], si
push 0x206
push esi
lea edx, [ebp - 0x426]
push edx
call fcn.004250c0
add esp, 0xc
mov word [ebp - 0x838], si
push 0x206
push esi
lea eax, [ebp - 0x836]
push eax
call fcn.004250c0
add esp, 0xc
mov word [ebp - 0x220], si
push 0x206
push esi
lea ecx, [ebp - 0x21e]
push ecx
call fcn.004250c0
add esp, 0xc
mov esi, dword [ebx + 0x4e8]
lea esp, [esp]
test esi, esi
je 0x4034b7
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4034b3
mov edx, dword [ecx]
push 1
mov eax, dword [edx]
call eax
mov esi, dword [esi]
jmp 0x4034a0
lea esi, [ebx + 0x4e4]
call fcn.00403e00
push 0
push 0x23
lea ecx, [ebp - 0x630]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0xa8c]
push edx
push edi
call fcn.00411da0
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0xa98]
push eax
push edi
call fcn.00411cb0
mov ebx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xaa4]
push ecx
push edi
call fcn.00411bc0
mov edi, eax
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.00404a30
push eax
mov ecx, ebx
call fcn.00404a30
push eax
mov ecx, edi
call fcn.00404a30
push eax
lea edx, [ebp - 0x630]
push edx
push str._s_s_s_s
mov eax, 0x104
lea edi, [ebp - 0x428]
call fcn.004049d0
add esp, 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xaa4]
call fcn.00405f60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa98]
call fcn.00405f60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8c]
call fcn.00405f60
push str.Registry.ini
mov eax, edi
push eax
push 0x43fe0c
mov eax, 0x104
lea edi, [ebp - 0x220]
call fcn.004049d0
add esp, 0xc
push 0x38
call fcn.00414d1f
add esp, 4
mov dword [ebp - 0xa8c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4035b4
push eax
call fcn.00414160
mov esi, eax
jmp 0x4035b6
xor esi, esi
mov byte [ebp - 4], 1
test esi, esi
jne 0x4035d9
mov dword [ebp - 0xaa0], 0x8080ffff
push 0x44729c
lea ecx, [ebp - 0xaa0]
push ecx
call fcn.00426b1b
lea edx, [ebp - 0x220]
push edx
call fcn.004143b0
cmp eax, 0x800000
jne 0x4035ff
push esi
mov eax, dword [ebp - 0xa94]
add eax, 0x4e4
call fcn.00403dd0
jmp 0x403609
mov eax, dword [esi]
push 1
mov ecx, esi
mov edx, dword [eax]
call edx
push 0x43f99c
push 0x43f9a0
mov eax, 0x104
lea edi, [ebp - 0x630]
call fcn.004049d0
mov eax, edi
push eax
lea ecx, [ebp - 0x428]
push ecx
push 0x43fe0c
mov eax, 0x104
lea edi, [ebp - 0x838]
call fcn.004049d0
add esp, 0x14
lea edx, [ebp - 0xa88]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa8c], eax
cmp eax, 0xffffffff
je 0x40375c
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea ebx, [ebx]
push 0x43f9c0
lea ecx, [ebp - 0xa5c]
push ecx
call ebx
test eax, eax
je 0x403739
push 0x43f9c4
lea edx, [ebp - 0xa5c]
push edx
call ebx
test eax, eax
je 0x403739
lea eax, [ebp - 0xa5c]
push eax
lea ecx, [ebp - 0x428]
push ecx
push 0x43fe0c
mov eax, 0x104
lea edi, [ebp - 0x220]
call fcn.004049d0
add esp, 0xc
push 0x38
call fcn.00414d1f
add esp, 4
mov dword [ebp - 0xa98], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4036e4
push eax
call fcn.00414160
mov esi, eax
jmp 0x4036e6
xor esi, esi
mov byte [ebp - 4], 1
test esi, esi
jne 0x403709
mov dword [ebp - 0xa9c], 0x8080ffff
push 0x44729c
lea edx, [ebp - 0xa9c]
push edx
call fcn.00426b1b
lea eax, [ebp - 0x220]
push eax
call fcn.004143b0
cmp eax, 0x800000
jne 0x40372f
push esi
mov eax, dword [ebp - 0xa94]
add eax, 0x4e4
call fcn.00403dd0
jmp 0x403739
mov edx, dword [esi]
push 1
mov ecx, esi
mov eax, dword [edx]
call eax
lea ecx, [ebp - 0xa88]
push ecx
mov esi, dword [ebp - 0xa8c]
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403670
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xab0]
call fcn.00405a70
mov eax, dword [ebp - 0xa90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004237ad
mov esp, ebp
pop ebp
ret