Function at 0x7e72d8
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff920
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x6dc], ebx
mov dword [ebp - 0x6d8], ebx
mov dword [ebp - 0x6d4], ebx
mov dword [ebp - 0x6d0], ebx
mov dword [ebp - 0x6cc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0040ab34
mov eax, dword [ebp - 8]
call fcn.0040ab34
xor eax, eax
push ebp
push 0x7e764e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040bcc8
jne 0x7e735a
push 0xa
push 3
mov ecx, dword [ebp - 4]
mov edx, 0x390
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
jmp 0x7e7623
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.00426804
mov ebx, eax
mov dword [ebp - 0x478], ebx
cmp ebx, 0xffffffff
jne 0x7e738d
push 2
push 1
mov ecx, dword [ebp - 4]
mov edx, 0x391
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
jmp 0x7e7623
mov ecx, 2
xor edx, edx
mov eax, ebx
call fcn.00426b60
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x7e73c3
push ebx
call sub.kernel32.dll_CloseHandle
push 0xa
push 2
mov ecx, dword [ebp - 4]
mov edx, 0x392
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
jmp 0x7e7623
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.00426b60
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x161], 0
je 0x7e7409
lea eax, [ebp - 0x228]
push eax
push 0
push 0x7e7664
lea edx, [ebp - 0x6cc]
mov eax, dword [ebp - 0xc]
call fcn.007e5588
mov eax, dword [ebp - 0x6cc]
call fcn.0040b924
push eax
call sub.kernel32.dll_GetTempFileNameW
jmp 0x7e742b
lea eax, [ebp - 0x228]
push eax
push 0
push 0x7e7664
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x170]
call fcn.0040b924
push eax
call sub.kernel32.dll_GetTempFileNameW
lea edx, [ebp - 0x6d0]
lea eax, [ebp - 0x228]
call fcn.00427b04
mov eax, dword [ebp - 0x6d0]
call fcn.0042685c
mov esi, eax
mov dword [ebp - 0x6c8], esi
test esi, esi
jge 0x7e745e
push ebx
call sub.kernel32.dll_CloseHandle
jmp 0x7e7623
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1e], 0
mov eax, 0x8000
call fcn.00406f30
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
mov edx, esi
mov ecx, 0x8000
mov edi, dword [ebp - 0x478]
mov eax, edi
call fcn.00426a98
mov ebx, eax
test ebx, ebx
jge 0x7e74ae
push edi
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x6c8]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x18]
call fcn.00406f4c
mov byte [ebp - 0x1e], 1
mov edx, esi
mov ecx, ebx
mov eax, dword [ebp - 0x6c8]
call fcn.00426ac4
mov esi, eax
test esi, esi
jge 0x7e74e1
push edi
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x6c8]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x18]
call fcn.00406f4c
mov byte [ebp - 0x1e], 1
add dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0x5c]
lea edx, [ebp - 0x1d]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [0x8bd610]
mov eax, dword [eax]
call fcn.0060b0e0
test ebx, ebx
je 0x7e7525
cmp esi, ebx
jne 0x7e7525
cmp byte [ebp - 0x1d], 0
jne 0x7e7525
cmp byte [ebp - 0x1e], 0
je 0x7e7473
mov eax, dword [ebp - 0x478]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x6c8]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x18]
call fcn.00406f4c
mov eax, dword [ebp - 0xc]
movzx edx, byte [ebp - 0x1d]
mov byte [eax + 0x1a1], dl
movzx eax, byte [ebp - 0x1d]
or al, byte [ebp - 0x1e]
je 0x7e757c
lea edx, [ebp - 0x6d4]
lea eax, [ebp - 0x228]
call fcn.00427b04
mov eax, dword [ebp - 0x6d4]
call fcn.004272f4
jmp 0x7e7623
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00426dd8
test al, al
je 0x7e75e2
mov eax, dword [ebp - 8]
call fcn.004272f4
test al, al
jne 0x7e75e2
mov eax, dword [ebp - 8]
call fcn.007e72b0
mov eax, dword [ebp - 8]
call fcn.004272f4
test al, al
jne 0x7e75e2
mov byte [ebp - 0xd], 0
push 0x13
push 6
mov ecx, dword [ebp - 8]
mov edx, 0x3cc
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
lea eax, [ebp - 0x6d8]
mov ecx, dword [ebp - 8]
mov edx, 0x7e767c
call fcn.0040bb90
mov eax, dword [ebp - 0x6d8]
call fcn.007e4fa4
jmp 0x7e7623
lea edx, [ebp - 0x6dc]
lea eax, [ebp - 0x228]
call fcn.00427b04
mov ebx, dword [ebp - 0x6dc]
mov eax, dword [ebp - 8]
call fcn.0040b924
push eax
mov dword [ebp - 0x6e0], ebx
mov eax, dword [ebp - 0x6e0]
call fcn.0040b924
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e7655
lea eax, [ebp - 0x6dc]
mov edx, 5
call fcn.0040aab0
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040aab0
ret