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

Disassembly:
push 0xffffffffffffffff
push 0x4d8fdb
mov eax, dword fs:[0]
push eax
mov eax, 0x128
call fcn.00468d20
mov eax, dword [0x5808f0]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5808f0]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov edx, dword [esp + 0x154]
mov ebp, dword [esp + 0x150]
mov eax, dword [esp + 0x14c]
push edx
push ebp
push eax
call fcn.0041ca10
xor ebx, ebx
xor eax, eax
mov word [esp + 0xc0], ax
mov eax, ebp
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], ebx
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x441030
sub eax, ecx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0xc4]
call fcn.0041c510
push 1
push 0xffffffffffffffff
push 0x4e174c
lea ecx, [esp + 0xc8]
mov dword [esp + 0x150], ebx
call fcn.0041b940
mov esi, eax
push esi
push ebx
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0xc8]
call fcn.0041c930
push 0xffffffffffffffff
inc esi
push esi
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0xc8]
mov byte [esp + 0x150], 1
call fcn.0041c930
mov esi, dword [esp + 0xb4]
lea eax, [esi + 1]
push eax
mov byte [esp + 0x148], 2
call fcn.004691cd
add esp, 4
cmp dword [esp + 0xb8], 8
mov edi, eax
mov eax, dword [esp + 0xa4]
jae 0x4410d6
lea eax, [esp + 0xa4]
push esi
push edi
push esi
push eax
call fcn.0041a9c0
add esp, 0x10
push ebx
lea ecx, [esp + 0xf8]
call fcn.004034d0
push edi
push esi
push edi
lea ecx, [esp + 0x100]
call fcn.00403570
mov ebx, eax
lea ecx, [ebx + ebx + 2]
push ecx
call fcn.004691cd
add esp, 4
push ebx
mov esi, eax
push esi
push ebx
xor edx, edx
mov word [esi + ebx*2], dx
push edi
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov word [esp + 0x88], ax
mov eax, esi
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], ebx
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x441144
sub eax, ecx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x8c]
call fcn.0041c510
push edi
call fcn.004690f0
push esi
call fcn.004690f0
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
xor edx, edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], dx
push 0x4e174c
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x158], 5
call fcn.0042cd00
lea edx, [esp + 0x98]
push edx
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x164], 6
call fcn.00436b20
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x150], 7
call fcn.0041c410
mov ebx, 8
cmp dword [esp + 0x48], ebx
jb 0x441200
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004699ce
add esp, 4
xor edx, edx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], dx
mov byte [esp + 0x144], 5
cmp dword [esp + 0x2c], ebx
jb 0x441232
mov eax, dword [esp + 0x18]
push eax
call fcn.004699ce
add esp, 4
push 1
push 0xffffffffffffffff
push 0x4e1750
lea ecx, [esp + 0x58]
call fcn.0041b940
push 1
push 0xffffffffffffffff
push 0x4e174c
lea ecx, [esp + 0x58]
mov esi, eax
call fcn.0041b940
mov edi, eax
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], ebx
jae 0x441268
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x154]
push eax
push ecx
push ebp
call fcn.0046a38b
add esp, 0xc
cmp esi, 0xffffffff
je 0x441303
cmp esi, edi
jbe 0x441303
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x58]
call fcn.0041c930
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x150], 8
call fcn.0041c410
mov byte [esp + 0x144], 5
cmp dword [esp + 0x2c], ebx
jb 0x4412c9
mov eax, dword [esp + 0x18]
push eax
call fcn.004699ce
add esp, 4
push esi
push 0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x58]
call fcn.0041c930
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x150], 9
call fcn.0041c410
cmp dword [esp + 0x2c], ebx
jb 0x441303
mov edx, dword [esp + 0x18]
push edx
call fcn.004699ce
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebp
xor esi, esi
call edi
cmp eax, 0xffffffff
je 0x441354
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x80], ebx
jae 0x441324
lea ecx, [esp + 0x6c]
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], ebx
jae 0x441332
lea eax, [esp + 0x50]
push ecx
push esi
push eax
mov eax, dword [esp + 0x160]
push str._s__d__s
push eax
push ebp
call fcn.0046a2b8
add esp, 0x18
push ebp
inc esi
call edi
cmp eax, 0xffffffff
jne 0x441313
cmp dword [esp + 0x80], ebx
jb 0x44136a
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.004699ce
add esp, 4
xor edi, edi
xor edx, edx
mov esi, 7
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], edi
mov word [esp + 0x6c], dx
cmp dword [esp + 0x64], ebx
jb 0x441396
mov eax, dword [esp + 0x50]
push eax
call fcn.004699ce
add esp, 4
xor ecx, ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], edi
mov word [esp + 0x50], cx
cmp dword [esp + 0x9c], ebx
jb 0x4413be
mov edx, dword [esp + 0x88]
push edx
call fcn.004699ce
add esp, 4
xor eax, eax
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], edi
mov word [esp + 0x88], ax
cmp dword [esp + 0xb8], ebx
jb 0x4413ef
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.004699ce
add esp, 4
xor edx, edx
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], edi
mov word [esp + 0xa4], dx
cmp dword [esp + 0xf0], ebx
jb 0x441420
mov eax, dword [esp + 0xdc]
push eax
call fcn.004699ce
add esp, 4
xor ecx, ecx
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], edi
mov word [esp + 0xdc], cx
cmp dword [esp + 0xd4], ebx
jb 0x441451
mov edx, dword [esp + 0xc0]
push edx
call fcn.004699ce
add esp, 4
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004690b5
add esp, 0x134
ret 0xc