Function at 0x1000a330
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f965
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x101f7210]
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.100143e0
mov edi, eax
cmp edi, 0xffffffff
je 0x1000a5e5
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 0x101cf8e0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 3
call fcn.1001e640
push edi
push 0
lea eax, [ebp - 0xe8]
mov dword [ebp - 4], 4
push eax
mov ecx, esi
call fcn.10012740
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
cmp ecx, eax
je 0x1000a420
push 0xffffffffffffffff
push 0
push eax
call fcn.1001e2d0
cmp dword [ebp - 0xd4], 8
jb 0x1000a437
push dword [ebp - 0xe8]
call fcn.1002fb32
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 0x101cf8e0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.1001e640
sub esp, 0xc
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x70]
push eax
push ecx
push esi
call fcn.100051e0
cmp dword [ebp - 0x60], 0
je 0x1000a5d2
push ecx
push 0
push 0x101cd7f4
lea ecx, [ebp - 0x70]
call fcn.10002fd0
push ecx
push 0
push 0x101cd7f8
lea ecx, [ebp - 0x70]
call fcn.10002fd0
push ecx
push 0
push 0x101cd680
lea ecx, [ebp - 0x70]
call fcn.10002fd0
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 0x10203748
call fcn.10010fa0
add esp, 0x10
mov edx, eax
mov byte [ebp - 4], 0xb
cmp dword [edx + 0x14], 8
jb 0x1000a504
mov edx, dword [edx]
cmp word [edx], 0
jne 0x1000a50e
xor ecx, ecx
jmp 0x1000a522
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a513
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd0]
call fcn.100125b0
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0xa
call fcn.100024d0
cmp dword [ebp - 0xbc], 8
lea ecx, [ebp - 0xd0]
cmovae ecx, dword [ebp - 0xd0]
cmp dword [esi + 0x14], 8
jb 0x1000a55c
mov eax, dword [esi]
jmp 0x1000a55e
mov eax, esi
push ecx
push eax
call fcn.1014b334
add esp, 8
test eax, eax
jne 0x1000a57c
lea eax, [ebp - 0xd0]
mov ecx, ebx
push eax
call fcn.10002780
jmp 0x1000a5d2
mov dword [ebp - 0xe0], 0x101cda58
mov dword [ebp - 0xdc], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.10002930
push eax
push ecx
mov ecx, esi
call fcn.10002930
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.10005540
add esp, 0x1c
lea ecx, [ebp - 0x70]
call fcn.100024d0
lea ecx, [ebp - 0xd0]
call fcn.100024d0
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.1014aad2
mov esp, ebp
pop ebp
ret 8