Function at 0x1000ddec
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x8e8
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov rax, qword [0x100b1640]
xor rax, rsp
mov qword [rsp + 0x8d0], rax
mov dword [rsp + 0xa8], r8d
mov r13d, ecx
mov rax, qword [rsp + 0x950]
mov r15, qword [rsp + 0x958]
xor edi, edi
mov qword [rsp + 0xa0], rdi
lea rsi, [0x10095fa6]
mov rbx, rsi
cmp rdx, rdi
cmovne rbx, rdx
mov r14, rsi
cmp r9, rdi
cmovne r14, r9
mov qword [rsp + 0xb8], r14
cmp rax, rdi
cmovne rsi, rax
mov qword [rsp + 0xb0], rsi
lea r12, [rsp + 0xd0]
cmp r15, rdi
cmovne r12, r15
lea edx, [rdi + 0x5c]
mov rcx, rbx
call fcn.10031720
mov rbp, rax
cmp rax, rdi
je 0x1000de9d
add rbp, 1
jmp 0x1000dea0
mov rbp, rbx
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp r13d, edi
je 0x1000e01c
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0x400
mov r8d, r13d
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov r14d, eax
cmp eax, edi
je 0x1000def4
cmp qword [rsp + 0xa0], rdi
jne 0x1000df03
lea rax, str._Could_not_find_any_description_for_the_error_
mov qword [rsp + 0xa0], rax
mov ecx, dword [0x100b3d90]
test cl, 1
jne 0x1000df30
or ecx, 1
mov dword [0x100b3d90], ecx
lea rcx, [0x100b3b80]
call fcn.1000dd34
lea rcx, [0x1005656c]
call fcn.10030190
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
movzx edx, word [rsp + 0x9e]
movzx r8d, word [rsp + 0x9c]
movzx r10d, word [rsp + 0x9a]
movzx r11d, word [rsp + 0x98]
movzx r9d, word [rsp + 0x96]
movzx ebx, word [rsp + 0x92]
movzx edi, word [rsp + 0x90]
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rcx
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x80], rcx
mov dword [rsp + 0x78], r13d
lea r13, [0x100b3c84]
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x50], r8d
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], edi
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
mov r8, rbp
lea rdx, str._.250s__d__:__.600s_n_ttime_t:__04d__02d__02d__02d:_02d:_02d:_03d_n_tprocess_t:_0x_08X_n_tthread_t:_0x_08X_n_tapplication_:__.250s_n_tlast_error_:__d___.250s_n_texpression_:__.250s_n
mov rcx, r12
call qword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
test r14d, r14d
je 0x1000e0f0
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1000e0f0
mov eax, dword [0x100b3d90]
test al, 1
jne 0x1000e048
or eax, 1
mov dword [0x100b3d90], eax
lea rcx, [0x100b3b80]
call fcn.1000dd34
lea rcx, [0x1005656c]
call fcn.10030190
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
movzx ecx, word [rsp + 0x9e]
movzx edx, word [rsp + 0x9c]
movzx r8d, word [rsp + 0x9a]
movzx r9d, word [rsp + 0x98]
movzx r10d, word [rsp + 0x96]
movzx r11d, word [rsp + 0x92]
movzx ebx, word [rsp + 0x90]
mov qword [rsp + 0x78], r14
lea r13, [0x100b3c84]
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
mov r9d, dword [rsp + 0xa8]
mov r8, rbp
lea rdx, str._.250s__d__:__.600s_n_ttime_t:__04d__02d__02d__02d:_02d:_02d:_03d_n_tprocess_t:_0x_08X_n_tthread_t:_0x_08X_n_tapplication_:__.250s_n_texpression_:__.250s_n
mov rcx, r12
call qword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
test r15, r15
jne 0x1000e17a
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov r11d, dword [0x100b3d90]
test r11b, 1
jne 0x1000e133
or r11d, 1
mov dword [0x100b3d90], r11d
lea rcx, [0x100b3b80]
call fcn.1000dd34
lea rcx, [0x1005656c]
call fcn.10030190
nop
lea rcx, [0x100b3b80]
call fcn.1000dae0
test rax, rax
je 0x1000e158
movsxd rdx, ebx
mov r9, rax
mov r8d, 1
mov rcx, r12
call fcn.10031eb0
cmp dword [rsp + 0x960], 0
je 0x1000e17a
mov r9d, 0x40010
lea r8, str.Error_:_Please_contact_the_software_developer
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov rcx, qword [rsp + 0x8d0]
xor rcx, rsp
call fcn.1002ff40
add rsp, 0x8e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret