Function at 0x40e06e
Capabilities:
Move file

Disassembly:
push 0x14c
mov eax, 0x439d24
call fcn.00438ae6
mov edi, ecx
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x140], ebx
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x40e0a0
xor al, al
jmp 0x40e3d5
push ecx
push eax
lea ecx, [ebp - 0x158]
call fcn.00401a88
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], ebx
call fcn.00401895
mov esi, eax
call fcn.0040188a
mov ecx, edi
mov edx, eax
call fcn.0040126f
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov edx, eax
test edx, edx
je 0x40e3c8
lea ecx, [ebp - 0x158]
call fcn.00401895
cmp edx, eax
jae 0x40e3c8
push ebx
push ebx
mov ecx, edi
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x40e3c8
push ecx
push eax
lea ecx, [ebp - 0x14c]
call fcn.00401a88
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 1
call fcn.00401895
mov esi, eax
call fcn.0040188a
mov ecx, edi
mov edx, eax
call fcn.0040126f
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov edx, eax
test edx, edx
je 0x40e3bd
lea ecx, [ebp - 0x14c]
call fcn.00401895
cmp edx, eax
jae 0x40e3bd
lea ecx, [ebp - 0x158]
call fcn.0040188a
push eax
lea ecx, [ebp - 0xb8]
call fcn.00401d16
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 2
call fcn.0040188a
push eax
lea ecx, [ebp - 0xa0]
call fcn.00401d16
lea edx, [ebp - 0xb8]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00410bfe
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00410bfe
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00405d1e
test al, al
jne 0x40e1fa
mov edx, ecx
lea ecx, [ebp - 0x70]
call fcn.0040b8a4
test eax, eax
je 0x40e1fa
mov edx, edi
lea ecx, [ebp - 0x88]
call fcn.00410bfe
lea edx, [ebp - 0x58]
mov dword [ebp - 0x140], 1
mov ecx, eax
call fcn.0040b8a4
mov byte [ebp - 0x139], bl
test eax, eax
je 0x40e201
mov byte [ebp - 0x139], 1
test byte [ebp - 0x140], 1
je 0x40e215
lea ecx, [ebp - 0x88]
call fcn.00401e5c
cmp byte [ebp - 0x139], 0
jne 0x40e397
lea ecx, [ebp - 0x28]
call fcn.004021e6
mov byte [ebp - 4], 6
mov dword [ebp - 0x140], ebx
lea ecx, [ebp - 0x28]
call fcn.00405d1e
test al, al
je 0x40e2d5
push edi
call fcn.0040335d
mov edx, ebx
lea ecx, [ebp - 0xe8]
call fcn.004062f3
mov esi, eax
push str.rtmp
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 7
call fcn.00401d16
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.0040db1f
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.00410e56
lea ecx, [ebp - 0x88]
call fcn.00401e5c
lea ecx, [ebp - 0xd0]
call fcn.00401e5c
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 6
call fcn.00401e5c
lea ecx, [ebp - 0x28]
call fcn.0040f334
test al, al
je 0x40e2c6
lea ecx, [ebp - 0x28]
call fcn.0040669a
add ebx, 0x7b
cmp ebx, 0x2710
jb 0x40e234
lea ecx, [ebp - 0x28]
call fcn.00405d1e
push 0
pop ebx
test al, al
jne 0x40e38f
push edi
lea ecx, [ebp - 0x40]
call fcn.00408d05
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.00410e56
lea ecx, [ebp - 0x28]
call fcn.0040126f
lea ecx, [ebp - 0x40]
mov edx, eax
call fcn.0040126f
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40e387
lea ecx, [ebp - 0x138]
call fcn.0040e3db
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.0040f334
test al, al
jne 0x40e348
push 0x12
push edi
lea ecx, [ebp - 0x138]
call fcn.0040e689
mov bl, al
lea ecx, [ebp - 0x40]
call fcn.0040126f
push eax
lea ecx, [ebp - 0x28]
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test bl, bl
je 0x40e37a
lea ecx, [ebp - 0x138]
call fcn.0040e7a0
lea ecx, [ebp - 0x138]
call fcn.0040e7e7
lea ecx, [ebp - 0x138]
mov bl, 1
call fcn.0040e44f
lea ecx, [ebp - 0x40]
call fcn.00401e5c
lea ecx, [ebp - 0x28]
call fcn.00401e5c
lea ecx, [ebp - 0x58]
call fcn.00401e5c
lea ecx, [ebp - 0x70]
call fcn.00401e5c
lea ecx, [ebp - 0xa0]
call fcn.00401e5c
lea ecx, [ebp - 0xb8]
call fcn.00401e5c
lea ecx, [ebp - 0x14c]
call fcn.0040189d
lea ecx, [ebp - 0x158]
call fcn.0040189d
mov al, bl
call fcn.00438a95
ret