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

Disassembly:
push 0xffffffffffffffff
push 0x4a0aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4c84d4]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c84d4]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x80]
mov ebx, 0x10
cmp dword [esp + 0x94], ebx
jae 0x4440a4
lea eax, [esp + 0x80]
push eax
lea esi, [esp + 0x50]
call fcn.00443ed0
add esp, 4
mov byte [esp + 0x74], 1
mov esi, dword [esp + 0x64]
cmp esi, ebx
mov edi, dword [esp + 0x50]
mov ecx, edi
jae 0x4440c8
lea ecx, [esp + 0x50]
call fcn.00444350
test eax, eax
jne 0x44410f
cmp esi, ebx
jb 0x4440de
push edi
call fcn.00460054
add esp, 4
cmp dword [esp + 0x94], ebx
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebp
mov byte [esp + 0x50], 0
jb 0x444108
mov eax, dword [esp + 0x80]
push eax
call fcn.00460054
add esp, 4
xor eax, eax
jmp 0x444331
cmp dword [esp + 0x94], ebx
mov eax, dword [esp + 0x80]
jae 0x444126
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov edi, 0xf
je 0x44413f
test bl, al
jne 0x4442f3
cmp dword [esp + 0x98], ebp
je 0x4441fc
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebp
mov byte [esp + 0x34], 0
mov byte [esp + 0x74], 2
cmp dword [esp + 0x94], ebx
mov eax, dword [esp + 0x80]
jae 0x444175
lea eax, [esp + 0x80]
push eax
push str._s
lea ecx, [esp + 0x1c]
call fcn.0044a470
add esp, 8
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 3
call fcn.004081b0
mov byte [esp + 0x74], 2
cmp dword [esp + 0x2c], ebx
jb 0x4441b4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00460054
add esp, 4
cmp dword [esp + 0x48], ebx
mov eax, dword [esp + 0x34]
jae 0x4441c2
lea eax, [esp + 0x34]
push ebp
push 4
push eax
call fcn.00469490
cmp eax, 7
lea ecx, [esp + 0x30]
jne 0x4441f2
call fcn.00408d90
lea ecx, [esp + 0x4c]
call fcn.00408d90
lea ecx, [esp + 0x7c]
call fcn.00408d90
xor eax, eax
jmp 0x444331
mov byte [esp + 0x74], 1
call fcn.00408d90
lea edx, [esp + 0x7c]
push edx
call fcn.00444430
add esp, 4
test eax, eax
jne 0x4442f3
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebp
mov byte [esp + 0x34], al
mov byte [esp + 0x74], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4b2af4
lea ecx, [esp + 0x1c]
call fcn.0044a470
add esp, 8
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 5
call fcn.004081b0
mov byte [esp + 0x74], 4
cmp dword [esp + 0x2c], ebx
jb 0x444267
mov eax, dword [esp + 0x18]
push eax
call fcn.00460054
add esp, 4
push ebp
lea ecx, [esp + 0x80]
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x38]
call fcn.00403f60
cmp dword [esp + 0x48], ebx
mov eax, dword [esp + 0x34]
jae 0x44428a
lea eax, [esp + 0x34]
push ebp
push ebp
push eax
call fcn.00469490
cmp dword [esp + 0x48], ebx
jb 0x4442a5
mov edx, dword [esp + 0x34]
push edx
call fcn.00460054
add esp, 4
cmp dword [esp + 0x64], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebp
mov byte [esp + 0x34], 0
jb 0x4442c5
mov eax, dword [esp + 0x50]
push eax
call fcn.00460054
add esp, 4
cmp dword [esp + 0x94], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebp
mov byte [esp + 0x50], 0
jb 0x444108
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00460054
add esp, 4
xor eax, eax
jmp 0x444331
cmp dword [esp + 0x64], ebx
jb 0x444306
mov edx, dword [esp + 0x50]
push edx
call fcn.00460054
add esp, 4
cmp dword [esp + 0x94], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebp
mov byte [esp + 0x50], 0
jb 0x44432c
mov eax, dword [esp + 0x80]
push eax
call fcn.00460054
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0047d992
add esp, 0x64
ret