Function at 0x41ea5e
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov eax, edx
mov dword [ebp - 0x18], eax
push esi
mov esi, ecx
push edi
test eax, eax
je 0x41ed4c
cmp dword [ebp + 8], 0
je 0x41ed4c
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41ed4c
mov eax, dword [eax]
xor edi, edi
mov ecx, eax
mov dword [ebp - 0x10], eax
shr ecx, 1
and ecx, 1
mov dword [ebp - 4], edi
and eax, 1
lea eax, [ecx + eax*2]
mov ecx, esi
mov eax, dword [eax*4 + 0xccef54]
mov dword [ebp - 8], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41eab1
sub ecx, edx
lea eax, [ecx + 0xc]
push eax
mov dword [ebp - 0x14], eax
call fcn.00702fb1
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x41eae0
push str._____synctex_open:_Memory_problem__1__n
call fcn.0042071e
xor eax, eax
pop ecx
inc eax
jmp 0x41ed4f
mov ecx, ebx
sub ecx, esi
mov al, byte [esi]
mov byte [ecx + esi], al
inc esi
test al, al
jne 0x41eae4
mov edi, 0xccee88
push edi
push ebx
call fcn.006f4d00
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41eb06
mov esi, ebx
jmp 0x41eb19
inc esi
jmp 0x41eb0c
lea esi, [eax + 1]
push edi
push esi
call fcn.006f4d00
pop ecx
pop ecx
test eax, eax
jne 0x41eb09
mov edi, 0xe733e4
jmp 0x41eb23
lea esi, [eax + 1]
push edi
push esi
call fcn.006f4d00
pop ecx
pop ecx
test eax, eax
jne 0x41eb20
push 0xe733e8
push esi
call fcn.006f4d00
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41eb65
inc edi
jmp 0x41eb49
lea edi, [eax + 1]
push 0xe733e8
push edi
call fcn.006f4d00
pop ecx
pop ecx
test eax, eax
jne 0x41eb46
dec edi
xor ecx, ecx
cmp edi, esi
jbe 0x41eb67
mov byte [edi], cl
jmp 0x41eb67
xor ecx, ecx
mov edx, ebx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41eb6c
sub edx, esi
je 0x41ed38
cmp dword [ebp + 0xc], 0
je 0x41ebab
push dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
mov ecx, ebx
call fcn.00420862
pop ecx
test eax, eax
jne 0x41ed38
cmp dword [ebp - 0xc], eax
je 0x41ed38
mov ecx, ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41ebae
mov edx, 0xcce270
mov esi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
test ecx, ecx
je 0x41ebd4
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41ebc5
mov edi, ecx
mov esi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push dword [ebp - 8]
or edx, 0xffffffff
mov ecx, ebx
call fcn.0048b2eb
mov esi, eax
pop ecx
test esi, esi
jne 0x41ec72
call fcn.007022c5
cmp dword [eax], 2
je 0x41ec13
call fcn.007022c5
push dword [eax]
push ebx
push str.SyncTeX:_could_not_open__s__error__i_n
call fcn.0042071e
add esp, 0xc
mov edi, dword [ebp - 4]
jmp 0x41ed3a
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41ec16
mov eax, dword [0xcce27c]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
or eax, 2
mov dword [ebp - 0x10], eax
and eax, 1
mov ecx, dword [eax*8 + 0xccef58]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], ecx
test eax, eax
je 0x41ec54
lea edi, [eax - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41ec45
mov eax, dword [0xcce27c]
mov dword [edi], eax
push ecx
or edx, 0xffffffff
mov ecx, ebx
call fcn.0048b2eb
mov esi, eax
pop ecx
test esi, esi
jne 0x41ec72
call fcn.007022c5
cmp dword [eax], 2
je 0x41ec0b
jmp 0x41ebf6
cmp dword [ebp - 4], 0
je 0x41ed22
mov ecx, esi
call fcn.0048b563
mov esi, dword [ebp - 4]
push esi
push ebx
call fcn.007020fc
pop ecx
pop ecx
test eax, eax
je 0x41ecdc
call fcn.007022c5
push dword [eax]
push esi
push ebx
push str.SyncTeX:_could_not_rename__s_to__s__error__i_n
call fcn.0042071e
push dword [ebp - 8]
or edx, 0xffffffff
mov ecx, ebx
call fcn.0048b2eb
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x41ed22
call fcn.007022c5
cmp dword [eax], 2
je 0x41ec0b
call fcn.007022c5
push dword [eax]
push ebx
push str.SyncTeX:_could_not_open_again__s__error__i_n
jmp 0x41ec03
push dword [ebp - 8]
or edx, 0xffffffff
mov ecx, esi
call fcn.0048b2eb
mov esi, eax
pop ecx
test esi, esi
jne 0x41ed18
call fcn.007022c5
cmp dword [eax], 2
je 0x41ec0b
call fcn.007022c5
mov edi, dword [ebp - 4]
push dword [eax]
push edi
push str.SyncTeX:_could_not_open_renamed__s__error__i_n
call fcn.0042071e
add esp, 0xc
jmp 0x41ed3a
push ebx
call fcn.00702f96
mov ebx, dword [ebp - 4]
pop ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax], ebx
xor eax, eax
jmp 0x41ed4f
xor edi, edi
push ebx
call fcn.00702f96
pop ecx
push edi
call fcn.00702f96
pop ecx
push 2
jmp 0x41ed4e
push 3
pop eax
pop edi
pop esi
pop ebx
leave
ret