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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4595a0
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x46d394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1e4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x68]
call fcn.004093c0
mov dword [ebp - 4], 0
push 0x4628f8
mov ecx, dword [ebp - 0x1ec]
push ecx
lea edx, [ebp - 0xc8]
push edx
call fcn.0040a860
add esp, 0xc
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f4], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x1f4]
push edx
lea eax, [ebp - 0xe4]
push eax
call fcn.0040a8f0
add esp, 0xc
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1f8]
call fcn.00407120
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov byte [ebp - 0xa9], cl
lea ecx, [ebp - 0xe4]
call fcn.00407100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.00407100
movzx edx, byte [ebp - 0xa9]
test edx, edx
je 0x446fb2
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x1e8]
call fcn.004093c0
mov ecx, dword [ebp - 0x1e4]
or ecx, 1
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00407100
mov eax, dword [ebp - 0x1e8]
jmp 0x4473c4
mov edx, dword [0x4633d4]
push edx
push 0x2e
mov ecx, dword [ebp + 8]
call fcn.0040a280
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [0x4633d4]
jne 0x446fdc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1fc], ecx
jmp 0x447056
mov edx, dword [ebp - 0x4c]
push edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040a120
mov ecx, eax
call fcn.0040a2a0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040a120
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x104]
call fcn.0040a0a0
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x204], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1e4]
or edx, 2
mov dword [ebp - 0x1e4], edx
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0xe8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004093c0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x1e4]
and eax, 2
je 0x447095
and dword [ebp - 0x1e4], 0xfffffffd
lea ecx, [ebp - 0x104]
call fcn.00407100
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [0x4633d4]
jne 0x4470de
lea ecx, [ebp - 0x13c]
call fcn.00407980
mov dword [ebp - 0x208], eax
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x20c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1e4]
or eax, 4
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
jmp 0x44715b
lea edx, [ebp - 0x160]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040a150
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x168]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040a120
mov ecx, eax
call fcn.0040a2a0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x158]
call fcn.0040a0a0
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x1e4]
or ecx, 8
mov dword [ebp - 0x1e4], ecx
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x210], edx
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004093c0
mov dword [ebp - 4], 8
mov edx, dword [ebp - 0x1e4]
and edx, 8
je 0x44719a
and dword [ebp - 0x1e4], 0xfffffff7
lea ecx, [ebp - 0x158]
call fcn.00407100
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1e4]
and eax, 4
je 0x4471bb
and dword [ebp - 0x1e4], 0xfffffffb
lea ecx, [ebp - 0x13c]
call fcn.00407100
mov dword [ebp - 0x6c], 1
jmp 0x4471cd
mov ecx, dword [ebp - 0x6c]
add ecx, 1
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0x3e8
jge 0x447379
xor edx, edx
mov word [ebp - 0x8c], dx
xor eax, eax
mov dword [ebp - 0x8a], eax
mov dword [ebp - 0x86], eax
mov dword [ebp - 0x82], eax
mov dword [ebp - 0x7e], eax
mov dword [ebp - 0x7a], eax
mov dword [ebp - 0x76], eax
mov dword [ebp - 0x72], eax
mov word [ebp - 0x6e], ax
push 0xa
push 0x10
lea ecx, [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.0042f911
add esp, 0x10
push 0x4628fc
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18c]
push ecx
call fcn.0040a860
add esp, 0xc
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], edx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
lea edx, [ebp - 0x1a8]
push edx
call fcn.0040a860
add esp, 0xc
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x228]
push edx
lea eax, [ebp - 0x1c4]
push eax
call fcn.0040a8f0
add esp, 0xc
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x230], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x230]
push edx
lea ecx, [ebp - 0x68]
call fcn.0040a100
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c4]
call fcn.00407100
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1a8]
call fcn.00407100
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18c]
call fcn.00407100
push 0x462900
mov eax, dword [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x1e0]
push ecx
call fcn.0040a860
add esp, 0xc
mov dword [ebp - 0x234], eax
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
lea edx, [ebp - 0xa8]
push edx
call fcn.0040a8f0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1e0]
call fcn.00407100
lea ecx, [ebp - 0xa8]
call fcn.00407120
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x447369
lea ecx, [ebp - 0xa8]
call fcn.00407100
jmp 0x447379
lea ecx, [ebp - 0xa8]
call fcn.00407100
jmp 0x4471c4
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x1e8]
call fcn.004093c0
mov ecx, dword [ebp - 0x1e4]
or ecx, 1
mov dword [ebp - 0x1e4], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.00407100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00407100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00407100
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e367
mov esp, ebp
pop ebp
ret 4