Function at 0x43f640
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xad8
mov eax, dword [0x519008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x2ac]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [ebp - 0xad4], ebx
push ecx
mov ecx, esi
mov dword [ebp - 0xac0], esi
call fcn.0042b470
add esp, 4
push 0xa
push str.APP:_temp_
push esi
call fcn.0040c03e
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x2ac]
push eax
push 0x51d9e4
push str._s_temp__s
lea eax, [ebp - 0x4ac]
push 0x200
push eax
call fcn.004014e0
add esp, 0x14
test esi, esi
je 0x43f6fb
mov ecx, dword [ebp - 0xac0]
lea edx, [ebp - 0x4ac]
call fcn.0042b800
test al, al
jne 0x43f6fb
test ebx, ebx
je 0x43f6e3
mov edx, dword [ebp + 0xc]
mov ecx, ebx
push 0
push 4
push dword [edi + 4]
call fcn.004370e0
add esp, 0xc
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret 0xc
push 0x200
lea eax, [ebp - 0xaac]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x4ac]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x43fbe3
cmp word [ebp + eax*2 - 0xaac], 0
je 0x43f73a
xor ecx, ecx
mov word [ebp + eax*2 - 0xaac], cx
lea eax, [ebp - 0xaac]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43fbe3
test al, 0x10
jne 0x43fbe3
or eax, 0xffffffff
lea ecx, [ebp - 0xab4]
mov dword [ebp - 0xab4], eax
mov word [ebp - 0xab0], ax
mov byte [ebp - 0xab3], 0xfe
mov byte [ebp - 0xab1], 0xfc
call fcn.00438fc0
mov ecx, dword [edi + 8]
mov dword [ebp - 0x1ac], 0x7c045523
mov eax, dword [ecx]
cmp eax, vtable.cpubridge::CPUChannelFakeCPU.0
jne 0x43fc13
jmp 0x43fbb3
mov byte [ebp - 0x1ac], 0x4d
mov eax, dword [ecx]
cmp eax, vtable.cpubridge::CPUChannelFakeCPU.0
jne 0x43fc72
jmp 0x43fb83
push 0x51d9e4
push str._s_last_installed_cpu
lea eax, [ebp - 0x6ac]
push 0x200
push eax
call fcn.004014e0
add esp, 0x10
lea ecx, [ebp - 0x6ac]
xor dl, dl
call fcn.0042b8f0
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
cmp eax, vtable.cpubridge::CPUChannelFakeCPU.0
jne 0x43fcc7
jmp 0x43fb53
cmp byte [esi + edx], 0x53
jne 0x43fa8c
mov al, byte [esi + edx + 1]
lea ecx, [edx + 2]
push 2
add ecx, esi
mov byte [ebp - 0xab5], al
lea edx, [ebp - 0xac4]
mov dword [ebp - 0xac4], 0
call fcn.0042d4c0
mov al, byte [ebp - 0xab5]
add esp, 4
add esi, 4
cmp al, 0x30
je 0x43f94e
cmp al, 0x33
je 0x43f94e
cmp al, 0x38
je 0x43f94e
cmp al, 0x39
mov eax, dword [ebp - 0xac4]
je 0x43f954
cmp al, 4
je 0x43f954
lea ecx, [ebp - 0xacc]
push ecx
lea ecx, [ebp - 0x1ac]
push ecx
push 0
push eax
mov ecx, edi
call fcn.0043fdb0
test al, al
je 0x43f972
mov eax, dword [ebp - 0xac4]
xor bl, bl
movzx eax, al
dec eax
mov dword [ebp - 0xac0], eax
test eax, eax
jle 0x43f8e3
push esi
push dword [ebp - 0xabc]
call fcn.0043fe50
mov byte [ebp - 0xad8], al
mov ecx, edi
lea eax, [ebp - 0xacc]
add esi, 2
push eax
lea eax, [ebp - 0x1ac]
push eax
push 0
push dword [ebp - 0xad8]
call fcn.0043fdb0
test al, al
je 0x43f924
inc bl
movzx eax, bl
cmp eax, dword [ebp - 0xac0]
jl 0x43f8a0
mov ebx, dword [ebp - 0xad4]
add esi, 4
mov eax, esi
shr eax, 0xa
movzx eax, ax
mov dword [ebp - 0xac0], eax
cmp ax, word [ebp - 0xac8]
je 0x43f95d
movzx ecx, ax
mov dword [ebp - 0xac8], ecx
test ebx, ebx
je 0x43f95d
push eax
push 1
push dword [edi + 4]
xor edx, edx
mov ecx, ebx
call fcn.004370e0
add esp, 0xc
jmp 0x43f95d
mov ebx, dword [ebp - 0xad4]
mov dword [ebp - 0xad0], 9
test ebx, ebx
je 0x43f8e9
mov edx, dword [ebp + 0xc]
mov ecx, ebx
push 7
push 9
push dword [edi + 4]
call fcn.004370e0
add esp, 0xc
jmp 0x43f8e9
mov eax, dword [ebp - 0xac4]
movzx eax, al
lea esi, [esi + eax*2]
add esi, 2
mov al, byte [ebp - 0xab5]
cmp al, 0x37
jae 0x43f998
mov edx, dword [ebp - 0xabc]
jmp 0x43f800
mov esi, 9
test ebx, ebx
je 0x43fa2a
push 6
mov edx, dword [ebp + 0xc]
mov ecx, ebx
push 9
push dword [edi + 4]
call fcn.004370e0
add esp, 0xc
jmp 0x43fa2a
mov esi, dword [ebp - 0xad0]
cmp esi, 2
jne 0x43fa2a
lea eax, [ebp - 0xacc]
mov ecx, edi
push eax
lea eax, [ebp - 0x1ac]
push eax
push 0
push 4
call fcn.0043fdb0
mov ecx, dword [edi + 8]
mov esi, dword [ebp - 0xacc]
mov eax, dword [ecx]
cmp eax, vtable.cpubridge::CPUChannelFakeCPU.0
jne 0x43fd3b
xor cl, cl
xor eax, eax
test esi, esi
je 0x43f9ec
mov edi, edi
add cl, byte [ebp + eax - 0x1ac]
inc eax
cmp eax, esi
jb 0x43f9e0
xor cl, cl
xor eax, eax
mov byte [ebp - 0xac8], cl
test esi, esi
je 0x43fa12
lea ebx, [ebx]
add cl, byte [ebp + eax - 0x1ac]
inc eax
cmp eax, esi
jb 0x43fa00
mov byte [ebp - 0xac8], cl
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
cmp eax, vtable.cpubridge::CPUChannelFakeCPU.0
jne 0x43fd4e
jmp 0x43fa7c
mov esi, dword [ebp - 0xad0]
mov edx, dword [ebp - 0xabc]
mov ebx, dword [ebp - 0xab4]
mov eax, dword [ebx]
cmp eax, vtable.rhea::AllocatorSimple_class_rhea::AllocatorTrackingPolicy_simple_.0
jne 0x43fd8b
movzx ecx, byte [edx - 4]
add edx, 0xfffffff8
shl ecx, 8
push edx
movzx eax, byte [edx + 5]
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 0x10
or ecx, eax
movzx eax, byte [edx + 6]
dec dword [ebx + 0x18]
and ecx, 0x3fffffff
shl eax, 8
or ecx, eax
sub dword [ebx + 0x1c], ecx
call fcn.0040beca
add esp, 4
jmp 0x43fa9c
mov esi, 9
test ebx, ebx
je 0x43fa2a
push 8
jmp 0x43f981
mov esi, 9
test ebx, ebx
je 0x43fa30
push 5
jmp 0x43f981
cmp esi, 2
jne 0x43fb3e
lea eax, [ebp - 0x2ac]
push eax
push 0x51d9e4
push str._s_last_installed_cpu__s
lea eax, [ebp - 0x6ac]
push 0x200
push eax
call fcn.004014e0
add esp, 0x14
lea edx, [ebp - 0x6ac]
lea ecx, [ebp - 0x4ac]
call fcn.0042b800
push 0x200
lea eax, [ebp - 0xaac]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x4ac]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x43fb23
cmp word [ebp + eax*2 - 0xaac], 0
je 0x43fb16
xor ecx, ecx
mov word [ebp + eax*2 - 0xaac], cx
lea eax, [ebp - 0xaac]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x1ac], 0x7c045523
mov edx, dword [ecx]
cmp edx, vtable.cpubridge::CPUChannelFakeCPU.0
jne 0x43fd98
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret 0xc
test ebx, ebx
je 0x43fb6b
mov edx, dword [ebp + 0xc]
mov ecx, ebx
push 0
push 8
push dword [edi + 4]
call fcn.004370e0
add esp, 0xc
mov eax, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret 0xc
test ebx, ebx
je 0x43fb9b
mov edx, dword [ebp + 0xc]
mov ecx, ebx
push 0
push 7
push dword [edi + 4]
call fcn.004370e0
add esp, 0xc
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret 0xc
test ebx, ebx
je 0x43fbcb
mov edx, dword [ebp + 0xc]
mov ecx, ebx
push 0
push 6
push dword [edi + 4]
call fcn.004370e0
add esp, 0xc
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret 0xc
test ebx, ebx
je 0x43fbfb
mov edx, dword [ebp + 0xc]
mov ecx, ebx
push 0
push 5
push dword [edi + 4]
call fcn.004370e0
add esp, 0xc
mov ecx, dword [ebp - 8]
mov eax, 5
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403d8c
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 4]
lea edx, [ebp - 0x1ac]
push 4
push edx
call dword [eax + 0x1c]
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
cmp eax, vtable.cpubridge::CPUChannelFakeCPU.0
je 0x43fbb3
mov eax, dword [eax + 0x24]
push 0
push 0x2710
push 0x6b
call eax
test al, al
je 0x43fbb3
mov ecx, dword [edi + 8]
mov byte [ebp - 0x1ac], 0x6b
mov eax, dword [ecx]
cmp eax, vtable.cpubridge::CPUChannelFakeCPU.0
je 0x43f7a0
push dword [edi + 4]
lea edx, [ebp - 0x1ac]
push 1
push edx
call dword [eax + 0x1c]
mov ecx, dword [edi + 8]
jmp 0x43f7a0
push dword [edi + 4]
lea edx, [ebp - 0x1ac]
push 1
push edx
call dword [eax + 0x1c]
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
cmp eax, vtable.cpubridge::CPUChannelFakeCPU.0
je 0x43fb83
mov eax, dword [eax + 0x24]
push 0
push 0x2710
push 0x4d
call eax
test al, al
je 0x43fb83
test ebx, ebx
je 0x43f7b9
push 0
push 0
push dword [edi + 4]
xor edx, edx
mov ecx, ebx
call fcn.004370e0
add esp, 0xc
jmp 0x43f7b9
mov eax, dword [eax + 0x24]
push 0
push 0x3a98
push 0x68
call eax
test al, al
je 0x43fb53
mov edx, dword [0x51dd94]
lea eax, [ebp - 0xac0]
push eax
lea ecx, [ebp - 0x4ac]
mov dword [ebp - 0xab4], edx
mov dword [ebp - 0xac0], 0
call fcn.0042af00
mov ecx, 0xffff
mov edx, eax
xor esi, esi
mov dword [ebp - 0xac8], ecx
add esp, 4
mov dword [ebp - 0xabc], edx
xor ecx, ecx
mov dword [ebp - 0xacc], esi
mov eax, 2
mov dword [ebp - 0xac0], ecx
mov dword [ebp - 0xad0], eax
jmp 0x43f800
push dword [edi + 4]
lea edx, [ebp - 0x1ac]
push esi
push edx
call dword [eax + 0x1c]
jmp 0x43f9d6
mov eax, dword [eax + 0x24]
push 0
push 0x5a
push dword [ebp - 0xac8]
call eax
test al, al
je 0x43fa7c
test ebx, ebx
je 0x43fa24
mov ecx, dword [ebp - 0xac0]
mov edx, dword [ebp + 0xc]
push ecx
push 2
push dword [edi + 4]
mov ecx, ebx
call fcn.004370e0
add esp, 0xc
jmp 0x43fa24
push 0
push edx
mov ecx, ebx
call dword [eax + 0x10]
jmp 0x43fa9c
push dword [edi + 4]
lea eax, [ebp - 0x1ac]
push 4
push eax
call dword [edx + 0x1c]
jmp 0x43fb3e