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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af000
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x1c]
push 0x4fe774
push eax
mov ebx, esi
mov dword [ebp - 0x10], 1
call fcn.00407e10
lea ecx, [ebp - 0x24]
push 0x4fe77c
push ecx
mov dword [ebp - 4], 0
call fcn.00407e10
lea edx, [ebp - 0x18]
push 0x4fe780
push edx
mov byte [ebp - 4], 1
call fcn.00407e10
add esp, 0x18
mov byte [ebp - 4], 2
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0
mov byte [ebp - 4], 3
call fcn.00486cea
push edx
push eax
lea eax, [ebp - 0x14]
push str._I64d.dll
push eax
call fcn.00407760
mov ecx, dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x14
push ecx
call edi
cmp eax, 0xffffffff
je 0x436882
test al, 0x10
jne 0x436882
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x436882
lea eax, [ebp - 0x28]
push esi
push eax
mov ebx, 0x4c8ce8
call fcn.00406680
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ebx, eax
mov byte [ebp - 4], 4
call fcn.00407e10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436839
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push ecx
push edx
call ebx
test eax, eax
jne 0x436852
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
push 4
push 0
push eax
call ebx
test eax, eax
jne 0x436863
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436882
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x24]
push ecx
call edi
cmp eax, 0xffffffff
je 0x4368a2
test al, 0x10
jne 0x4368a2
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4368a2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push eax
call edi
cmp eax, 0xffffffff
je 0x43695c
test al, 0x10
jne 0x43695c
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43695c
lea edx, [ebp - 0x28]
push esi
push edx
mov ebx, str.NPFS
call fcn.00406680
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ebx, eax
mov byte [ebp - 4], 5
call fcn.00407e10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436913
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push ecx
push edx
call esi
test eax, eax
jne 0x43692c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
push 4
push 0
push eax
call esi
test eax, eax
jne 0x43693d
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43695c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43697f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4369a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4369c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4369eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret