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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a815
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00404380
add esp, 4
test eax, eax
jne 0x40455f
xor eax, eax
jmp 0x404779
push 4
lea ecx, [ebp - 0x14]
call fcn.00402190
lea ecx, [ebp - 0x14]
call fcn.004028d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push ecx
call fcn.00426390
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004028f0
push eax
push str.__s_sandbox_start.exe___silent__box:_s_delete_sandbox_silent
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402d60
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004028b0
nop
mov dword [ebp - 0x1c], 0
jmp 0x4045ce
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x14
jge 0x404760
lea eax, [ebp - 0x3c]
push eax
call fcn.00426390
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 2
push 0
push 1
push 0
mov ecx, dword [ebp - 0x38]
call fcn.00404900
push eax
lea ecx, [ebp - 0x14]
call fcn.00404900
push eax
call fcn.00425f20
add esp, 0x14
test eax, eax
jne 0x40461e
mov dword [ebp - 0x20], 1
jmp 0x404625
mov dword [ebp - 0x20], 0
mov dl, byte [ebp - 0x20]
mov byte [ebp - 0x15], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004028b0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x40465d
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004028b0
mov eax, dword [ebp - 0x40]
jmp 0x404779
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00426600
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 3
push 2
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.00404880
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 4
push 0x456244
mov edx, dword [ebp - 0x50]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.004047d0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.004047d0
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.004028f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4046e7
mov dword [ebp - 0x24], 1
jmp 0x4046ee
mov dword [ebp - 0x24], 0
mov dl, byte [ebp - 0x24]
mov byte [ebp - 0x16], dl
lea ecx, [ebp - 0x60]
call fcn.004028b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.004028b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.004028b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.004028b0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x40474f
mov ecx, dword [ebp + 8]
push ecx
call fcn.00403370
add esp, 4
mov dword [ebp - 0x70], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004028b0
mov eax, dword [ebp - 0x70]
jmp 0x404779
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x4045c5
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004028b0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret