Function at 0x4de0c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bc0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x78efc4]
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, ecx
lea ebx, [esi + 0x1c]
push ebx
call fcn.004de000
cmp dword [esi + 0x64], edx
jg 0x4de2f6
jl 0x4de10d
cmp dword [esi + 0x60], eax
jae 0x4de2f6
mov eax, dword [esi]
test eax, eax
je 0x4de122
push eax
call fcn.0068c419
add esp, 4
mov dword [esi], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x4de180
mov eax, dword [ecx]
lea edx, [ebp - 0x58]
push edx
call dword [eax + 8]
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.0044d000
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4de2f6
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4de171
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4de312
push edx
push ecx
call fcn.006779b1
add esp, 8
jmp 0x4de2f6
call fcn.00468280
push ecx
lea ecx, [ebp - 0x110]
mov edi, eax
mov esi, edx
call fcn.0048acc0
mov edx, 0x747144
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.0048b640
push esi
push edi
mov ecx, eax
call fcn.0048af10
mov edx, str..log
mov ecx, eax
call fcn.0048b640
push ebx
lea ecx, [ebp - 0x40]
call fcn.0044d190
push dword [ebp - 0x5c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov edx, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push 4
push str..log
push ecx
call fcn.004debb0
add esp, 0x10
lea ecx, [ebp - 0xf8]
mov esi, eax
lea eax, [ebp - 0x28]
push eax
call fcn.00469c90
cmp esi, 0xffffffff
je 0x4de259
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push 4
push esi
call fcn.004de8f0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4de280
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4de276
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4de317
jmp 0x4de276
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0044ff60
jmp 0x4de223
push edx
push ecx
call fcn.006779b1
add esp, 8
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp dword [ebx + 0x14], 8
jb 0x4de293
mov ebx, dword [ebx]
push eax
push ebx
call fcn.0068c49d
add esp, 8
test eax, eax
jne 0x4de31c
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4de2d7
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4de2cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4de317
push edx
push ecx
call fcn.006779b1
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00489c40
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.006773ff
mov esp, ebp
pop ebp
ret
call fcn.00682da2
call fcn.00682da2
push str.couldnt_rename_log_file
lea ecx, [ebp - 0x1c]
call fcn.00461f40
push 0x789c30
lea eax, [ebp - 0x1c]
push eax
call fcn.006798be
int3