Function at 0x409c60
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2085
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x639210]
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 esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 5
push ecx
push str..log.
mov ecx, esi
call fcn.004138b0
mov edi, eax
cmp edi, 0xffffffff
je 0x409f15
xor eax, eax
mov dword [ebp - 0xbc], 7
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xb8], al
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], eax
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x88], al
push eax
push 0x6079a0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 3
call fcn.0041d070
push edi
push 0
lea eax, [ebp - 0xe8]
mov dword [ebp - 4], 4
push eax
mov ecx, esi
call fcn.00411c30
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
cmp ecx, eax
je 0x409d50
push 0xffffffffffffffff
push 0
push eax
call fcn.0041cd00
cmp dword [ebp - 0xd4], 8
jb 0x409d67
push dword [ebp - 0xe8]
call fcn.0043f3a3
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x58], al
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
push eax
push 0x6079a0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.0041d070
sub esp, 0xc
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x70]
push eax
push ecx
push esi
call fcn.00404c80
cmp dword [ebp - 0x60], 0
je 0x409f02
push ecx
push 0
push 0x6041b4
lea ecx, [ebp - 0x70]
call fcn.00402df0
push ecx
push 0
push 0x6041b8
lea ecx, [ebp - 0x70]
call fcn.00402df0
push ecx
push 0
push 0x604044
lea ecx, [ebp - 0x70]
call fcn.00402df0
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
push str.__s.log
lea eax, [ebp - 0x148]
push eax
push 0x6495d0
call fcn.00410a60
add esp, 0x10
mov edx, eax
mov byte [ebp - 4], 0xb
cmp dword [edx + 0x14], 8
jb 0x409e34
mov edx, dword [edx]
cmp word [edx], 0
jne 0x409e3e
xor ecx, ecx
jmp 0x409e52
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409e43
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd0]
call fcn.00411aa0
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0xa
call fcn.00402220
cmp dword [ebp - 0xbc], 8
lea ecx, [ebp - 0xd0]
cmovae ecx, dword [ebp - 0xd0]
cmp dword [esi + 0x14], 8
jb 0x409e8c
mov eax, dword [esi]
jmp 0x409e8e
mov eax, esi
push ecx
push eax
call fcn.00567cb4
add esp, 8
test eax, eax
jne 0x409eac
lea eax, [ebp - 0xd0]
mov ecx, ebx
push eax
call fcn.00402530
jmp 0x409f02
mov dword [ebp - 0xe0], 0x6043f0
mov dword [ebp - 0xdc], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.004026b0
push eax
push ecx
mov ecx, esi
call fcn.004026b0
movq xmm0, qword [ebp - 0xe0]
push eax
push str._t_trename__s___s_failed_err_lu.
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 3
call fcn.00404e40
add esp, 0x1c
lea ecx, [ebp - 0x70]
call fcn.00402220
lea ecx, [ebp - 0xd0]
call fcn.00402220
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.00567455
mov esp, ebp
pop ebp
ret 8