Function at 0x407307
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47957b
mov eax, dword fs:[0]
push eax
mov eax, 0x12c4
call fcn.004690d0
mov eax, dword [0x493040]
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.0045f510
add esp, 0xc
lea eax, [ebp - 0x1298]
push eax
call fcn.0040da47
push esi
lea ecx, [ebp - 0x1298]
lea edi, [ebp - 0x1238]
mov dword [ebp - 4], ebx
call fcn.00406d89
pop ecx
cmp eax, ebx
je 0x4073bf
mov ebx, eax
lea esi, [ebp - 0x1298]
call fcn.00420411
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.0045d55f
leave
ret
cmp dword [ebp - 0x1128], ebx
je 0x4073e1
push esi
lea ecx, [ebp - 0x1238]
call fcn.004071bb
cmp eax, dword [ebp - 0x1128]
pop ecx
jl 0x4073e1
push 0xf
pop ebx
jmp 0x407398
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.00407154
pop ecx
cmp eax, ebx
jne 0x407396
xor eax, eax
push 0x206
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x236]
push ebx
push eax
call fcn.0045f510
add esp, 0xc
lea esi, [ebp - 0x238]
call fcn.0040b605
test eax, eax
jne 0x40743c
push 2
jmp 0x4073de
mov ecx, dword [ebp - 0x1240]
lea eax, [ebp - 0x238]
push eax
lea edx, [ebp - 0x1238]
call fcn.00406ecb
pop ecx
cmp eax, ebx
jne 0x407396
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.00402cbc
mov eax, esi
push eax
lea eax, [ebp - 0x1280]
push eax
mov byte [ebp - 4], 1
call fcn.004068f5
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 0x10
jb 0x4074a3
mov eax, dword [eax + 4]
jmp 0x4074a6
add eax, 4
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.00406938
mov edi, dword [ebp - 0x1244]
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x1280]
mov byte [edi], al
call fcn.00403022
push ebx
push 1
lea esi, [ebp - 0x1264]
mov byte [ebp - 4], bl
call fcn.0040144b
cmp byte [edi], bl
jne 0x4074e4
push 7
jmp 0x4073de
lea eax, [ebp - 0x238]
push eax
lea esi, [ebp - 0x1280]
call fcn.00402cbc
push dword [ebp - 0x1240]
lea esi, [ebp - 0x1264]
mov byte [ebp - 4], 3
call fcn.00402cbc
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.00402cdc
lea eax, [ebp - 0x1280]
push eax
lea esi, [ebp - 0x12b4]
mov byte [ebp - 4], 5
call fcn.00402cdc
lea eax, [ebp - 0x1239]
push eax
mov byte [ebp - 4], 6
call fcn.00407bb0
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
lea eax, [ebp - 0x12d0]
call fcn.0040306d
push 0xffffffffffffffff
push ebx
add esi, 0x1c
push esi
lea eax, [ebp - 0x12b4]
call fcn.0040306d
lea edi, [ebp - 0x12d0]
call fcn.0040759c
push ebx
push 1
lea esi, [ebp - 0x1264]
call fcn.0040144b
push ebx
push 1
lea esi, [ebp - 0x1280]
call fcn.0040144b
jmp 0x407398