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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x5d4074]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
mov esi, edx
mov dword [esp + 0x20], 0
push edi
mov edi, ecx
test byte [esi + 0x98], 1
jne 0x49ae49
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004a04e0
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14], 8
jb 0x49ae53
mov eax, dword [edi]
jmp 0x49ae55
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [esp + 0x20], 0
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0
setne byte [esp + 0x13]
mov dword [esp + 0xc], 0
push eax
lea edx, [esp + 0x10]
mov dword [esp + 0x18], 0
xor ecx, ecx
call fcn.0049ad10
add esp, 4
cmp dword [esp + 0x14], 0
je 0x49af0c
test byte [esi + 0x98], 1
je 0x49aec2
cmp dword [esi + 0x14], 8
jb 0x49aeb1
mov edx, dword [esi]
jmp 0x49aeb3
mov edx, esi
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
test eax, eax
js 0x49af0c
test byte [esi + 0x98], 2
je 0x49aee5
cmp dword [esi + 0x2c], 8
lea edx, [esi + 0x18]
jb 0x49aed6
mov edx, dword [edx]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
js 0x49af0c
test byte [esi + 0x98], 4
je 0x49af61
cmp dword [esi + 0x44], 8
lea edx, [esi + 0x30]
jb 0x49aef9
mov edx, dword [edx]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jns 0x49afa3
xor bl, bl
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x49af24
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x49af2e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49af3c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x49af4a
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov ecx, dword [esp + 0x234]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a04e0
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x1c], 0
je 0x49afa3
push 0x208
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.0052eb40
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x34]
add esp, 0xc
mov ecx, dword [eax]
push 0x104
push edx
push eax
call dword [ecx + 0x28]
test eax, eax
js 0x49afa3
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test byte [esi + 0x98], 8
je 0x49afca
cmp dword [esi + 0x5c], 8
lea edx, [esi + 0x48]
jb 0x49afb7
mov edx, dword [edx]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x49af0c
test byte [esi + 0x98], 0x10
je 0x49aff4
cmp dword [esi + 0x74], 8
lea edx, [esi + 0x60]
jb 0x49afde
mov edx, dword [edx]
mov eax, dword [esp + 0xc]
push dword [esi + 0x78]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
test eax, eax
js 0x49af0c
mov ebx, dword [esi + 0x98]
mov eax, ebx
shr eax, 5
shr ebx, 6
and eax, 0xffffff01
and bl, 1
mov dword [esp + 0x24], eax
test al, al
jne 0x49b01a
test bl, bl
je 0x49b0a3
call fcn.0042e540
cmp eax, 4
jl 0x49b0a3
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 0
push 0x5c4128
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x49b0d9
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49af0c
cmp byte [esp + 0x24], 0
je 0x49b07b
cmp dword [esi + 0x90], 8
lea ecx, [esi + 0x7c]
jb 0x49b068
mov ecx, dword [ecx]
push ecx
mov ecx, eax
call fcn.0049b5d0
add esp, 4
test al, al
je 0x49b0d9
mov eax, dword [esp + 0x18]
test bl, bl
je 0x49b099
movzx ecx, byte [esi + 0x94]
push ecx
mov ecx, eax
call fcn.0049b560
add esp, 4
test al, al
je 0x49b0d9
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49b0a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49b0b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49b0cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], 0
cmp dword [edi + 0x14], 8
jb 0x49b0f0
mov edx, dword [edi]
jmp 0x49b0f2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49af0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x49af0c
mov edx, edi
mov ecx, dword [esp + 0x14]
push 1
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esp + 0x14]
mov esi, eax
test ecx, ecx
je 0x49b117
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x49b12b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esp + 0xc], eax
test esi, esi
setns bl
test bl, bl
je 0x49af12
cmp byte [esp + 0x13], 0
je 0x49b155
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x49af0e
cmp dword [edi + 0x14], 8
jb 0x49b15d
mov edi, dword [edi]
push 0
push edi
push 5
push 2
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x49af0e