Function at 0x100c7e4
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1030118]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 8]
push edi
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x418], ecx
xor ecx, ecx
push eax
mov dword [ebp - 0x41c], eax
mov edi, 0x104
mov word [ebp - 0x414], cx
mov word [ebp - 0x20c], cx
mov ecx, dword [ebp + 0x14]
push edi
lea eax, [ebp - 0x414]
push eax
mov dword [esi + 0xb8], ecx
call fcn.010066e4
mov ebx, eax
test ebx, ebx
jge 0x100c872
mov eax, dword [section..data]
cmp eax, section..data
je 0x100ca2c
test byte [eax + 0x1c], 1
je 0x100ca2c
push 0x10022b4
push 0x4d
jmp 0x100ca1d
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push dword [ebp + 0x14]
lea eax, [ebp - 0x414]
push eax
push 0x1002410
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.01005835
mov ebx, eax
add esp, 0x14
test ebx, ebx
jge 0x100c8d7
mov eax, dword [section..data]
cmp eax, section..data
je 0x100ca2c
test byte [eax + 0x1c], 1
je 0x100ca2c
push 0x10022b4
push 0x4e
jmp 0x100ca1d
push 3
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x100c952
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100c901
mov eax, 0x54f
test eax, eax
mov ebx, eax
jle 0x100c911
and ebx, 0xffff
or ebx, 0x80070000
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x100ca2c
test byte [ecx + 0x1c], 1
je 0x100ca2c
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x41c]
push 0x10022b4
push 0x4f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100b852
jmp 0x100ca2c
lea edx, [ebp - 0x20c]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100c95d
sub eax, edi
sar eax, 1
push eax
push edx
lea eax, [esi + 0x60]
push eax
call fcn.0101f899
mov ebx, 0x80070000
test eax, eax
je 0x100c996
jle 0x100c988
and eax, 0xffff
or eax, ebx
mov edi, dword [ebp - 0x418]
inc dword [edi + 0x4c]
mov dword [edi + 0x48], eax
jmp 0x100c99c
mov edi, dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x418], eax
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100c9b2
sub eax, edx
sar eax, 1
push eax
push dword [ebp - 0x418]
add esi, 0x54
push esi
call fcn.0101f899
test eax, eax
je 0x100c9e3
jle 0x100c9dd
and eax, 0xffff
or eax, ebx
inc dword [edi + 0x4c]
mov dword [edi + 0x48], eax
push dword [ebp - 0x418]
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax]
push 0
push 0x10023e8
push 0
push eax
call dword [ecx + 0x34]
mov ebx, eax
test ebx, ebx
jge 0x100ca2a
mov eax, dword [section..data]
cmp eax, section..data
je 0x100ca2c
test byte [eax + 0x1c], 1
je 0x100ca2c
push 0x10022b4
push 0x50
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
jmp 0x100ca2c
xor ebx, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0101bc5d
leave
ret 0x10