Function at 0x10020750
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100240f3
mov eax, dword fs:[0]
push eax
add esp, 0xfffff638
mov eax, dword [0x1002b134]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x168]
call fcn.100013c0
mov dword [ebp - 4], 0
mov dword [ebp - 0x15c], 0
lea ecx, [ebp - 0x154]
call fcn.100011b0
mov byte [ebp - 4], 1
add esp, 0xffffffe4
mov ecx, esp
mov dword [ebp - 0x9a0], esp
push 0x10027a94
call fcn.10001460
mov dword [ebp - 0x9c8], eax
mov eax, dword [ebp - 0x9c8]
mov dword [ebp - 0x9cc], eax
mov byte [ebp - 4], 2
add esp, 0xffffffe4
mov ecx, esp
mov dword [ebp - 0x9a4], esp
push 0x10027aa8
call fcn.10001460
mov dword [ebp - 0x9d0], eax
push 0x65
lea ecx, [ebp - 0x168]
push ecx
mov byte [ebp - 4], 1
call fcn.10020490
add esp, 0x40
mov dword [ebp - 0x9d4], eax
cmp dword [ebp - 0x9d4], 0
jne 0x10020816
jmp 0x10020ad3
push 0
lea ecx, [ebp - 0x168]
call fcn.100013e0
lea ecx, [ebp - 0x9c4]
push eax
call fcn.10001460
lea edx, [ebp - 0x9c4]
mov byte [ebp - 4], 3
push 0
push 1
push edx
call fcn.1000786a
mov ecx, eax
call fcn.10007973
neg eax
sbb eax, eax
sub eax, 0xffffffff
mov byte [ebp - 0x9a5], al
lea ecx, [ebp - 0x9c4]
mov byte [ebp - 4], 1
call fcn.100014a0
movzx eax, byte [ebp - 0x9a5]
or eax, eax
je 0x10020876
jmp 0x10020ad3
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x15c], 1
push 0
push 1
push ecx
push 0x190
call fcn.100205b0
sub esp, 0xfffffff0
push 1
push 1
push 0x1002d67c
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
jne 0x100208c9
push 0
push 7
lea edx, [ebp - 0x154]
push edx
push 0x190
call fcn.100205b0
sub esp, 0xfffffff0
jmp 0x10020ad3
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x160]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x160], 0
push eax
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100205f0
add esp, 0xc
test eax, eax
jne 0x10020912
lea eax, [ebp - 0x154]
push 0
push 2
push eax
push 0x190
call fcn.100205b0
add esp, 0x10
jmp 0x10020ad3
lea edx, [ebp - 0x164]
mov dword [ebp - 0x164], 0
mov ecx, dword [ebp - 0x160]
push ecx
push edx
call fcn.1001ff90
add esp, 8
test eax, eax
jne 0x10020958
lea ecx, [ebp - 0x154]
push 0
mov eax, dword [ebp - 0x164]
push eax
push ecx
push 0x190
call fcn.100205b0
sub esp, 0xfffffff0
jmp 0x10020ad3
push 0x2bf20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea edx, [ebp - 0x154]
push 3
push edx
push 0x190
call fcn.100205b0
add esp, 0x10
push str.ABBCC161_8095_4206_9CC8_BB6C5662AEE3
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
je 0x10020ab6
lea eax, [ebp - 0x99c]
push 0x820
push 0
push eax
call fcn.1000c060
sub esp, 0xfffffff4
mov dword [ebp - 0x99c], 0x820
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x998], eax
mov dword [ebp - 0x990], 1
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x988], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x984], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x980], eax
mov dword [ebp - 0x98c], 1
push 0x10027b08
lea eax, [ebp - 0x97c]
push 0x400
push eax
call fcn.1000c15d
mov dword [ebp - 0x178], 1
lea eax, [ebp - 0x178]
mov dword [ebp - 0x174], 0x820
sub esp, 0xfffffff4
lea ecx, [ebp - 0x99c]
mov dword [ebp - 0x170], ecx
lea edx, [ebp - 0x17c]
mov dword [ebp - 0x17c], 0
push edx
push 0x3e8
push 1
push eax
mov ecx, dword [ebp - 0x158]
push ecx
push 0x4a
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
jne 0x10020a97
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x154]
push 5
push eax
push 0x190
call fcn.100205b0
add esp, 0x10
jmp 0x10020ad3
lea edx, [ebp - 0x154]
mov ecx, dword [ebp - 0x16c]
push ecx
push 6
push edx
push 0x190
call fcn.100205b0
sub esp, 0xfffffff0
jmp 0x10020ad3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 4
lea eax, [ebp - 0x154]
push eax
push 0x190
call fcn.100205b0
add esp, 0x10
cmp dword [ebp - 0x15c], 0
je 0x10020ae8
call fcn.1000786a
mov esi, eax
call fcn.10007dfe
lea ecx, [ebp - 0x168]
call fcn.100061c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or eax, eax
jne 0x10020b14
push 4
lea ecx, [ebp - 0x168]
push 0
call fcn.100061c0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.10001330
lea ecx, [ebp - 0x168]
mov dword [ebp - 4], 0xffffffff
call fcn.10005cb0
mov esi, dword [ebp - 0xc]
mov dword fs:[0], esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
pop edx
pop esi
call fcn.1000bda4
mov esp, ebp
pop ebp
ret 4