Function at 0x1012bb5
Capabilities:
Delete file
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x2674
call fcn.0101bc80
mov eax, dword [0x1030118]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x450
lea eax, [ebp - 0x265c]
push ebx
push eax
mov dword [ebp - 0x2664], ebx
mov dword [ebp - 0x2668], ebx
mov dword [ebp - 0x2660], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x1000
lea eax, [ebp - 0x220c]
push eax
push 0x6f
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1012c43
mov eax, dword [section..data]
cmp eax, section..data
je 0x1012c3c
test byte [eax + 0x1c], 1
je 0x1012c3c
push 0x1002bb4
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
xor eax, eax
jmp 0x1013094
push esi
lea eax, [ebp - 0x220c]
push edi
mov dword [ebp - 0x2670], eax
mov dword [ebp - 0x266c], 0x1002cec
cmp dword [ebp + 8], ebx
je 0x1012d67
mov esi, dword [0x1035930]
mov ecx, 0x115
lea edi, [ebp - 0x2660]
lea eax, [ebp - 0x261c]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x1012c80
sub eax, edx
sar eax, 1
jne 0x1012d55
mov edi, 0x1035938
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x1012c9e
sub eax, edx
sar eax, 1
jne 0x1012cd4
mov eax, dword [section..data]
cmp eax, section..data
je 0x101306c
test byte [eax + 0x1c], 1
je 0x101306c
push 0x1002bb4
push 0x29
jmp 0x1012f78
push edi
push 0x208
lea eax, [ebp - 0x261c]
push eax
call fcn.0100671e
test eax, eax
jge 0x1012d10
mov eax, dword [section..data]
cmp eax, section..data
je 0x101306c
test byte [eax + 0x1c], 1
je 0x101306c
push 0x1002bb4
push 0x2a
jmp 0x1012f78
mov ecx, dword [0x1035930]
lea eax, [ebp - 0x2660]
push eax
call fcn.01010538
cmp eax, ebx
jge 0x1012d55
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x101306c
test byte [ecx + 0x1c], 1
je 0x101306c
push eax
push 0x1002bb4
push 0x2b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
jmp 0x1012ffa
mov ecx, dword [0x1035930]
call fcn.010150e6
mov ebx, eax
jmp 0x101305e
call fcn.01010f24
mov ecx, dword [0x1035930]
lea eax, [ebp - 0x2668]
push eax
push ebx
call fcn.01014c03
mov ebx, eax
test ebx, ebx
jge 0x1012daf
mov eax, dword [section..data]
cmp eax, section..data
je 0x101306c
test byte [eax + 0x1c], 1
je 0x101306c
movzx ecx, bx
push ecx
push 0x1002bb4
push 0x2c
jmp 0x1012ff4
call fcn.01010f09
mov eax, dword [0x1035b5c]
test eax, eax
je 0x1012dca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [0x1035b5c], 0
mov eax, dword [0x1035930]
mov ecx, 0x115
mov esi, eax
lea edi, [ebp - 0x2660]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [ebp - 0x2668], esi
jne 0x1012e0a
mov dword [ebp - 0x2664], 1
cmp dword [ebp - 0x262c], esi
je 0x101306c
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x101306c
cmp dword [ebp - 0x2660], esi
je 0x1012e32
mov ecx, eax
call fcn.010144b9
test eax, eax
je 0x1012e32
push 0x30
push esi
push 0x6d
push 0x518
push dword [0x1035900]
call fcn.0100635d
mov edi, 0x1035938
mov ecx, edi
lea eax, [ebp - 0x261c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1012e65
cmp dx, si
je 0x1012e61
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1012e65
add eax, 4
add ecx, 4
cmp dx, si
jne 0x1012e3f
xor eax, eax
jmp 0x1012e6a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x1013009
mov ecx, dword [0x1035930]
push 0x1002ce8
call fcn.01014f90
mov esi, 0x104
push 1
lea eax, [ebp - 0x2670]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01012814
mov ebx, eax
test ebx, ebx
jl 0x1012f2d
cmp ebx, 1
jne 0x1012ef7
push 4
push 0x6d
push 0x6e
push dword [0x1035900]
call fcn.01006495
cmp eax, 0xffffffff
je 0x1012f57
cmp eax, 6
je 0x1012f88
push ebx
lea eax, [ebp - 0x2670]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01012814
mov ebx, eax
test ebx, ebx
jl 0x1012f94
cmp ebx, 1
je 0x1012f88
lea eax, [ebp - 0x20c]
push eax
call fcn.01006ff6
cmp eax, 2
jne 0x1012f11
push 0x6a
push 0xb0
jmp 0x1012f1d
test eax, eax
je 0x1012fbb
push 0x6a
push 0x71
push dword [0x1035900]
call fcn.010064b6
jmp 0x1012e87
mov eax, dword [section..data]
cmp eax, section..data
je 0x101306c
test byte [eax + 0x1c], 1
je 0x101306c
movzx ecx, bx
push ecx
push 0x1002bb4
push 0x2d
jmp 0x1012ff4
mov eax, dword [section..data]
cmp eax, section..data
je 0x101306c
test byte [eax + 0x1c], 1
je 0x101306c
push 0x1002bb4
push 0x2e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
jmp 0x101306c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1013062
mov eax, dword [section..data]
cmp eax, section..data
je 0x101306c
test byte [eax + 0x1c], 1
je 0x101306c
movzx ecx, bx
push ecx
push 0x1002bb4
push 0x2f
jmp 0x1012ff4
push 3
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1013001
mov eax, dword [section..data]
cmp eax, section..data
je 0x101306c
test byte [eax + 0x1c], 1
je 0x101306c
movzx ecx, bx
push ecx
push 0x1002bb4
push 0x30
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010062be
jmp 0x101306c
lea esi, [ebp - 0x20c]
jmp 0x101300f
lea esi, [ebp - 0x261c]
mov ecx, dword [0x1035930]
push esi
call fcn.01014f90
push esi
call fcn.0102333e
test eax, eax
je 0x101304d
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x101304d
test byte [ecx + 0x1c], 1
je 0x101304d
push esi
push eax
push 0x1002bb4
push 0x31
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101058a
cmp dword [ebp - 0x262c], 0
je 0x101305e
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
test ebx, ebx
jl 0x101306c
mov dword [ebp - 0x2664], 1
cmp dword [0x1035b5c], 0
pop edi
pop esi
je 0x101308e
call fcn.01010f09
mov eax, dword [0x1035b5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [0x1035b5c], 0
mov eax, dword [ebp - 0x2664]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0101bc5d
leave
ret 4