Function at 0x100987dc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b32f9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100dd3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
push dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
call fcn.100923db
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1009881d
jmp 0x10098abd
and dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 8
cmp dword [ebp + 0xc], 0
jne 0x10098984
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x42c], 0x64
push 0
push 0x100c1700
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
cmp eax, 2
jne 0x10098882
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
call fcn.1009244e
test eax, eax
jne 0x1009887d
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x18], 5
jmp 0x10098982
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x186a1
je 0x1009889a
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x186a2
jne 0x100988e4
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x430], 0x64
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x42c], 0x64
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0xb
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
call fcn.10092f9f
test eax, eax
jne 0x100988df
mov eax, dword [ebp - 0x14]
add eax, 0x90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10098982
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
call fcn.1009244e
test eax, eax
je 0x1009895d
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
call fcn.10092f9f
test eax, eax
je 0x1009895d
mov eax, dword [ebp - 0x14]
add eax, 0x90
push eax
lea ecx, [ebp - 0x1c]
call fcn.10018d30
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x324], 0
je 0x1009894f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.10034675
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.10094694
test eax, eax
jne 0x1009894f
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x10], 7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1002c956
jmp 0x10098982
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x14]
push dword [eax + 0x320]
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
call fcn.10093ff9
jmp 0x100989a9
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x18], 4
mov eax, dword [ebp - 0x14]
push dword [eax + 0x320]
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
call fcn.10093ff9
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0xc4], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0xc], ecx
cmp dword [ebp + 0xc], 0
jne 0x10098a5d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
je 0x100989e6
cmp dword [ebp - 0x20], 1
jne 0x10098a5d
push 0
push 0
push 2
mov ecx, 0x100f92d8
call fcn.100a75f8
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push str.DameonInstallSupplyId
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10098a5d
call fcn.1005ac78
test eax, eax
jne 0x10098a5d
mov ecx, dword [ebp - 0x3c]
call fcn.100944ed
test eax, eax
je 0x10098a5d
push dword [ebp - 0x24]
push 0
push 0x100c1720
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.100914db
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x60
call fcn.1003e020
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x60
call fcn.1003e0d7
push eax
lea ecx, [ebp - 0x2c]
call fcn.1003e251
movzx eax, al
test eax, eax
je 0x10098ab9
lea ecx, [ebp - 0x2c]
call fcn.1003e18f
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x10098aaf
push dword [ebp - 0x18]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
push dword [ebp - 0x30]
call dword [eax + 0x14]
lea ecx, [ebp - 0x2c]
call fcn.1003e1a0
jmp 0x10098a6c
xor eax, eax
jne 0x10098a5d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8