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

Disassembly:
push 0xffffffffffffffff
push 0x457b85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x294
mov eax, dword [0x471df4]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x2ac], ebp
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x60]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [0x471df4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2b4]
mov bl, 4
mov byte [esp + 0x2ac], bl
mov dword [esp + 0x28], ebp
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 4]
cmp edi, ebp
mov dword [esp + 0x54], edi
jbe 0x41d4bc
mov ebp, dword [esp + 0x2bc]
jmp 0x41d1cf
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x41d4bc
mov ecx, dword [eax]
add eax, 8
mov dword [esp + 0x50], ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0044a4c1
push str..EXE
lea ecx, [esp + 0x3c]
call fcn.0044a442
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x5c]
push edx
push eax
mov byte [esp + 0x2b8], 5
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2b0], 6
call fcn.0044a4c1
lea ecx, [esp + 0x58]
mov byte [esp + 0x2ac], 5
call fcn.0044a3d4
lea ecx, [esp + 0x38]
mov byte [esp + 0x2ac], bl
call fcn.0044a3d4
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x164]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x4c], eax
je 0x41d4ab
lea eax, [esp + 0x190]
lea ecx, [esp + 0x10]
push eax
call fcn.0044a511
lea ecx, [esp + 0x10]
call fcn.0044a88a
mov ecx, dword [esp + 0x10]
push str.308349USA8.EXE
push ecx
call fcn.0043aac0
add esp, 8
test eax, eax
jne 0x41d381
lea edx, [esp + 0x14]
push str.308349USA8.EXE
lea eax, [esp + 0x30]
push edx
push eax
call fcn.0044a61d
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b0], 7
call fcn.0044a4c1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2ac], bl
call fcn.0044a3d4
push str.308349USA8.EXE
lea ecx, [esp + 0x4c]
call fcn.0044a442
mov edi, eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x2ac], 8
push ecx
lea ecx, [esp + 0x60]
call fcn.0044a442
push edi
lea edx, [esp + 0x44]
push eax
push edx
mov byte [esp + 0x2b8], 9
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b0], 0xa
call fcn.0044a4c1
lea ecx, [esp + 0x40]
mov byte [esp + 0x2ac], 9
call fcn.0044a3d4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2ac], 8
call fcn.0044a3d4
lea ecx, [esp + 0x48]
mov byte [esp + 0x2ac], bl
call fcn.0044a3d4
lea eax, [esp + 0x1c]
lea ecx, [esi + 4]
push eax
call fcn.0044a4c1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
call fcn.0042cf30
add esp, 8
test eax, eax
je 0x41d381
mov eax, dword [ebp]
or al, 8
mov dword [ebp], eax
mov dword [esi + 0xc], 1
mov eax, dword [esp + 0x10]
push str.242004USA8.EXE
push eax
call fcn.0043aac0
add esp, 8
test eax, eax
jne 0x41d485
lea ecx, [esp + 0x14]
push str.242004USA8.EXE
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.0044a61d
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b0], 0xb
call fcn.0044a4c1
lea ecx, [esp + 0x30]
mov byte [esp + 0x2ac], bl
call fcn.0044a3d4
push str.242004USA8.EXE
lea ecx, [esp + 0x48]
call fcn.0044a442
mov edi, eax
lea eax, [esp + 0x60]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0x2b0], 0xc
call fcn.0044a442
push edi
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x2b8], 0xd
call fcn.0044a5b7
push eax
mov ecx, esi
mov byte [esp + 0x2b0], 0xe
call fcn.0044a4c1
lea ecx, [esp + 0x34]
mov byte [esp + 0x2ac], 0xd
call fcn.0044a3d4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2ac], 0xc
call fcn.0044a3d4
lea ecx, [esp + 0x44]
mov byte [esp + 0x2ac], bl
call fcn.0044a3d4
mov eax, dword [esi]
mov edx, dword [esp + 0x18]
push eax
push edx
call fcn.0042cf30
add esp, 8
test eax, eax
je 0x41d478
mov eax, dword [ebp]
or eax, 0x4000000
mov dword [ebp], eax
mov eax, 1
mov dword [esp + 0x20], eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x2b8]
push esi
call fcn.0044a4c1
mov edi, dword [esp + 0x4c]
lea eax, [esp + 0x164]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41d267
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
inc eax
cmp eax, edi
mov dword [esp + 0x28], eax
jb 0x41d1cb
lea ecx, [esp + 0x24]
mov byte [esp + 0x2ac], 3
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov byte [esp + 0x2ac], 2
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x2ac], 1
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2ac], 0
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov dword [esp + 0x2ac], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x2a4]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a0
ret 0xc