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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e1dc
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x46972c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
lea ecx, [ebp - 0x10]
call fcn.00401be0
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.00422660
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jge 0x44b8c2
mov dword [ebp - 0x234], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401a80
mov eax, dword [ebp - 0x234]
jmp 0x44bb85
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44b90d
mov ecx, dword [ebp + 0xc]
push ecx
push 0x45da88
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x24c]
call fcn.00449fb0
mov dword [ebp - 0x238], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401a80
mov eax, dword [ebp - 0x238]
jmp 0x44bb85
mov ecx, dword [ebp - 0x24c]
call fcn.004483c0
test eax, eax
je 0x44bb50
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401a60
push 0
push str.x86_
lea ecx, [ebp - 0x10]
call fcn.00401270
cmp eax, 1
jle 0x44b9bc
push 0x45db20
push str.__x86_
lea ecx, [ebp - 0x10]
call fcn.00401090
mov ecx, dword [ebp - 0x10]
push ecx
push 0x45db34
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44b9bc
lea ecx, [ebp - 0x224]
push ecx
push str.IsFileExist___returns_TRUE__FILE_FOUND_with_GetFileAttributes___:
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x24c]
call fcn.00449fb0
mov dword [ebp - 0x23c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401a80
mov eax, dword [ebp - 0x23c]
jmp 0x44bb85
push 0
push 0x45dbcc
lea ecx, [ebp - 0x10]
call fcn.00401270
cmp eax, 1
jle 0x44ba4c
push str.SysWOW64
push str.system32
lea ecx, [ebp - 0x10]
call fcn.00401090
mov eax, dword [ebp - 0x10]
push eax
push 0x45dc08
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44ba4c
lea eax, [ebp - 0x224]
push eax
push str.IsFileExist___returns_TRUE__FILE_FOUND_with_GetFileAttributes____SysWOW64_:
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x24c]
call fcn.00449fb0
mov dword [ebp - 0x240], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401a80
mov eax, dword [ebp - 0x240]
jmp 0x44bb85
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x230], 0
push 0x45dcb0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x44ba92
push str.Wow64DisableWow64FsRedirection
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0x22c]
test eax, eax
je 0x44bb43
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x24c]
call fcn.004481b0
test eax, eax
je 0x44bb21
mov edx, dword [ebp + 0xc]
push edx
push str.IsFileExist___returns_TRUE__FILE_FOUND_with_SearchFiles____after_DisableWow64FsRedirection_:
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24c]
call fcn.00449fb0
push 0x45ddb4
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x230], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [ebp - 0x230]
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x244], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401a80
mov eax, dword [ebp - 0x244]
jmp 0x44bb85
push str.Wow64RevertWow64FsRedirection
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x230], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [ebp - 0x230]
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x104
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.00422660
add esp, 0xc
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401a80
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00422647
mov esp, ebp
pop ebp
ret 8