Function at 0x100faac
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x1039570
call fcn.010372df
mov esi, ecx
or dword [ebp - 0x14], 0xffffffff
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
call fcn.01014810
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 4], ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0xffffffffffffffff
mov dword [ebp - 0x20], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
cmp dword [esi + 0x1058], ebx
je 0x100fd8d
mov eax, dword [esi + 0xfc8]
cmp eax, 1
je 0x100fb17
cmp eax, 2
jne 0x100fd8d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0100f5e0
mov edi, eax
cmp edi, ebx
jge 0x100fb5e
mov eax, dword [section..data]
cmp eax, section..data
je 0x100fd14
test byte [eax + 0x1c], 1
je 0x100fd14
push edi
push 0x1002cfc
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x100fd14
lea eax, [ebp - 0x10]
push eax
push 0x1002dbc
call sub.dbgeng.dll_DebugCreate
mov edi, eax
cmp edi, ebx
jge 0x100fb96
mov eax, dword [section..data]
cmp eax, section..data
je 0x100fd14
test byte [eax + 0x1c], 1
je 0x100fd14
push edi
push 0x1002cfc
push 0x1d
jmp 0x100fb4e
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 0x1002dac
push eax
call dword [ecx]
mov edi, eax
cmp edi, ebx
jge 0x100fbd4
mov eax, dword [section..data]
cmp eax, section..data
je 0x100fd14
test byte [eax + 0x1c], 1
je 0x100fd14
push edi
push 0x1002cfc
push 0x1e
jmp 0x100fb4e
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push ebx
push dword [esi + 0x1058]
push eax
call dword [ecx + 0xf0]
mov edi, eax
cmp edi, ebx
jge 0x100fc26
mov eax, dword [section..data]
cmp eax, section..data
je 0x100fd14
test byte [eax + 0x1c], 1
je 0x100fd14
push edi
push dword [esi + 0x1058]
push 0x1002cfc
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01018c98
jmp 0x100fd14
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push 0xffffffffffffffff
push ebx
push eax
call dword [ecx + 0x174]
mov edi, eax
cmp edi, ebx
jge 0x100fc62
mov eax, dword [section..data]
cmp eax, section..data
je 0x100fd14
test byte [eax + 0x1c], 1
je 0x100fd14
push edi
push 0x1002cfc
push 0x20
jmp 0x100fb4e
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push ebx
push 0x400
push ebx
push dword [ebp - 0x14]
push ebx
push eax
call dword [ecx + 0xf4]
mov edi, eax
cmp edi, ebx
jge 0x100fca3
mov eax, dword [section..data]
cmp eax, section..data
je 0x100fd14
test byte [eax + 0x1c], 1
je 0x100fd14
push edi
push 0x1002cfc
push 0x21
jmp 0x100fb4e
mov eax, dword [section..data]
mov ebx, section..data
cmp eax, ebx
je 0x100fcd7
test byte [eax + 0x1c], 4
je 0x100fcd7
lea ecx, [ebp - 0x1c]
call fcn.0100f423
push eax
mov eax, dword [section..data]
push 0x1002cfc
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x104c]
call fcn.0101565e
mov edi, eax
test edi, edi
jge 0x100fd89
mov eax, dword [section..data]
cmp eax, ebx
je 0x100fd12
test byte [eax + 0x1c], 1
je 0x100fd12
push edi
push 0x1002cfc
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
xor ebx, ebx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x100fd24
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x100fd3e
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x100fd52
cmp dword [ebp - 0x14], 0xffffffff
je 0x100fd52
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge 0x100fd65
lea ecx, [ebp - 0x2c]
call fcn.01015d45
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.01014822
mov eax, edi
call fcn.010373cb
ret
xor edi, edi
jmp 0x100fd12
xor edi, edi
jmp 0x100fd14