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 - 0x2d0]
sub rsp, 0x470
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rbx, rcx
xor edx, edx
mov rcx, qword [0x140040fb0]
mov r8d, 0x25856c0
call fcn.140013230
mov rcx, rbx
call fcn.1400046f0
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 [0x140040fb0]
mov esi, dword [rcx + 0x25856b8]
lea rbx, [rcx + 0x2582eb8]
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.14001a450
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 2
jne 0x14000123a
lea rcx, [rbp + 0x10]
call fcn.14001a450
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 3
jne 0x140001250
lea rcx, [rbp + 0x10]
call fcn.14001da4c
mov rax, qword [rbx + 0x48]
movsd qword [rax], xmm0
dec esi
add rbx, 0x50
test esi, esi
jg 0x1400011d0
mov rcx, qword [0x140040fb0]
mov eax, dword [rcx + 0x2582e2c]
mov dword [rcx + 0x2582e30], eax
mov eax, dword [rcx + 0x2582dcc]
mov dword [rcx + 0x2582dd0], eax
mov rax, qword [rcx + 0x90]
mov qword [rcx + 0x98], rax
mov eax, dword [rcx + 0x2582e14]
mov dword [rcx + 0x2582e18], eax
or dword [rcx + 0x1db2284], 8
mov dword [0x140040fa8], 1
call fcn.140009a80
mov rcx, qword [0x140040fb0]
call qword [sym.imp.mr12e.dll_CopyAddressToDll]
call qword [sym.imp.mr12e.dll_CalcMeterPerBin]
call fcn.14000af00
mov r10, qword [0x140040fb0]
test dword [r10 + 0x1db2288], 0x80000
jne 0x14000417c
mov qword [rsp + 0x4a8], r12
lea rsi, [0x140038e28]
mov qword [rsp + 0x4b0], r13
xor r14d, r14d
mov qword [rsp + 0x4b8], r15
mov r13d, InitCommonControls
movaps xmmword [rsp + 0x460], xmm6
movabs r15, 0x100100002401
movsd xmm6, qword [0x14003a6a0]
movabs r12, 0x305741525f444e45
movaps xmmword [rsp + 0x450], xmm7
movsd xmm7, qword [0x14003a6d0]
movaps xmmword [rsp + 0x440], xmm8
movsd xmm8, qword [0x14003a6a8]
movaps xmmword [rsp + 0x430], xmm9
movsd xmm9, qword [0x14003a660]
movaps xmmword [rsp + 0x420], xmm10
movsd xmm10, qword [0x14003a670]
movaps xmmword [rsp + 0x410], xmm11
movsd xmm11, qword [0x14003a6b8]
movaps xmmword [rsp + 0x400], xmm12
movsd xmm12, qword [0x14003a688]
movaps xmmword [rsp + 0x3f0], xmm13
movsd xmm13, qword [0x14003a6b0]
mov eax, dword [r10 + 0x1db2284]
bt eax, 8
jae 0x140001687
btr eax, 8
mov dword [r10 + 0x1db2284], eax
call fcn.14000bf00
mov rdx, qword [0x140040fb0]
mov eax, dword [rdx + 0x24cdae4]
mov dword [rdx + 0x24cdae8], eax
test eax, eax
jne 0x1400013e9
call fcn.140009890
mov rdx, qword [0x140040fb0]
mov r9d, dword [rdx + 0x24cdae8]
test r9d, r9d
jne 0x1400013fd
cmp dword [rdx + 0x6c], 1
cmove r9d, r13d
mov eax, dword [rdx + 0x2582e14]
mov ecx, dword [rdx + 0x2582e18]
cmp eax, ecx
je 0x140001415
mov dword [rdx + 0x2582e14], ecx
mov eax, ecx
mov r8d, eax
cmp r9d, r13d
jne 0x14000143b
cmp dword [rdx + 0x2582dfc], 1
jne 0x14000143b
cmp eax, 0xc
jge 0x14000143b
mov dword [rdx + 0x2582e14], 0xc
mov r8d, InitCommonControls
mov eax, dword [rdx + 0x58]
lea rcx, [rdx + 0x24cca20]
movsd xmm0, qword [rdx + 8]
movsd xmm3, qword [rdx + 0x24cda80]
mov dword [rsp + 0x118], r9d
movq r9, xmm3
mov dword [rsp + 0x110], 0x2c
mov dword [rsp + 0x108], eax
mov eax, dword [rdx + 0x54]
mov dword [rsp + 0x100], 0x2c
mov dword [rsp + 0xf8], eax
mov eax, dword [rdx + 0x50]
mov dword [rsp + 0xf0], 0x2c
mov dword [rsp + 0xe8], eax
mov eax, dword [rdx + 0x24cda58]
mov dword [rsp + 0xe0], 0x2c
mov dword [rsp + 0xd8], eax
mov eax, dword [rdx + 0x24cda74]
mov dword [rsp + 0xd0], 0x2c
mov dword [rsp + 0xc8], eax
mov eax, dword [rdx + 0x24cda5c]
mov dword [rsp + 0xc0], 0x2c
mov dword [rsp + 0xb8], eax
mov eax, dword [rdx + 0x24cda60]
mov dword [rsp + 0xb0], 0x2c
mov dword [rsp + 0xa8], eax
mov eax, dword [rdx + 0x24cda68]
mov dword [rsp + 0xa0], 0x2c
mov dword [rsp + 0x98], eax
mov eax, dword [rdx + 0x24cda70]
mov dword [rsp + 0x90], 0x2c
mov dword [rsp + 0x88], eax
mov eax, dword [rdx]
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 + 0x10]
mov dword [rsp + 0x60], 0x2c
mov dword [rsp + 0x58], eax
mov eax, dword [rdx + 0x24cda54]
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 [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x1400015f6
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x1400015f6
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400015d0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call qword [sym.imp.mr12e.dll_CalcMeterPerBin]
mov rdx, qword [0x140040fb0]
movaps xmm1, xmm11
movaps xmm2, xmm12
movd xmm0, dword [rdx + 0x10]
mov ecx, dword [rdx + 0x14]
mov rax, qword [rdx + 0x80]
cvtdq2pd xmm0, xmm0
mov qword [rdx + 0x18], rax
mov dword [rdx + 0x2582de8], ecx
divsd xmm1, xmm0
movd xmm0, dword [rdx]
divsd xmm2, xmm1
cvtdq2pd xmm0, xmm0
mulsd xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm2, xmm13
movsd qword [rdx + 0x24cda98], xmm2
divsd xmm2, qword [rdx + 8]
mulsd xmm2, xmm0
movsd qword [rdx + 0x24cda90], xmm2
call fcn.140009a80
call fcn.14000aa70
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r10, qword [0x140040fb0]
mov dword [r10 + 0x24cdac4], eax
mov dword [r10 + 0x2582df8], r14d
test dword [r10 + 0x1db2284], 0x200
je 0x140001782
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r10, qword [0x140040fb0]
mov r8d, eax
mov eax, 0x66666667
mov r9d, dword [r10 + 0x24cda58]
sub r8d, dword [r10 + 0x24cdac0]
imul r9d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp r8d, edx
jl 0x1400016d9
lea eax, [r9 + r9]
cmp eax, r8d
jge 0x140001782
lea rcx, [r10 + 0x24cca20]
lea rdx, str.B290_STOP_r
call fcn.1400010b0
mov rcx, qword [0x140040fb0]
cmp dword [rcx + 0x24cda50], 1
jne 0x140001744
mov rbx, qword [rcx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140001744
lea rdx, [rcx + 0x24cca20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001717
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x78]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x140040fb0]
mov dword [rbx + 0xe00020], r14d
add rcx, 0x1db2184
lea rdx, str.Sent_:_STOP_script
call fcn.1400010b0
mov r10, qword [0x140040fb0]
or dword [r10 + 0x1db2284], r13d
and dword [r10 + 0x1db2284], 0xfffffdff
mov dword [r10 + 0x2582df8], 1
mov dword [r10 + 0x2582e44], r14d
mov eax, dword [r10 + 0x1db2284]
bt eax, 0xa
jae 0x1400017a6
btr eax, 0xa
mov dword [r10 + 0x1db2284], eax
call fcn.14000af00
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2284]
bt eax, 0xb
jae 0x1400017ca
btr eax, 0xb
mov dword [r10 + 0x1db2284], eax
call fcn.14000ad00
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2284]
bt eax, 0xc
jae 0x1400018c4
btr eax, 0xc
mov dword [r10 + 0x1db2284], eax
call fcn.14000bf00
mov rcx, qword [0x140040fb0]
cmp dword [rcx + 0x2582e00], 1
jne 0x140001839
lea rdx, [rbp + 0x10]
mov dword [rcx + 0x2582e00], r14d
call fcn.14000b5a0
mov rcx, qword [0x140040fb0]
lea r8, [rbp + 0x10]
add rcx, 0x24cca20
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_MAP__s_c_c
call fcn.1400010b0
jmp 0x140001856
mov r9d, 0xa
lea rdx, str.START_MAP_c_c
add rcx, 0x24cca20
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x140040fb0]
cmp dword [rax + 0x24cda50], 1
jne 0x1400018a7
mov rbx, qword [rax + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x1400018a7
lea rdx, [rax + 0x24cca20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001881
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.14000be40
call fcn.14000a350
call fcn.140009a80
mov r10, qword [0x140040fb0]
mov dword [r10 + 0x2582df8], r14d
mov eax, dword [r10 + 0x1db2284]
bt eax, 0xd
jae 0x1400019c3
btr eax, 0xd
mov dword [r10 + 0x1db2284], eax
call fcn.14000bf00
mov rcx, qword [0x140040fb0]
cmp dword [rcx + 0x2582e00], 1
jne 0x140001933
lea rdx, [rbp + 0x10]
mov dword [rcx + 0x2582e00], r14d
call fcn.14000b5a0
mov rcx, qword [0x140040fb0]
lea r8, [rbp + 0x10]
add rcx, 0x24cca20
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_PPI__s_c_c
call fcn.1400010b0
jmp 0x140001950
mov r9d, 0xa
lea rdx, str.START_PPI_c_c
add rcx, 0x24cca20
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x140040fb0]
cmp dword [rax + 0x24cda50], 1
jne 0x1400019a6
mov rbx, qword [rax + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x1400019a6
lea rdx, [rax + 0x24cca20]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001980
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.14000be40
call fcn.140009a80
call fcn.14000aa70
mov r10, qword [0x140040fb0]
mov dword [r10 + 0x2582df8], r14d
mov eax, dword [r10 + 0x1db2284]
bt eax, 0xe
jae 0x140001ac8
btr eax, 0xe
mov dword [r10 + 0x1db2284], eax
call fcn.14000bf00
mov rcx, qword [0x140040fb0]
cmp dword [rcx + 0x2582e00], 1
jne 0x140001a32
lea rdx, [rbp + 0x10]
mov dword [rcx + 0x2582e00], r14d
call fcn.14000b5a0
mov rcx, qword [0x140040fb0]
lea r8, [rbp + 0x10]
add rcx, 0x24cca20
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_RAW__s_c_c
call fcn.1400010b0
jmp 0x140001a4f
mov r9d, 0xa
lea rdx, str.START_RAW_c_c
add rcx, 0x24cca20
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x140040fb0]
cmp dword [rax + 0x24cda50], 1
jne 0x140001aa6
mov rbx, qword [rax + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140001aa6
lea rdx, [rax + 0x24cca20]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001a80
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.14000be40
call fcn.14000a350
call fcn.140009a80
call fcn.14000aa70
mov r10, qword [0x140040fb0]
mov dword [r10 + 0x2582df8], r14d
mov eax, dword [r10 + 0x1db2284]
bt eax, 0xf
jae 0x140001bca
btr eax, 0xf
lea rcx, [r10 + 0x24cca20]
lea rdx, str.B290_RDPARAM_r
mov dword [r10 + 0x1db2284], eax
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140001b48
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140001b48
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001b22
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.14000ade0
movsxd rbx, eax
test eax, eax
jle 0x140001bc3
mov rdx, qword [0x140040fb0]
mov byte [rbx + rdx + 0x1db2a20], r14b
lea r8, [rdx + 0x1db2a20]
lea rcx, [rdx + 0x1db2184]
lea rdx, [0x140038cb8]
call fcn.1400010b0
mov rcx, qword [0x140040fb0]
lea r8, [rbp - 0x80]
mov edx, ebx
or dword [rcx + 0x1db2284], r13d
add rcx, 0x1db2a20
mov qword [rbp - 0x80], rcx
call fcn.140008950
mov r10, qword [0x140040fb0]
or dword [r10 + 0x1db2284], 8
jmp 0x140001bca
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2284]
test eax, eax
jns 0x140001c62
mov r9d, 0xa
lea rcx, [r10 + 0x24cca20]
btr eax, 0x1f
lea rdx, str.K_0_1_c_c
mov dword [r10 + 0x1db2284], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140001c56
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140001c56
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001c30
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.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2288]
test al, 1
je 0x140001f24
mov r9d, 0xa
lea rcx, [r10 + 0x24cca20]
and eax, 0xfffffffe
lea rdx, str.K_0_0_c_c
mov dword [r10 + 0x1db2288], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140001ce9
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140001ce9
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001cc3
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.14000ade0
movsxd rbx, eax
test eax, eax
jle 0x140001efc
mov rdx, qword [0x140040fb0]
mov byte [rbx + rdx + 0x1db2a20], r14b
lea r8, [rdx + 0x1db2a20]
lea rcx, [rdx + 0x1db2184]
lea rdx, [0x140038cb8]
call fcn.1400010b0
mov r10, qword [0x140040fb0]
mov edx, r14d
or dword [r10 + 0x1db2284], r13d
mov rcx, qword [r10 + 0x2582e38]
mov r8d, dword [rcx + 0xe00018]
nop word [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140001d77
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140001d71
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140001d50
xorps xmm0, xmm0
lea r11, [r10 + 0x1db2a26]
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 0x140001dc9
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140001dd4
cmp cl, 0x2d
jne 0x140001dde
mov r9d, 1
inc rdx
cmp rdx, r13
jl 0x140001db0
jmp 0x140001de6
cmp cl, 0x2c
jne 0x140001de6
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 0x140001e0d
sub cl, 0x2c
cmp cl, 1
ja 0x140001e19
inc rbx
cmp rbx, 0x1000
jl 0x140001da0
movd xmm0, dword [rbp + 0x14]
movd xmm2, dword [rbp + 0x10]
movd xmm1, dword [rbp + 0x18]
mov eax, dword [rbp + 0x1c]
mov dword [r10 + 0x50], eax
mov eax, dword [rbp + 0x20]
mov dword [r10 + 0x58], eax
mov eax, dword [rbp + 0x24]
cvtdq2pd xmm0, xmm0
mov dword [r10 + 0x54], eax
mov eax, dword [rbp + 0x28]
mov dword [r10 + 0x24cda68], eax
mov eax, dword [rbp + 0x2c]
mov dword [r10 + 0x24cda60], eax
mov eax, dword [rbp + 0x30]
divsd xmm0, xmm8
mov dword [r10 + 0x24cda5c], eax
mov eax, dword [rbp + 0x38]
mov dword [r10 + 0x24cda58], 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 + 0x2582de0], xmm1
cvtdq2pd xmm0, xmm0
movsd qword [r10 + 0x78], xmm0
cmp eax, 0x128e0
jl 0x140001ef2
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 + 0x2582ea4], eax
divsd xmm1, xmm8
movsd qword [r10 + 0x24cda80], xmm1
call qword [sym.imp.mr12e.dll_CalcRampTimeByMaxDistance]
mov r10, qword [0x140040fb0]
movsd qword [r10 + 8], xmm0
or dword [r10 + 0x1db2284], 8
jmp 0x140001f24
mov rcx, qword [0x140040fb0]
lea rdx, [0x140038ce0]
add rcx, 0x1db2184
call fcn.1400010b0
mov r10, qword [0x140040fb0]
or dword [r10 + 0x1db2284], r13d
mov eax, dword [r10 + 0x1db2288]
test al, 2
je 0x140001fb7
mov r9d, 0xa
lea rcx, [r10 + 0x24cca20]
and eax, 0xfffffffd
lea rdx, str.K_0_3_c_c
mov dword [r10 + 0x1db2288], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140001fab
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140001fab
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001f85
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.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2288]
test al, 4
je 0x140002052
mov r9d, 0xa
lea rcx, [r10 + 0x24cca20]
and eax, 0xfffffffb
lea rdx, str.K_0_4_c_c
mov dword [r10 + 0x1db2288], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140002046
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140002046
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002020
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.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2288]
test al, 0x40
je 0x140002102
and eax, 0xffffffbf
mov dword [rsp + 0x20], 0xa
mov r8d, r14d
mov dword [r10 + 0x1db2288], eax
cmp dword [r10 + 0x2582dfc], 1
lea rcx, [r10 + 0x24cca20]
mov r9d, InitCommonControls
lea rdx, str.ATST__d_c_c
sete r8b
add r8d, 3
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x1400020f6
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x1400020f6
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400020d0
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.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2288]
test al, al
jns 0x140002196
mov r9d, 0xa
lea rcx, [r10 + 0x24cca20]
btr eax, 7
lea rdx, str.ATST_0_c_c
mov dword [r10 + 0x1db2288], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x14000218a
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x14000218a
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002164
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.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2284]
bt eax, 0x1a
jae 0x140002214
xorps xmm0, xmm0
xorps xmm1, xmm1
btr eax, 0x1a
mov dword [r10 + 0x1db2284], eax
movups xmmword [r10 + 0x1802100], xmm0
movups xmmword [r10 + 0x1802110], xmm0
movups xmmword [r10 + 0x1802120], xmm0
movups xmmword [r10 + 0x1802130], xmm0
movups xmmword [r10 + 0x1802140], xmm0
movups xmmword [r10 + 0x1802150], xmm0
movups xmmword [r10 + 0x18020a0], xmm1
movups xmmword [r10 + 0x18020b0], xmm1
movups xmmword [r10 + 0x18020c0], xmm1
movups xmmword [r10 + 0x18020d0], xmm1
movups xmmword [r10 + 0x18020e0], xmm1
movups xmmword [r10 + 0x18020f0], xmm1
mov ecx, dword [r10 + 0x1db2284]
bt ecx, 0x1b
jae 0x140002402
mov eax, ecx
btr eax, 0x1b
mov dword [r10 + 0x1db2284], eax
bt ecx, 0x1b
jae 0x140002402
lea rdx, [rbp + 0x14]
mov r9d, 3
lea r8, [r10 + 0x1802108]
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 0x140002250
mov eax, dword [rbp + 0x3c]
lea rcx, [r10 + 0x24cca20]
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 [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x1400023f6
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x1400023f6
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400023d0
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.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2284]
bt eax, 0x1c
jae 0x14000262e
btr eax, 0x1c
lea rcx, [r10 + 0x24cca20]
lea rdx, str.EEPHRD_r
mov dword [r10 + 0x1db2284], eax
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140002486
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140002486
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002460
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.14000ade0
movsxd rbx, eax
test eax, eax
jle 0x140002627
mov rdx, qword [0x140040fb0]
mov byte [rbx + rdx + 0x1db2a20], r14b
lea r8, [rdx + 0x1db2a20]
lea rcx, [rdx + 0x1db2184]
lea rdx, [0x140038cb8]
call fcn.1400010b0
mov rsi, qword [0x140040fb0]
mov edx, r14d
or dword [rsi + 0x1db2284], r13d
mov rcx, qword [rsi + 0x2582e38]
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x14000250b
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140002505
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x1400024e4
lea r10, [rsi + 0x1db2a27]
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 0x140002549
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140002554
cmp cl, 0x2d
jne 0x14000255e
mov r9d, 1
inc rdx
cmp rdx, r13
jl 0x140002530
jmp 0x140002566
cmp cl, 0x2c
jne 0x140002566
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 0x14000258e
sub cl, 0x2c
cmp cl, 1
ja 0x14000259a
inc r11
cmp r11, 0x1000
jl 0x140002520
lea rcx, [rbp + 0x14]
mov r8d, 3
lea rdx, [rsi + 0x1802108]
nop dword [rax + 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 0x1400025b0
jmp 0x140003f87
mov r10, qword [0x140040fb0]
mov ecx, dword [r10 + 0x1db2284]
bt ecx, 0x1d
jae 0x140002822
mov eax, ecx
btr eax, 0x1d
mov dword [r10 + 0x1db2284], eax
bt ecx, 0x1d
jae 0x140002822
lea rdx, [rbp + 0x14]
mov r9d, 3
lea r8, [r10 + 0x18020a8]
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 0x140002670
mov eax, dword [rbp + 0x3c]
lea rcx, [r10 + 0x24cca20]
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 [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140002816
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140002816
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400027f0
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.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2284]
bt eax, 0x1e
jae 0x140002a4e
btr eax, 0x1e
lea rcx, [r10 + 0x24cca20]
lea rdx, str.EEAMPRD_r
mov dword [r10 + 0x1db2284], eax
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x1400028a6
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x1400028a6
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002880
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.14000ade0
movsxd rbx, eax
test eax, eax
jle 0x140002a47
mov rdx, qword [0x140040fb0]
mov byte [rbx + rdx + 0x1db2a20], r14b
lea r8, [rdx + 0x1db2a20]
lea rcx, [rdx + 0x1db2184]
lea rdx, [0x140038cb8]
call fcn.1400010b0
mov rsi, qword [0x140040fb0]
mov edx, r14d
or dword [rsi + 0x1db2284], r13d
mov rcx, qword [rsi + 0x2582e38]
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x14000292b
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140002925
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140002904
lea r10, [rsi + 0x1db2a28]
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 0x140002969
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140002974
cmp cl, 0x2d
jne 0x14000297e
mov r9d, 1
inc rdx
cmp rdx, r13
jl 0x140002950
jmp 0x140002986
cmp cl, 0x2c
jne 0x140002986
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 0x1400029ae
sub cl, 0x2c
cmp cl, 1
ja 0x1400029ba
inc r11
cmp r11, 0x1000
jl 0x140002940
lea rcx, [rbp + 0x14]
mov r8d, 3
lea rdx, [rsi + 0x18020a8]
nop dword [rax + 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 0x1400029d0
jmp 0x140003f87
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2288]
test al, 8
je 0x140002ad3
and eax, 0xfffffff7
lea rcx, [r10 + 0x24cca20]
lea rdx, str.EEENWR_0_1_1_r
mov dword [r10 + 0x1db2288], eax
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140002ac7
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140002ac7
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002aa1
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.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2284]
bt eax, 0x17
jae 0x140002c94
btr eax, 0x17
mov dword [r10 + 0x1db2284], eax
mov eax, dword [r10 + 0x2582e30]
cmp eax, 0xe100
jg 0x140002b31
je 0x140002b29
cmp eax, 0x2580
je 0x140002b24
cmp eax, 0x4b00
je 0x140002b1c
cmp eax, 0x9600
jne 0x140002b46
mov r8d, 2
jmp 0x140002b64
mov r8d, 1
jmp 0x140002b64
mov r8d, r14d
jmp 0x140002b64
mov r8d, 3
jmp 0x140002b64
cmp eax, 0x1c200
je 0x140002b5e
cmp eax, 0x38400
je 0x140002b56
cmp eax, 0x70800
je 0x140002b4e
mov r8d, 7
jmp 0x140002b64
mov r8d, 6
jmp 0x140002b64
mov r8d, 5
jmp 0x140002b64
mov r8d, 4
lea rcx, [r10 + 0x24cca20]
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.H_0__d_0_c_c
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140002bd6
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140002bd6
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002bb0
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.14000ade0
movsxd r8, eax
test eax, eax
jle 0x140002c6c
mov r10, qword [0x140040fb0]
mov edx, r14d
mov rcx, qword [r10 + 0x2582e38]
mov r9d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x140002c2c
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140002c25
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, r8d
jl 0x140002c04
mov byte [r8 + r10 + 0x1db2a20], r14b
lea rcx, [r10 + 0x1db2184]
lea r8, [r10 + 0x1db2a20]
lea rdx, [0x140038cb8]
call fcn.1400010b0
mov r10, qword [0x140040fb0]
or dword [r10 + 0x1db2284], r13d
mov eax, dword [r10 + 0x2582e30]
mov dword [r10 + 0x2582e2c], eax
jmp 0x140002c94
mov rcx, qword [0x140040fb0]
lea rdx, [0x140038ce0]
add rcx, 0x1db2184
call fcn.1400010b0
mov r10, qword [0x140040fb0]
or dword [r10 + 0x1db2284], r13d
mov eax, dword [r10 + 0x1db2288]
bt eax, 9
jae 0x140002cb8
btr eax, 9
mov dword [r10 + 0x1db2288], eax
call fcn.14000bfe0
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2284]
bt eax, 0x18
jae 0x140002d52
mov r9d, 0xa
lea rcx, [r10 + 0x24cca20]
btr eax, 0x18
lea rdx, str.V_0_0_0_c_c
mov dword [r10 + 0x1db2284], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140002d46
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140002d46
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002d20
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x34]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2284]
bt eax, 0x10
jae 0x140002e55
btr eax, 0x10
mov dword [rsp + 0x48], 0xa
mov dword [r10 + 0x1db2284], eax
lea rcx, [r10 + 0x24cca20]
mov edx, dword [r10 + 0x2582dd0]
movsd xmm0, qword [r10 + 0x98]
mov r9d, dword [r10 + 0x24cda6c]
mov r8d, dword [r10 + 0x2582ea4]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], edx
movsd qword [r10 + 0x90], xmm0
mulsd xmm0, xmm8
mov dword [r10 + 0x2582dcc], edx
lea rdx, str.S_0_1_1_1_12__d__d__d__d__d__d_c_c
cvttsd2si eax, xmm0
mov dword [rsp + 0x30], eax
mov eax, dword [r10 + 0x24cdaf0]
mov dword [rsp + 0x28], eax
mov eax, dword [r10 + 0x2582eac]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140002e37
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140002e37
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002e11
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.14000be40
mov r10, qword [0x140040fb0]
test eax, eax
jne 0x140002e55
mov eax, dword [r10 + 0x2582ea0]
mov dword [r10 + 0x2582e9c], eax
mov eax, dword [r10 + 0x1db2284]
bt eax, 0x11
jae 0x140003126
mov r9d, 0xa
lea rcx, [r10 + 0x24cca20]
btr eax, 0x11
lea rdx, str.S_0_0_0_c_c
mov dword [r10 + 0x1db2284], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140002ee6
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140002ee6
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002ec0
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
mov r8d, 0x1f4
call fcn.14000ade0
movsxd r8, eax
test eax, eax
jle 0x1400030fe
mov rdi, qword [0x140040fb0]
mov edx, r14d
mov byte [r8 + rdi + 0x1db2a20], r14b
mov rcx, qword [rdi + 0x2582e38]
mov r9d, dword [rcx + 0xe00018]
nop dword [rax]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x140002f48
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140002f41
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, r8d
jl 0x140002f20
xorps xmm0, xmm0
mov dword [rdi + 0x2582e0c], 1
movabs rax, 0x4000000000000000
mov dword [rdi + 0x2582e08], 1
movups xmmword [rbp + 0x10], xmm0
mov qword [rdi + 0x90], rax
lea r10, [rdi + 0x1db2a26]
movups xmmword [rbp + 0x20], xmm0
mov dword [rdi + 0x60], InitCommonControls
mov ebx, r14d
movups xmmword [rbp + 0x30], xmm0
mov dword [rdi + 0x2582ea4], r14d
mov r11, r14
movups xmmword [rbp + 0x40], xmm0
mov dword [rdi + 0x24cda6c], 1
mov dword [rdi + 0x2582eac], r14d
mov dword [rdi + 0x24cdaf0], 1
mov dword [rdi + 0x2582dcc], r14d
nop dword [rax]
mov r9d, r14d
mov r8d, r14d
mov rdx, r14
nop dword [rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140002fe9
movsx eax, al
lea ecx, [r9 + r9*4]
lea r9d, [rax + rcx*2]
jmp 0x140002ff4
cmp cl, 0x2d
jne 0x140002ffe
mov r8d, 1
inc rdx
cmp rdx, r13
jl 0x140002fd0
jmp 0x140003006
cmp cl, 0x2c
jne 0x140003006
inc rdx
add r10, rdx
mov eax, r9d
neg eax
cmp r8d, 1
movzx ecx, byte [r10]
cmovne eax, r9d
mov dword [rbp + r11*4 + 0x10], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x14000302e
sub cl, 0x2c
cmp cl, 1
ja 0x14000303c
inc ebx
inc r11
cmp r11, 0x1000
jl 0x140002fc0
mov eax, dword [rbp + 0x10]
mov ecx, r14d
mov r8d, dword [rbp + 0x28]
mov dword [rdi + 0x2582e0c], eax
mov eax, dword [rbp + 0x14]
mov dword [rdi + 0x2582e08], eax
mov eax, dword [rbp + 0x18]
mov dword [rdi + 0x60], eax
mov eax, dword [rbp + 0x1c]
mov dword [rdi + 0x2582ea4], eax
mov eax, dword [rbp + 0x20]
mov dword [rdi + 0x24cda6c], eax
mov eax, dword [rbp + 0x24]
mov dword [rdi + 0x2582eac], eax
mov dword [rdi + 0x24cdaf0], r8d
cmp ebx, 7
jl 0x1400030a6
mov eax, dword [rbp + 0x2c]
cmp eax, 0x3e8
jle 0x1400030a6
movd xmm0, eax
mov ecx, 1
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
movsd qword [rdi + 0x90], xmm0
cmp ebx, 8
jl 0x1400030b9
cmp ecx, 1
jne 0x1400030b9
mov eax, dword [rbp + 0x30]
mov dword [rdi + 0x2582dcc], eax
cmp r8d, 1
lea rdx, [0x140038e24]
lea rcx, [rbp + 0x110]
cmovne rdx, rsi
call fcn.1400010b0
mov rcx, qword [0x140040fb0]
lea r9, [rbp + 0x110]
lea rdx, str._s__RAW_data_support___s
lea r8, [rcx + 0x1db2a20]
add rcx, 0x1db2184
call fcn.1400010b0
jmp 0x140003118
mov rcx, qword [0x140040fb0]
lea rdx, [0x140038ce0]
add rcx, 0x1db2184
call fcn.1400010b0
mov r10, qword [0x140040fb0]
or dword [r10 + 0x1db2284], r13d
mov eax, dword [r10 + 0x1db2284]
bt eax, 0x12
jae 0x1400031c2
mov r9d, 0xa
lea rcx, [r10 + 0x24cca20]
btr eax, 0x12
lea rdx, str.S_0_3_c_c
mov dword [r10 + 0x1db2284], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x1400031b6
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x1400031b6
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003190
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.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2284]
bt eax, 0x13
jae 0x1400032a3
btr eax, 0x13
mov dword [rsp + 0x50], 0xa
mov dword [r10 + 0x1db2284], eax
lea rcx, [r10 + 0x24cca20]
mov eax, dword [r10 + 0x24cdb1c]
lea rdx, str.DECIM_DIST_0_1__d__d__d__d__d__d__d_c_c
mov r9d, dword [r10 + 0x24cdb08]
mov r8d, dword [r10 + 0x24cdb04]
mov dword [rsp + 0x48], InitCommonControls
mov dword [rsp + 0x40], eax
mov eax, dword [r10 + 0x24cdb18]
mov dword [rsp + 0x38], eax
mov eax, dword [r10 + 0x24cdb14]
mov dword [rsp + 0x30], eax
mov eax, dword [r10 + 0x24cdb10]
mov dword [rsp + 0x28], eax
mov eax, dword [r10 + 0x24cdb0c]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140003297
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140003297
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003271
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.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2284]
bt eax, 0x14
jae 0x1400034c9
mov r9d, 0xa
lea rcx, [r10 + 0x24cca20]
btr eax, 0x14
lea rdx, str.DECIM_DIST_0_0_c_c
mov dword [r10 + 0x1db2284], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x14000332d
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x14000332d
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003307
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
mov r8d, 0x1f4
call fcn.14000ade0
movsxd rbx, eax
test eax, eax
jle 0x1400034a1
mov rdx, qword [0x140040fb0]
mov byte [rbx + rdx + 0x1db2a20], r14b
lea r8, [rdx + 0x1db2a20]
lea rcx, [rdx + 0x1db2184]
lea rdx, [0x140038cb8]
call fcn.1400010b0
mov r10, qword [0x140040fb0]
mov edx, r14d
or dword [r10 + 0x1db2284], r13d
mov rcx, qword [r10 + 0x2582e38]
mov r8d, dword [rcx + 0xe00018]
nop dword [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x1400033b7
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x1400033b1
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140003390
xorps xmm0, xmm0
lea r11, [r10 + 0x1db2a2f]
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 0x140003409
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140003414
cmp cl, 0x2d
jne 0x14000341e
mov r9d, 1
inc rdx
cmp rdx, r13
jl 0x1400033f0
jmp 0x140003426
cmp cl, 0x2c
jne 0x140003426
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 0x14000344d
sub cl, 0x2c
cmp cl, 1
ja 0x140003459
inc rbx
cmp rbx, 0x1000
jl 0x1400033e0
mov eax, dword [rbp + 0x10]
mov dword [r10 + 0x24cdb04], eax
mov eax, dword [rbp + 0x14]
mov dword [r10 + 0x24cdb08], eax
mov eax, dword [rbp + 0x18]
mov dword [r10 + 0x24cdb0c], eax
mov eax, dword [rbp + 0x1c]
mov dword [r10 + 0x24cdb10], eax
mov eax, dword [rbp + 0x20]
mov dword [r10 + 0x24cdb14], eax
mov eax, dword [rbp + 0x24]
mov dword [r10 + 0x24cdb18], eax
mov eax, dword [rbp + 0x28]
mov dword [r10 + 0x24cdb1c], eax
jmp 0x1400034c9
mov rcx, qword [0x140040fb0]
lea rdx, [0x140038ce0]
add rcx, 0x1db2184
call fcn.1400010b0
mov r10, qword [0x140040fb0]
or dword [r10 + 0x1db2284], r13d
mov eax, dword [r10 + 0x1db2288]
bt eax, 0xa
jae 0x140003562
mov r9d, 0xa
lea rcx, [r10 + 0x24cca20]
btr eax, 0xa
lea rdx, str.TEMP_c_c
mov dword [r10 + 0x1db2288], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140003556
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140003556
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003530
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.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2284]
bt eax, 0x16
jae 0x140003586
btr eax, 0x16
mov dword [r10 + 0x1db2284], eax
call fcn.140009890
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2284]
bt eax, 0x15
jae 0x14000372a
btr eax, 0x15
mov dword [rsp + 0x20], 0xa
mov dword [r10 + 0x1db2284], eax
lea rcx, [r10 + 0x24cca20]
mov r8d, dword [r10 + 0x24cdafc]
lea rdx, str.DELSAMPLE_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x14000361b
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x14000361b
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400035f5
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.14000be40
test eax, eax
jne 0x140003723
mov rcx, qword [0x140040fb0]
mov edx, r14d
add rcx, 0x1db2a20
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0x2c
ja 0x14000364d
bt r15, rax
jb 0x14000365a
inc rcx
inc edx
cmp edx, 0x100
jl 0x140003640
lea rdx, [rbp + 0x10]
mov r8d, r14d
lea rbx, [rcx + 1]
movzx ecx, byte [rbx]
cmp cl, 0x2c
ja 0x140003673
bt r15, rcx
jb 0x140003689
mov byte [rdx], cl
inc rbx
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x140003665
jmp 0x14000368c
mov byte [rdx], r14b
lea rcx, [rbp + 0x10]
call fcn.14001a450
lea rdx, [rbp + 0x10]
inc rbx
mov r8d, r14d
nop
movzx ecx, byte [rbx]
cmp cl, 0x2c
ja 0x1400036ae
bt r15, rcx
jb 0x1400036c4
mov byte [rdx], cl
inc rbx
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x1400036a0
jmp 0x1400036c7
mov byte [rdx], r14b
lea rcx, [rbp + 0x10]
call fcn.14001a450
lea rax, [rbp + 0x118]
mov r8d, r14d
sub rbx, rax
lea rdx, [rbp + 0x118]
movzx ecx, byte [rdx + rbx + 1]
cmp cl, 0x2c
ja 0x1400036f4
bt r15, rcx
jb 0x140003707
mov byte [rdx], cl
inc r8d
inc rdx
cmp r8d, 0x100
jl 0x1400036e4
jmp 0x14000370a
mov byte [rdx], r14b
lea rcx, [rbp + 0x118]
call fcn.14001a450
mov r10, qword [0x140040fb0]
mov dword [r10 + 0x68], eax
jmp 0x14000372a
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2288]
bt eax, 0xb
jae 0x140003802
btr eax, 0xb
mov dword [rsp + 0x48], 0xa
mov dword [r10 + 0x1db2288], eax
lea rcx, [r10 + 0x24cca20]
mov eax, dword [r10 + 0x1db217c]
lea rdx, str.LRA_0_1__d__d__d__d__d__d_c_c
mov r9d, dword [r10 + 0x1db216c]
mov r8d, dword [r10 + 0x1db2168]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], eax
mov eax, dword [r10 + 0x1db2178]
mov dword [rsp + 0x30], eax
mov eax, dword [r10 + 0x1db2174]
mov dword [rsp + 0x28], eax
mov eax, dword [r10 + 0x1db2170]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x1400037f6
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x1400037f6
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400037d0
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.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2288]
bt eax, 0xc
jae 0x140003898
mov r9d, 0xa
lea rcx, [r10 + 0x24cca20]
btr eax, 0xc
lea rdx, str.LRA_0_0_c_c
mov dword [r10 + 0x1db2288], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x14000388c
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x14000388c
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003866
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.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2288]
bt eax, 0xd
jae 0x140003932
mov r9d, 0xa
lea rcx, [r10 + 0x24cca20]
btr eax, 0xd
lea rdx, str.LRA_0_1_0_0_0_0_0_0_c_c
mov dword [r10 + 0x1db2288], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140003926
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140003926
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003900
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.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2288]
bt eax, 0xe
jae 0x1400039d3
btr eax, 0xe
mov dword [rsp + 0x20], 0xa
mov dword [r10 + 0x1db2288], eax
lea rcx, [r10 + 0x24cca20]
mov r8d, dword [r10 + 0x1db2180]
lea rdx, str.STC_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x1400039c7
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x1400039c7
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400039a1
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 8]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2288]
bt eax, 0xf
jae 0x140003a69
mov r9d, 0xa
lea rcx, [r10 + 0x24cca20]
btr eax, 0xf
lea rdx, str.STC_0_0_c_c
mov dword [r10 + 0x1db2288], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140003a5d
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140003a5d
add rdx, 0x24cca20
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003a37
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 4]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000be40
mov r10, qword [0x140040fb0]
mov eax, dword [r10 + 0x1db2288]
bt eax, 0x10
jae 0x140003bbd
btr eax, 0x10
mov dword [r10 + 0x1db2288], eax
cmp dword [r10 + 0x2582e04], 1
jne 0x140003a98
mov r9d, dword [r10 + 0x14]
jmp 0x140003b3f
mov r9d, dword [r10 + 0x2582de8]
mov dword [r10 + 0x10], 0x18
cmp r9d, 0xbb8
jl 0x140003adc
mov eax, dword [r10]
cmp eax, 0x100
jne 0x140003ac4
mov dword [r10 + 0x10], 0x80
jmp 0x140003b3f
cmp eax, 0x200
jne 0x140003ad5
mov dword [r10 + 0x10], 0x60
jmp 0x140003b3f
cmp eax, 0x400
jmp 0x140003b35
cmp r9d, 0x7d0
jl 0x140003b00
mov eax, dword [r10]
cmp eax, 0x100
jne 0x140003af9
mov dword [r10 + 0x10], 0x60
jmp 0x140003b3f
cmp eax, 0x200
jmp 0x140003b35
cmp r9d, 0x578
jl 0x140003b2e
mov eax, dword [r10]
cmp eax, 0x100
jne 0x140003b1d
mov dword [r10 + 0x10], 0x40
jmp 0x140003b3f
cmp eax, 0x200
jne 0x140003b3f
mov dword [r10 + 0x10], 0x20
jmp 0x140003b3f
cmp dword [r10], 0x100
jne 0x140003b3f
mov dword [r10 + 0x10], 0x30
mov r8d, dword [r10]
lea rcx, [r10 + 0x24cdb38]
xorps xmm0, xmm0
mov rdx, r14
nop
cmp dword [rcx], r8d
jne 0x140003b5e
mov eax, dword [r10 + 0x10]
cmp dword [rcx + 4], eax
je 0x140003b6c
inc rdx
add rcx, r13
cmp rdx, 0x28
jl 0x140003b50
jmp 0x140003b71
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, xmm10
jbe 0x140003ba8
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov r10, qword [0x140040fb0]
movsd qword [r10 + 0x18], xmm0
or dword [r10 + 0x1db2284], 8
lea rcx, [r10 + 0x1db2a20]
xor edx, edx
mov r8d, 0x700000
call fcn.140013230
xor r8d, r8d
call fcn.14000ade0
movsxd rdi, eax
cmp edi, 1
jle 0x140003f80
mov rcx, qword [0x140040fb0]
test dword [rcx + 0x1db2284], 0x200
jne 0x140003f38
cmp dword [rcx + 0x2582df8], 1
je 0x140003f1d
lea rax, [rcx + 0x1db2a20]
mov edx, edi
lea r8, [rbp - 0x80]
mov qword [rbp - 0x80], rax
call fcn.1400086b0
test eax, eax
jne 0x140003cd8
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rdx, qword [0x140040fb0]
mov r9d, eax
sub r9d, dword [rdx + 0x24cdac4]
lea rcx, [rdx + 0x1db2184]
mov dword [rdx + 0x24cdac4], eax
or dword [rdx + 0x1db2284], 4
movd xmm0, dword [rdx + 0x1db2290]
mov eax, dword [rdx + 0x1db229c]
mov r8d, dword [rdx + 0x24cdabc]
mov dword [rsp + 0x48], eax
inc r8d
mov eax, dword [rdx + 0x1db2294]
cvtdq2pd xmm0, xmm0
mov dword [rsp + 0x40], eax
divsd xmm0, xmm8
movsd qword [rsp + 0x38], xmm0
movups xmm0, xmmword [rdx + 0x80]
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 [0x140040fb0]
or dword [rax + 0x1db2284], r13d
inc dword [rax + 0x24cdabc]
call fcn.14000a5e0
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rsi, qword [0x140040fb0]
mov dword [rsi + 0x24cdac0], eax
jmp 0x140003f87
cmp eax, 0xfffffffe
je 0x140003f80
mov rax, qword [0x140040fb0]
lea r8, [rbp - 0x80]
add rax, 0x1db2a20
mov edx, edi
mov qword [rbp - 0x80], rax
call fcn.140008500
test eax, eax
jne 0x140003d79
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x140040fb0]
mov r9d, edi
mov edx, eax
sub edx, dword [rcx + 0x24cdac4]
mov dword [rcx + 0x24cdac4], eax
lea rax, [rcx + 0x1db2a20]
or dword [rcx + 0x1db2284], 4
mov byte [rdi + rcx + 0x1db2a20], r14b
mov r8d, dword [rcx + 0x24cdabc]
add rcx, 0x1db2184
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 [0x140040fb0]
or dword [rax + 0x1db2284], r13d
inc dword [rax + 0x24cdabc]
call fcn.14000a8b0
jmp 0x140003cc0
cmp eax, 0xfffffffe
je 0x140003f80
mov rsi, qword [0x140040fb0]
lea r8, [rbp - 0x80]
mov edx, edi
lea rbx, [rsi + 0x1db2a20]
mov qword [rbp - 0x80], rbx
call fcn.1400082b0
test eax, eax
jne 0x140003daf
mov edx, edi
call fcn.140004300
jmp 0x140003cc0
cmp eax, 0xfffffffe
je 0x140003f87
movabs rax, 0x41525f4e49474542
mov r9, rbx
cmp qword [rbx], rax
jne 0x140003ea3
cmp word [rbx + 8], 0x3057
jne 0x140003ea3
add rbx, 0xa
lea rdx, [rsi + 0xa0]
mov r8d, r14d
nop dword [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 0x140003f87
cmp qword [rbx], r12
je 0x140003e36
inc r8d
add rdx, 8
cmp r8d, 0x300400
jb 0x140003df0
jmp 0x140003f87
add rbx, 8
cmp byte [rbx], 0xd
jne 0x140003e49
cmp byte [rbx + 1], 0xa
jne 0x140003e49
add rbx, 2
mov rcx, qword [rsi + 0x2582e38]
lea eax, [r8 + 1]
sub ebx, r9d
mov dword [rsi + 0x24cda20], eax
mov edx, r14d
test ebx, ebx
jle 0x140003e97
mov r8d, dword [rcx + 0xe00018]
nop dword [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140003e97
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140003e91
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140003e70
mov edx, edi
call fcn.140004300
jmp 0x140003cc0
mov r8d, edi
mov rdx, rbx
call fcn.140008080
mov rcx, qword [0x140040fb0]
lea rdx, str.Received__d_byte
add rcx, 0x1db2184
mov r8d, edi
call fcn.1400010b0
mov rsi, qword [0x140040fb0]
mov edx, r14d
or dword [rsi + 0x1db2284], r13d
mov rcx, qword [rsi + 0x2582e38]
mov r8d, dword [rcx + 0xe00018]
nop word [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140003f87
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140003f15
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, edi
jl 0x140003ef0
jmp 0x140003f87
mov dword [rcx + 0x2582df8], r14d
or dword [rcx + 0x1db2284], 0x200
or dword [rcx + 0x1db2288], 0x40000
mov rcx, qword [rcx + 0x2582e38]
mov edx, r14d
mov r8d, dword [rcx + 0xe00018]
nop dword [rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140003cc0
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140003f75
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, edi
jl 0x140003f50
jmp 0x140003cc0
mov rsi, qword [0x140040fb0]
cmp dword [rsi + 0x2582e44], r14d
je 0x1400040f4
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rdx, qword [0x140040fb0]
mov ecx, eax
sub ecx, dword [0x140040f98]
cmp ecx, dword [rdx + 0x24cda58]
jl 0x1400040f4
mov dword [0x140040f98], eax
mov eax, dword [rdx + 0x24cdae8]
test eax, eax
jne 0x1400040e3
cmp dword [rdx + 0x2582e50], 1
jne 0x140003fdc
call fcn.14000d150
jmp 0x1400040f4
lea rcx, [rdx + 0x1db2620]
lea rdx, [0x140039b54]
call fcn.140015b54
mov rdi, rax
test rax, rax
jne 0x14000400a
mov rax, qword [0x140040fb0]
mov dword [rax + 0x2582e44], r14d
jmp 0x1400040f4
mov rcx, qword [0x140040fb0]
mov r8, rdi
add rcx, 0x24b2a20
mov edx, 0x18000
call fcn.1400190d8
mov rax, qword [0x140040fb0]
mov ebx, r14d
cmp dword [rax + 0x24cdabc], r14d
jle 0x140004065
nop dword [rax + rax]
lea rcx, [rax + 0x24b2a20]
mov r8, rdi
mov edx, 0x18000
call fcn.1400190d8
mov rax, qword [0x140040fb0]
inc ebx
cmp ebx, dword [rax + 0x24cdabc]
jl 0x140004040
lea rbx, [rax + 0x24b2a20]
xor edx, edx
mov rcx, rbx
mov r8d, 0x18000
call fcn.140013230
mov r8, rdi
mov edx, 0x18000
mov rcx, rbx
call fcn.1400190d8
mov rcx, rdi
test rax, rax
jne 0x1400040bd
call fcn.1400160d4
mov rax, qword [0x140040fb0]
mov dword [rax + 0x2582e44], r14d
or dword [rax + 0x1db2284], 0x200
or dword [rax + 0x1db2288], 0x40000
jmp 0x1400040f4
call fcn.1400160d4
mov rdx, qword [0x140040fb0]
lea r8, [rdx + 0xa0]
add rdx, 0x24b2a20
call fcn.14000b4d0
call fcn.14000d3d0
jmp 0x1400040f4
cmp eax, 3
jne 0x1400040ef
call fcn.14000cc00
jmp 0x1400040f4
call fcn.14000cf40
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r10, qword [0x140040fb0]
lea rsi, [0x140038e28]
test dword [r10 + 0x1db2288], 0x80000
je 0x1400013a5
movaps xmm13, xmmword [rsp + 0x3f0]
movaps xmm12, xmmword [rsp + 0x400]
movaps xmm11, xmmword [rsp + 0x410]
movaps xmm10, xmmword [rsp + 0x420]
movaps xmm9, xmmword [rsp + 0x430]
movaps xmm8, xmmword [rsp + 0x440]
movaps xmm7, xmmword [rsp + 0x450]
movaps xmm6, xmmword [rsp + 0x460]
mov r15, qword [rsp + 0x4b8]
mov r13, qword [rsp + 0x4b0]
mov r12, qword [rsp + 0x4a8]
mov eax, dword [r10 + 0x2582e18]
lea rdx, [rbp + 0x10]
mov r8d, 0x100
mov dword [r10 + 0x2582e14], eax
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 [0x140040fb0]
mov r14d, dword [rax + 0x25856b8]
lea rsi, [rax + 0x2582eb8]
test r14d, r14d
jle 0x1400042c5
lea rbx, [rsi + 4]
cmp dword [rsi], 0
jne 0x140004206
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 0x14000423d
mov r8, qword [rbx + 0x44]
lea rdx, [0x140039a44]
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 0x140004274
mov r8, qword [rbx + 0x44]
lea rdx, [0x140039a48]
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 0x1400042b1
mov rax, qword [rbx + 0x44]
lea rdx, [0x140039a4c]
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 0x1400041e6
call fcn.14000ad00
mov rax, qword [0x140040fb0]
and dword [rax + 0x1db2288], 0xfff7ffff
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140011800
add rsp, 0x470
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret