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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x7aca10]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x1c], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp ebx, 2
je 0x43ff43
test byte [edi + 0x98], 1
jne 0x43ff43
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004a7ad5
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x43ff4d
mov eax, dword [esi]
jmp 0x43ff4f
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
setne byte [esp + 0x17]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
sub ebx, 0
je 0x43ffc3
sub ebx, 1
je 0x43ff9f
sub ebx, 1
jne 0x44004b
cmp dword [esi + 0x14], 8
jb 0x43ff9b
mov ecx, dword [esi]
jmp 0x43ffc5
mov ecx, esi
jmp 0x43ffc5
cmp dword [esi + 0x14], 8
jb 0x43ffa9
mov ecx, dword [esi]
jmp 0x43ffab
mov ecx, esi
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x24]
call fcn.0043fc80
add esp, 4
cmp dword [esp + 0x18], 0
je 0x43ffd6
xor ecx, ecx
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x10]
call fcn.0043fc80
add esp, 4
cmp dword [esp + 0x10], 0
je 0x44004b
test byte [edi + 0x98], 1
je 0x440001
cmp dword [edi + 0x14], 8
jb 0x43fff0
mov edx, dword [edi]
jmp 0x43fff2
mov edx, edi
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
js 0x44004b
test byte [edi + 0x98], 2
je 0x440024
cmp dword [edi + 0x2c], 8
lea edx, [edi + 0x18]
jb 0x440015
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 0x44004b
test byte [edi + 0x98], 4
je 0x44009c
cmp dword [edi + 0x44], 8
lea edx, [edi + 0x30]
jb 0x440038
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 0x4400de
xor bl, bl
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44005b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x440069
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x440077
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x440085
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.004a7ad5
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x18], 0
je 0x4400de
push 0x208
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.004ab350
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 0x4400de
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test byte [edi + 0x98], 8
je 0x440105
cmp dword [edi + 0x5c], 8
lea edx, [edi + 0x48]
jb 0x4400f2
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 0x44004b
test byte [edi + 0x98], 0x10
je 0x44012f
cmp dword [edi + 0x74], 8
lea edx, [edi + 0x60]
jb 0x440119
mov edx, dword [edx]
mov eax, dword [esp + 0xc]
push dword [edi + 0x78]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
test eax, eax
js 0x44004b
mov ebx, dword [edi + 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 0x440155
test bl, bl
je 0x4401de
call fcn.00419240
cmp eax, 4
jl 0x4401de
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0
push 0x501aec
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x440214
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44004b
cmp byte [esp + 0x24], 0
je 0x4401b6
cmp dword [edi + 0x90], 8
lea ecx, [edi + 0x7c]
jb 0x4401a3
mov ecx, dword [ecx]
push ecx
mov ecx, eax
call fcn.00440c30
add esp, 4
test al, al
je 0x440214
mov eax, dword [esp + 0x1c]
test bl, bl
je 0x4401d4
movzx ecx, byte [edi + 0x94]
push ecx
mov ecx, eax
call fcn.00440bc0
add esp, 4
test al, al
je 0x440214
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4401de
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4401f4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x44020a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], 0
cmp dword [esi + 0x14], 8
jb 0x44022b
mov edx, dword [esi]
jmp 0x44022d
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44004b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x44004b
mov edx, esi
mov eax, dword [esp + 0x10]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x440252
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x440268
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xc], 0
test edi, edi
setns bl
test bl, bl
je 0x44004d
cmp byte [esp + 0x17], 0
je 0x440292
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x44004d
cmp dword [esi + 0x14], 8
jb 0x44029a
mov esi, dword [esi]
push 0
push esi
push 5
push 2
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x44004d