Function at 0x10013969
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24a8
call fcn.1002fb29
mov eax, dword [0x100400b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x24a8], eax
mov esi, edx
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x414]
push 0x104
mov edi, ecx
mov ecx, str.SOFTWAREMicrosoftOffice_i.0CommonGeneral
push eax
call fcn.1001a3af
test eax, eax
jne 0x10013c53
test edi, edi
je 0x10013a72
test esi, esi
je 0x10013a60
cmp ax, word [esi]
je 0x10013a60
push ecx
push esi
mov esi, 0x104
lea ecx, [ebp - 0x20c]
mov edx, esi
call fcn.1001a3af
test eax, eax
jne 0x100139e9
mov edx, esi
jmp 0x10013a65
lea eax, [ebp - 0x20c]
push 0x28
push eax
call fcn.1001ddb2
pop ecx
pop ecx
test eax, eax
je 0x10013a1d
lea ecx, [ebp - 0x20c]
cmp eax, ecx
je 0x10013a18
push 0x20
pop ecx
cmp cx, word [eax - 2]
jne 0x10013a18
xor ecx, ecx
mov word [eax - 2], cx
jmp 0x10013a1d
xor ecx, ecx
mov word [eax], cx
xor eax, eax
cmp ax, word [ebp - 0x20c]
je 0x100139e5
push 0x2e
push edi
call fcn.1001a3af
pop ecx
pop ecx
xor edx, edx
lea ecx, [ebp - 0x20c]
push edx
mov edx, 0x104
mov esi, eax
call fcn.1001a3af
test eax, eax
je 0x10013a60
push esi
mov edx, 0x104
lea ecx, [ebp - 0x20c]
call fcn.1001a3af
test eax, eax
jne 0x10013a7a
mov edx, 0x104
push ecx
push edi
lea ecx, [ebp - 0x20c]
call fcn.1001a3af
test eax, eax
je 0x10013c53
xor eax, eax
push eax
push ecx
lea eax, [ebp - 0x414]
push eax
push str..ONE
mov edx, eax
lea ecx, [ebp - 0x20c]
call fcn.1001a3af
test eax, eax
je 0x10013c53
mov esi, 0x1048
xor eax, eax
push esi
push eax
lea eax, [ebp - 0x24a4]
push eax
call fcn.1001e894
push esi
xor esi, esi
lea eax, [ebp - 0x145c]
push esi
push eax
call fcn.1001e894
add esp, 0x18
test ebx, ebx
je 0x10013b4f
test edi, edi
je 0x10013b4f
mov esi, ebx
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x10013ada
sub esi, ecx
lea eax, [ebp - 0x20c]
sar esi, 1
cmp ebx, eax
je 0x10013b09
push ecx
push ebx
mov edx, 0x104
mov ecx, eax
call fcn.1001a3af
test eax, eax
je 0x10013c53
push 0x5c
pop eax
cmp ax, word [ebp + esi*2 - 0x20e]
je 0x10013b3a
push 0xffffffffffffffff
push 0x100393f0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1001a3af
add esp, 0x10
cmp eax, 0x50
je 0x10013c53
push edi
mov edx, 0x104
lea ecx, [ebp - 0x20c]
call fcn.1001a3af
xor esi, esi
jmp 0x10013b51
mov eax, esi
test eax, eax
je 0x10013c53
xor eax, eax
cmp ax, word [ebp - 0x20c]
je 0x10013c32
cmp ax, word [ebp - 0x414]
je 0x10013c32
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.1001a3af
pop ecx
pop ecx
test eax, eax
je 0x10013c38
mov esi, dword [ebp - 0x24a8]
test esi, esi
je 0x10013bfa
call fcn.1001a3af
test eax, eax
je 0x10013bfa
xor eax, eax
lea ecx, [ebp - 0x20c]
mov word [ebp - 0x24a4], ax
mov word [ebp - 0x145c], ax
call fcn.1001a3af
test eax, eax
lea eax, [ebp - 0x145c]
push ecx
je 0x10013bd5
push eax
push ecx
lea ecx, [ebp - 0x20c]
jmp 0x10013c21
push ecx
push eax
push ecx
lea eax, [ebp - 0x24a4]
push eax
push esi
lea edx, [ebp - 0x414]
lea ecx, [ebp - 0x20c]
call fcn.1001a3af
xor ecx, ecx
test eax, eax
setns cl
jmp 0x10013c2e
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.kernel32.dll_MoveFileW]
test eax, eax
je 0x10013c53
push ecx
lea eax, [ebp - 0x145c]
push eax
push ecx
lea ecx, [ebp - 0x414]
lea edx, [ebp - 0x24a4]
call fcn.1001a3af
mov ecx, eax
xor esi, esi
jmp 0x10013c34
mov ecx, esi
test ecx, ecx
je 0x10013c53
push esi
push esi
push dword [ebp + 0x18]
xor edx, edx
xor ecx, ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push esi
call fcn.1001a3af
jmp 0x10013c58
mov eax, 0x80041003
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001c65c
leave
ret 0x18