Function at 0x1000d389
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1000d51c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1000d4fc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
push 0x14
push 0
push 0x5f90
push 0x3758
call fcn.10038ee6
pop ecx
pop ecx
call eax
push eax
push 0x5f90
push 0x3c5f
call fcn.10038ee6
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and dword [eax + 8], 0
push 0x1048
push 0
push 0x27a8
lea eax, [ebp - 8]
push eax
call fcn.1000e0e3
add esp, 0x10
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x10]
push dword [eax]
push 0x5f90
push 0x4b74
call fcn.10038ee6
pop ecx
pop ecx
call eax
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x54]
mov eax, dword [ebp - 0x10]
push dword [eax]
push 0x5f90
push 0x4b74
call fcn.10038ee6
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx + 0x54]
push eax
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push dword [eax]
call fcn.100393fe
add esp, 0xc
push 0x5881
push 0x1351
push 1
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push 0x1c6f
call fcn.1000d29d
add esp, 0x20
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov dword [eax + 0x34], ecx
jmp 0x1000d51a
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x1000d51a
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1000d593
lea eax, [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x1000d582
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x1000d566
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 3
jge 0x1000d580
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.100208d0
and dword [eax], 0
jmp 0x1000d55b
jmp 0x1000d593
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
push 0
call fcn.10015b1e
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret