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

Disassembly:
push 0xffffffffffffffff
push 0x45798f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], esi
mov eax, dword [0x471df4]
mov dword [esp + 0x288], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x17c]
push 0x104
push eax
mov byte [esp + 0x290], 3
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp dword [ebp + 0x148], esi
je 0x41c421
push str.INF_
lea ecx, [esp + 0x18]
call fcn.0044a442
mov esi, eax
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x17c]
mov byte [esp + 0x288], 4
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044a442
mov dword [esp + 0x10], 3
push esi
lea edx, [esp + 0x28]
push eax
push edx
mov dword [esp + 0x294], 5
call fcn.0044a5b7
mov ebx, 7
mov dword [esp + 0x10], ebx
mov dword [esp + 0x288], 6
mov edi, 8
jmp 0x41c485
push str.INFOTHER_
lea ecx, [esp + 0x34]
call fcn.0044a442
mov edi, 8
mov esi, eax
mov dword [esp + 0x10], edi
lea eax, [esp + 0x17c]
lea ecx, [esp + 0x34]
push eax
mov dword [esp + 0x28c], 7
call fcn.0044a442
mov dword [esp + 0x10], 0x18
push esi
lea ecx, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x294], edi
call fcn.0044a5b7
mov ebx, 0x38
mov dword [esp + 0x10], ebx
mov dword [esp + 0x288], 9
push eax
lea ecx, [esp + 0x20]
call fcn.0044a4c1
test bl, 0x20
mov dword [esp + 0x288], edi
je 0x41c4ab
and ebx, 0xffffffdf
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], ebx
call fcn.0044a3d4
test bl, 0x10
mov dword [esp + 0x288], 7
je 0x41c4cb
and ebx, 0xffffffef
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], ebx
call fcn.0044a3d4
test bl, 8
mov dword [esp + 0x288], 6
je 0x41c4eb
and ebx, 0xfffffff7
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], ebx
call fcn.0044a3d4
test bl, 4
mov dword [esp + 0x288], 5
je 0x41c50b
and ebx, 0xfffffffb
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], ebx
call fcn.0044a3d4
test bl, 2
mov dword [esp + 0x288], 4
je 0x41c52b
and ebx, 0xfffffffd
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ebx
call fcn.0044a3d4
test bl, 1
mov dword [esp + 0x288], 3
je 0x41c54b
and ebx, 0xfffffffe
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
call fcn.0044a3d4
mov eax, dword [ebp + 0x148]
mov esi, 0xc
test eax, eax
mov edi, 0xb
je 0x41c59c
push str.OEM.INF
lea ecx, [esp + 0x34]
call fcn.0044a442
or ebx, 0x40
mov dword [esp + 0x10], ebx
push eax
lea edx, [esp + 0x20]
lea eax, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x294], 0xa
call fcn.0044a5b7
or bl, 0x80
mov dword [esp + 0x10], ebx
mov dword [esp + 0x288], edi
jmp 0x41c5da
push str..INF
lea ecx, [esp + 0x1c]
call fcn.0044a442
or bh, 1
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x294], esi
call fcn.0044a5b7
or bh, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x288], 0xd
push eax
lea ecx, [esp + 0x2c]
call fcn.0044a4c1
test bh, 2
mov dword [esp + 0x288], esi
je 0x41c600
and bh, 0xfd
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
call fcn.0044a3d4
test bh, 1
mov dword [esp + 0x288], edi
je 0x41c61c
and bh, 0xfe
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ebx
call fcn.0044a3d4
test bl, 0x80
mov dword [esp + 0x288], 0xa
je 0x41c63c
and bl, 0x7f
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], ebx
call fcn.0044a3d4
test bl, 0x40
mov dword [esp + 0x288], 3
je 0x41c655
lea ecx, [esp + 0x30]
call fcn.0044a3d4
mov ecx, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [esp + 0x3c]
push eax
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x41c74c
mov bl, 0xe
lea edx, [esp + 0x68]
lea ecx, [esp + 0x18]
push edx
call fcn.0044a442
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x294], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x28c], 0xf
call fcn.0044a4c1
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], bl
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 3
call fcn.0044a3d4
push ecx
lea edx, [esp + 0x294]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0044a149
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x294], 0x10
call fcn.0044a149
mov ecx, ebp
mov byte [esp + 0x290], 3
call fcn.0041c050
test eax, eax
je 0x41c725
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x298]
call fcn.00449c44
mov dword [esp + 0x2c], 1
lea edx, [esp + 0x3c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41c674
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x41c8f9
mov eax, dword [ebp + 0x148]
test eax, eax
jne 0x41c8f9
push str.INF_
lea ecx, [esp + 0x28]
call fcn.0044a442
mov esi, eax
lea eax, [esp + 0x17c]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x28c], 0x11
call fcn.0044a442
push esi
lea ecx, [esp + 0x18]
mov bl, 0x12
push eax
push ecx
mov byte [esp + 0x294], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x28c], 0x13
call fcn.0044a4c1
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], bl
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 0x11
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x288], 3
call fcn.0044a3d4
push 0x46ae0c
lea ecx, [esp + 0x1c]
call fcn.0044a442
push eax
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
mov bl, 0x14
push edx
push eax
mov byte [esp + 0x294], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x28c], 0x15
call fcn.0044a4c1
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], bl
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 3
call fcn.0044a3d4
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x3c]
push ecx
push edx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x41c8f9
mov bl, 0x17
lea eax, [esp + 0x68]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.0044a61d
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x28c], 0x16
call fcn.0044a4c1
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 3
call fcn.0044a3d4
push ecx
lea eax, [esp + 0x294]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0044a149
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x294], bl
call fcn.0044a149
mov ecx, ebp
mov byte [esp + 0x290], 3
call fcn.0041c050
test eax, eax
je 0x41c8de
mov ecx, dword [esp + 0x294]
lea eax, [esp + 0x20]
push eax
call fcn.00449c44
mov dword [esp + 0x2c], 1
lea ecx, [esp + 0x3c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41c84f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x28]
mov byte [esp + 0x288], 2
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 1
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x288], 0
call fcn.0044a3d4
lea ecx, [esp + 0x290]
mov dword [esp + 0x288], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x280]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x27c
ret 8