Function at 0x100a0031
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x54], 0
jne 0x100a0053
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x5c], 0
jne 0x100a0053
xor al, al
jmp 0x100a0234
mov ecx, dword [ebp - 0x3c]
add ecx, 0x104
call fcn.10044c3b
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x34
call fcn.10005a1b
jmp 0x100a0080
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 8]
call fcn.10040b12
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x34
call fcn.10005a3e
push eax
lea ecx, [ebp - 8]
call fcn.10043709
movzx eax, al
test eax, eax
je 0x100a0232
lea ecx, [ebp - 8]
call fcn.10046a11
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100a00b8
jmp 0x100a0072
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 4
ja 0x100a022d
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0x186a0
jne 0x100a022d
lea ecx, [ebp - 8]
call fcn.10046a11
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100a00eb
jmp 0x100a0072
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.100094ad
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x5c], 0
je 0x100a0129
push dword [ebp - 0xc]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x5c]
mov eax, dword [eax]
call dword [eax + 4]
mov dword [ebp - 0x10], eax
jmp 0x100a0164
push dword [ebp - 0xc]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x54]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x54]
mov eax, dword [eax]
call dword [eax + 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100a0164
push 0x100d9920
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x54]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x54]
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebp - 0x10], 0
je 0x100a01a0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov dword [eax + 0x90], ecx
mov eax, dword [ebp - 0x3c]
and dword [eax + 0xc4], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0xc4]
mov dword [eax + 0xc], ecx
jmp 0x100a022d
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0xc4], 2
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0xc4]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x60
call fcn.1003e277
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x60
call fcn.10028dc4
push eax
lea ecx, [ebp - 0x1c]
call fcn.10043709
movzx eax, al
test eax, eax
je 0x100a0225
lea ecx, [ebp - 0x1c]
call fcn.10046ad3
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100a021b
mov eax, dword [ebp - 0x3c]
push dword [eax + 0xc4]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
push dword [ebp - 0x20]
call dword [eax + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.10046a22
jmp 0x100a01d5
xor eax, eax
jne 0x100a01c6
xor al, al
jmp 0x100a0234
jmp 0x100a0072
mov al, 1
leave
ret