Function at 0x1014c03
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x1030118]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x244], ecx
lea edi, [ebp - 0x240]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], 0x80004005
cmp ebx, ecx
je 0x1014c49
mov dword [ebx], ecx
xor edi, edi
inc edi
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
cmp dword [ebp + 8], ecx
je 0x1014da0
push 0x1002248
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov ebx, eax
test ebx, ebx
jne 0x1014cc4
mov eax, dword [section..data]
cmp eax, section..data
je 0x1014f31
test byte [eax + 0x1c], 1
je 0x1014f31
push 0x1002d04
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
jmp 0x1014f31
push ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x1014cf2
mov eax, dword [section..data]
cmp eax, section..data
je 0x1014f31
test byte [eax + 0x1c], 1
je 0x1014f31
push 0x1002d04
push 0x1c
jmp 0x1014cb4
mov esi, dword [sym.imp.USER32.dll_SendInput]
push 0x1c
lea eax, [ebp - 0x234]
push eax
push edi
call esi
test eax, eax
jne 0x1014d2b
mov eax, dword [section..data]
cmp eax, section..data
je 0x1014f31
test byte [eax + 0x1c], 1
je 0x1014f31
push 0x1002d04
push 0x1d
jmp 0x1014cb4
push 0
push 0x1002bc4
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x1014d94
lea ecx, [ebp - 0x244]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x1014d94
mov eax, dword [ebp - 0x240]
add eax, 5
push eax
mov eax, dword [ebp - 0x244]
add eax, 5
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
push 0x1c
lea eax, [ebp - 0x234]
push eax
push edi
mov dword [ebp - 0x224], 0x20
call esi
push 0x1c
lea eax, [ebp - 0x234]
push eax
push edi
mov dword [ebp - 0x224], 0x40
call esi
and dword [ebp - 0x210], 0
jmp 0x1014f31
mov eax, dword [esi + 0xa98]
cmp eax, 2
je 0x1014dde
cmp eax, 3
je 0x1014dde
mov eax, dword [section..data]
cmp eax, section..data
je 0x1014dd4
test byte [eax + 0x1c], 1
je 0x1014dd4
push 0x1002d04
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
mov eax, 0x80004005
jmp 0x1014f42
mov ecx, dword [esi + 0xa90]
call fcn.0100a6db
mov dword [ebp - 0x218], eax
mov dword [esi + 0xa98], edi
test ebx, ebx
je 0x1014dfb
mov dword [ebx], eax
cmp dword [esi + 4], 0
je 0x1014e4a
push edi
call fcn.010122a2
mov dword [ebp - 0x210], eax
test eax, eax
jge 0x1014e4a
mov eax, dword [section..data]
cmp eax, section..data
je 0x1014f17
test byte [eax + 0x1c], 1
je 0x1014f17
movzx ecx, word [ebp - 0x210]
push ecx
push 0x1002d04
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010062be
jmp 0x1014f17
cmp dword [ebp - 0x218], 0
jne 0x1014e82
mov eax, dword [section..data]
cmp eax, section..data
je 0x1014e77
test byte [eax + 0x1c], 4
je 0x1014e77
push 0x1002d04
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
mov dword [ebp - 0x210], edi
jmp 0x1014f17
mov ecx, dword [esi + 0xa94]
lea eax, [ebp - 0x20c]
push eax
mov ebx, 0x104
push ebx
lea eax, [esi + 0x670]
push eax
push esi
call fcn.0100fe55
mov dword [ebp - 0x210], eax
test eax, eax
jge 0x1014ed2
mov eax, dword [section..data]
cmp eax, section..data
je 0x1014f17
test byte [eax + 0x1c], 1
je 0x1014f17
movzx ecx, word [ebp - 0x210]
push ecx
push 0x1002d04
push 0x21
jmp 0x1014e3a
cmp dword [esi + 4], 0
jne 0x1014eeb
cmp dword [esi + 0x30], 0
je 0x1014eeb
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi + 0x44]
push eax
push ebx
lea edi, [esi + 0x878]
push edi
call fcn.010066e4
test eax, eax
jge 0x1014f10
push 0x208
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
and dword [ebp - 0x210], 0
add esi, 0x670
xor eax, eax
cmp ax, word [esi]
je 0x1014f3c
push eax
push esi
call fcn.0101466e
mov ebx, dword [ebp - 0x214]
test ebx, ebx
je 0x1014f3c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101bc5d
leave
ret 8