Function at 0x140001130
Capabilities:
Read .ini file
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x290]
sub rsp, 0x430
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rbx, rcx
xor edx, edx
mov rcx, qword [0x14003ffb0]
mov r8d, 0x1283680
call fcn.1400127a0
mov rcx, rbx
call fcn.140004620
mov r8d, 0x100
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x10]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea r9, str.mr12e.ini
lea r8, [rbp + 0x10]
lea rdx, str._s_s
lea rcx, [rbp + 0x140]
call fcn.1400010b0
mov rcx, qword [0x14003ffb0]
mov esi, dword [rcx + 0x1283678]
lea rbx, [rcx + 0x1280e78]
test esi, esi
jle 0x140001265
nop dword [rax]
lea rax, [rbp + 0x140]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rdx, [rbx + 4]
lea r9, [rbp + 0x10]
mov dword [rsp + 0x20], 0x100
lea rcx, str.MR12E_LOCAL_PARAMS
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x140001250
cmp dword [rbx], 0
jne 0x140001212
mov rcx, qword [rbx + 0x48]
lea rdx, [rbp + 0x10]
call fcn.1400010b0
cmp dword [rbx], 1
jne 0x140001226
lea rcx, [rbp + 0x10]
call fcn.1400199c0
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 2
jne 0x14000123a
lea rcx, [rbp + 0x10]
call fcn.1400199c0
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 3
jne 0x140001250
lea rcx, [rbp + 0x10]
call fcn.14001cfbc
mov rax, qword [rbx + 0x48]
movsd qword [rax], xmm0
dec esi
add rbx, 0x50
test esi, esi
jg 0x1400011d0
mov rcx, qword [0x14003ffb0]
mov eax, dword [rcx + 0x1280df0]
mov dword [rcx + 0x1280df4], eax
or dword [rcx + 0xdb026c], 8
mov dword [0x14003ffa8], 1
call fcn.140008ff0
mov rcx, qword [0x14003ffb0]
call qword [sym.imp.mr12e.dll_CopyAddressToDll]
call qword [sym.imp.mr12e.dll_CalcMeterPerBin]
call fcn.14000a650
mov r10, qword [0x14003ffb0]
test dword [r10 + 0xdb0270], 0x80000
jne 0x14000412d
mov qword [rsp + 0x468], r12
lea rdi, [0x140037e20]
mov qword [rsp + 0x470], r13
mov ebx, InitCommonControls
mov qword [rsp + 0x478], r15
xor r14d, r14d
movaps xmmword [rsp + 0x420], xmm6
movabs r15, 0x100100002401
movsd xmm6, qword [0x140039558]
movabs r12, 0x305741525f444e45
movaps xmmword [rsp + 0x410], xmm7
lea r13d, [rbx + 0x20]
movsd xmm7, qword [0x140039578]
movaps xmmword [rsp + 0x400], xmm8
movsd xmm8, qword [0x140039560]
movaps xmmword [rsp + 0x3f0], xmm9
movsd xmm9, qword [0x140039528]
nop word [rax + rax]
mov eax, dword [r10 + 0xdb026c]
bt eax, 8
jae 0x140001599
btr eax, 8
mov dword [r10 + 0xdb026c], eax
call fcn.14000b570
mov rdx, qword [0x14003ffb0]
mov eax, dword [rdx + 0x11cbab4]
mov dword [rdx + 0x11cbab8], eax
test eax, eax
jne 0x140001384
call fcn.140008e00
mov rdx, qword [0x14003ffb0]
mov eax, dword [rdx + 0x11cbab8]
test eax, eax
jne 0x140001395
cmp dword [rdx + 0x64], 1
cmove eax, ebx
mov dword [rsp + 0x118], eax
lea rcx, [rdx + 0x11caa08]
mov eax, dword [rdx + 0x50]
mov r8d, 0x2c
movsd xmm0, qword [rdx + 8]
movsd xmm3, qword [rdx + 0x11cba68]
mov dword [rsp + 0x110], 0x2c
movq r9, xmm3
mov dword [rsp + 0x108], eax
mov eax, dword [rdx + 0x4c]
mov dword [rsp + 0x100], 0x2c
mov dword [rsp + 0xf8], eax
mov eax, dword [rdx + 0x48]
mov dword [rsp + 0xf0], 0x2c
mov dword [rsp + 0xe8], eax
mov eax, dword [rdx + 0x11cba40]
mov dword [rsp + 0xe0], 0x2c
mov dword [rsp + 0xd8], eax
mov eax, dword [rdx + 0x11cba5c]
mov dword [rsp + 0xd0], 0x2c
mov dword [rsp + 0xc8], eax
mov eax, dword [rdx + 0x11cba44]
mov dword [rsp + 0xc0], 0x2c
mov dword [rsp + 0xb8], eax
mov eax, dword [rdx + 0x11cba48]
mov dword [rsp + 0xb0], 0x2c
mov dword [rsp + 0xa8], eax
mov eax, dword [rdx + 0x11cba50]
mov dword [rsp + 0xa0], 0x2c
mov dword [rsp + 0x98], eax
mov eax, dword [rdx + 0x11cba58]
mov dword [rsp + 0x90], 0x2c
mov dword [rsp + 0x88], eax
mov eax, dword [rdx + 0x1280ddc]
mov dword [rsp + 0x80], 0x2c
mov dword [rsp + 0x78], eax
mov eax, dword [rdx]
mov dword [rsp + 0x70], 0x2c
mov dword [rsp + 0x68], eax
mov eax, dword [rdx + 0x10]
mov dword [rsp + 0x60], 0x2c
mov dword [rsp + 0x58], eax
mov eax, dword [rdx + 0x11cba3c]
mov dword [rsp + 0x50], 0x2c
mov dword [rsp + 0x48], eax
mov eax, dword [rdx + 0x14]
lea rdx, str.B290_START_c_lf_c_d_c_lf_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_r
mov dword [rsp + 0x40], 0x2c
movsd qword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], 0x2c
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x2c
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140001556
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140001556
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001530
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call qword [sym.imp.mr12e.dll_CalcMeterPerBin]
mov rcx, qword [0x14003ffb0]
mov rax, qword [rcx + 0x78]
mov qword [rcx + 0x18], rax
mov eax, dword [rcx + 0x14]
mov dword [rcx + 0x1280db0], eax
call fcn.140008ff0
call fcn.14000a060
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r10, qword [0x14003ffb0]
mov dword [r10 + 0x11cba94], eax
mov dword [r10 + 0x1280dc0], r14d
test dword [r10 + 0xdb026c], 0x200
je 0x14000169c
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r10, qword [0x14003ffb0]
mov r8d, eax
mov eax, 0x66666667
mov r9d, dword [r10 + 0x11cba40]
sub r8d, dword [r10 + 0x11cba90]
imul r9d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp r8d, edx
jl 0x1400015eb
lea eax, [r9 + r9]
cmp eax, r8d
jge 0x14000169c
lea rcx, [r10 + 0x11caa08]
lea rdx, str.B290_STOP_r
call fcn.1400010b0
mov rcx, qword [0x14003ffb0]
cmp dword [rcx + 0x11cba38], 1
jne 0x14000165d
mov rbx, qword [rcx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x14000165d
lea rdx, [rcx + 0x11caa08]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001630
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x78]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x14003ffb0]
mov dword [rbx + 0x200020], r14d
add rcx, 0xdb016c
lea rdx, str.Sent_:_STOP_script
call fcn.1400010b0
mov r10, qword [0x14003ffb0]
or dword [r10 + 0xdb026c], 0x10
and dword [r10 + 0xdb026c], 0xfffffdff
mov dword [r10 + 0x1280dc0], 1
mov dword [r10 + 0x1280e04], r14d
mov eax, dword [r10 + 0xdb026c]
bt eax, 0xa
jae 0x1400016c0
btr eax, 0xa
mov dword [r10 + 0xdb026c], eax
call fcn.14000a650
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb026c]
bt eax, 0xb
jae 0x1400016e4
btr eax, 0xb
mov dword [r10 + 0xdb026c], eax
call fcn.14000a450
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb026c]
bt eax, 0xc
jae 0x140001878
btr eax, 0xc
mov dword [r10 + 0xdb026c], eax
call fcn.14000b570
mov r10, qword [0x14003ffb0]
cmp dword [r10 + 0x1280dc8], 1
jne 0x1400017ed
cvttsd2si eax, qword [r10 + 0x68]
mov dword [r10 + 0x1280dc8], r14d
movsd xmm0, qword [r10 + 0x1280da8]
cvttsd2si ecx, qword [r10 + 0x70]
mov dword [rsp + 0x68], eax
mov eax, dword [r10 + 0x11cba40]
mov dword [rsp + 0x60], eax
mov eax, dword [r10 + 0x11cba44]
movsd xmm1, qword [r10 + 0x20]
mov dword [rsp + 0x58], ecx
lea rcx, [rbp + 0x10]
mov dword [rsp + 0x50], eax
mov eax, dword [r10 + 0x11cba48]
mov dword [rsp + 0x48], eax
mov eax, dword [r10 + 0x11cba50]
mov dword [rsp + 0x40], eax
mov eax, dword [r10 + 0x4c]
mov dword [rsp + 0x38], eax
mov eax, dword [r10 + 0x50]
mulsd xmm0, xmm8
mov dword [rsp + 0x30], eax
mov eax, dword [r10 + 0x48]
mulsd xmm1, xmm8
mov dword [rsp + 0x28], eax
cvttsd2si edx, xmm0
movsd xmm0, qword [r10 + 0x78]
mulsd xmm0, xmm8
mov dword [rsp + 0x20], edx
lea rdx, str._d__d__d__d__d__d__d__d__d__d__d__d
cvttsd2si r9d, xmm1
cvttsd2si r8d, xmm0
call fcn.1400010b0
mov rcx, qword [0x14003ffb0]
lea r8, [rbp + 0x10]
add rcx, 0x11caa08
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_MAP__s_c_c
call fcn.1400010b0
jmp 0x14000180a
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
lea rdx, str.START_MAP_c_c
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x14003ffb0]
cmp dword [rax + 0x11cba38], 1
jne 0x14000185b
mov rbx, qword [rax + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x14000185b
lea rdx, [rax + 0x11caa08]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001835
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x74]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
call fcn.1400098c0
call fcn.140008ff0
mov r10, qword [0x14003ffb0]
mov dword [r10 + 0x1280dc0], r14d
mov eax, dword [r10 + 0xdb026c]
bt eax, 0xd
jae 0x140001a13
btr eax, 0xd
mov dword [r10 + 0xdb026c], eax
call fcn.14000b570
mov r10, qword [0x14003ffb0]
cmp dword [r10 + 0x1280dc8], 1
jne 0x140001981
cvttsd2si eax, qword [r10 + 0x68]
mov dword [r10 + 0x1280dc8], r14d
movsd xmm0, qword [r10 + 0x1280da8]
cvttsd2si ecx, qword [r10 + 0x70]
mov dword [rsp + 0x68], eax
mov eax, dword [r10 + 0x11cba40]
mov dword [rsp + 0x60], eax
mov eax, dword [r10 + 0x11cba44]
movsd xmm1, qword [r10 + 0x20]
mov dword [rsp + 0x58], ecx
lea rcx, [rbp + 0x10]
mov dword [rsp + 0x50], eax
mov eax, dword [r10 + 0x11cba48]
mov dword [rsp + 0x48], eax
mov eax, dword [r10 + 0x11cba50]
mov dword [rsp + 0x40], eax
mov eax, dword [r10 + 0x4c]
mov dword [rsp + 0x38], eax
mov eax, dword [r10 + 0x50]
mulsd xmm0, xmm8
mov dword [rsp + 0x30], eax
mov eax, dword [r10 + 0x48]
mulsd xmm1, xmm8
mov dword [rsp + 0x28], eax
cvttsd2si edx, xmm0
movsd xmm0, qword [r10 + 0x78]
mulsd xmm0, xmm8
mov dword [rsp + 0x20], edx
lea rdx, str._d__d__d__d__d__d__d__d__d__d__d__d
cvttsd2si r9d, xmm1
cvttsd2si r8d, xmm0
call fcn.1400010b0
mov rcx, qword [0x14003ffb0]
lea r8, [rbp + 0x10]
add rcx, 0x11caa08
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_PPI__s_c_c
call fcn.1400010b0
jmp 0x14000199e
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
lea rdx, str.START_PPI_c_c
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x14003ffb0]
cmp dword [rax + 0x11cba38], 1
jne 0x1400019f6
mov rbx, qword [rax + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x1400019f6
lea rdx, [rax + 0x11caa08]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400019d0
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x70]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
call fcn.140008ff0
call fcn.14000a060
mov r10, qword [0x14003ffb0]
mov dword [r10 + 0x1280dc0], r14d
mov eax, dword [r10 + 0xdb026c]
bt eax, 0xe
jae 0x140001bac
btr eax, 0xe
mov dword [r10 + 0xdb026c], eax
call fcn.14000b570
mov r10, qword [0x14003ffb0]
cmp dword [r10 + 0x1280dc8], 1
jne 0x140001b1c
cvttsd2si eax, qword [r10 + 0x68]
mov dword [r10 + 0x1280dc8], r14d
movsd xmm0, qword [r10 + 0x1280da8]
cvttsd2si ecx, qword [r10 + 0x70]
mov dword [rsp + 0x68], eax
mov eax, dword [r10 + 0x11cba40]
mov dword [rsp + 0x60], eax
mov eax, dword [r10 + 0x11cba44]
movsd xmm1, qword [r10 + 0x20]
mov dword [rsp + 0x58], ecx
lea rcx, [rbp + 0x10]
mov dword [rsp + 0x50], eax
mov eax, dword [r10 + 0x11cba48]
mov dword [rsp + 0x48], eax
mov eax, dword [r10 + 0x11cba50]
mov dword [rsp + 0x40], eax
mov eax, dword [r10 + 0x4c]
mov dword [rsp + 0x38], eax
mov eax, dword [r10 + 0x50]
mulsd xmm0, xmm8
mov dword [rsp + 0x30], eax
mov eax, dword [r10 + 0x48]
mulsd xmm1, xmm8
mov dword [rsp + 0x28], eax
cvttsd2si edx, xmm0
movsd xmm0, qword [r10 + 0x78]
mulsd xmm0, xmm8
mov dword [rsp + 0x20], edx
lea rdx, str._d__d__d__d__d__d__d__d__d__d__d__d
cvttsd2si r9d, xmm1
cvttsd2si r8d, xmm0
call fcn.1400010b0
mov rcx, qword [0x14003ffb0]
lea r8, [rbp + 0x10]
add rcx, 0x11caa08
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_RAW__s_c_c
call fcn.1400010b0
jmp 0x140001b39
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
lea rdx, str.START_RAW_c_c
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x14003ffb0]
cmp dword [rax + 0x11cba38], 1
jne 0x140001b8a
mov rbx, qword [rax + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140001b8a
lea rdx, [rax + 0x11caa08]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001b64
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x6c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
call fcn.1400098c0
call fcn.140008ff0
call fcn.14000a060
mov r10, qword [0x14003ffb0]
mov dword [r10 + 0x1280dc0], r14d
mov eax, dword [r10 + 0xdb026c]
bt eax, 0xf
jae 0x140001cae
btr eax, 0xf
lea rcx, [r10 + 0x11caa08]
lea rdx, str.B290_RDPARAM_r
mov dword [r10 + 0xdb026c], eax
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140001c2c
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140001c2c
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001c06
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x68]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x1f4
call fcn.14000a530
movsxd rbx, eax
test eax, eax
jle 0x140001ca7
mov rdx, qword [0x14003ffb0]
mov byte [rbx + rdx + 0xdb0a08], r14b
lea r8, [rdx + 0xdb0a08]
lea rcx, [rdx + 0xdb016c]
lea rdx, [0x140037cb8]
call fcn.1400010b0
mov rcx, qword [0x14003ffb0]
lea r8, [rbp - 0x80]
mov edx, ebx
or dword [rcx + 0xdb026c], 0x10
add rcx, 0xdb0a08
mov qword [rbp - 0x80], rcx
call fcn.1400085d0
mov r10, qword [0x14003ffb0]
or dword [r10 + 0xdb026c], 8
jmp 0x140001cae
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb026c]
test eax, eax
jns 0x140001d42
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
btr eax, 0x1f
lea rdx, str.K_0_1_c_c
mov dword [r10 + 0xdb026c], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140001d36
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140001d36
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001d10
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x64]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb0270]
test al, 1
je 0x140002006
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
and eax, 0xfffffffe
lea rdx, str.K_0_0_c_c
mov dword [r10 + 0xdb0270], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140001dc9
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140001dc9
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001da3
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x60]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
mov r8d, 0x1f4
call fcn.14000a530
movsxd rbx, eax
test eax, eax
jle 0x140001fdd
mov rdx, qword [0x14003ffb0]
mov byte [rbx + rdx + 0xdb0a08], r14b
lea r8, [rdx + 0xdb0a08]
lea rcx, [rdx + 0xdb016c]
lea rdx, [0x140037cb8]
call fcn.1400010b0
mov r10, qword [0x14003ffb0]
mov edx, r14d
or dword [r10 + 0xdb026c], 0x10
mov rcx, qword [r10 + 0x1280df8]
mov r8d, dword [rcx + 0x200018]
nop dword [rax + rax]
mov eax, dword [rcx + 0x20001c]
cmp r8d, eax
je 0x140001e57
inc eax
mov dword [rcx + 0x20001c], eax
cmp eax, 0x100000
jb 0x140001e51
mov dword [rcx + 0x20001c], r14d
inc edx
cmp edx, ebx
jl 0x140001e30
xorps xmm0, xmm0
lea r11, [r10 + 0xdb0a0e]
movups xmmword [rbp + 0x10], xmm0
mov rbx, r14
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
nop dword [rax]
nop dword [rax + rax]
mov r8d, r14d
mov r9d, r14d
mov rdx, r14
nop dword [rax]
movzx ecx, byte [rdx + r11]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140001ea9
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140001eb4
cmp cl, 0x2d
jne 0x140001ebf
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140001e90
jmp 0x140001ec7
cmp cl, 0x2c
jne 0x140001ec7
inc rdx
add r11, rdx
mov eax, r8d
neg eax
cmp r9d, 1
movzx ecx, byte [r11]
cmovne eax, r8d
mov dword [rbp + rbx*4 + 0x10], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x140001eee
sub cl, 0x2c
cmp cl, 1
ja 0x140001efa
inc rbx
cmp rbx, 0x1000
jl 0x140001e80
movd xmm0, dword [rbp + 0x14]
movd xmm2, dword [rbp + 0x10]
movd xmm1, dword [rbp + 0x18]
mov eax, dword [rbp + 0x1c]
mov dword [r10 + 0x48], eax
mov eax, dword [rbp + 0x20]
mov dword [r10 + 0x50], eax
mov eax, dword [rbp + 0x24]
cvtdq2pd xmm0, xmm0
mov dword [r10 + 0x4c], eax
mov eax, dword [rbp + 0x28]
mov dword [r10 + 0x11cba50], eax
mov eax, dword [rbp + 0x2c]
mov dword [r10 + 0x11cba48], eax
mov eax, dword [rbp + 0x30]
divsd xmm0, xmm8
mov dword [r10 + 0x11cba44], eax
mov eax, dword [rbp + 0x38]
mov dword [r10 + 0x11cba40], eax
mov eax, dword [rbp + 0x3c]
cvtdq2pd xmm2, xmm2
movsd qword [r10 + 0x20], xmm0
movd xmm0, dword [rbp + 0x34]
cvtdq2pd xmm1, xmm1
divsd xmm2, xmm8
divsd xmm1, xmm8
movsd qword [r10 + 0x18], xmm2
movsd qword [r10 + 0x1280da8], xmm1
cvtdq2pd xmm0, xmm0
movsd qword [r10 + 0x70], xmm0
cmp eax, 0x128e0
jl 0x140001fd3
movd xmm1, eax
movaps xmm0, xmm2
mov eax, dword [rbp + 0x40]
cvtdq2pd xmm1, xmm1
mov dword [r10 + 0x14], eax
mov eax, dword [rbp + 0x44]
mov dword [r10 + 0x10], eax
mov eax, dword [rbp + 0x48]
mov dword [r10 + 0x1280e64], eax
divsd xmm1, xmm8
movsd qword [r10 + 0x11cba68], xmm1
call qword [sym.imp.mr12e.dll_CalcRampTimeByMaxDistance]
mov r10, qword [0x14003ffb0]
movsd qword [r10 + 8], xmm0
or dword [r10 + 0xdb026c], 8
jmp 0x140002006
mov rcx, qword [0x14003ffb0]
lea rdx, [0x140037ce0]
add rcx, 0xdb016c
call fcn.1400010b0
mov r10, qword [0x14003ffb0]
or dword [r10 + 0xdb026c], 0x10
mov eax, dword [r10 + 0xdb0270]
test al, 2
je 0x140002099
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
and eax, 0xfffffffd
lea rdx, str.K_0_3_c_c
mov dword [r10 + 0xdb0270], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x14000208d
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x14000208d
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002067
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x5c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb0270]
test al, 4
je 0x140002132
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
and eax, 0xfffffffb
lea rdx, str.K_0_4_c_c
mov dword [r10 + 0xdb0270], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140002126
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140002126
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002100
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x58]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb0270]
test al, 0x40
je 0x1400021e2
and eax, 0xffffffbf
mov dword [rsp + 0x20], 0xa
mov r8d, r14d
mov dword [r10 + 0xdb0270], eax
cmp dword [r10 + 0x1280dc4], 1
lea rcx, [r10 + 0x11caa08]
mov r9d, InitCommonControls
lea rdx, str.ATST__d_c_c
sete r8b
add r8d, 3
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x1400021d6
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x1400021d6
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400021b0
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x54]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb0270]
test al, al
jns 0x140002276
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
btr eax, 7
lea rdx, str.ATST_0_c_c
mov dword [r10 + 0xdb0270], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x14000226a
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x14000226a
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002244
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb026c]
bt eax, 0x1a
jae 0x1400022f4
xorps xmm0, xmm0
xorps xmm1, xmm1
btr eax, 0x1a
mov dword [r10 + 0xdb026c], eax
movups xmmword [r10 + 0x8000e8], xmm0
movups xmmword [r10 + 0x8000f8], xmm0
movups xmmword [r10 + 0x800108], xmm0
movups xmmword [r10 + 0x800118], xmm0
movups xmmword [r10 + 0x800128], xmm0
movups xmmword [r10 + 0x800138], xmm0
movups xmmword [r10 + 0x800088], xmm1
movups xmmword [r10 + 0x800098], xmm1
movups xmmword [r10 + 0x8000a8], xmm1
movups xmmword [r10 + 0x8000b8], xmm1
movups xmmword [r10 + 0x8000c8], xmm1
movups xmmword [r10 + 0x8000d8], xmm1
mov ecx, dword [r10 + 0xdb026c]
bt ecx, 0x1b
jae 0x1400024e2
mov eax, ecx
btr eax, 0x1b
mov dword [r10 + 0xdb026c], eax
bt ecx, 0x1b
jae 0x1400024e2
lea rdx, [rbp + 0x14]
mov r9d, 3
lea r8, [r10 + 0x8000f0]
nop dword [rax]
movsd xmm0, qword [r8 - 8]
lea rdx, [rdx + 0x10]
mulsd xmm0, xmm7
lea r8, [r8 + 0x20]
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x20]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0x14], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x18]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0x10], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x10]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0xc], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
sub ecx, eax
mov dword [rdx - 8], ecx
sub r9, 1
jne 0x140002330
mov eax, dword [rbp + 0x3c]
lea rcx, [r10 + 0x11caa08]
mov r9d, dword [rbp + 0x10]
lea rdx, str.EEPHWR_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_r
mov dword [rsp + 0xc8], eax
mov r8d, 0x2c
mov eax, dword [rbp + 0x38]
mov dword [rsp + 0xc0], 0x2c
mov dword [rsp + 0xb8], eax
mov eax, dword [rbp + 0x34]
mov dword [rsp + 0xb0], 0x2c
mov dword [rsp + 0xa8], eax
mov eax, dword [rbp + 0x30]
mov dword [rsp + 0xa0], 0x2c
mov dword [rsp + 0x98], eax
mov eax, dword [rbp + 0x2c]
mov dword [rsp + 0x90], 0x2c
mov dword [rsp + 0x88], eax
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0x80], 0x2c
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x70], 0x2c
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0x60], 0x2c
mov dword [rsp + 0x58], eax
mov eax, dword [rbp + 0x1c]
mov dword [rsp + 0x50], 0x2c
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x40], 0x2c
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x30], 0x2c
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x2c
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x1400024d6
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x1400024d6
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400024b0
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x4c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb026c]
bt eax, 0x1c
jae 0x14000270e
btr eax, 0x1c
lea rcx, [r10 + 0x11caa08]
lea rdx, str.EEPHRD_r
mov dword [r10 + 0xdb026c], eax
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140002566
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140002566
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002540
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x48]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
mov r8d, 0x3e8
call fcn.14000a530
movsxd rbx, eax
test eax, eax
jle 0x140002707
mov rdx, qword [0x14003ffb0]
mov byte [rbx + rdx + 0xdb0a08], r14b
lea r8, [rdx + 0xdb0a08]
lea rcx, [rdx + 0xdb016c]
lea rdx, [0x140037cb8]
call fcn.1400010b0
mov rsi, qword [0x14003ffb0]
mov edx, r14d
or dword [rsi + 0xdb026c], 0x10
mov rcx, qword [rsi + 0x1280df8]
mov r8d, dword [rcx + 0x200018]
mov eax, dword [rcx + 0x20001c]
cmp r8d, eax
je 0x1400025eb
inc eax
mov dword [rcx + 0x20001c], eax
cmp eax, 0x100000
jb 0x1400025e5
mov dword [rcx + 0x20001c], r14d
inc edx
cmp edx, ebx
jl 0x1400025c4
lea r10, [rsi + 0xdb0a0f]
mov r11, r14
nop word [rax + rax]
mov r8d, r14d
mov r9d, r14d
mov rdx, r14
nop dword [rax]
movzx ecx, byte [r10 + rdx]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140002629
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140002634
cmp cl, 0x2d
jne 0x14000263f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140002610
jmp 0x140002647
cmp cl, 0x2c
jne 0x140002647
inc rdx
add r10, rdx
mov eax, r8d
neg eax
cmp r9d, 1
movzx ecx, byte [r10]
cmovne eax, r8d
mov dword [rbp + r11*4 + 0x10], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x14000266f
sub cl, 0x2c
cmp cl, 1
ja 0x14000267b
inc r11
cmp r11, 0x1000
jl 0x140002600
lea rcx, [rbp + 0x14]
mov r8d, 3
lea rdx, [rsi + 0x8000f0]
nop dword [rax]
mov eax, dword [rcx - 4]
lea rdx, [rdx + 0x20]
sub eax, 0x8000
lea rcx, [rcx + 0x10]
movd xmm0, eax
mov eax, dword [rcx - 0x10]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x28], xmm0
movd xmm0, eax
mov eax, dword [rcx - 0xc]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x20], xmm0
movd xmm0, eax
mov eax, dword [rcx - 8]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x18], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm6
movsd qword [rdx - 0x10], xmm0
sub r8, 1
jne 0x140002690
jmp 0x140003f57
mov r10, qword [0x14003ffb0]
mov ecx, dword [r10 + 0xdb026c]
bt ecx, 0x1d
jae 0x140002902
mov eax, ecx
btr eax, 0x1d
mov dword [r10 + 0xdb026c], eax
bt ecx, 0x1d
jae 0x140002902
lea rdx, [rbp + 0x14]
mov r9d, 3
lea r8, [r10 + 0x800090]
nop word [rax + rax]
movsd xmm0, qword [r8 - 8]
lea rdx, [rdx + 0x10]
mulsd xmm0, xmm7
lea r8, [r8 + 0x20]
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x20]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0x14], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x18]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0x10], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x10]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0xc], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
sub ecx, eax
mov dword [rdx - 8], ecx
sub r9, 1
jne 0x140002750
mov eax, dword [rbp + 0x3c]
lea rcx, [r10 + 0x11caa08]
mov r9d, dword [rbp + 0x10]
lea rdx, str.EEAMPWR_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_r
mov dword [rsp + 0xc8], eax
mov r8d, 0x2c
mov eax, dword [rbp + 0x38]
mov dword [rsp + 0xc0], 0x2c
mov dword [rsp + 0xb8], eax
mov eax, dword [rbp + 0x34]
mov dword [rsp + 0xb0], 0x2c
mov dword [rsp + 0xa8], eax
mov eax, dword [rbp + 0x30]
mov dword [rsp + 0xa0], 0x2c
mov dword [rsp + 0x98], eax
mov eax, dword [rbp + 0x2c]
mov dword [rsp + 0x90], 0x2c
mov dword [rsp + 0x88], eax
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0x80], 0x2c
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x70], 0x2c
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0x60], 0x2c
mov dword [rsp + 0x58], eax
mov eax, dword [rbp + 0x1c]
mov dword [rsp + 0x50], 0x2c
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x40], 0x2c
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x30], 0x2c
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x2c
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x1400028f6
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x1400028f6
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400028d0
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x44]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb026c]
bt eax, 0x1e
jae 0x140002b2e
btr eax, 0x1e
lea rcx, [r10 + 0x11caa08]
lea rdx, str.EEAMPRD_r
mov dword [r10 + 0xdb026c], eax
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140002986
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140002986
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002960
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x40]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
mov r8d, 0x3e8
call fcn.14000a530
movsxd rbx, eax
test eax, eax
jle 0x140002b27
mov rdx, qword [0x14003ffb0]
mov byte [rbx + rdx + 0xdb0a08], r14b
lea r8, [rdx + 0xdb0a08]
lea rcx, [rdx + 0xdb016c]
lea rdx, [0x140037cb8]
call fcn.1400010b0
mov rsi, qword [0x14003ffb0]
mov edx, r14d
or dword [rsi + 0xdb026c], 0x10
mov rcx, qword [rsi + 0x1280df8]
mov r8d, dword [rcx + 0x200018]
mov eax, dword [rcx + 0x20001c]
cmp r8d, eax
je 0x140002a0b
inc eax
mov dword [rcx + 0x20001c], eax
cmp eax, 0x100000
jb 0x140002a05
mov dword [rcx + 0x20001c], r14d
inc edx
cmp edx, ebx
jl 0x1400029e4
lea r10, [rsi + 0xdb0a10]
mov r11, r14
nop word [rax + rax]
mov r8d, r14d
mov r9d, r14d
mov rdx, r14
nop dword [rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140002a49
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140002a54
cmp cl, 0x2d
jne 0x140002a5f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140002a30
jmp 0x140002a67
cmp cl, 0x2c
jne 0x140002a67
inc rdx
add r10, rdx
mov eax, r8d
neg eax
cmp r9d, 1
movzx ecx, byte [r10]
cmovne eax, r8d
mov dword [rbp + r11*4 + 0x10], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x140002a8f
sub cl, 0x2c
cmp cl, 1
ja 0x140002a9b
inc r11
cmp r11, 0x1000
jl 0x140002a20
lea rcx, [rbp + 0x14]
mov r8d, 3
lea rdx, [rsi + 0x800090]
nop dword [rax]
mov eax, dword [rcx - 4]
lea rdx, [rdx + 0x20]
sub eax, 0x8000
lea rcx, [rcx + 0x10]
movd xmm0, eax
mov eax, dword [rcx - 0x10]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x28], xmm0
movd xmm0, eax
mov eax, dword [rcx - 0xc]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x20], xmm0
movd xmm0, eax
mov eax, dword [rcx - 8]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x18], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm6
movsd qword [rdx - 0x10], xmm0
sub r8, 1
jne 0x140002ab0
jmp 0x140003f57
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb0270]
test al, 8
je 0x140002bb3
and eax, 0xfffffff7
lea rcx, [r10 + 0x11caa08]
lea rdx, str.EEENWR_0_1_1_r
mov dword [r10 + 0xdb0270], eax
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140002ba7
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140002ba7
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002b81
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x3c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb026c]
bt eax, 0x17
jae 0x140002d76
btr eax, 0x17
mov dword [r10 + 0xdb026c], eax
mov eax, dword [r10 + 0x1280df4]
cmp eax, 0xe100
jg 0x140002c11
je 0x140002c09
cmp eax, 0x2580
je 0x140002c04
cmp eax, 0x4b00
je 0x140002bfc
cmp eax, 0x9600
jne 0x140002c26
mov r8d, 2
jmp 0x140002c44
mov r8d, 1
jmp 0x140002c44
mov r8d, r14d
jmp 0x140002c44
mov r8d, 3
jmp 0x140002c44
cmp eax, 0x1c200
je 0x140002c3e
cmp eax, 0x38400
je 0x140002c36
cmp eax, 0x70800
je 0x140002c2e
mov r8d, 7
jmp 0x140002c44
mov r8d, 6
jmp 0x140002c44
mov r8d, 5
jmp 0x140002c44
mov r8d, 4
lea rcx, [r10 + 0x11caa08]
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.H_0__d_0_c_c
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140002cb6
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140002cb6
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002c90
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x38]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
mov r8d, 0x1f4
call fcn.14000a530
movsxd r8, eax
test eax, eax
jle 0x140002d4d
mov r10, qword [0x14003ffb0]
mov edx, r14d
mov rcx, qword [r10 + 0x1280df8]
mov r9d, dword [rcx + 0x200018]
mov eax, dword [rcx + 0x20001c]
cmp r9d, eax
je 0x140002d0c
inc eax
mov dword [rcx + 0x20001c], eax
cmp eax, 0x100000
jb 0x140002d05
mov dword [rcx + 0x20001c], r14d
inc edx
cmp edx, r8d
jl 0x140002ce4
mov byte [r8 + r10 + 0xdb0a08], r14b
lea rcx, [r10 + 0xdb016c]
lea r8, [r10 + 0xdb0a08]
lea rdx, [0x140037cb8]
call fcn.1400010b0
mov r10, qword [0x14003ffb0]
or dword [r10 + 0xdb026c], 0x10
mov eax, dword [r10 + 0x1280df4]
mov dword [r10 + 0x1280df0], eax
jmp 0x140002d76
mov rcx, qword [0x14003ffb0]
lea rdx, [0x140037ce0]
add rcx, 0xdb016c
call fcn.1400010b0
mov r10, qword [0x14003ffb0]
or dword [r10 + 0xdb026c], 0x10
mov eax, dword [r10 + 0xdb0270]
bt eax, 9
jae 0x140002d9a
btr eax, 9
mov dword [r10 + 0xdb0270], eax
call fcn.14000b650
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb026c]
bt eax, 0x18
jae 0x140002e32
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
btr eax, 0x18
lea rdx, str.V_0_0_0_c_c
mov dword [r10 + 0xdb026c], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140002e26
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140002e26
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002e00
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x34]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb026c]
bt eax, 0x10
jae 0x140002f04
btr eax, 0x10
mov dword [rsp + 0x38], 0xa
mov dword [r10 + 0xdb026c], eax
lea rcx, [r10 + 0x11caa08]
mov eax, dword [r10 + 0x11cbac0]
lea rdx, str.S_0_1_1_1_12__d__d__d__d_c_c
mov r9d, dword [r10 + 0x11cba54]
mov r8d, dword [r10 + 0x1280e64]
mov dword [rsp + 0x30], InitCommonControls
mov dword [rsp + 0x28], eax
mov eax, dword [r10 + 0x1280e6c]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140002ee6
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140002ee6
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002ec0
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
test eax, eax
jne 0x140002f04
mov eax, dword [r10 + 0x1280e60]
mov dword [r10 + 0x1280e5c], eax
mov eax, dword [r10 + 0xdb026c]
bt eax, 0x11
jae 0x140003174
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
btr eax, 0x11
lea rdx, str.S_0_0_0_c_c
mov dword [r10 + 0xdb026c], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140002f96
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140002f96
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002f70
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x2c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
mov r8d, 0x1f4
call fcn.14000a530
movsxd r8, eax
test eax, eax
jle 0x14000314b
mov rbx, qword [0x14003ffb0]
mov edx, r14d
mov byte [r8 + rbx + 0xdb0a08], r14b
mov rcx, qword [rbx + 0x1280df8]
mov r9d, dword [rcx + 0x200018]
nop dword [rax]
mov eax, dword [rcx + 0x20001c]
cmp r9d, eax
je 0x140002ff8
inc eax
mov dword [rcx + 0x20001c], eax
cmp eax, 0x100000
jb 0x140002ff1
mov dword [rcx + 0x20001c], r14d
inc edx
cmp edx, r8d
jl 0x140002fd0
xorps xmm0, xmm0
mov dword [rbx + 0x1280dd4], 1
movups xmmword [rbp + 0x10], xmm0
mov dword [rbx + 0x1280dd0], 1
lea r10, [rbx + 0xdb0a0e]
movups xmmword [rbp + 0x20], xmm0
mov dword [rbx + 0x58], InitCommonControls
mov r11, r14
movups xmmword [rbp + 0x30], xmm0
mov dword [rbx + 0x1280e64], r14d
movups xmmword [rbp + 0x40], xmm0
mov dword [rbx + 0x11cba54], 1
mov dword [rbx + 0x1280e6c], r14d
mov dword [rbx + 0x11cbac0], r14d
nop
mov r8d, r14d
mov r9d, r14d
mov rdx, r14
nop dword [rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140003079
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140003084
cmp cl, 0x2d
jne 0x14000308f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140003060
jmp 0x140003097
cmp cl, 0x2c
jne 0x140003097
inc rdx
add r10, rdx
mov eax, r8d
neg eax
cmp r9d, 1
movzx ecx, byte [r10]
cmovne eax, r8d
mov dword [rbp + r11*4 + 0x10], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x1400030bf
sub cl, 0x2c
cmp cl, 1
ja 0x1400030cb
inc r11
cmp r11, 0x1000
jl 0x140003050
mov eax, dword [rbp + 0x10]
lea rdx, [0x140037e1c]
mov dword [rbx + 0x1280dd4], eax
lea rcx, [rbp + 0x110]
mov eax, dword [rbp + 0x14]
mov dword [rbx + 0x1280dd0], eax
mov eax, dword [rbp + 0x18]
mov dword [rbx + 0x58], eax
mov eax, dword [rbp + 0x1c]
mov dword [rbx + 0x1280e64], eax
mov eax, dword [rbp + 0x20]
mov dword [rbx + 0x11cba54], eax
mov eax, dword [rbp + 0x24]
mov dword [rbx + 0x1280e6c], eax
mov eax, dword [rbp + 0x28]
cmp eax, 1
mov dword [rbx + 0x11cbac0], eax
cmovne rdx, rdi
call fcn.1400010b0
mov rcx, qword [0x14003ffb0]
lea r9, [rbp + 0x110]
lea rdx, str._s__RAW_data_support___s
lea r8, [rcx + 0xdb0a08]
add rcx, 0xdb016c
call fcn.1400010b0
jmp 0x140003165
mov rcx, qword [0x14003ffb0]
lea rdx, [0x140037ce0]
add rcx, 0xdb016c
call fcn.1400010b0
mov r10, qword [0x14003ffb0]
or dword [r10 + 0xdb026c], 0x10
mov eax, dword [r10 + 0xdb026c]
bt eax, 0x12
jae 0x140003212
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
btr eax, 0x12
lea rdx, str.S_0_3_c_c
mov dword [r10 + 0xdb026c], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140003206
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140003206
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400031e0
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x28]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb026c]
bt eax, 0x13
jae 0x1400032f3
btr eax, 0x13
mov dword [rsp + 0x50], 0xa
mov dword [r10 + 0xdb026c], eax
lea rcx, [r10 + 0x11caa08]
mov eax, dword [r10 + 0x11cbaec]
lea rdx, str.DECIM_DIST_0_1__d__d__d__d__d__d__d_c_c
mov r9d, dword [r10 + 0x11cbad8]
mov r8d, dword [r10 + 0x11cbad4]
mov dword [rsp + 0x48], InitCommonControls
mov dword [rsp + 0x40], eax
mov eax, dword [r10 + 0x11cbae8]
mov dword [rsp + 0x38], eax
mov eax, dword [r10 + 0x11cbae4]
mov dword [rsp + 0x30], eax
mov eax, dword [r10 + 0x11cbae0]
mov dword [rsp + 0x28], eax
mov eax, dword [r10 + 0x11cbadc]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x1400032e7
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x1400032e7
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400032c1
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x24]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb026c]
bt eax, 0x14
jae 0x14000351b
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
btr eax, 0x14
lea rdx, str.DECIM_DIST_0_0_c_c
mov dword [r10 + 0xdb026c], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x14000337d
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x14000337d
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003357
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x20]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
mov r8d, 0x1f4
call fcn.14000a530
movsxd rbx, eax
test eax, eax
jle 0x1400034f2
mov rdx, qword [0x14003ffb0]
mov byte [rbx + rdx + 0xdb0a08], r14b
lea r8, [rdx + 0xdb0a08]
lea rcx, [rdx + 0xdb016c]
lea rdx, [0x140037cb8]
call fcn.1400010b0
mov r10, qword [0x14003ffb0]
mov edx, r14d
or dword [r10 + 0xdb026c], 0x10
mov rcx, qword [r10 + 0x1280df8]
mov r8d, dword [rcx + 0x200018]
nop dword [rax]
mov eax, dword [rcx + 0x20001c]
cmp r8d, eax
je 0x140003407
inc eax
mov dword [rcx + 0x20001c], eax
cmp eax, 0x100000
jb 0x140003401
mov dword [rcx + 0x20001c], r14d
inc edx
cmp edx, ebx
jl 0x1400033e0
xorps xmm0, xmm0
lea r11, [r10 + 0xdb0a17]
movups xmmword [rbp + 0x10], xmm0
mov rbx, r14
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
nop dword [rax]
nop dword [rax + rax]
mov r8d, r14d
mov r9d, r14d
mov rdx, r14
nop dword [rax]
movzx ecx, byte [rdx + r11]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140003459
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140003464
cmp cl, 0x2d
jne 0x14000346f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140003440
jmp 0x140003477
cmp cl, 0x2c
jne 0x140003477
inc rdx
add r11, rdx
mov eax, r8d
neg eax
cmp r9d, 1
movzx ecx, byte [r11]
cmovne eax, r8d
mov dword [rbp + rbx*4 + 0x10], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x14000349e
sub cl, 0x2c
cmp cl, 1
ja 0x1400034aa
inc rbx
cmp rbx, 0x1000
jl 0x140003430
mov eax, dword [rbp + 0x10]
mov dword [r10 + 0x11cbad4], eax
mov eax, dword [rbp + 0x14]
mov dword [r10 + 0x11cbad8], eax
mov eax, dword [rbp + 0x18]
mov dword [r10 + 0x11cbadc], eax
mov eax, dword [rbp + 0x1c]
mov dword [r10 + 0x11cbae0], eax
mov eax, dword [rbp + 0x20]
mov dword [r10 + 0x11cbae4], eax
mov eax, dword [rbp + 0x24]
mov dword [r10 + 0x11cbae8], eax
mov eax, dword [rbp + 0x28]
mov dword [r10 + 0x11cbaec], eax
jmp 0x14000351b
mov rcx, qword [0x14003ffb0]
lea rdx, [0x140037ce0]
add rcx, 0xdb016c
call fcn.1400010b0
mov r10, qword [0x14003ffb0]
or dword [r10 + 0xdb026c], 0x10
mov eax, dword [r10 + 0xdb0270]
bt eax, 0xa
jae 0x1400035b2
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
btr eax, 0xa
lea rdx, str.TEMP_c_c
mov dword [r10 + 0xdb0270], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x1400035a6
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x1400035a6
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003580
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x1c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb026c]
bt eax, 0x16
jae 0x1400035d6
btr eax, 0x16
mov dword [r10 + 0xdb026c], eax
call fcn.140008e00
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb026c]
bt eax, 0x15
jae 0x14000377a
btr eax, 0x15
mov dword [rsp + 0x20], 0xa
mov dword [r10 + 0xdb026c], eax
lea rcx, [r10 + 0x11caa08]
mov r8d, dword [r10 + 0x11cbacc]
lea rdx, str.DELSAMPLE_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x14000366b
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x14000366b
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003645
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
test eax, eax
jne 0x140003773
mov rcx, qword [0x14003ffb0]
mov edx, r14d
add rcx, 0xdb0a08
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0x2c
ja 0x14000369d
bt r15, rax
jb 0x1400036aa
inc rcx
inc edx
cmp edx, 0x100
jl 0x140003690
lea rdx, [rbp + 0x10]
mov r8d, r14d
lea rbx, [rcx + 1]
movzx ecx, byte [rbx]
cmp cl, 0x2c
ja 0x1400036c3
bt r15, rcx
jb 0x1400036d9
mov byte [rdx], cl
inc rbx
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x1400036b5
jmp 0x1400036dc
mov byte [rdx], r14b
lea rcx, [rbp + 0x10]
call fcn.1400199c0
lea rdx, [rbp + 0x10]
inc rbx
mov r8d, r14d
nop
movzx ecx, byte [rbx]
cmp cl, 0x2c
ja 0x1400036fe
bt r15, rcx
jb 0x140003714
mov byte [rdx], cl
inc rbx
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x1400036f0
jmp 0x140003717
mov byte [rdx], r14b
lea rcx, [rbp + 0x10]
call fcn.1400199c0
lea rax, [rbp + 0x118]
mov r8d, r14d
sub rbx, rax
lea rdx, [rbp + 0x118]
movzx ecx, byte [rdx + rbx + 1]
cmp cl, 0x2c
ja 0x140003744
bt r15, rcx
jb 0x140003757
mov byte [rdx], cl
inc r8d
inc rdx
cmp r8d, 0x100
jl 0x140003734
jmp 0x14000375a
mov byte [rdx], r14b
lea rcx, [rbp + 0x118]
call fcn.1400199c0
mov r10, qword [0x14003ffb0]
mov dword [r10 + 0x60], eax
jmp 0x14000377a
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb0270]
bt eax, 0xb
jae 0x140003852
btr eax, 0xb
mov dword [rsp + 0x48], 0xa
mov dword [r10 + 0xdb0270], eax
lea rcx, [r10 + 0x11caa08]
mov eax, dword [r10 + 0xdb0164]
lea rdx, str.LRA_0_1__d__d__d__d__d__d_c_c
mov r9d, dword [r10 + 0xdb0154]
mov r8d, dword [r10 + 0xdb0150]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], eax
mov eax, dword [r10 + 0xdb0160]
mov dword [rsp + 0x30], eax
mov eax, dword [r10 + 0xdb015c]
mov dword [rsp + 0x28], eax
mov eax, dword [r10 + 0xdb0158]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140003846
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140003846
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003820
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x14]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb0270]
bt eax, 0xc
jae 0x1400038e8
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
btr eax, 0xc
lea rdx, str.LRA_0_0_c_c
mov dword [r10 + 0xdb0270], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x1400038dc
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x1400038dc
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400038b6
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0x10]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb0270]
bt eax, 0xd
jae 0x140003982
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
btr eax, 0xd
lea rdx, str.LRA_0_1_0_0_0_0_0_0_c_c
mov dword [r10 + 0xdb0270], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140003976
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140003976
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003950
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 0xc]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb0270]
bt eax, 0xe
jae 0x140003a23
btr eax, 0xe
mov dword [rsp + 0x20], 0xa
mov dword [r10 + 0xdb0270], eax
lea rcx, [r10 + 0x11caa08]
mov r8d, dword [r10 + 0xdb0168]
lea rdx, str.STC_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140003a17
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140003a17
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400039f1
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 8]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb0270]
bt eax, 0xf
jae 0x140003ab9
mov r9d, 0xa
lea rcx, [r10 + 0x11caa08]
btr eax, 0xf
lea rdx, str.STC_0_0_c_c
mov dword [r10 + 0xdb0270], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb0]
cmp dword [rdx + 0x11cba38], 1
jne 0x140003aad
mov rbx, qword [rdx + 0x1280df8]
cmp dword [rbx + 8], 1
je 0x140003aad
add rdx, 0x11caa08
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003a87
mov rcx, qword [rbx + 0x200028]
lea r9, [rbp - 4]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0x200020], r14d
call fcn.14000b4b0
mov r10, qword [0x14003ffb0]
mov eax, dword [r10 + 0xdb0270]
bt eax, 0x10
jae 0x140003b92
btr eax, 0x10
mov dword [r10 + 0xdb0270], eax
cmp dword [r10 + 0x1280dcc], 1
jne 0x140003ae5
mov r9d, dword [r10 + 0x14]
jmp 0x140003b14
mov ecx, dword [r10]
cmp ecx, 0x100
jne 0x140003afa
mov dword [r10 + 0x10], 0x60
jmp 0x140003b0d
cmp ecx, 0x200
mov eax, 0x18
cmove eax, r13d
mov dword [r10 + 0x10], eax
mov r9d, dword [r10 + 0x1280db0]
mov r8d, dword [r10]
lea rcx, [r10 + 0x11cbb08]
xorps xmm0, xmm0
mov rdx, r14
cmp dword [rcx], r8d
jne 0x140003b32
mov eax, dword [r10 + 0x10]
cmp dword [rcx + 4], eax
je 0x140003b41
inc rdx
add rcx, 0x10
cmp rdx, 0x28
jl 0x140003b24
jmp 0x140003b46
movsd xmm0, qword [rcx + 8]
mov edx, dword [r10 + 0x10]
mov r8d, r9d
movsd qword [r10 + 8], xmm0
call qword [sym.imp.mr12e.dll_CalcMaxDistance]
cvttsd2si eax, xmm0
movaps xmm2, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm1
comisd xmm2, xmm9
jbe 0x140003b7d
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov r10, qword [0x14003ffb0]
movsd qword [r10 + 0x18], xmm0
or dword [r10 + 0xdb026c], 8
lea rcx, [r10 + 0xdb0a08]
xor edx, edx
mov r8d, 0x400000
call fcn.1400127a0
xor r8d, r8d
call fcn.14000a530
movsxd rdi, eax
cmp edi, 1
jle 0x140003f50
mov rcx, qword [0x14003ffb0]
test dword [rcx + 0xdb026c], 0x200
jne 0x140003f08
cmp dword [rcx + 0x1280dc0], 1
je 0x140003eed
lea rax, [rcx + 0xdb0a08]
mov edx, edi
lea r8, [rbp - 0x80]
mov qword [rbp - 0x80], rax
call fcn.140008330
test eax, eax
jne 0x140003caa
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rdx, qword [0x14003ffb0]
mov r9d, eax
sub r9d, dword [rdx + 0x11cba94]
lea rcx, [rdx + 0xdb016c]
mov dword [rdx + 0x11cba94], eax
or dword [rdx + 0xdb026c], 4
movd xmm0, dword [rdx + 0xdb0278]
mov eax, dword [rdx + 0xdb0284]
mov r8d, dword [rdx + 0x11cba8c]
mov dword [rsp + 0x48], eax
inc r8d
mov eax, dword [rdx + 0xdb027c]
cvtdq2pd xmm0, xmm0
mov dword [rsp + 0x40], eax
divsd xmm0, xmm8
movsd qword [rsp + 0x38], xmm0
movups xmm0, xmmword [rdx + 0x78]
lea rdx, str.Read_map_data_No._d__dBytes__dmsec__max_.3lfm___.3lfm_bin__peak_pos_.3lf_Angle_d__ddB
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], r9d
mov r9d, edi
call fcn.1400010b0
mov rax, qword [0x14003ffb0]
or dword [rax + 0xdb026c], 0x10
inc dword [rax + 0x11cba8c]
call fcn.140009b40
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rsi, qword [0x14003ffb0]
mov dword [rsi + 0x11cba90], eax
jmp 0x140003f57
cmp eax, 0xfffffffe
je 0x140003f50
mov rax, qword [0x14003ffb0]
lea r8, [rbp - 0x80]
add rax, 0xdb0a08
mov edx, edi
mov qword [rbp - 0x80], rax
call fcn.140008180
test eax, eax
jne 0x140003d4b
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x14003ffb0]
mov r9d, edi
mov edx, eax
sub edx, dword [rcx + 0x11cba94]
mov dword [rcx + 0x11cba94], eax
lea rax, [rcx + 0xdb0a08]
or dword [rcx + 0xdb026c], 4
mov byte [rdi + rcx + 0xdb0a08], r14b
mov r8d, dword [rcx + 0x11cba8c]
add rcx, 0xdb016c
mov qword [rsp + 0x28], rax
inc r8d
mov dword [rsp + 0x20], edx
lea rdx, str.Read_PPI_No._d__dBytes__dmsec___s
call fcn.1400010b0
mov rax, qword [0x14003ffb0]
or dword [rax + 0xdb026c], 0x10
inc dword [rax + 0x11cba8c]
call fcn.140009ea0
jmp 0x140003c92
cmp eax, 0xfffffffe
je 0x140003f50
mov rsi, qword [0x14003ffb0]
lea r8, [rbp - 0x80]
mov edx, edi
lea rbx, [rsi + 0xdb0a08]
mov qword [rbp - 0x80], rbx
call fcn.140007f40
test eax, eax
jne 0x140003d81
mov edx, edi
call fcn.1400042b0
jmp 0x140003c92
cmp eax, 0xfffffffe
je 0x140003f57
movabs rax, 0x41525f4e49474542
mov r9, rbx
cmp qword [rbx], rax
jne 0x140003e73
cmp word [rbx + 8], 0x3057
jne 0x140003e73
add rbx, 0xa
lea rdx, [rsi + 0x88]
mov r8d, r14d
nop word [rax + rax]
movzx eax, byte [rbx]
movzx ecx, byte [rbx + 1]
add rbx, 2
shl ax, 8
or ax, cx
cwde
movd xmm0, eax
mov eax, ebx
cvtdq2pd xmm0, xmm0
sub eax, r9d
movsd qword [rdx], xmm0
cmp edi, eax
jl 0x140003f57
cmp qword [rbx], r12
je 0x140003e06
inc r8d
add rdx, 8
cmp r8d, 0x100000
jb 0x140003dc0
jmp 0x140003f57
add rbx, 8
cmp byte [rbx], 0xd
jne 0x140003e19
cmp byte [rbx + 1], 0xa
jne 0x140003e19
add rbx, 2
mov rcx, qword [rsi + 0x1280df8]
lea eax, [r8 + 1]
sub ebx, r9d
mov dword [rsi + 0x11cba08], eax
mov edx, r14d
test ebx, ebx
jle 0x140003e67
mov r8d, dword [rcx + 0x200018]
nop dword [rax + rax]
mov eax, dword [rcx + 0x20001c]
cmp r8d, eax
je 0x140003e67
inc eax
mov dword [rcx + 0x20001c], eax
cmp eax, 0x100000
jb 0x140003e61
mov dword [rcx + 0x20001c], r14d
inc edx
cmp edx, ebx
jl 0x140003e40
mov edx, edi
call fcn.1400042b0
jmp 0x140003c92
mov r8d, edi
mov rdx, rbx
call fcn.140007d10
mov rcx, qword [0x14003ffb0]
lea rdx, str.Received__d_byte
add rcx, 0xdb016c
mov r8d, edi
call fcn.1400010b0
mov rsi, qword [0x14003ffb0]
mov edx, r14d
or dword [rsi + 0xdb026c], 0x10
mov rcx, qword [rsi + 0x1280df8]
mov r8d, dword [rcx + 0x200018]
nop word [rax + rax]
mov eax, dword [rcx + 0x20001c]
cmp r8d, eax
je 0x140003f57
inc eax
mov dword [rcx + 0x20001c], eax
cmp eax, 0x100000
jb 0x140003ee5
mov dword [rcx + 0x20001c], r14d
inc edx
cmp edx, edi
jl 0x140003ec0
jmp 0x140003f57
mov dword [rcx + 0x1280dc0], r14d
or dword [rcx + 0xdb026c], 0x200
or dword [rcx + 0xdb0270], 0x40000
mov rcx, qword [rcx + 0x1280df8]
mov edx, r14d
mov r8d, dword [rcx + 0x200018]
nop dword [rax]
mov eax, dword [rcx + 0x20001c]
cmp r8d, eax
je 0x140003c92
inc eax
mov dword [rcx + 0x20001c], eax
cmp eax, 0x100000
jb 0x140003f45
mov dword [rcx + 0x20001c], r14d
inc edx
cmp edx, edi
jl 0x140003f20
jmp 0x140003c92
mov rsi, qword [0x14003ffb0]
cmp dword [rsi + 0x1280e04], r14d
je 0x1400040c4
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rdx, qword [0x14003ffb0]
mov ecx, eax
sub ecx, dword [0x14003ff98]
cmp ecx, dword [rdx + 0x11cba40]
jl 0x1400040c4
mov dword [0x14003ff98], eax
mov eax, dword [rdx + 0x11cbab8]
test eax, eax
jne 0x1400040b3
cmp dword [rdx + 0x1280e10], 1
jne 0x140003fac
call fcn.14000c7c0
jmp 0x1400040c4
lea rcx, [rdx + 0xdb0608]
lea rdx, [0x140038a7c]
call fcn.1400150c4
mov rdi, rax
test rax, rax
jne 0x140003fda
mov rax, qword [0x14003ffb0]
mov dword [rax + 0x1280e04], r14d
jmp 0x1400040c4
mov rcx, qword [0x14003ffb0]
mov r8, rdi
add rcx, 0x11b0a08
mov edx, 0x18000
call fcn.140018648
mov rax, qword [0x14003ffb0]
mov ebx, r14d
cmp dword [rax + 0x11cba8c], r14d
jle 0x140004035
nop dword [rax + rax]
lea rcx, [rax + 0x11b0a08]
mov r8, rdi
mov edx, 0x18000
call fcn.140018648
mov rax, qword [0x14003ffb0]
inc ebx
cmp ebx, dword [rax + 0x11cba8c]
jl 0x140004010
lea rbx, [rax + 0x11b0a08]
xor edx, edx
mov rcx, rbx
mov r8d, 0x18000
call fcn.1400127a0
mov r8, rdi
mov edx, 0x18000
mov rcx, rbx
call fcn.140018648
mov rcx, rdi
test rax, rax
jne 0x14000408d
call fcn.140015644
mov rax, qword [0x14003ffb0]
mov dword [rax + 0x1280e04], r14d
or dword [rax + 0xdb026c], 0x200
or dword [rax + 0xdb0270], 0x40000
jmp 0x1400040c4
call fcn.140015644
mov rdx, qword [0x14003ffb0]
lea r8, [rdx + 0x88]
add rdx, 0x11b0a08
call fcn.14000ac10
call fcn.14000ca20
jmp 0x1400040c4
cmp eax, 3
jne 0x1400040bf
call fcn.14000c270
jmp 0x1400040c4
call fcn.14000c5b0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r10, qword [0x14003ffb0]
lea rdi, [0x140037e20]
mov ebx, InitCommonControls
test dword [r10 + 0xdb0270], 0x80000
je 0x140001340
movaps xmm9, xmmword [rsp + 0x3f0]
movaps xmm8, xmmword [rsp + 0x400]
movaps xmm7, xmmword [rsp + 0x410]
movaps xmm6, xmmword [rsp + 0x420]
mov r15, qword [rsp + 0x478]
mov r13, qword [rsp + 0x470]
mov r12, qword [rsp + 0x468]
mov r8d, 0x100
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x10]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea r9, str.mr12e.ini
lea r8, [rbp + 0x10]
lea rdx, str._s_s
lea rcx, [rbp + 0x140]
call fcn.1400010b0
mov rax, qword [0x14003ffb0]
mov r14d, dword [rax + 0x1283678]
lea rsi, [rax + 0x1280e78]
test r14d, r14d
jle 0x14000426f
lea rbx, [rsi + 4]
nop dword [rax]
cmp dword [rsi], 0
jne 0x1400041b0
mov r8, qword [rbx + 0x44]
lea r9, [rbp + 0x140]
mov rdx, rbx
lea rcx, str.MR12E_LOCAL_PARAMS
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [rsi], 1
jne 0x1400041e7
mov r8, qword [rbx + 0x44]
lea rdx, [0x14003896c]
lea rcx, [rbp + 0x10]
mov r8d, dword [r8]
call fcn.1400010b0
lea r9, [rbp + 0x140]
mov rdx, rbx
lea r8, [rbp + 0x10]
lea rcx, str.MR12E_LOCAL_PARAMS
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [rsi], 2
jne 0x14000421e
mov r8, qword [rbx + 0x44]
lea rdx, [0x140038970]
lea rcx, [rbp + 0x10]
mov r8d, dword [r8]
call fcn.1400010b0
lea r9, [rbp + 0x140]
mov rdx, rbx
lea r8, [rbp + 0x10]
lea rcx, str.MR12E_LOCAL_PARAMS
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [rsi], 3
jne 0x14000425b
mov rax, qword [rbx + 0x44]
lea rdx, [0x140038974]
lea rcx, [rbp + 0x10]
movsd xmm2, qword [rax]
movq r8, xmm2
call fcn.1400010b0
lea r9, [rbp + 0x140]
mov rdx, rbx
lea r8, [rbp + 0x10]
lea rcx, str.MR12E_LOCAL_PARAMS
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
dec r14d
add rsi, 0x50
add rbx, 0x50
test r14d, r14d
jg 0x140004190
call fcn.14000a450
mov rax, qword [0x14003ffb0]
and dword [rax + 0xdb0270], 0xfff7ffff
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140010d70
add rsp, 0x430
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret