Function at 0x436ba0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5476dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov ecx, 7
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
push edi
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x436de5
nop dword [eax]
push edi
push esi
lea eax, [ebp - 0x40]
push str._s._d.TMP
push eax
call fcn.004b99e0
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x436c78
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x436c46
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436c3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436fbd
push edx
push ecx
call fcn.004b9160
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x436cb2
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436ca8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436fbd
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 7
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x436da6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x436da6
cmp byte [0x5cc2e0], 0
je 0x436d96
mov dword [ebp - 0x10], 0x7ee45c
lea eax, [ebp - 0x58]
mov esi, dword [ebp - 0x10]
push eax
sub esi, 0x294f10
call fcn.004351f0
add esp, 4
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov byte [ebp - 4], 1
jb 0x436d26
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
movzx eax, word [0x5cc2e0]
push esi
push eax
call fcn.004bad80
mov edx, dword [ebp - 0x44]
add esp, 0x10
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x436d82
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436d78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436fbd
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp + 0x10]
inc edi
cmp edi, eax
jge 0x436ddf
mov esi, dword [ebp + 0xc]
jmp 0x436bf0
cmp byte [0x5cc2dc], 0
je 0x436ddc
mov dword [ebp - 0x10], 0x7e1fa4
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
sub ecx, 0x288a80
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
movzx eax, word [0x5cc2dc]
push ecx
push eax
call fcn.004bad80
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
cmp edi, eax
jne 0x436e4e
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
cmp ecx, 8
jb 0x436e3c
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x28]
mov eax, ecx
cmp edx, 0x1000
jb 0x436e32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436fc2
push edx
push ecx
call fcn.004b9160
add esp, 8
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x436f4e
cmp byte [0x5cc2e0], al
je 0x436ef9
mov dword [ebp + 0x10], 0x804664
lea eax, [ebp - 0x70]
mov esi, dword [ebp + 0x10]
push eax
sub esi, 0x2ab0e0
call fcn.004351f0
add esp, 4
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x436e9e
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp + 0xc]
movzx eax, word [0x5cc2e0]
push esi
push eax
call fcn.004bad80
mov edx, dword [ebp - 0x5c]
add esp, 0x14
cmp edx, 8
jb 0x436ef9
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436eef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436fbd
push edx
push ecx
call fcn.004b9160
add esp, 8
mov esi, dword [ebp + 8]
xor eax, eax
mov edx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
cmp edx, 8
jb 0x436e3c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436e32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436fc2
jmp 0x436e32
cmp byte [0x5cc2dc], 0
je 0x436f85
mov dword [ebp + 0x10], 0x80e3dc
lea eax, [ebp - 0x28]
mov ecx, dword [ebp + 0x10]
sub ecx, 0x2b4e20
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
movzx eax, word [0x5cc2dc]
push esi
push ecx
push eax
call fcn.004bad80
add esp, 0x10
mov eax, dword [ebp + 8]
movups xmm0, xmmword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
pop esi
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0051bb5f
call fcn.0051bb5f
int3