Function at 0x483230
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8c84
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
mov eax, dword [0x4fe37c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
call fcn.0049d120
add esp, 4
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x483313
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
push 0x4d76fc
push 3
mov ecx, dword [0x50393c]
push ecx
call fcn.00498ad0
add esp, 0x10
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x483313
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x38], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00406f90
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x34]
call fcn.004917a0
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x94]
push edx
push 3
mov eax, dword [ebp - 0x88]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x88]
mov eax, dword [edx + 0x2ec]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00491240
xor al, al
jmp 0x48352e
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x48342d
mov ecx, dword [ebp + 0xc]
call fcn.00407070
push eax
call fcn.0049d120
add esp, 4
movzx edx, al
test edx, edx
je 0x4833f3
mov eax, dword [ebp + 0xc]
push eax
call fcn.0049d540
add esp, 4
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x4833f1
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
push str.File__s_is_not_exist
push 3
mov edx, dword [0x50393c]
push edx
call fcn.00498ad0
add esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4833f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x60], esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.00406f90
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0x5c]
call fcn.004919e0
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xa0]
push ecx
push 3
mov edx, dword [ebp - 0x88]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x88]
mov edx, dword [eax + 0x2ec]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00491300
xor al, al
jmp 0x48352e
jmp 0x48342d
mov ecx, dword [ebp + 0xc]
call fcn.00407070
push eax
call fcn.0049d180
add esp, 4
movzx eax, al
test eax, eax
je 0x48342d
movzx ecx, byte [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x88]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x88]
mov eax, dword [edx + 0x1a8]
call eax
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x48352b
movzx edx, byte [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.004817f0
mov byte [ebp - 0xd], al
movzx ebx, byte [ebp - 0xd]
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00407070
push eax
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
neg eax
sbb eax, eax
neg eax
and ebx, eax
mov byte [ebp - 0xd], bl
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x48352b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
call fcn.00407070
push eax
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
push str.Failed_to_move_file__s_to__s
push 3
mov edx, dword [0x50393c]
push edx
call fcn.00498ad0
add esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x48352b
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x84], esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.00406f90
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x80]
call fcn.004918c0
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0xac]
push ecx
push 3
mov edx, dword [ebp - 0x88]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x88]
mov edx, dword [eax + 0x2ec]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.004912a0
xor al, al
jmp 0x48352e
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc