Function at 0x424aa4
Capabilities:
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.0042d2d0
mov eax, dword [0x46a264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x1424], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1428], eax
cmp dword [0x46b250], ecx
je 0x424eac
mov eax, dword [ebp + 0x18]
push ebx
mov bl, cl
push edi
lea edi, [ebp + 0x1c]
cmp eax, dword [ebp + 0x14]
je 0x424aef
lea edi, [ebp + 0x18]
mov bl, 1
push esi
xor eax, eax
mov dword [ebp - 0x13c4], 7
push ecx
mov dword [ebp - 0x13c8], ecx
mov word [ebp - 0x13d8], ax
mov byte [ebp - 0x13c0], cl
call fcn.00438746
mov dword [ebp - 0x1430], eax
lea eax, [ebp - 0x1430]
push eax
mov dword [ebp - 0x142c], edx
call fcn.00438695
push eax
push 0x4574bc
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.0043840d
lea eax, [ebp - 0x804]
push eax
call fcn.004011e0
add esp, 0x1c
lea ecx, [ebp - 0x13d8]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00403700
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea ecx, [ebp - 0x13d8]
call fcn.004138bc
push 0x4574e4
mov esi, eax
call fcn.004011e0
pop ecx
push eax
push 0x4574e4
mov ecx, esi
call fcn.00403700
mov eax, dword [ebp + 8]
sub eax, 1
je 0x424bad
sub eax, 1
je 0x424ba6
mov esi, str.INFO:
jmp 0x424bb2
mov esi, str.WARNING:
jmp 0x424bb2
mov esi, str.ERROR:
push esi
call fcn.004011e0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x13d8]
call fcn.00403700
mov esi, dword [ebp - 0x1424]
push esi
call fcn.004011e0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x13d8]
call fcn.00403700
mov esi, 0x457520
push esi
call fcn.004011e0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x13d8]
call fcn.00403700
push dword [ebp - 0x1428]
lea ecx, [ebp - 0x13d8]
call fcn.00412a4c
push 0x457528
mov esi, eax
call fcn.004011e0
pop ecx
push eax
push 0x457528
mov ecx, esi
call fcn.00403700
mov esi, 0x4574b8
test bl, bl
je 0x424c86
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x14], 8
jb 0x424c38
mov eax, dword [eax]
push edi
xor ebx, ebx
push ebx
push eax
lea eax, [ebp - 0x13bc]
push 0x5dc
push eax
call fcn.004250a4
lea eax, [ebp - 0x13bc]
push eax
call fcn.004011e0
add esp, 0x18
lea ecx, [ebp - 0x13d8]
push eax
lea eax, [ebp - 0x13bc]
push eax
call fcn.00403700
push esi
call fcn.004011e0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x13d8]
call fcn.00403700
jmp 0x424c99
push 0xffffffffffffffff
xor ebx, ebx
lea ecx, [ebp - 0x13d8]
push ebx
push dword [ebp + 0x14]
call fcn.00403840
xor eax, eax
cmp dword [ebp + 8], 1
mov word [ebp - 0x804], ax
jne 0x424cf5
mov esi, str._Last_error:
push esi
call fcn.004011e0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x13d8]
call fcn.00403700
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1420]
push eax
call fcn.00424eba
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x13d8]
call fcn.00403840
push ebx
push 1
lea ecx, [ebp - 0x1420]
call fcn.00401e60
jmp 0x424d09
push esi
call fcn.004011e0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x13d8]
call fcn.00403700
mov edi, dword [0x46b26c]
test edi, edi
je 0x424e9b
push 0x3e8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x424e9b
cmp eax, 0xffffffff
je 0x424e9b
lea eax, [ebp - 0x13d8]
push eax
lea ecx, [ebp - 0x13f0]
call fcn.004047b0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x46b268], 8
mov eax, 0x46b254
push 0
cmovae eax, dword [0x46b254]
push 0x80
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x424e81
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x424e7a
test eax, eax
je 0x424e38
cmp eax, 0x100000
jb 0x424e4c
test esi, esi
je 0x424db8
push esi
call ebx
xor esi, esi
push str..old
lea eax, [ebp - 0x1408]
push 0x46b254
push eax
call fcn.004159ea
cmp dword [ebp - 0x13f4], 8
lea eax, [ebp - 0x1408]
cmovae eax, dword [ebp - 0x1408]
push eax
call fcn.00437070
cmp dword [ebp - 0x13f4], 8
lea ecx, [ebp - 0x1408]
mov eax, 0x46b254
cmovae ecx, dword [ebp - 0x1408]
cmp dword [0x46b268], 8
push ecx
cmovae eax, dword [0x46b254]
push eax
call fcn.00437043
add esp, 0x18
lea ecx, [ebp - 0x1408]
push 0
push 1
call fcn.00401e60
test esi, esi
je 0x424d4f
push esi
call ebx
jmp 0x424d4f
push 0xfeff
push 1
push 0
lea ecx, [ebp - 0x13f0]
call fcn.00424ffe
cmp dword [ebp - 0x13dc], 8
lea eax, [ebp - 0x1434]
push 0
push eax
mov eax, dword [ebp - 0x13e0]
lea ecx, [ebp - 0x13f0]
cmovae ecx, dword [ebp - 0x13f0]
add eax, eax
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x424e81
push esi
call ebx
push 0
push 1
lea ecx, [ebp - 0x13f0]
call fcn.00401e60
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0
jmp 0x424e9c
push ebx
push 1
lea ecx, [ebp - 0x13d8]
call fcn.00401e60
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d2b3
mov esp, ebp
pop ebp
ret