Function at 0x44f690
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x484
mov eax, ecx
mov cl, 1
mov dword [esp + 0x28], eax
push ebx
push esi
mov al, byte [eax + 1]
cmp cl, al
mov cl, 2
push edi
sbb edx, edx
and edx, dword [0x4ae864]
cmp cl, al
mov cl, 3
mov dword [esp + 0x18], edx
sbb edi, edi
and edi, dword [0x4ae868]
cmp cl, al
mov dword [esp + 0x2c], edi
sbb ecx, ecx
and ecx, dword [0x4ae86c]
mov dword [esp + 0x28], ecx
mov cl, 4
cmp cl, al
sbb ecx, ecx
and ecx, dword [0x4ae870]
mov dword [esp + 0x24], ecx
mov cl, 5
cmp cl, al
mov cl, 6
sbb ebx, ebx
and ebx, dword [0x4ae874]
cmp cl, al
mov cl, 7
sbb esi, esi
and esi, dword [0x4ae878]
cmp cl, al
sbb eax, eax
and eax, dword [0x4ae87c]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x44f723
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, edx
call fcn.004744e0
test edi, edi
je 0x44f736
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.004744e0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x44f74d
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004744e0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44f764
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004744e0
test ebx, ebx
je 0x44f777
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004744e0
test esi, esi
je 0x44f78a
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004744e0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44f7a1
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004744e0
mov edi, dword [ebp + 8]
push 0x2a
push edi
mov byte [esp + 0x1b], 0
call fcn.004855e4
add esp, 8
test eax, eax
jne 0x44f804
push 0x3f
push edi
call fcn.004855e4
add esp, 8
test eax, eax
jne 0x44f804
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44f81f
mov eax, dword [0x4aa1d8]
test byte [eax + 0xe0], 1
jne 0x44fa2c
mov ecx, dword [0x4ad0c8]
push 1
push 0
push 0xffffffffffffffff
push 0x49e628
call fcn.004744e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x140]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x44f7d3
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x14]
push eax
push 0x4977a0
push 1
push 0
push 0x4977b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x44fa0d
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 0x4977c0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x44fa03
push 0x105
lea eax, [esp + 0x284]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x280]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x44f9f9
mov edi, dword [esp + 0x18]
test edi, edi
je 0x44f8cb
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push 2
push 0
push 0x104
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xc]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.004744e0
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x44f8f9
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push 0x104
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.004744e0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x44f927
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push 0x104
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x28]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.004744e0
mov edi, dword [esp + 0x24]
test edi, edi
je 0x44f955
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push 0x104
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.004744e0
test ebx, ebx
jne 0x44f95d
test esi, esi
je 0x44f9b7
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x104
lea ecx, [esp + 0x40]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x40]
test ebx, ebx
je 0x44f98c
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
call fcn.004744e0
test esi, esi
je 0x44f9b7
cmp byte [esp + 0x38], 0
mov ecx, esi
je 0x44f9aa
mov eax, dword [esp + 0x18]
inc eax
push 0x18
cdq
push edx
push eax
call fcn.00401330
jmp 0x44f9b7
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.004744e0
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x44f9de
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [esp + 0x30]
mov ecx, esi
push 0x18
cdq
push edx
push eax
call fcn.00401330
mov ecx, dword [0x4ad0c8]
push 1
push 0
push 0xffffffffffffffff
push 0x49bca8
call fcn.004744e0
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp byte [esp + 0x13], 0
je 0x44f7d3
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x34]
push 0x49bc4d
push 0
push 0x49e628
call fcn.0042c8f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4