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 - 0x270]
sub rsp, 0x410
mov rax, qword [0x140041010]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rbx, rcx
xor edx, edx
mov rcx, qword [0x140042fb8]
mov r8d, 0x1438fa8
call fcn.140015560
mov rcx, rbx
call fcn.140004070
mov r8d, 0x100
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea r9, str.mr12e.ini
lea r8, [rbp]
lea rdx, str._s_s
lea rcx, [rbp + 0x130]
call fcn.1400010b0
mov rcx, qword [0x140042fb8]
mov esi, dword [rcx + 0x1438f60]
lea rbx, [rcx + 0x1436760]
test esi, esi
jle 0x140001265
nop dword [rax]
lea rax, [rbp + 0x130]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rdx, [rbx + 4]
lea r9, [rbp]
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]
call fcn.1400010b0
cmp dword [rbx], 1
jne 0x140001226
lea rcx, [rbp]
call fcn.14001c780
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 2
jne 0x14000123a
lea rcx, [rbp]
call fcn.14001c780
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 3
jne 0x140001250
lea rcx, [rbp]
call fcn.14001fd7c
mov rax, qword [rbx + 0x48]
movsd qword [rax], xmm0
dec esi
add rbx, 0x50
test esi, esi
jg 0x1400011d0
mov rcx, qword [0x140042fb8]
mov eax, dword [rcx + 0x1436718]
movsd xmm0, qword [rcx + 0x600888]
mov dword [rcx + 0x143671c], eax
mov eax, dword [rcx + 0x1436688]
mov dword [rcx + 0x143668c], eax
mov dword [rcx + 0x1436690], eax
mov eax, dword [rcx + 0x1436700]
unpcklpd xmm0, xmm0
mov dword [rcx + 0x1436704], eax
movups xmmword [rcx + 0x600890], xmm0
or dword [rcx + 0xbb0b44], 8
mov dword [0x140042fb0], 1
call fcn.140009970
mov rcx, qword [0x140042fb8]
call qword [sym.imp.mr12e.dll_CopyAddressToDll]
call qword [sym.imp.mr12e.dll_CalcMeterPerBin]
call fcn.14000b8e0
mov r8, qword [0x140042fb8]
test dword [r8 + 0xbb0b48], 0x100000
jne 0x140003ae5
mov qword [rsp + 0x448], r12
lea rdi, [0x14003ae1c]
mov qword [rsp + 0x450], r13
xor r14d, r14d
mov qword [rsp + 0x458], r15
mov r13d, InitCommonControls
movaps xmmword [rsp + 0x400], xmm6
movabs r15, 0x100100002401
movsd xmm6, qword [0x14003cce8]
movabs r12, 0x41525f4e49474542
movaps xmmword [rsp + 0x3f0], xmm7
movsd xmm7, qword [0x14003ccb0]
movaps xmmword [rsp + 0x3e0], xmm8
movsd xmm8, qword [0x14003ccc0]
nop word [rax + rax]
mov eax, dword [r8 + 0xbb0b44]
bt eax, 9
jae 0x140001630
btr eax, 9
mov dword [r8 + 0xbb0b44], eax
call fcn.14000d020
mov rdx, qword [0x140042fb8]
mov eax, dword [rdx + 0x12cc3b4]
mov dword [rdx + 0x12cc3b8], eax
test eax, eax
jne 0x1400013a4
call fcn.140009350
mov rdx, qword [0x140042fb8]
mov r10d, dword [rdx + 0x12cc3b8]
test r10d, r10d
mov ecx, dword [rdx + 0x1436704]
mov eax, dword [rdx + 0x1436700]
cmove r10d, r13d
cmp eax, ecx
je 0x1400013ca
mov dword [rdx + 0x1436700], ecx
mov eax, ecx
mov r8d, eax
cmp r10d, r13d
jne 0x14000141b
cmp dword [rdx + 0x12cc3dc], 1
jne 0x14000141b
mov r9d, dword [rdx + 0x14366e8]
mov ecx, eax
cmp r9d, 1
jne 0x1400013f8
cmp dword [rdx + 0x12cc3c8], r9d
jne 0x1400013f8
cmp eax, 0xc
jl 0x14000140e
mov r8d, ecx
test r9d, r9d
jne 0x14000141b
cmp dword [rdx + 0x12cc3c4], 1
jne 0x14000141b
cmp ecx, 0xc
jge 0x14000141b
mov r8d, InitCommonControls
mov dword [rdx + 0x1436700], r8d
mov eax, dword [rdx + 0x60085c]
lea rcx, [rdx + 0x12cb2e0]
movsd xmm0, qword [rdx + 0x600808]
movsd xmm3, qword [rdx + 0x12cc348]
mov dword [rsp + 0x118], r10d
movq r9, xmm3
mov dword [rsp + 0x110], 0x2c
mov dword [rsp + 0x108], eax
mov eax, dword [rdx + 0x600858]
mov dword [rsp + 0x100], 0x2c
mov dword [rsp + 0xf8], eax
mov eax, dword [rdx + 0x600850]
mov dword [rsp + 0xf0], 0x2c
mov dword [rsp + 0xe8], eax
mov eax, dword [rdx + 0x12cc320]
mov dword [rsp + 0xe0], 0x2c
mov dword [rsp + 0xd8], eax
mov eax, dword [rdx + 0x12cc33c]
mov dword [rsp + 0xd0], 0x2c
mov dword [rsp + 0xc8], eax
mov eax, dword [rdx + 0x12cc324]
mov dword [rsp + 0xc0], 0x2c
mov dword [rsp + 0xb8], eax
mov eax, dword [rdx + 0x12cc328]
mov dword [rsp + 0xb0], 0x2c
mov dword [rsp + 0xa8], eax
mov eax, dword [rdx + 0x12cc330]
mov dword [rsp + 0xa0], 0x2c
mov dword [rsp + 0x98], eax
mov eax, dword [rdx + 0x12cc338]
mov dword [rsp + 0x90], 0x2c
mov dword [rsp + 0x88], eax
mov eax, dword [rdx + 0x600800]
mov dword [rsp + 0x80], 0x2c
mov dword [rsp + 0x78], r8d
mov r8d, 0x2c
mov dword [rsp + 0x70], 0x2c
mov dword [rsp + 0x68], eax
mov eax, dword [rdx + 0x600810]
mov dword [rsp + 0x60], 0x2c
mov dword [rsp + 0x58], eax
mov eax, dword [rdx + 0x12cc314]
mov dword [rsp + 0x50], 0x2c
mov dword [rsp + 0x48], eax
mov eax, dword [rdx + 0x600814]
lea rdx, str.B290_START_c_.3lf_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 [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400015e8
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400015e8
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400015c2
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0xc]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140008ca0
call qword [sym.imp.mr12e.dll_CalcMeterPerBin]
call fcn.14000b5c0
mov rdx, qword [0x140042fb8]
mov eax, dword [rdx + 0x600814]
mov dword [rdx + 0x14366b0], eax
call fcn.140009970
call fcn.14000b120
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r8, qword [0x140042fb8]
mov dword [r8 + 0x12cc394], eax
mov dword [r8 + 0x14366e4], r14d
test dword [r8 + 0xbb0b44], 0x400
je 0x14000172b
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r8, qword [0x140042fb8]
mov r9d, eax
mov eax, 0x66666667
mov r10d, dword [r8 + 0x12cc320]
sub r9d, dword [r8 + 0x12cc390]
imul r10d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp r9d, edx
jb 0x140001682
lea eax, [r10 + r10]
cmp eax, r9d
jae 0x14000172b
lea rcx, [r8 + 0x12cb2e0]
lea rdx, str.B290_STOP_r
call fcn.1400010b0
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x12cc310], 1
jne 0x1400016ed
mov rbx, qword [rcx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400016ed
lea rdx, [rcx + 0x12cb2e0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400016c0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x78]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x140042fb8]
mov dword [rbx + 0xe00020], r14d
add rcx, 0xbb0a44
lea rdx, str.Sent_:_STOP_script
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0xbb0b44], r13d
and dword [r8 + 0xbb0b44], 0xfffffbff
mov dword [r8 + 0x14366e4], 1
mov dword [r8 + 0x143672c], r14d
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0xb
jae 0x14000174f
btr eax, 0xb
mov dword [r8 + 0xbb0b44], eax
call fcn.14000b8e0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0xc
jae 0x140001773
btr eax, 0xc
mov dword [r8 + 0xbb0b44], eax
call fcn.14000b6e0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0xd
jae 0x140001878
btr eax, 0xd
mov dword [r8 + 0xbb0b44], eax
call fcn.14000d020
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x14366ec], 1
jne 0x1400017e2
lea rdx, [rbp]
mov dword [rcx + 0x14366ec], r14d
call fcn.14000bf10
mov rcx, qword [0x140042fb8]
lea r8, [rbp]
add rcx, 0x12cb2e0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_MAP__s_c_c
call fcn.1400010b0
jmp 0x1400017ff
mov r9d, 0xa
lea rdx, str.START_MAP_c_c
add rcx, 0x12cb2e0
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x140042fb8]
cmp dword [rax + 0x12cc310], 1
jne 0x140001856
mov rbx, qword [rax + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140001856
lea rdx, [rax + 0x12cb2e0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001830
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x74]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
call fcn.140008ca0
call fcn.14000ab70
call fcn.140009970
mov r8, qword [0x140042fb8]
mov dword [r8 + 0x14366e4], r14d
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0xe
jae 0x140001978
btr eax, 0xe
mov dword [r8 + 0xbb0b44], eax
call fcn.14000d020
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x14366ec], 1
jne 0x1400018e7
lea rdx, [rbp]
mov dword [rcx + 0x14366ec], r14d
call fcn.14000bf10
mov rcx, qword [0x140042fb8]
lea r8, [rbp]
add rcx, 0x12cb2e0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_PPI__s_c_c
call fcn.1400010b0
jmp 0x140001904
mov r9d, 0xa
lea rdx, str.START_PPI_c_c
add rcx, 0x12cb2e0
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x140042fb8]
cmp dword [rax + 0x12cc310], 1
jne 0x140001956
mov rbx, qword [rax + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140001956
lea rdx, [rax + 0x12cb2e0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001930
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x70]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
call fcn.140008ca0
call fcn.140009970
call fcn.14000b120
mov r8, qword [0x140042fb8]
mov dword [r8 + 0x14366e4], r14d
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0xf
jae 0x140001aab
btr eax, 0xf
mov dword [r8 + 0xbb0b44], eax
call fcn.14000d020
call fcn.140008ca0
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x12cc3dc], 1
mov qword [rcx + 0x12cc360], r14
mov qword [rcx + 0x12cc358], r14
mov qword [rcx + 0x12cc368], r14
jne 0x1400019d4
call fcn.140009110
call fcn.14000b5c0
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x14366ec], 1
jne 0x140001a1b
lea rdx, [rbp]
mov dword [rcx + 0x14366ec], r14d
call fcn.14000bf10
mov rcx, qword [0x140042fb8]
lea r8, [rbp]
add rcx, 0x12cb2e0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_RAW__s_c_c
call fcn.1400010b0
jmp 0x140001a38
mov r9d, 0xa
lea rdx, str.START_RAW_c_c
add rcx, 0x12cb2e0
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x140042fb8]
cmp dword [rax + 0x12cc310], 1
jne 0x140001a89
mov rbx, qword [rax + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140001a89
lea rdx, [rax + 0x12cb2e0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001a63
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x6c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
call fcn.14000ab70
call fcn.140009970
call fcn.14000b120
mov r8, qword [0x140042fb8]
mov dword [r8 + 0x14366e4], r14d
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x10
jae 0x140001bad
btr eax, 0x10
lea rcx, [r8 + 0x12cb2e0]
lea rdx, str.B290_RDPARAM_r
mov dword [r8 + 0xbb0b44], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140001b2b
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140001b2b
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001b05
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x68]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x1f4
call fcn.14000b7c0
movsxd rbx, eax
test eax, eax
jle 0x140001ba6
mov rdx, qword [0x140042fb8]
mov byte [rbx + rdx + 0xbb12e0], r14b
lea r8, [rdx + 0xbb12e0]
lea rcx, [rdx + 0xbb0a44]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov rcx, qword [0x140042fb8]
lea r8, [rbp - 0x80]
mov edx, ebx
or dword [rcx + 0xbb0b44], r13d
add rcx, 0xbb12e0
mov qword [rbp - 0x80], rcx
call fcn.140008000
mov r8, qword [0x140042fb8]
or dword [r8 + 0xbb0b44], 8
jmp 0x140001bad
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b48]
test al, 1
je 0x140001c42
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
and eax, 0xfffffffe
lea rdx, str.K_0_1_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140001c36
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140001c36
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001c10
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x64]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b48]
test al, 2
je 0x140001f1f
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
and eax, 0xfffffffd
lea rdx, str.K_0_0_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140001cc9
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140001cc9
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001ca3
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x60]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
mov r8d, 0x1f4
call fcn.14000b7c0
movsxd rbx, eax
test eax, eax
jle 0x140001ef7
mov rdx, qword [0x140042fb8]
mov byte [rbx + rdx + 0xbb12e0], r14b
lea r8, [rdx + 0xbb12e0]
lea rcx, [rdx + 0xbb0a44]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov r8, qword [0x140042fb8]
mov edx, r14d
or dword [r8 + 0xbb0b44], r13d
mov rcx, qword [r8 + 0x1436720]
mov r9d, dword [rcx + 0xe00018]
nop word [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x140001d57
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140001d51
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140001d30
xorps xmm0, xmm0
lea r11, [r8 + 0xbb12e6]
movups xmmword [rbp], xmm0
mov rbx, r14
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
nop dword [rax]
nop dword [rax + rax]
mov r9d, r14d
mov r10d, r14d
mov rdx, r14
nop dword [rax]
movzx ecx, byte [rdx + r11]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140001da9
movsx eax, al
lea ecx, [r9 + r9*4]
lea r9d, [rax + rcx*2]
jmp 0x140001db4
cmp cl, 0x2d
jne 0x140001dbe
mov r10d, 1
inc rdx
cmp rdx, r13
jl 0x140001d90
jmp 0x140001dc6
cmp cl, 0x2c
jne 0x140001dc6
inc rdx
add r11, rdx
mov eax, r9d
neg eax
cmp r10d, 1
movzx ecx, byte [r11]
cmovne eax, r9d
mov dword [rbp + rbx*4], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x140001ded
sub cl, 0x2c
cmp cl, 1
ja 0x140001df9
inc rbx
cmp rbx, 0x1000
jl 0x140001d80
movd xmm0, dword [rbp + 4]
movd xmm2, dword [rbp]
movd xmm1, dword [rbp + 8]
mov eax, dword [rbp + 0xc]
mov dword [r8 + 0x600850], eax
mov eax, dword [rbp + 0x10]
mov dword [r8 + 0x60085c], eax
mov eax, dword [rbp + 0x14]
cvtdq2pd xmm0, xmm0
mov dword [r8 + 0x600858], eax
mov eax, dword [rbp + 0x18]
mov dword [r8 + 0x12cc330], eax
mov eax, dword [rbp + 0x1c]
mov dword [r8 + 0x12cc328], eax
mov eax, dword [rbp + 0x20]
divsd xmm0, xmm8
mov dword [r8 + 0x12cc324], eax
mov eax, dword [rbp + 0x28]
mov dword [r8 + 0x12cc320], eax
mov eax, dword [rbp + 0x2c]
cvtdq2pd xmm2, xmm2
movsd qword [r8 + 0x600820], xmm0
movd xmm0, dword [rbp + 0x24]
cvtdq2pd xmm1, xmm1
divsd xmm2, xmm8
divsd xmm1, xmm8
movsd qword [r8 + 0x600818], xmm2
movsd qword [r8 + 0x14366a0], xmm1
cvtdq2pd xmm0, xmm0
movsd qword [r8 + 0x600878], xmm0
cmp eax, 0x128e0
jl 0x140001eed
movd xmm1, eax
movaps xmm0, xmm2
mov eax, dword [rbp + 0x30]
cvtdq2pd xmm1, xmm1
mov dword [r8 + 0x600814], eax
mov eax, dword [rbp + 0x34]
mov dword [r8 + 0x600810], eax
mov eax, dword [rbp + 0x38]
mov dword [r8 + 0x143674c], eax
divsd xmm1, xmm8
movsd qword [r8 + 0x12cc348], xmm1
call qword [sym.imp.mr12e.dll_CalcRampTimeByMaxDistance]
mov r8, qword [0x140042fb8]
movsd qword [r8 + 0x600808], xmm0
or dword [r8 + 0xbb0b44], 8
jmp 0x140001f1f
mov rcx, qword [0x140042fb8]
lea rdx, [0x14003ace0]
add rcx, 0xbb0a44
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0xbb0b44], r13d
mov eax, dword [r8 + 0xbb0b48]
test al, 4
je 0x140001fb2
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
and eax, 0xfffffffb
lea rdx, str.K_0_3_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140001fa6
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140001fa6
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001f80
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x5c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b48]
test al, 8
je 0x140002045
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
and eax, 0xfffffff7
lea rdx, str.K_0_4_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140002039
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140002039
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002013
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x58]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b48]
test al, al
jns 0x1400020f2
lea rcx, [r8 + 0x12cb2e0]
mov dword [rsp + 0x20], 0xa
btr eax, 7
lea rdx, str.ATST__d_c_c
mov dword [r8 + 0xbb0b48], eax
mov r9d, InitCommonControls
cmp dword [r8 + 0x14366e8], 1
mov r8d, r14d
sete r8b
add r8d, 3
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400020e6
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400020e6
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400020c0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x54]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b48]
bt eax, 8
jae 0x140002188
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
btr eax, 8
lea rdx, str.ATST_0_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x14000217c
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x14000217c
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002156
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x1b
jae 0x140002206
xorps xmm0, xmm0
xorps xmm1, xmm1
btr eax, 0x1b
mov dword [r8 + 0xbb0b44], eax
movups xmmword [r8 + 0x600960], xmm0
movups xmmword [r8 + 0x600970], xmm0
movups xmmword [r8 + 0x600980], xmm0
movups xmmword [r8 + 0x600990], xmm0
movups xmmword [r8 + 0x6009a0], xmm0
movups xmmword [r8 + 0x6009b0], xmm0
movups xmmword [r8 + 0x6008a0], xmm1
movups xmmword [r8 + 0x6008b0], xmm1
movups xmmword [r8 + 0x6008c0], xmm1
movups xmmword [r8 + 0x6008d0], xmm1
movups xmmword [r8 + 0x6008e0], xmm1
movups xmmword [r8 + 0x6008f0], xmm1
mov ecx, dword [r8 + 0xbb0b44]
bt ecx, 0x1c
jae 0x140002449
mov eax, ecx
btr eax, 0x1c
mov dword [r8 + 0xbb0b44], eax
bt ecx, 0x1c
jae 0x140002449
lea rdx, [rbp + 4]
mov r10d, 3
lea r9, [r8 + 0x600968]
nop
movsd xmm0, qword [r9 - 8]
lea rdx, [rdx + 0x10]
mulsd xmm0, xmm6
lea r9, [r9 + 0x20]
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r9 - 0x20]
sub ecx, eax
mulsd xmm0, xmm6
mov dword [rdx - 0x14], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r9 - 0x18]
sub ecx, eax
mulsd xmm0, xmm6
mov dword [rdx - 0x10], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r9 - 0x10]
sub ecx, eax
mulsd xmm0, xmm6
mov dword [rdx - 0xc], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
sub ecx, eax
mov dword [rdx - 8], ecx
sub r10, 1
jne 0x140002240
mov eax, dword [rbp + 0x2c]
lea rcx, [r8 + 0x12cb2e0]
mov r9d, dword [rbp]
lea r8d, [r10 + 0x2c]
mov dword [rsp + 0xc8], eax
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 eax, dword [rbp + 0x28]
mov dword [rsp + 0xc0], 0x2c
mov dword [rsp + 0xb8], eax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0xb0], 0x2c
mov dword [rsp + 0xa8], eax
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0xa0], 0x2c
mov dword [rsp + 0x98], eax
mov eax, dword [rbp + 0x1c]
mov dword [rsp + 0x90], 0x2c
mov dword [rsp + 0x88], eax
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x80], 0x2c
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x70], 0x2c
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x60], 0x2c
mov dword [rsp + 0x58], eax
mov eax, dword [rbp + 0xc]
mov dword [rsp + 0x50], 0x2c
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 8]
mov dword [rsp + 0x40], 0x2c
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x30], 0x2c
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x2c
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400023dd
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400023dd
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400023b7
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x4c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
movups xmm0, xmmword [r8 + 0x600960]
movups xmm1, xmmword [r8 + 0x600970]
movups xmmword [r8 + 0x6009c0], xmm0
movups xmm0, xmmword [r8 + 0x600980]
movups xmmword [r8 + 0x6009d0], xmm1
movups xmm1, xmmword [r8 + 0x600990]
movups xmmword [r8 + 0x6009e0], xmm0
movups xmm0, xmmword [r8 + 0x6009a0]
movups xmmword [r8 + 0x6009f0], xmm1
movups xmm1, xmmword [r8 + 0x6009b0]
movups xmmword [r8 + 0x600a00], xmm0
movups xmmword [r8 + 0x600a10], xmm1
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x1d
jae 0x140002686
btr eax, 0x1d
lea rcx, [r8 + 0x12cb2e0]
lea rdx, str.EEPHRD_r
mov dword [r8 + 0xbb0b44], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400024c9
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400024c9
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400024a3
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x48]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
mov r8d, 0x3e8
call fcn.14000b7c0
movsxd rbx, eax
test eax, eax
jle 0x14000267f
mov rdx, qword [0x140042fb8]
mov byte [rbx + rdx + 0xbb12e0], r14b
lea r8, [rdx + 0xbb12e0]
lea rcx, [rdx + 0xbb0a44]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov rsi, qword [0x140042fb8]
mov edx, r14d
or dword [rsi + 0xbb0b44], r13d
mov rcx, qword [rsi + 0x1436720]
mov r8d, dword [rcx + 0xe00018]
nop word [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140002557
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140002551
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140002530
lea r10, [rsi + 0xbb12e7]
mov r11, r14
mov r8d, r14d
mov r9d, r14d
mov rdx, r14
nop word [rax + rax]
movzx ecx, byte [r10 + rdx]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140002589
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140002594
cmp cl, 0x2d
jne 0x14000259e
mov r9d, 1
inc rdx
cmp rdx, r13
jl 0x140002570
jmp 0x1400025a6
cmp cl, 0x2c
jne 0x1400025a6
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], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x1400025ce
sub cl, 0x2c
cmp cl, 1
ja 0x1400025da
inc r11
cmp r11, 0x1000
jl 0x140002561
lea rdx, [rbp + 4]
mov r8d, 3
lea rcx, [rsi + 0x6009c0]
nop dword [rax + rax]
mov eax, dword [rdx - 4]
lea rcx, [rcx + 0x20]
sub eax, 0x8000
lea rdx, [rdx + 0x10]
movd xmm0, eax
mov eax, dword [rdx - 0x10]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm7
movsd qword [rcx - 0x80], xmm0
movsd qword [rcx - 0x20], xmm0
movd xmm0, eax
mov eax, dword [rdx - 0xc]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm7
movsd qword [rcx - 0x78], xmm0
movsd qword [rcx - 0x18], xmm0
movd xmm0, eax
mov eax, dword [rdx - 8]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm7
movsd qword [rcx - 0x70], xmm0
movsd qword [rcx - 0x10], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm7
movsd qword [rcx - 0x68], xmm0
movsd qword [rcx - 8], xmm0
sub r8, 1
jne 0x1400025f0
jmp 0x140003927
mov r8, qword [0x140042fb8]
mov ecx, dword [r8 + 0xbb0b44]
bt ecx, 0x1e
jae 0x1400028c9
mov eax, ecx
btr eax, 0x1e
mov dword [r8 + 0xbb0b44], eax
bt ecx, 0x1e
jae 0x1400028c9
lea rdx, [rbp + 4]
mov r10d, 3
lea r9, [r8 + 0x6008a8]
nop
movsd xmm0, qword [r9 - 8]
lea rdx, [rdx + 0x10]
mulsd xmm0, xmm6
lea r9, [r9 + 0x20]
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r9 - 0x20]
sub ecx, eax
mulsd xmm0, xmm6
mov dword [rdx - 0x14], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r9 - 0x18]
sub ecx, eax
mulsd xmm0, xmm6
mov dword [rdx - 0x10], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r9 - 0x10]
sub ecx, eax
mulsd xmm0, xmm6
mov dword [rdx - 0xc], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
sub ecx, eax
mov dword [rdx - 8], ecx
sub r10, 1
jne 0x1400026c0
mov eax, dword [rbp + 0x2c]
lea rcx, [r8 + 0x12cb2e0]
mov r9d, dword [rbp]
lea r8d, [r10 + 0x2c]
mov dword [rsp + 0xc8], eax
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 eax, dword [rbp + 0x28]
mov dword [rsp + 0xc0], 0x2c
mov dword [rsp + 0xb8], eax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0xb0], 0x2c
mov dword [rsp + 0xa8], eax
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0xa0], 0x2c
mov dword [rsp + 0x98], eax
mov eax, dword [rbp + 0x1c]
mov dword [rsp + 0x90], 0x2c
mov dword [rsp + 0x88], eax
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x80], 0x2c
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x70], 0x2c
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x60], 0x2c
mov dword [rsp + 0x58], eax
mov eax, dword [rbp + 0xc]
mov dword [rsp + 0x50], 0x2c
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 8]
mov dword [rsp + 0x40], 0x2c
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x30], 0x2c
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x2c
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x14000285d
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x14000285d
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002837
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x44]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
movups xmm0, xmmword [r8 + 0x6008a0]
movups xmm1, xmmword [r8 + 0x6008b0]
movups xmmword [r8 + 0x600900], xmm0
movups xmm0, xmmword [r8 + 0x6008c0]
movups xmmword [r8 + 0x600910], xmm1
movups xmm1, xmmword [r8 + 0x6008d0]
movups xmmword [r8 + 0x600920], xmm0
movups xmm0, xmmword [r8 + 0x6008e0]
movups xmmword [r8 + 0x600930], xmm1
movups xmm1, xmmword [r8 + 0x6008f0]
movups xmmword [r8 + 0x600940], xmm0
movups xmmword [r8 + 0x600950], xmm1
mov eax, dword [r8 + 0xbb0b44]
test eax, eax
jns 0x140002b06
btr eax, 0x1f
lea rcx, [r8 + 0x12cb2e0]
lea rdx, str.EEAMPRD_r
mov dword [r8 + 0xbb0b44], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140002947
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140002947
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002921
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x40]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
mov r8d, 0x3e8
call fcn.14000b7c0
movsxd rbx, eax
test eax, eax
jle 0x140002aff
mov rdx, qword [0x140042fb8]
mov byte [rbx + rdx + 0xbb12e0], r14b
lea r8, [rdx + 0xbb12e0]
lea rcx, [rdx + 0xbb0a44]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov rsi, qword [0x140042fb8]
mov edx, r14d
or dword [rsi + 0xbb0b44], r13d
mov rcx, qword [rsi + 0x1436720]
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x1400029cc
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x1400029c6
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x1400029a5
lea r10, [rsi + 0xbb12e8]
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 0x140002a09
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140002a14
cmp cl, 0x2d
jne 0x140002a1e
mov r9d, 1
inc rdx
cmp rdx, r13
jl 0x1400029f0
jmp 0x140002a26
cmp cl, 0x2c
jne 0x140002a26
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], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x140002a4e
sub cl, 0x2c
cmp cl, 1
ja 0x140002a5a
inc r11
cmp r11, 0x1000
jl 0x1400029e0
lea rdx, [rbp + 4]
mov r8d, 3
lea rcx, [rsi + 0x600900]
nop dword [rax + rax]
mov eax, dword [rdx - 4]
lea rcx, [rcx + 0x20]
sub eax, 0x8000
lea rdx, [rdx + 0x10]
movd xmm0, eax
mov eax, dword [rdx - 0x10]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm7
movsd qword [rcx - 0x80], xmm0
movsd qword [rcx - 0x20], xmm0
movd xmm0, eax
mov eax, dword [rdx - 0xc]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm7
movsd qword [rcx - 0x78], xmm0
movsd qword [rcx - 0x18], xmm0
movd xmm0, eax
mov eax, dword [rdx - 8]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm7
movsd qword [rcx - 0x70], xmm0
movsd qword [rcx - 0x10], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm7
movsd qword [rcx - 0x68], xmm0
movsd qword [rcx - 8], xmm0
sub r8, 1
jne 0x140002a70
jmp 0x140003927
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b48]
test r13b, al
je 0x140002b92
and eax, 0xffffffef
lea rcx, [r8 + 0x12cb2e0]
lea rdx, str.EEENWR_0_1_1_r
mov dword [r8 + 0xbb0b48], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140002b86
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140002b86
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002b60
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x3c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x18
jae 0x140002d54
btr eax, 0x18
mov dword [r8 + 0xbb0b44], eax
mov eax, dword [r8 + 0x143671c]
cmp eax, 0xe100
jg 0x140002bed
je 0x140002be6
cmp eax, 0x2580
je 0x140002be1
cmp eax, 0x4b00
je 0x140002bda
cmp eax, 0x9600
jne 0x140002c02
mov eax, 2
jmp 0x140002c1c
mov eax, 1
jmp 0x140002c1c
mov eax, r14d
jmp 0x140002c1c
mov eax, 3
jmp 0x140002c1c
cmp eax, 0x1c200
je 0x140002c17
cmp eax, 0x38400
je 0x140002c10
cmp eax, 0x70800
je 0x140002c09
mov eax, 7
jmp 0x140002c1c
mov eax, 6
jmp 0x140002c1c
mov eax, 5
jmp 0x140002c1c
mov eax, 4
lea rcx, [r8 + 0x12cb2e0]
mov dword [rsp + 0x20], 0xa
mov r8d, eax
lea rdx, str.H_0__d_0_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140002c96
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140002c96
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002c70
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x38]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
mov r8d, 0x1f4
call fcn.14000b7c0
movsxd r8, eax
test eax, eax
jle 0x140002d2c
mov r10, qword [0x140042fb8]
mov edx, r14d
mov rcx, qword [r10 + 0x1436720]
mov r9d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x140002cec
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140002ce5
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, r8d
jl 0x140002cc4
mov byte [r8 + r10 + 0xbb12e0], r14b
lea rcx, [r10 + 0xbb0a44]
lea r8, [r10 + 0xbb12e0]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0xbb0b44], r13d
mov eax, dword [r8 + 0x143671c]
mov dword [r8 + 0x1436718], eax
jmp 0x140002d54
mov rcx, qword [0x140042fb8]
lea rdx, [0x14003ace0]
add rcx, 0xbb0a44
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0xbb0b44], r13d
mov eax, dword [r8 + 0xbb0b48]
bt eax, 0xa
jae 0x140002d78
btr eax, 0xa
mov dword [r8 + 0xbb0b48], eax
call fcn.14000d100
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x19
jae 0x140002e2e
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
btr eax, 0x19
lea rdx, str.V_0_0_0_c_c
mov dword [r8 + 0xbb0b44], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdi, qword [0x140042fb8]
mov rbx, 0xffffffffffffffff
lea rdx, [rdi + 0x12cb2e0]
inc rbx
cmp byte [rdx + rbx], r14b
jne 0x140002dc6
cmp dword [rdi + 0x12cc310], 1
jne 0x140002e05
mov rdi, qword [rdi + 0x1436720]
cmp dword [rdi + 8], 1
je 0x140002e05
mov rcx, qword [rdi + 0xe00028]
lea r9, [rbp - 0x34]
mov r8d, ebx
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rdi + 0xe00020], r14d
call fcn.14000cf50
mov rdx, qword [0x140042fb8]
mov r8d, ebx
add rdx, 0xbb12e0
call fcn.140009540
mov r8, qword [0x140042fb8]
lea rdi, [0x14003ae1c]
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x11
jae 0x140002f34
btr eax, 0x11
mov dword [rsp + 0x48], 0xa
mov dword [r8 + 0xbb0b44], eax
lea rcx, [r8 + 0x12cb2e0]
mov edx, dword [r8 + 0x143668c]
movsd xmm0, qword [r8 + 0x600890]
mov r9d, dword [r8 + 0x12cc334]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], edx
movsd qword [r8 + 0x600888], xmm0
mov dword [r8 + 0x1436688], edx
lea rdx, str.S_0_1_1_1_12__d__d__d__d__d__d_0_c_c
mulsd xmm0, xmm8
cvttsd2si eax, xmm0
mov dword [rsp + 0x30], eax
mov eax, dword [r8 + 0x12cc3c0]
mov dword [rsp + 0x28], eax
mov eax, dword [r8 + 0x1436754]
mov r8d, dword [r8 + 0x143674c]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140002f16
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140002f16
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002ef0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
test eax, eax
jne 0x140002f34
mov eax, dword [r8 + 0x1436748]
mov dword [r8 + 0x1436744], eax
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x12
jae 0x140002fd0
btr eax, 0x12
mov dword [r8 + 0xbb0b44], eax
call fcn.140008e20
test eax, eax
jne 0x140002fa8
mov rax, qword [0x140042fb8]
lea rdx, [0x14003ae18]
lea rcx, [rbp + 0x100]
cmp dword [rax + 0x12cc3c0], 1
cmovne rdx, rdi
call fcn.1400010b0
mov rcx, qword [0x140042fb8]
lea r9, [rbp + 0x100]
lea rdx, str._s__RAW_data_support___s
lea r8, [rcx + 0xbb12e0]
add rcx, 0xbb0a44
call fcn.1400010b0
jmp 0x140002fc2
mov rcx, qword [0x140042fb8]
lea rdx, [0x14003ace0]
add rcx, 0xbb0a44
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0xbb0b44], r13d
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x13
jae 0x140003066
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
btr eax, 0x13
lea rdx, str.S_0_3_c_c
mov dword [r8 + 0xbb0b44], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x14000305a
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x14000305a
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003034
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x2c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b48]
bt eax, 0xb
jae 0x140003102
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
btr eax, 0xb
lea rdx, str.TEMP_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400030f6
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400030f6
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400030d0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x28]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x17
jae 0x140003126
btr eax, 0x17
mov dword [r8 + 0xbb0b44], eax
call fcn.140009350
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x16
jae 0x1400032cd
btr eax, 0x16
mov dword [rsp + 0x20], 0xa
mov dword [r8 + 0xbb0b44], eax
lea rcx, [r8 + 0x12cb2e0]
mov r8d, dword [r8 + 0x12cc3d4]
lea rdx, str.DELSAMPLE_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400031bb
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400031bb
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003195
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x24]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
test eax, eax
jne 0x1400032c6
mov rcx, qword [0x140042fb8]
mov edx, r14d
add rcx, 0xbb12e0
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0x2c
ja 0x1400031ed
bt r15, rax
jb 0x1400031fa
inc rcx
inc edx
cmp edx, 0x100
jl 0x1400031e0
lea rdx, [rbp]
mov r8d, r14d
lea rbx, [rcx + 1]
movzx ecx, byte [rbx]
cmp cl, 0x2c
ja 0x140003213
bt r15, rcx
jb 0x140003229
mov byte [rdx], cl
inc rbx
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x140003205
jmp 0x14000322c
mov byte [rdx], r14b
lea rcx, [rbp]
call fcn.14001c780
lea rdx, [rbp]
inc rbx
mov r8d, r14d
nop
movzx ecx, byte [rbx]
cmp cl, 0x2c
ja 0x14000324e
bt r15, rcx
jb 0x140003264
mov byte [rdx], cl
inc rbx
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x140003240
jmp 0x140003267
mov byte [rdx], r14b
lea rcx, [rbp]
call fcn.14001c780
lea rax, [rbp + 0x108]
mov r8d, r14d
sub rbx, rax
lea rdx, [rbp + 0x108]
movzx ecx, byte [rdx + rbx + 1]
cmp cl, 0x2c
ja 0x140003294
bt r15, rcx
jb 0x1400032a7
mov byte [rdx], cl
inc r8d
inc rdx
cmp r8d, 0x100
jl 0x140003284
jmp 0x1400032aa
mov byte [rdx], r14b
lea rcx, [rbp + 0x108]
call fcn.14001c780
mov r8, qword [0x140042fb8]
mov dword [r8 + 0x60086c], eax
jmp 0x1400032cd
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b48]
bt eax, 0xc
jae 0x1400033a3
btr eax, 0xc
mov dword [rsp + 0x48], 0xa
mov dword [r8 + 0xbb0b48], eax
lea rcx, [r8 + 0x12cb2e0]
mov eax, dword [r8 + 0xbb0a3c]
lea rdx, str.LRA_0_1__d__d__d__d__d__d_c_c
mov r9d, dword [r8 + 0xbb0a2c]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], eax
mov eax, dword [r8 + 0xbb0a38]
mov dword [rsp + 0x30], eax
mov eax, dword [r8 + 0xbb0a34]
mov dword [rsp + 0x28], eax
mov eax, dword [r8 + 0xbb0a30]
mov r8d, dword [r8 + 0xbb0a28]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140003397
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140003397
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003371
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x20]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b48]
bt eax, 0xd
jae 0x140003439
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
btr eax, 0xd
lea rdx, str.LRA_0_0_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x14000342d
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x14000342d
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003407
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x1c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b48]
bt eax, 0xe
jae 0x1400034d2
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
btr eax, 0xe
lea rdx, str.LRA_0_1_0_0_0_0_0_0_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400034c6
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400034c6
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400034a0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b48]
bt eax, 0xf
jae 0x140003573
btr eax, 0xf
mov dword [rsp + 0x20], 0xa
mov dword [r8 + 0xbb0b48], eax
lea rcx, [r8 + 0x12cb2e0]
mov r8d, dword [r8 + 0xbb0a40]
lea rdx, str.STC_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140003567
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140003567
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003541
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x14]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b48]
bt eax, 0x10
jae 0x140003609
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
btr eax, 0x10
lea rdx, str.STC_0_0_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400035fd
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400035fd
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400035d7
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x10]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cf50
mov r8, qword [0x140042fb8]
test dword [r8 + 0xbb0b48], 0x20000
je 0x14000362d
call fcn.1400095f0
mov r8, qword [0x140042fb8]
and dword [r8 + 0xbb0b48], 0xfffdffff
lea rcx, [r8 + 0xbb12e0]
xor edx, edx
mov r8d, 0x700000
call fcn.140015560
xor r8d, r8d
call fcn.14000b7c0
movsxd rdi, eax
cmp edi, 1
jle 0x140003920
mov rcx, qword [0x140042fb8]
test dword [rcx + 0xbb0b44], 0x400
jne 0x1400038d8
cmp dword [rcx + 0x14366e4], 1
je 0x1400038bd
lea rax, [rcx + 0xbb12e0]
mov edx, edi
lea r8, [rbp - 0x80]
mov qword [rbp - 0x80], rax
call fcn.140007d50
test eax, eax
jne 0x140003758
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rdx, qword [0x140042fb8]
mov r9d, eax
sub r9d, dword [rdx + 0x12cc394]
lea rcx, [rdx + 0xbb0a44]
mov dword [rdx + 0x12cc394], eax
or dword [rdx + 0xbb0b44], 4
movd xmm0, dword [rdx + 0xbb0b50]
mov eax, dword [rdx + 0xbb0b5c]
movsd xmm1, qword [rdx + 0x600818]
mov r8d, dword [rdx + 0x12cc38c]
mov dword [rsp + 0x48], eax
inc r8d
mov eax, dword [rdx + 0xbb0b54]
cvtdq2pd xmm0, xmm0
mov dword [rsp + 0x40], eax
divsd xmm0, xmm8
movsd qword [rsp + 0x38], xmm0
movsd xmm0, qword [rdx + 0x600880]
lea rdx, str.Read_map_data_No._d__dBytes__dmsec__max_.3lfm___.3lfm_bin__peak_pos_.3lf_Angle_d__ddB
movsd qword [rsp + 0x30], xmm0
movsd qword [rsp + 0x28], xmm1
mov dword [rsp + 0x20], r9d
mov r9d, edi
call fcn.1400010b0
mov rax, qword [0x140042fb8]
or dword [rax + 0xbb0b44], r13d
inc dword [rax + 0x12cc38c]
call fcn.14000ac40
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rsi, qword [0x140042fb8]
mov dword [rsi + 0x12cc390], eax
jmp 0x140003927
cmp eax, 0xfffffffe
je 0x140003920
mov rax, qword [0x140042fb8]
lea r8, [rbp - 0x80]
add rax, 0xbb12e0
mov edx, edi
mov qword [rbp - 0x80], rax
call fcn.140007ba0
test eax, eax
jne 0x1400037f9
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x140042fb8]
mov r9d, edi
mov edx, eax
sub edx, dword [rcx + 0x12cc394]
mov dword [rcx + 0x12cc394], eax
lea rax, [rcx + 0xbb12e0]
or dword [rcx + 0xbb0b44], 4
mov byte [rdi + rcx + 0xbb12e0], r14b
mov r8d, dword [rcx + 0x12cc38c]
add rcx, 0xbb0a44
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 [0x140042fb8]
or dword [rax + 0xbb0b44], r13d
inc dword [rax + 0x12cc38c]
call fcn.14000af40
jmp 0x140003740
cmp eax, 0xfffffffe
je 0x140003920
mov rsi, qword [0x140042fb8]
lea r8, [rbp - 0x80]
mov edx, edi
lea rbx, [rsi + 0xbb12e0]
mov qword [rbp - 0x80], rbx
call fcn.140007950
test eax, eax
jne 0x14000382f
mov edx, edi
call fcn.140003c70
jmp 0x140003740
cmp eax, 0xfffffffe
je 0x140003927
cmp qword [rbx], r12
jne 0x140003849
cmp word [rbx + 8], 0x3057
je 0x140003927
mov r8d, edi
mov rdx, rbx
call fcn.140007720
mov rcx, qword [0x140042fb8]
lea rdx, str.Received__d_byte
add rcx, 0xbb0a44
mov r8d, edi
call fcn.1400010b0
mov rsi, qword [0x140042fb8]
mov edx, r14d
or dword [rsi + 0xbb0b44], r13d
mov rcx, qword [rsi + 0x1436720]
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140003927
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x1400038b5
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, edi
jl 0x140003890
jmp 0x140003927
mov dword [rcx + 0x14366e4], r14d
or dword [rcx + 0xbb0b44], 0x400
or dword [rcx + 0xbb0b48], 0x80000
mov rcx, qword [rcx + 0x1436720]
mov edx, r14d
mov r8d, dword [rcx + 0xe00018]
nop dword [rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140003740
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140003915
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, edi
jl 0x1400038f0
jmp 0x140003740
mov rsi, qword [0x140042fb8]
cmp dword [rsi + 0x143672c], r14d
je 0x140003a8a
test byte [rsi + 0xbb0b44], 4
jne 0x140003a8a
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rdx, qword [0x140042fb8]
mov ecx, eax
sub ecx, dword [0x140042fa0]
cmp ecx, dword [rdx + 0x12cc320]
jb 0x140003a8a
mov dword [0x140042fa0], eax
mov eax, dword [rdx + 0x12cc3b8]
test eax, eax
jne 0x140003a79
cmp dword [rdx + 0x1436738], 1
jne 0x140003989
call fcn.14000eb30
jmp 0x140003a8a
lea rcx, [rdx + 0xbb0ee0]
lea rdx, [0x14003ba94]
call fcn.140017e84
mov rdi, rax
test rax, rax
jne 0x1400039b7
mov rax, qword [0x140042fb8]
mov dword [rax + 0x143672c], r14d
jmp 0x140003a8a
mov rcx, qword [0x140042fb8]
mov r8, rdi
add rcx, 0x12b12e0
mov edx, 0x18000
call fcn.14001b408
mov rax, qword [0x140042fb8]
mov ebx, r14d
cmp dword [rax + 0x12cc38c], r14d
jle 0x140003a15
nop word [rax + rax]
lea rcx, [rax + 0x12b12e0]
mov r8, rdi
mov edx, 0x18000
call fcn.14001b408
mov rax, qword [0x140042fb8]
inc ebx
cmp ebx, dword [rax + 0x12cc38c]
jl 0x1400039f0
lea rbx, [rax + 0x12b12e0]
xor edx, edx
mov rcx, rbx
mov r8d, 0x18000
call fcn.140015560
mov r8, rdi
mov edx, 0x18000
mov rcx, rbx
call fcn.14001b408
mov rcx, rdi
test rax, rax
jne 0x140003a6d
call fcn.140018404
mov rax, qword [0x140042fb8]
mov dword [rax + 0x143672c], r14d
or dword [rax + 0xbb0b44], 0x400
or dword [rax + 0xbb0b48], 0x80000
jmp 0x140003a8a
call fcn.140018404
call fcn.14000ed50
jmp 0x140003a8a
cmp eax, 3
jne 0x140003a85
call fcn.14000e5a0
jmp 0x140003a8a
call fcn.14000e920
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8, qword [0x140042fb8]
lea rdi, [0x14003ae1c]
test dword [r8 + 0xbb0b48], 0x100000
je 0x140001360
movaps xmm8, xmmword [rsp + 0x3e0]
movaps xmm7, xmmword [rsp + 0x3f0]
movaps xmm6, xmmword [rsp + 0x400]
mov r15, qword [rsp + 0x458]
mov r13, qword [rsp + 0x450]
mov r12, qword [rsp + 0x448]
mov eax, dword [r8 + 0x1436704]
lea rdx, [rbp]
mov dword [r8 + 0x1436700], eax
xor ecx, ecx
mov r8d, 0x100
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea r9, str.mr12e.ini
lea r8, [rbp]
lea rdx, str._s_s
lea rcx, [rbp + 0x130]
call fcn.1400010b0
mov rax, qword [0x140042fb8]
mov r14d, dword [rax + 0x1438f60]
lea rsi, [rax + 0x1436760]
test r14d, r14d
jle 0x140003c2f
lea rbx, [rsi + 4]
nop
cmp dword [rsi], 0
jne 0x140003b70
mov r8, qword [rbx + 0x44]
lea r9, [rbp + 0x130]
mov rdx, rbx
lea rcx, str.MR12E_LOCAL_PARAMS
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [rsi], 1
jne 0x140003ba7
mov r8, qword [rbx + 0x44]
lea rdx, [0x14003b870]
lea rcx, [rbp]
mov r8d, dword [r8]
call fcn.1400010b0
lea r9, [rbp + 0x130]
mov rdx, rbx
lea r8, [rbp]
lea rcx, str.MR12E_LOCAL_PARAMS
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [rsi], 2
jne 0x140003bde
mov r8, qword [rbx + 0x44]
lea rdx, [0x14003b94c]
lea rcx, [rbp]
mov r8d, dword [r8]
call fcn.1400010b0
lea r9, [rbp + 0x130]
mov rdx, rbx
lea r8, [rbp]
lea rcx, str.MR12E_LOCAL_PARAMS
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [rsi], 3
jne 0x140003c1b
mov rax, qword [rbx + 0x44]
lea rdx, [0x14003b950]
lea rcx, [rbp]
movsd xmm2, qword [rax]
movq r8, xmm2
call fcn.1400010b0
lea r9, [rbp + 0x130]
mov rdx, rbx
lea r8, [rbp]
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 0x140003b50
call fcn.14000b6e0
mov rax, qword [0x140042fb8]
and dword [rax + 0xbb0b48], 0xffefffff
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140013b30
add rsp, 0x410
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret