Function at 0x536990
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5532c3
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5973cc]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5973cc]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov bl, byte [esp + 0xd0]
mov ebp, dword [esp + 0xc8]
test bl, 1
je 0x536a0e
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.00535d10
add esp, 8
test al, al
je 0x536a0e
mov ecx, dword [esp + 0x14]
push 0
push ecx
call fcn.00539f50
add esp, 8
test al, 1
je 0x536a0e
push 0x20
push ebp
call fcn.00535cb0
add esp, 8
test bl, 2
jne 0x536a60
push 0
lea edx, [esp + 0x48]
push ebp
push edx
call fcn.0053ac80
mov ebx, 8
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x536a32
mov eax, dword [eax + 4]
jmp 0x536a35
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
cmp dword [esp + 0x5c], ebx
jb 0x536a51
mov eax, dword [esp + 0x48]
push eax
call fcn.00505cfe
add esp, 4
test esi, esi
je 0x536ce1
mov al, 1
jmp 0x536b7a
push ebp
lea ecx, [esp + 0x80]
call fcn.0052c2d0
mov eax, dword [esp + 0x90]
cmp eax, 0x104
mov dword [esp + 0xc0], 0
mov ebx, 8
jl 0x536c02
push 0
lea ecx, [esp + 0x9c]
push ebp
push ecx
call fcn.0053ac80
add esp, 0xc
mov eax, dword [esp + 0x9c]
mov byte [esp + 0xc0], 1
cmp dword [esp + 0xb0], ebx
jae 0x536ac1
lea eax, [esp + 0x9c]
mov esi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
push 0
push eax
call esi
test eax, eax
je 0x536b4e
mov edi, dword [esp + 0x9c]
cmp dword [esp + 0xb0], ebx
jae 0x536ae9
lea edi, [esp + 0x9c]
push eax
push eax
lea ecx, [esp + 0x84]
call fcn.00535fe0
push eax
push edi
call esi
mov esi, eax
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], ebx
jae 0x536b14
lea eax, [esp + 0x80]
push eax
call fcn.00536450
mov ecx, dword [esp + 0x94]
add esp, 4
cmp eax, ecx
ja 0x536b39
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x84]
call fcn.00405dd0
jmp 0x536b4a
sub eax, ecx
push 0
push eax
lea ecx, [esp + 0x84]
call fcn.00406e30
test esi, esi
jne 0x536ba2
cmp byte [esp + 0xcc], 0
je 0x536b63
push ebp
push 0xd9
call fcn.0052d5c0
lea ecx, [esp + 0x98]
call fcn.00472090
lea ecx, [esp + 0x7c]
call fcn.00472090
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.005060ef
add esp, 0xb0
ret
lea edx, [esp + 0x7c]
push edx
call fcn.0053a7c0
add esp, 4
test eax, eax
jle 0x536be7
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x84]
call fcn.0052cc90
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xcc], 2
call fcn.004057f0
lea ecx, [esp + 0x60]
call fcn.00472090
lea ecx, [esp + 0x98]
mov byte [esp + 0xc0], 0
call fcn.00472090
mov eax, dword [esp + 0x90]
lea ecx, [eax + eax + 4]
push 1
push ecx
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00533080
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], ebx
jae 0x536c2b
lea eax, [esp + 0x80]
lea edx, [esi + esi]
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.00509260
mov edx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esp + 0x24]
mov ecx, 0x454
push eax
mov dword [esp + 0x2c], 3
mov word [esp + 0x38], cx
mov dword [esp + 0x30], edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x536c8c
cmp dword [esp + 0x36], eax
jne 0x536c8c
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], al
call fcn.005330b0
lea ecx, [esp + 0x7c]
call fcn.00472090
mov al, 1
jmp 0x536b7a
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 0
call fcn.005330b0
mov dword [esp + 0xc0], 0xffffffff
cmp dword [esp + 0x94], ebx
jb 0x536cc1
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00505cfe
add esp, 4
xor edx, edx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], dx
cmp byte [esp + 0xcc], 0
je 0x536b78
push ebp
push 0xd9
call fcn.0052d5c0
int3