Function at 0x44e12f
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc6c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x44e23b
push 0x250
xor esi, esi
lea eax, [ebp - 0x46c]
push esi
push eax
call fcn.0049a3b0
push 0x800
lea eax, [ebp - 0xc6c]
push esi
push eax
call fcn.0049a3b0
push 0x208
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.0049a3b0
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
add esp, 0x24
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, esi
cmp word [0x503f90], si
je 0x44e242
push 0x503f90
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ecx, 0x503f90
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x44e245
push 0x104
lea eax, [ebp - 0x21c]
push eax
push ecx
push 0x503b80
call fcn.0047ab47
add esp, 0x10
test eax, eax
je 0x44e245
push 0x503b80
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push eax
call fcn.0047abea
add esp, 0xc
test eax, eax
je 0x44e245
cmp eax, 2
je 0x44e245
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44e245
push esi
push 0x104
lea eax, [ebp - 0x21c]
push eax
push esi
lea eax, [ebp - 0x14]
push 0x503f90
push eax
call fcn.0044d628
add esp, 0x18
test eax, eax
je 0x44e245
push dword [ebp + 0xc]
xor eax, eax
inc eax
mov dword [ebp - 8], eax
mov edi, eax
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x44e245
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
and dword [ebp + 8], esi
push 0x4cdb38
push 0x503b80
lea eax, [ebp - 0xc6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0xc6c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x44e372
mov ecx, 0x4cb7a8
lea eax, [ebp - 0x440]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44e2ad
test dx, dx
je 0x44e2a9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44e2ad
add eax, 4
add ecx, 4
test dx, dx
jne 0x44e287
xor eax, eax
jmp 0x44e2b4
sbb eax, eax
xor ecx, ecx
inc ecx
or eax, ecx
test eax, eax
je 0x44e346
mov ecx, 0x4cb7ac
lea eax, [ebp - 0x440]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44e2ed
test dx, dx
je 0x44e2e9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44e2ed
add eax, 4
add ecx, 4
test dx, dx
jne 0x44e2c7
xor eax, eax
jmp 0x44e2f4
sbb eax, eax
xor ecx, ecx
inc ecx
or eax, ecx
test eax, eax
je 0x44e346
mov eax, dword [ebp + 8]
xor ecx, ecx
test edi, edi
cmovne eax, ecx
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x46c]
and eax, 0x10
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0044d628
add esp, 0x18
test eax, eax
je 0x44e346
cmp dword [ebp - 8], esi
push 1
pop eax
push dword [ebp + 0xc]
cmovne edi, eax
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
je 0x44e360
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44e27c
jmp 0x44e365
xor eax, eax
lea esi, [eax + 1]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
jne 0x44e39c
and dword [ebp - 0x14], 0
xor eax, eax
push dword [ebp + 0xc]
test edi, edi
mov dword [ebp - 0x10], str.English__US_
mov dword [ebp - 0xc], 3
sete al
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
call ebx
neg eax
sbb esi, esi
inc esi
xor eax, eax
inc eax
xor eax, esi
jmp 0x44e23d