Function at 0x407ba3
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a9e6
mov eax, dword fs:[0]
push eax
mov eax, 0x12c4
call fcn.0046a3d0
mov eax, dword [0x495040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1248], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push 0xffc
mov dword [ebp - 0x1244], eax
lea eax, [ebp - 0x1234]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x1240], esi
mov dword [ebp - 0x1238], ebx
call fcn.00460930
add esp, 0xc
lea eax, [ebp - 0x1298]
push eax
call fcn.00406728
push esi
lea ecx, [ebp - 0x1298]
lea edi, [ebp - 0x1238]
mov dword [ebp - 4], ebx
call fcn.00407625
pop ecx
cmp eax, ebx
je 0x407c5b
mov ebx, eax
lea esi, [ebp - 0x1298]
call fcn.00406806
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045e86d
leave
ret
cmp dword [ebp - 0x1128], ebx
je 0x407c7d
push esi
lea ecx, [ebp - 0x1238]
call fcn.00407a57
cmp eax, dword [ebp - 0x1128]
pop ecx
jl 0x407c7d
push 0xf
pop ebx
jmp 0x407c34
mov edx, dword [ebp - 0x1248]
push 7
xor eax, eax
mov byte [ebp - 0x30], bl
pop ecx
lea edi, [ebp - 0x2f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x30]
push eax
lea esi, [ebp - 0x1238]
call fcn.004079f0
pop ecx
cmp eax, ebx
jne 0x407c32
xor eax, eax
push 0x206
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x236]
push ebx
push eax
call fcn.00460930
add esp, 0xc
lea esi, [ebp - 0x238]
call fcn.0040bf04
test eax, eax
jne 0x407cd8
push 2
jmp 0x407c7a
mov ecx, dword [ebp - 0x1240]
lea eax, [ebp - 0x238]
push eax
lea edx, [ebp - 0x1238]
call fcn.00407767
pop ecx
cmp eax, ebx
jne 0x407c32
push 4
push ebx
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x238]
push eax
lea esi, [ebp - 0x1264]
call fcn.00402cbb
mov eax, esi
push eax
lea eax, [ebp - 0x1280]
push eax
mov byte [ebp - 4], 1
call fcn.00406e6d
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 0x10
jb 0x407d3f
mov eax, dword [eax + 4]
jmp 0x407d42
add eax, 4
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.0040715a
mov edi, dword [ebp - 0x1244]
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x1280]
mov byte [edi], al
call fcn.00403021
push ebx
push 1
lea esi, [ebp - 0x1264]
mov byte [ebp - 4], bl
call fcn.0040144b
cmp byte [edi], bl
jne 0x407d80
push 7
jmp 0x407c7a
lea eax, [ebp - 0x238]
push eax
lea esi, [ebp - 0x1280]
call fcn.00402cbb
push dword [ebp - 0x1240]
lea esi, [ebp - 0x1264]
mov byte [ebp - 4], 3
call fcn.00402cbb
mov byte [ebp - 4], 4
mov al, byte [edi]
or al, 0x20
mov byte [ebp - 0x1239], al
mov eax, esi
push eax
lea esi, [ebp - 0x12d0]
call fcn.00402cdb
lea eax, [ebp - 0x1280]
push eax
lea esi, [ebp - 0x12b4]
mov byte [ebp - 4], 5
call fcn.00402cdb
lea eax, [ebp - 0x1239]
push eax
mov byte [ebp - 4], 6
call fcn.0040844c
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
lea eax, [ebp - 0x12d0]
call fcn.0040306c
push 0xffffffffffffffff
push ebx
add esi, 0x1c
push esi
lea eax, [ebp - 0x12b4]
call fcn.0040306c
lea edi, [ebp - 0x12d0]
call fcn.00407e38
push ebx
push 1
lea esi, [ebp - 0x1264]
call fcn.0040144b
push ebx
push 1
lea esi, [ebp - 0x1280]
call fcn.0040144b
jmp 0x407c34