Function at 0x10027a50
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059667
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x100754f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi]
mov eax, dword [ebp + 8]
push eax
call dword [edx + 0x14]
test eax, eax
jne 0x10027a99
mov dword [esi + 4], 1
jmp 0x10027df1
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10027aad
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100365a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x10077018]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x10027aeb
mov dword [esi + 4], 2
jmp 0x10027df1
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
lea eax, [ebp - 0x254]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.10026d80
test eax, eax
je 0x10027b2c
mov dword [esi + 4], eax
xor esi, esi
jmp 0x10027de4
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10015ae0
add esp, 8
test eax, eax
jne 0x10027b76
mov dword [esi + 4], 2
xor esi, esi
jmp 0x10027dd9
mov ecx, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x260]
sub ecx, eax
push ecx
push eax
push 0
call fcn.100085e0
mov edx, dword [ebp - 0x250]
mov edi, eax
mov ecx, dword [ebp - 0x254]
sub edx, ecx
push edx
push ecx
push 0
call fcn.100085e0
mov ebx, eax
add esp, 0x18
cmp edi, ebx
jne 0x10027bb9
mov esi, 1
jmp 0x10027dd9
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.10028010
add esp, 8
test eax, eax
jne 0x10027c71
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push str._s_d__lu
push eax
call fcn.10014420
add esp, 0x10
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x10027c47
lea ecx, [ebp - 0x230]
mov dword [esi + 4], 2
call fcn.10003fa0
xor esi, esi
jmp 0x10027dd9
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 4
cmovae eax, dword [ebp - 0x230]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x230]
call fcn.10003fa0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.100036c0
cmp byte [esi + 0x80], 0
mov byte [ebp - 4], 2
je 0x10027d57
cmp dword [esi + 0x94], 0
jne 0x10027ce8
push 1
push 0
lea eax, [ebp - 0x248]
push 0x1005ed58
push eax
call fcn.10016360
push ebx
lea eax, [ebp - 0x230]
push 0x1005ed5c
push eax
call fcn.10014420
add esp, 0x1c
push eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
call fcn.10026960
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.10003fa0
jmp 0x10027d57
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0
push 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 4
push 0x1005b4f8
push eax
call fcn.10016360
lea eax, [esi + 0x84]
add esp, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x10027d30
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x224]
call fcn.10006860
push eax
lea ecx, [ebp - 0x248]
call fcn.10026980
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 2
call fcn.10004650
mov edx, dword [ebp - 0x250]
lea eax, [ebp - 0x248]
mov ecx, dword [ebp - 0x254]
sub edx, ecx
cmp dword [ebp - 0x234], 8
push edx
cmovae eax, dword [ebp - 0x248]
push ecx
push eax
call fcn.10016610
add esp, 0xc
test eax, eax
jne 0x10027d93
mov dword [esi + 4], 3
xor esi, esi
jmp 0x10027dce
cmp byte [esi + 0x80], 0
je 0x10027dc9
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x1005ed6c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10027dc9
call eax
mov esi, 1
lea ecx, [ebp - 0x248]
call fcn.10003fa0
lea ecx, [ebp - 0x260]
call fcn.100137e0
lea ecx, [ebp - 0x254]
call fcn.100137e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10033ba6
mov esp, ebp
pop ebp
ret 4