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, 0x263a7d0
call fcn.140015200
mov rcx, rbx
call fcn.140003e70
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 + 0x263a7c8]
lea rbx, [rcx + 0x2637fc8]
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.14001c420
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 2
jne 0x14000123a
lea rcx, [rbp]
call fcn.14001c420
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 3
jne 0x140001250
lea rcx, [rbp]
call fcn.14001fa1c
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 + 0x2637f40]
movsd xmm0, qword [rcx + 0x88]
mov dword [rcx + 0x2637f44], eax
mov eax, dword [rcx + 0x2637eb0]
mov dword [rcx + 0x2637eb4], eax
mov dword [rcx + 0x2637eb8], eax
mov eax, dword [rcx + 0x2637f28]
unpcklpd xmm0, xmm0
mov dword [rcx + 0x2637f2c], eax
movups xmmword [rcx + 0x90], xmm0
or dword [rcx + 0x1db2344], 8
mov dword [0x140042fb0], 1
call fcn.1400097e0
mov rcx, qword [0x140042fb8]
call qword [sym.imp.mr12e.dll_CopyAddressToDll]
call qword [sym.imp.mr12e.dll_CalcMeterPerBin]
call fcn.14000b6c0
mov r8, qword [0x140042fb8]
test dword [r8 + 0x1db2348], 0x100000
jne 0x140003902
mov qword [rsp + 0x448], r12
xor esi, esi
mov qword [rsp + 0x450], r13
movabs r14, 0x100100002401
mov qword [rsp + 0x458], r15
lea r13, [0x14003ae1c]
movaps xmmword [rsp + 0x400], xmm6
movabs r15, 0x41525f4e49474542
movsd xmm6, qword [0x14003ccb0]
lea r12d, [rsi + 0x10]
movaps xmmword [rsp + 0x3f0], xmm7
movsd xmm7, qword [0x14003cce8]
movaps xmmword [rsp + 0x3e0], xmm8
movsd xmm8, qword [0x14003ccc0]
mov eax, dword [r8 + 0x1db2344]
bt eax, 9
jae 0x14000160a
btr eax, 9
mov dword [r8 + 0x1db2344], eax
call fcn.14000cd80
mov rdx, qword [0x140042fb8]
mov eax, dword [rdx + 0x24cdbb4]
mov dword [rdx + 0x24cdbb8], eax
test eax, eax
jne 0x140001397
call fcn.140009230
mov rdx, qword [0x140042fb8]
mov r10d, dword [rdx + 0x24cdbb8]
test r10d, r10d
mov ecx, dword [rdx + 0x2637f2c]
mov eax, dword [rdx + 0x2637f28]
cmove r10d, r12d
cmp eax, ecx
je 0x1400013bd
mov dword [rdx + 0x2637f28], ecx
mov eax, ecx
mov r8d, eax
cmp r10d, r12d
jne 0x14000140e
cmp dword [rdx + 0x24cdbdc], 1
jne 0x14000140e
mov r9d, dword [rdx + 0x2637f10]
mov ecx, eax
cmp r9d, 1
jne 0x1400013eb
cmp dword [rdx + 0x24cdbc8], r9d
jne 0x1400013eb
cmp eax, 0xc
jl 0x140001401
mov r8d, ecx
test r9d, r9d
jne 0x14000140e
cmp dword [rdx + 0x24cdbc4], 1
jne 0x14000140e
cmp ecx, 0xc
jge 0x14000140e
mov r8d, InitCommonControls
mov dword [rdx + 0x2637f28], r8d
mov eax, dword [rdx + 0x5c]
lea rcx, [rdx + 0x24ccae0]
movsd xmm0, qword [rdx + 8]
movsd xmm3, qword [rdx + 0x24cdb48]
mov dword [rsp + 0x118], r10d
movq r9, xmm3
mov dword [rsp + 0x110], 0x2c
mov dword [rsp + 0x108], eax
mov eax, dword [rdx + 0x58]
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 + 0x24cdb20]
mov dword [rsp + 0xe0], 0x2c
mov dword [rsp + 0xd8], eax
mov eax, dword [rdx + 0x24cdb3c]
mov dword [rsp + 0xd0], 0x2c
mov dword [rsp + 0xc8], eax
mov eax, dword [rdx + 0x24cdb24]
mov dword [rsp + 0xc0], 0x2c
mov dword [rsp + 0xb8], eax
mov eax, dword [rdx + 0x24cdb28]
mov dword [rsp + 0xb0], 0x2c
mov dword [rsp + 0xa8], eax
mov eax, dword [rdx + 0x24cdb30]
mov dword [rsp + 0xa0], 0x2c
mov dword [rsp + 0x98], eax
mov eax, dword [rdx + 0x24cdb38]
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 + 0x24cdb14]
mov dword [rsp + 0x50], 0x2c
mov dword [rsp + 0x48], eax
mov eax, dword [rdx + 0x14]
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 + 0x24cdb10], 1
jne 0x1400015c5
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x1400015c5
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], sil
jne 0x1400015a0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0xc]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.140008b90
call qword [sym.imp.mr12e.dll_CalcMeterPerBin]
call fcn.14000b3b0
mov rdx, qword [0x140042fb8]
mov eax, dword [rdx + 0x14]
mov dword [rdx + 0x2637ed8], eax
call fcn.1400097e0
call fcn.14000af10
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r8, qword [0x140042fb8]
mov dword [r8 + 0x24cdb94], eax
mov dword [r8 + 0x2637f0c], esi
test dword [r8 + 0x1db2344], 0x400
je 0x14000170a
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r8, qword [0x140042fb8]
mov r9d, eax
mov eax, 0x66666667
mov r10d, dword [r8 + 0x24cdb20]
sub r9d, dword [r8 + 0x24cdb90]
imul r10d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp r9d, edx
jb 0x14000165c
lea eax, [r10 + r10]
cmp eax, r9d
jae 0x14000170a
lea rcx, [r8 + 0x24ccae0]
lea rdx, str.B290_STOP_r
call fcn.1400010b0
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x24cdb10], 1
jne 0x1400016cc
mov rbx, qword [rcx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x1400016cc
lea rdx, [rcx + 0x24ccae0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], sil
jne 0x1400016a0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x78]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x140042fb8]
mov dword [rbx + 0xe00020], esi
add rcx, 0x1db2244
lea rdx, str.Sent_:_STOP_script
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0x1db2344], r12d
and dword [r8 + 0x1db2344], 0xfffffbff
mov dword [r8 + 0x2637f0c], 1
mov dword [r8 + 0x2637f54], esi
mov eax, dword [r8 + 0x1db2344]
bt eax, 0xb
jae 0x14000172e
btr eax, 0xb
mov dword [r8 + 0x1db2344], eax
call fcn.14000b6c0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2344]
bt eax, 0xc
jae 0x140001752
btr eax, 0xc
mov dword [r8 + 0x1db2344], eax
call fcn.14000b4c0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2344]
bt eax, 0xd
jae 0x140001857
btr eax, 0xd
mov dword [r8 + 0x1db2344], eax
call fcn.14000cd80
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x2637f14], 1
jne 0x1400017c0
lea rdx, [rbp]
mov dword [rcx + 0x2637f14], esi
call fcn.14000bcf0
mov rcx, qword [0x140042fb8]
lea r8, [rbp]
add rcx, 0x24ccae0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_MAP__s_c_c
call fcn.1400010b0
jmp 0x1400017dd
mov r9d, 0xa
lea rdx, str.START_MAP_c_c
add rcx, 0x24ccae0
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x140042fb8]
cmp dword [rax + 0x24cdb10], 1
jne 0x140001835
mov rbx, qword [rax + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001835
lea rdx, [rax + 0x24ccae0]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], sil
jne 0x140001810
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x74]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
call fcn.140008b90
call fcn.14000a980
call fcn.1400097e0
mov r8, qword [0x140042fb8]
mov dword [r8 + 0x2637f0c], esi
mov eax, dword [r8 + 0x1db2344]
bt eax, 0xe
jae 0x140001957
btr eax, 0xe
mov dword [r8 + 0x1db2344], eax
call fcn.14000cd80
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x2637f14], 1
jne 0x1400018c5
lea rdx, [rbp]
mov dword [rcx + 0x2637f14], esi
call fcn.14000bcf0
mov rcx, qword [0x140042fb8]
lea r8, [rbp]
add rcx, 0x24ccae0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_PPI__s_c_c
call fcn.1400010b0
jmp 0x1400018e2
mov r9d, 0xa
lea rdx, str.START_PPI_c_c
add rcx, 0x24ccae0
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x140042fb8]
cmp dword [rax + 0x24cdb10], 1
jne 0x140001935
mov rbx, qword [rax + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001935
lea rdx, [rax + 0x24ccae0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], sil
jne 0x140001910
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x70]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
call fcn.140008b90
call fcn.1400097e0
call fcn.14000af10
mov r8, qword [0x140042fb8]
mov dword [r8 + 0x2637f0c], esi
mov eax, dword [r8 + 0x1db2344]
bt eax, 0xf
jae 0x140001a88
btr eax, 0xf
mov dword [r8 + 0x1db2344], eax
call fcn.14000cd80
call fcn.140008b90
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x24cdbdc], 1
mov qword [rcx + 0x24cdb60], rsi
mov qword [rcx + 0x24cdb58], rsi
mov qword [rcx + 0x24cdb68], rsi
jne 0x1400019b3
call fcn.140009000
call fcn.14000b3b0
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x2637f14], 1
jne 0x1400019f9
lea rdx, [rbp]
mov dword [rcx + 0x2637f14], esi
call fcn.14000bcf0
mov rcx, qword [0x140042fb8]
lea r8, [rbp]
add rcx, 0x24ccae0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_RAW__s_c_c
call fcn.1400010b0
jmp 0x140001a16
mov r9d, 0xa
lea rdx, str.START_RAW_c_c
add rcx, 0x24ccae0
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x140042fb8]
cmp dword [rax + 0x24cdb10], 1
jne 0x140001a66
mov rbx, qword [rax + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001a66
lea rdx, [rax + 0x24ccae0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140001a41
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x6c]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
call fcn.14000a980
call fcn.1400097e0
call fcn.14000af10
mov r8, qword [0x140042fb8]
mov dword [r8 + 0x2637f0c], esi
mov eax, dword [r8 + 0x1db2344]
bt eax, 0x10
jae 0x140001b89
btr eax, 0x10
lea rcx, [r8 + 0x24ccae0]
lea rdx, str.B290_RDPARAM_r
mov dword [r8 + 0x1db2344], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140001b07
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001b07
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140001ae2
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x68]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x1f4
call fcn.14000b5a0
movsxd rbx, eax
test eax, eax
jle 0x140001b82
mov rdx, qword [0x140042fb8]
mov byte [rbx + rdx + 0x1db2ae0], sil
lea r8, [rdx + 0x1db2ae0]
lea rcx, [rdx + 0x1db2244]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov rcx, qword [0x140042fb8]
lea r8, [rbp - 0x80]
mov edx, ebx
or dword [rcx + 0x1db2344], r12d
add rcx, 0x1db2ae0
mov qword [rbp - 0x80], rcx
call fcn.140007f10
mov r8, qword [0x140042fb8]
or dword [r8 + 0x1db2344], 8
jmp 0x140001b89
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2348]
test al, 1
je 0x140001c21
mov r9d, 0xa
lea rcx, [r8 + 0x24ccae0]
and eax, 0xfffffffe
lea rdx, str.K_0_1_c_c
mov dword [r8 + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140001c15
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001c15
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], sil
jne 0x140001bf0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x64]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2348]
test al, 2
je 0x140001ed4
mov r9d, 0xa
lea rcx, [r8 + 0x24ccae0]
and eax, 0xfffffffd
lea rdx, str.K_0_0_c_c
mov dword [r8 + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140001ca7
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001ca7
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140001c82
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x60]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
mov r8d, 0x1f4
call fcn.14000b5a0
movsxd rbx, eax
test eax, eax
jle 0x140001eac
mov rdx, qword [0x140042fb8]
mov byte [rbx + rdx + 0x1db2ae0], sil
lea r8, [rdx + 0x1db2ae0]
lea rcx, [rdx + 0x1db2244]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov r8, qword [0x140042fb8]
mov edx, esi
or dword [r8 + 0x1db2344], r12d
mov rcx, qword [r8 + 0x2637f48]
mov r9d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x140001d2a
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140001d24
mov dword [rcx + 0xe0001c], esi
inc edx
cmp edx, ebx
jl 0x140001d04
xorps xmm0, xmm0
lea r11, [r8 + 0x1db2ae6]
movups xmmword [rbp], xmm0
mov rbx, rsi
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
nop word [rax + rax]
mov r9d, esi
mov r10d, esi
mov rdx, rsi
nop dword [rax]
movzx ecx, byte [rdx + r11]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140001d79
movsx eax, al
lea ecx, [r9 + r9*4]
lea r9d, [rax + rcx*2]
jmp 0x140001d84
cmp cl, 0x2d
jne 0x140001d8e
mov r10d, 1
inc rdx
cmp rdx, r12
jl 0x140001d60
jmp 0x140001d96
cmp cl, 0x2c
jne 0x140001d96
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 0x140001dbd
sub cl, 0x2c
cmp cl, 1
ja 0x140001dc9
inc rbx
cmp rbx, 0x1000
jl 0x140001d50
movd xmm0, dword [rbp + 4]
movd xmm2, dword [rbp]
movd xmm1, dword [rbp + 8]
mov eax, dword [rbp + 0xc]
mov dword [r8 + 0x50], eax
mov eax, dword [rbp + 0x10]
mov dword [r8 + 0x5c], eax
mov eax, dword [rbp + 0x14]
cvtdq2pd xmm0, xmm0
mov dword [r8 + 0x58], eax
mov eax, dword [rbp + 0x18]
mov dword [r8 + 0x24cdb30], eax
mov eax, dword [rbp + 0x1c]
mov dword [r8 + 0x24cdb28], eax
mov eax, dword [rbp + 0x20]
divsd xmm0, xmm8
mov dword [r8 + 0x24cdb24], eax
mov eax, dword [rbp + 0x28]
mov dword [r8 + 0x24cdb20], eax
mov eax, dword [rbp + 0x2c]
cvtdq2pd xmm2, xmm2
movsd qword [r8 + 0x20], xmm0
movd xmm0, dword [rbp + 0x24]
cvtdq2pd xmm1, xmm1
divsd xmm2, xmm8
divsd xmm1, xmm8
movsd qword [r8 + 0x18], xmm2
movsd qword [r8 + 0x2637ec8], xmm1
cvtdq2pd xmm0, xmm0
movsd qword [r8 + 0x78], xmm0
cmp eax, 0x128e0
jl 0x140001ea2
movd xmm1, eax
movaps xmm0, xmm2
mov eax, dword [rbp + 0x30]
cvtdq2pd xmm1, xmm1
mov dword [r8 + 0x14], eax
mov eax, dword [rbp + 0x34]
mov dword [r8 + 0x10], eax
mov eax, dword [rbp + 0x38]
mov dword [r8 + 0x2637fb4], eax
divsd xmm1, xmm8
movsd qword [r8 + 0x24cdb48], xmm1
call qword [sym.imp.mr12e.dll_CalcRampTimeByMaxDistance]
mov r8, qword [0x140042fb8]
movsd qword [r8 + 8], xmm0
or dword [r8 + 0x1db2344], 8
jmp 0x140001ed4
mov rcx, qword [0x140042fb8]
lea rdx, [0x14003ace0]
add rcx, 0x1db2244
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0x1db2344], r12d
mov eax, dword [r8 + 0x1db2348]
test al, 4
je 0x140001f66
mov r9d, 0xa
lea rcx, [r8 + 0x24ccae0]
and eax, 0xfffffffb
lea rdx, str.K_0_3_c_c
mov dword [r8 + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140001f5a
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001f5a
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140001f35
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x5c]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2348]
test al, 8
je 0x140001ff8
mov r9d, 0xa
lea rcx, [r8 + 0x24ccae0]
and eax, 0xfffffff7
lea rdx, str.K_0_4_c_c
mov dword [r8 + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140001fec
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001fec
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140001fc7
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x58]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2348]
test al, al
jns 0x1400020a2
lea rcx, [r8 + 0x24ccae0]
mov dword [rsp + 0x20], 0xa
btr eax, 7
lea rdx, str.ATST__d_c_c
mov dword [r8 + 0x1db2348], eax
mov r9d, InitCommonControls
cmp dword [r8 + 0x2637f10], 1
mov r8d, esi
sete r8b
add r8d, 3
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140002096
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140002096
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140002071
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x54]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2348]
bt eax, 8
jae 0x140002137
mov r9d, 0xa
lea rcx, [r8 + 0x24ccae0]
btr eax, 8
lea rdx, str.ATST_0_c_c
mov dword [r8 + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x14000212b
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x14000212b
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140002106
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2344]
bt eax, 0x1b
jae 0x1400021b5
xorps xmm0, xmm0
xorps xmm1, xmm1
btr eax, 0x1b
mov dword [r8 + 0x1db2344], eax
movups xmmword [r8 + 0x1802160], xmm0
movups xmmword [r8 + 0x1802170], xmm0
movups xmmword [r8 + 0x1802180], xmm0
movups xmmword [r8 + 0x1802190], xmm0
movups xmmword [r8 + 0x18021a0], xmm0
movups xmmword [r8 + 0x18021b0], xmm0
movups xmmword [r8 + 0x18020a0], xmm1
movups xmmword [r8 + 0x18020b0], xmm1
movups xmmword [r8 + 0x18020c0], xmm1
movups xmmword [r8 + 0x18020d0], xmm1
movups xmmword [r8 + 0x18020e0], xmm1
movups xmmword [r8 + 0x18020f0], xmm1
mov ecx, dword [r8 + 0x1db2344]
bt ecx, 0x1c
jae 0x1400023f8
mov eax, ecx
btr eax, 0x1c
mov dword [r8 + 0x1db2344], eax
bt ecx, 0x1c
jae 0x1400023f8
lea rdx, [rbp + 4]
mov r10d, 3
lea r9, [r8 + 0x1802168]
nop
movsd xmm0, qword [r9 - 8]
lea rdx, [rdx + 0x10]
mulsd xmm0, xmm7
lea r9, [r9 + 0x20]
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r9 - 0x20]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0x14], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r9 - 0x18]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0x10], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r9 - 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 r10, 1
jne 0x1400021f0
mov eax, dword [rbp + 0x2c]
lea rcx, [r8 + 0x24ccae0]
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 + 0x24cdb10], 1
jne 0x14000238c
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x14000238c
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140002367
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x4c]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
movups xmm0, xmmword [r8 + 0x1802160]
movups xmm1, xmmword [r8 + 0x1802170]
movups xmmword [r8 + 0x18021c0], xmm0
movups xmm0, xmmword [r8 + 0x1802180]
movups xmmword [r8 + 0x18021d0], xmm1
movups xmm1, xmmword [r8 + 0x1802190]
movups xmmword [r8 + 0x18021e0], xmm0
movups xmm0, xmmword [r8 + 0x18021a0]
movups xmmword [r8 + 0x18021f0], xmm1
movups xmm1, xmmword [r8 + 0x18021b0]
movups xmmword [r8 + 0x1802200], xmm0
movups xmmword [r8 + 0x1802210], xmm1
mov eax, dword [r8 + 0x1db2344]
bt eax, 0x1d
jae 0x140002636
btr eax, 0x1d
lea rcx, [r8 + 0x24ccae0]
lea rdx, str.EEPHRD_r
mov dword [r8 + 0x1db2344], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140002477
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140002477
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140002452
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x48]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
mov r8d, 0x3e8
call fcn.14000b5a0
movsxd rbx, eax
test eax, eax
jle 0x14000262f
mov rdx, qword [0x140042fb8]
mov byte [rbx + rdx + 0x1db2ae0], sil
lea r8, [rdx + 0x1db2ae0]
lea rcx, [rdx + 0x1db2244]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov rdi, qword [0x140042fb8]
mov edx, esi
or dword [rdi + 0x1db2344], r12d
mov rcx, qword [rdi + 0x2637f48]
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x1400024fa
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x1400024f4
mov dword [rcx + 0xe0001c], esi
inc edx
cmp edx, ebx
jl 0x1400024d4
lea r10, [rdi + 0x1db2ae7]
mov r11, rsi
nop dword [rax]
nop dword [rax + rax]
mov r8d, esi
mov r9d, esi
mov rdx, rsi
nop dword [rax]
movzx ecx, byte [r10 + rdx]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140002539
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140002544
cmp cl, 0x2d
jne 0x14000254e
mov r9d, 1
inc rdx
cmp rdx, r12
jl 0x140002520
jmp 0x140002556
cmp cl, 0x2c
jne 0x140002556
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 0x14000257e
sub cl, 0x2c
cmp cl, 1
ja 0x14000258a
inc r11
cmp r11, 0x1000
jl 0x140002510
lea rdx, [rbp + 4]
mov r8d, 3
lea rcx, [rdi + 0x18021c0]
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, xmm6
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, xmm6
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, xmm6
movsd qword [rcx - 0x70], xmm0
movsd qword [rcx - 0x10], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm6
movsd qword [rcx - 0x68], xmm0
movsd qword [rcx - 8], xmm0
sub r8, 1
jne 0x1400025a0
jmp 0x1400038a9
mov r8, qword [0x140042fb8]
mov ecx, dword [r8 + 0x1db2344]
bt ecx, 0x1e
jae 0x140002878
mov eax, ecx
btr eax, 0x1e
mov dword [r8 + 0x1db2344], eax
bt ecx, 0x1e
jae 0x140002878
lea rdx, [rbp + 4]
mov r10d, 3
lea r9, [r8 + 0x18020a8]
nop
movsd xmm0, qword [r9 - 8]
lea rdx, [rdx + 0x10]
mulsd xmm0, xmm7
lea r9, [r9 + 0x20]
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r9 - 0x20]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0x14], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r9 - 0x18]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0x10], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r9 - 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 r10, 1
jne 0x140002670
mov eax, dword [rbp + 0x2c]
lea rcx, [r8 + 0x24ccae0]
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 + 0x24cdb10], 1
jne 0x14000280c
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x14000280c
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x1400027e7
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x44]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
movups xmm0, xmmword [r8 + 0x18020a0]
movups xmm1, xmmword [r8 + 0x18020b0]
movups xmmword [r8 + 0x1802100], xmm0
movups xmm0, xmmword [r8 + 0x18020c0]
movups xmmword [r8 + 0x1802110], xmm1
movups xmm1, xmmword [r8 + 0x18020d0]
movups xmmword [r8 + 0x1802120], xmm0
movups xmm0, xmmword [r8 + 0x18020e0]
movups xmmword [r8 + 0x1802130], xmm1
movups xmm1, xmmword [r8 + 0x18020f0]
movups xmmword [r8 + 0x1802140], xmm0
movups xmmword [r8 + 0x1802150], xmm1
mov eax, dword [r8 + 0x1db2344]
test eax, eax
jns 0x140002aa6
btr eax, 0x1f
lea rcx, [r8 + 0x24ccae0]
lea rdx, str.EEAMPRD_r
mov dword [r8 + 0x1db2344], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x1400028f5
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x1400028f5
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x1400028d0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x40]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
mov r8d, 0x3e8
call fcn.14000b5a0
movsxd rbx, eax
test eax, eax
jle 0x140002a9f
mov rdx, qword [0x140042fb8]
mov byte [rbx + rdx + 0x1db2ae0], sil
lea r8, [rdx + 0x1db2ae0]
lea rcx, [rdx + 0x1db2244]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov rdi, qword [0x140042fb8]
mov edx, esi
or dword [rdi + 0x1db2344], r12d
mov rcx, qword [rdi + 0x2637f48]
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140002978
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140002972
mov dword [rcx + 0xe0001c], esi
inc edx
cmp edx, ebx
jl 0x140002952
lea r10, [rdi + 0x1db2ae8]
mov r11, rsi
mov r8d, esi
mov r9d, esi
mov rdx, rsi
nop dword [rax + rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400029a9
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x1400029b4
cmp cl, 0x2d
jne 0x1400029be
mov r9d, 1
inc rdx
cmp rdx, r12
jl 0x140002990
jmp 0x1400029c6
cmp cl, 0x2c
jne 0x1400029c6
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 0x1400029ee
sub cl, 0x2c
cmp cl, 1
ja 0x1400029fa
inc r11
cmp r11, 0x1000
jl 0x140002982
lea rdx, [rbp + 4]
mov r8d, 3
lea rcx, [rdi + 0x1802100]
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, xmm6
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, xmm6
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, xmm6
movsd qword [rcx - 0x70], xmm0
movsd qword [rcx - 0x10], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm6
movsd qword [rcx - 0x68], xmm0
movsd qword [rcx - 8], xmm0
sub r8, 1
jne 0x140002a10
jmp 0x1400038a9
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2348]
test r12b, al
je 0x140002b31
and eax, 0xffffffef
lea rcx, [r8 + 0x24ccae0]
lea rdx, str.EEENWR_0_1_1_r
mov dword [r8 + 0x1db2348], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140002b25
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140002b25
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], sil
jne 0x140002b00
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x3c]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2344]
bt eax, 0x18
jae 0x140002cf1
btr eax, 0x18
mov dword [r8 + 0x1db2344], eax
mov eax, dword [r8 + 0x2637f44]
cmp eax, 0xe100
jg 0x140002b8b
je 0x140002b84
cmp eax, 0x2580
je 0x140002b80
cmp eax, 0x4b00
je 0x140002b79
cmp eax, 0x9600
jne 0x140002ba0
mov eax, 2
jmp 0x140002bba
mov eax, 1
jmp 0x140002bba
mov eax, esi
jmp 0x140002bba
mov eax, 3
jmp 0x140002bba
cmp eax, 0x1c200
je 0x140002bb5
cmp eax, 0x38400
je 0x140002bae
cmp eax, 0x70800
je 0x140002ba7
mov eax, 7
jmp 0x140002bba
mov eax, 6
jmp 0x140002bba
mov eax, 5
jmp 0x140002bba
mov eax, 4
lea rcx, [r8 + 0x24ccae0]
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 + 0x24cdb10], 1
jne 0x140002c35
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140002c35
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], sil
jne 0x140002c10
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x38]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
mov r8d, 0x1f4
call fcn.14000b5a0
movsxd r8, eax
test eax, eax
jle 0x140002cc9
mov r10, qword [0x140042fb8]
mov edx, esi
mov rcx, qword [r10 + 0x2637f48]
mov r9d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x140002c89
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140002c82
mov dword [rcx + 0xe0001c], esi
inc edx
cmp edx, r8d
jl 0x140002c62
mov byte [r8 + r10 + 0x1db2ae0], sil
lea rcx, [r10 + 0x1db2244]
lea r8, [r10 + 0x1db2ae0]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0x1db2344], r12d
mov eax, dword [r8 + 0x2637f44]
mov dword [r8 + 0x2637f40], eax
jmp 0x140002cf1
mov rcx, qword [0x140042fb8]
lea rdx, [0x14003ace0]
add rcx, 0x1db2244
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0x1db2344], r12d
mov eax, dword [r8 + 0x1db2348]
bt eax, 0xa
jae 0x140002d15
btr eax, 0xa
mov dword [r8 + 0x1db2348], eax
call fcn.14000ce60
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2344]
bt eax, 0x19
jae 0x140002dc3
mov r9d, 0xa
lea rcx, [r8 + 0x24ccae0]
btr eax, 0x19
lea rdx, str.V_0_0_0_c_c
mov dword [r8 + 0x1db2344], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdi, qword [0x140042fb8]
mov rbx, 0xffffffffffffffff
lea rdx, [rdi + 0x24ccae0]
inc rbx
cmp byte [rdx + rbx], sil
jne 0x140002d63
cmp dword [rdi + 0x24cdb10], 1
jne 0x140002da1
mov rdi, qword [rdi + 0x2637f48]
cmp dword [rdi + 8], 1
je 0x140002da1
mov rcx, qword [rdi + 0xe00028]
lea r9, [rbp - 0x34]
mov r8d, ebx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rdi + 0xe00020], esi
call fcn.14000ccb0
mov rdx, qword [0x140042fb8]
mov r8d, ebx
add rdx, 0x1db2ae0
call fcn.140009420
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2344]
bt eax, 0x11
jae 0x140002ec5
btr eax, 0x11
mov dword [rsp + 0x48], 0xa
mov dword [r8 + 0x1db2344], eax
lea rcx, [r8 + 0x24ccae0]
mov edx, dword [r8 + 0x2637eb4]
movsd xmm0, qword [r8 + 0x90]
mov r9d, dword [r8 + 0x24cdb34]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], edx
movsd qword [r8 + 0x88], xmm0
mov dword [r8 + 0x2637eb0], 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 + 0x24cdbc0]
mov dword [rsp + 0x28], eax
mov eax, dword [r8 + 0x2637fbc]
mov r8d, dword [r8 + 0x2637fb4]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140002ea7
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140002ea7
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140002e82
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
test eax, eax
jne 0x140002ec5
mov eax, dword [r8 + 0x2637fb0]
mov dword [r8 + 0x2637fac], eax
mov eax, dword [r8 + 0x1db2344]
bt eax, 0x12
jae 0x140002f61
btr eax, 0x12
mov dword [r8 + 0x1db2344], eax
call fcn.140008d10
test eax, eax
jne 0x140002f39
mov rax, qword [0x140042fb8]
lea rdx, [0x14003ae18]
lea rcx, [rbp + 0x100]
cmp dword [rax + 0x24cdbc0], 1
cmovne rdx, r13
call fcn.1400010b0
mov rcx, qword [0x140042fb8]
lea r9, [rbp + 0x100]
lea rdx, str._s__RAW_data_support___s
lea r8, [rcx + 0x1db2ae0]
add rcx, 0x1db2244
call fcn.1400010b0
jmp 0x140002f53
mov rcx, qword [0x140042fb8]
lea rdx, [0x14003ace0]
add rcx, 0x1db2244
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0x1db2344], r12d
mov eax, dword [r8 + 0x1db2344]
bt eax, 0x13
jae 0x140002ff6
mov r9d, 0xa
lea rcx, [r8 + 0x24ccae0]
btr eax, 0x13
lea rdx, str.S_0_3_c_c
mov dword [r8 + 0x1db2344], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140002fea
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140002fea
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140002fc5
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x2c]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2348]
bt eax, 0xb
jae 0x140003091
mov r9d, 0xa
lea rcx, [r8 + 0x24ccae0]
btr eax, 0xb
lea rdx, str.TEMP_c_c
mov dword [r8 + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140003085
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140003085
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], sil
jne 0x140003060
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x28]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2344]
bt eax, 0x17
jae 0x1400030b5
btr eax, 0x17
mov dword [r8 + 0x1db2344], eax
call fcn.140009230
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2344]
bt eax, 0x16
jae 0x14000325a
btr eax, 0x16
mov dword [rsp + 0x20], 0xa
mov dword [r8 + 0x1db2344], eax
lea rcx, [r8 + 0x24ccae0]
mov r8d, dword [r8 + 0x24cdbd4]
lea rdx, str.DELSAMPLE_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140003149
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140003149
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140003124
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x24]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
test eax, eax
jne 0x140003253
mov rcx, qword [0x140042fb8]
mov edx, esi
add rcx, 0x1db2ae0
movzx eax, byte [rcx]
cmp al, 0x2c
ja 0x140003173
bt r14, rax
jb 0x140003180
inc rcx
inc edx
cmp edx, 0x100
jl 0x140003166
lea rdx, [rbp]
mov r8d, esi
lea rbx, [rcx + 1]
nop dword [rax + rax]
movzx ecx, byte [rbx]
cmp cl, 0x2c
ja 0x14000319e
bt r14, rcx
jb 0x1400031b4
mov byte [rdx], cl
inc rbx
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x140003190
jmp 0x1400031b7
mov byte [rdx], sil
lea rcx, [rbp]
call fcn.14001c420
lea rdx, [rbp]
inc rbx
mov r8d, esi
nop word [rax + rax]
movzx ecx, byte [rbx]
cmp cl, 0x2c
ja 0x1400031de
bt r14, rcx
jb 0x1400031f4
mov byte [rdx], cl
inc rbx
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x1400031d0
jmp 0x1400031f7
mov byte [rdx], sil
lea rcx, [rbp]
call fcn.14001c420
lea rax, [rbp + 0x108]
mov r8d, esi
sub rbx, rax
lea rdx, [rbp + 0x108]
movzx ecx, byte [rdx + rbx + 1]
cmp cl, 0x2c
ja 0x140003224
bt r14, rcx
jb 0x140003237
mov byte [rdx], cl
inc r8d
inc rdx
cmp r8d, 0x100
jl 0x140003214
jmp 0x14000323a
mov byte [rdx], sil
lea rcx, [rbp + 0x108]
call fcn.14001c420
mov r8, qword [0x140042fb8]
mov dword [r8 + 0x6c], eax
jmp 0x14000325a
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2348]
bt eax, 0xc
jae 0x140003331
btr eax, 0xc
mov dword [rsp + 0x48], 0xa
mov dword [r8 + 0x1db2348], eax
lea rcx, [r8 + 0x24ccae0]
mov eax, dword [r8 + 0x1db223c]
lea rdx, str.LRA_0_1__d__d__d__d__d__d_c_c
mov r9d, dword [r8 + 0x1db222c]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], eax
mov eax, dword [r8 + 0x1db2238]
mov dword [rsp + 0x30], eax
mov eax, dword [r8 + 0x1db2234]
mov dword [rsp + 0x28], eax
mov eax, dword [r8 + 0x1db2230]
mov r8d, dword [r8 + 0x1db2228]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140003325
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140003325
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], sil
jne 0x140003300
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x20]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2348]
bt eax, 0xd
jae 0x1400033c6
mov r9d, 0xa
lea rcx, [r8 + 0x24ccae0]
btr eax, 0xd
lea rdx, str.LRA_0_0_c_c
mov dword [r8 + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x1400033ba
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x1400033ba
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140003395
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x1c]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2348]
bt eax, 0xe
jae 0x140003461
mov r9d, 0xa
lea rcx, [r8 + 0x24ccae0]
btr eax, 0xe
lea rdx, str.LRA_0_1_0_0_0_0_0_0_c_c
mov dword [r8 + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140003455
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140003455
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], sil
jne 0x140003430
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2348]
bt eax, 0xf
jae 0x140003501
btr eax, 0xf
mov dword [rsp + 0x20], 0xa
mov dword [r8 + 0x1db2348], eax
lea rcx, [r8 + 0x24ccae0]
mov r8d, dword [r8 + 0x1db2240]
lea rdx, str.STC_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x1400034f5
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x1400034f5
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x1400034d0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x14]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0x1db2348]
bt eax, 0x10
jae 0x140003596
mov r9d, 0xa
lea rcx, [r8 + 0x24ccae0]
btr eax, 0x10
lea rdx, str.STC_0_0_c_c
mov dword [r8 + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x14000358a
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x14000358a
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140003565
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x10]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], esi
call fcn.14000ccb0
mov r8, qword [0x140042fb8]
test dword [r8 + 0x1db2348], 0x20000
je 0x1400035ba
call fcn.1400094d0
mov r8, qword [0x140042fb8]
and dword [r8 + 0x1db2348], 0xfffdffff
lea rcx, [r8 + 0x1db2ae0]
xor edx, edx
mov r8d, 0x700000
call fcn.140015200
xor r8d, r8d
call fcn.14000b5a0
movsxd rdi, eax
cmp edi, 1
jle 0x1400038a9
mov rcx, qword [0x140042fb8]
test dword [rcx + 0x1db2344], 0x400
jne 0x140003856
cmp dword [rcx + 0x2637f0c], 1
je 0x14000383c
lea rax, [rcx + 0x1db2ae0]
mov edx, edi
lea r8, [rbp - 0x80]
mov qword [rbp - 0x80], rax
call fcn.140007c70
test eax, eax
jne 0x1400036cf
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rdx, qword [0x140042fb8]
mov r9d, eax
sub r9d, dword [rdx + 0x24cdb94]
lea rcx, [rdx + 0x1db2244]
mov dword [rdx + 0x24cdb94], eax
or dword [rdx + 0x1db2344], 4
movd xmm0, dword [rdx + 0x1db2350]
mov eax, dword [rdx + 0x1db235c]
movsd xmm1, qword [rdx + 0x18]
mov r8d, dword [rdx + 0x24cdb8c]
mov dword [rsp + 0x48], eax
inc r8d
mov eax, dword [rdx + 0x1db2354]
cvtdq2pd xmm0, xmm0
mov dword [rsp + 0x40], eax
divsd xmm0, xmm8
movsd qword [rsp + 0x38], xmm0
movsd xmm0, qword [rdx + 0x80]
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 + 0x1db2344], r12d
inc dword [rax + 0x24cdb8c]
call fcn.14000aa30
jmp 0x140003896
cmp eax, 0xfffffffe
je 0x1400038a9
mov rax, qword [0x140042fb8]
lea r8, [rbp - 0x80]
add rax, 0x1db2ae0
mov edx, edi
mov qword [rbp - 0x80], rax
call fcn.140007ac0
test eax, eax
jne 0x140003770
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x140042fb8]
mov r9d, edi
mov edx, eax
sub edx, dword [rcx + 0x24cdb94]
mov dword [rcx + 0x24cdb94], eax
lea rax, [rcx + 0x1db2ae0]
or dword [rcx + 0x1db2344], 4
mov byte [rdi + rcx + 0x1db2ae0], sil
mov r8d, dword [rcx + 0x24cdb8c]
add rcx, 0x1db2244
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 + 0x1db2344], r12d
inc dword [rax + 0x24cdb8c]
call fcn.14000ad30
jmp 0x140003896
cmp eax, 0xfffffffe
je 0x1400038a9
mov rbx, qword [0x140042fb8]
lea r8, [rbp - 0x80]
add rbx, 0x1db2ae0
mov edx, edi
mov qword [rbp - 0x80], rbx
call fcn.1400078b0
test eax, eax
jne 0x1400037a6
mov edx, edi
call fcn.140003a90
jmp 0x140003896
cmp eax, 0xfffffffe
je 0x1400038a9
cmp qword [rbx], r15
jne 0x1400037c0
cmp word [rbx + 8], 0x3057
je 0x1400038a9
mov r8d, edi
mov rdx, rbx
call fcn.140007680
mov rcx, qword [0x140042fb8]
lea rdx, str.Received__d_byte
add rcx, 0x1db2244
mov r8d, edi
call fcn.1400010b0
mov rax, qword [0x140042fb8]
mov edx, esi
or dword [rax + 0x1db2344], r12d
mov rcx, qword [rax + 0x2637f48]
mov r8d, dword [rcx + 0xe00018]
nop word [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x1400038a9
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140003834
mov dword [rcx + 0xe0001c], esi
inc edx
cmp edx, edi
jl 0x140003810
jmp 0x1400038a9
mov dword [rcx + 0x2637f0c], esi
or dword [rcx + 0x1db2344], 0x400
or dword [rcx + 0x1db2348], 0x80000
mov rcx, qword [rcx + 0x2637f48]
mov edx, esi
mov r8d, dword [rcx + 0xe00018]
nop word [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140003896
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140003890
mov dword [rcx + 0xe0001c], esi
inc edx
cmp edx, edi
jl 0x140003870
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x140042fb8]
mov dword [rcx + 0x24cdb90], eax
call fcn.14000e2b0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8, qword [0x140042fb8]
test dword [r8 + 0x1db2348], 0x100000
je 0x140001353
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 + 0x2637f2c]
lea rdx, [rbp]
mov dword [r8 + 0x2637f28], 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 + 0x263a7c8]
lea rsi, [rax + 0x2637fc8]
test r14d, r14d
jle 0x140003a4f
lea rbx, [rsi + 4]
nop dword [rax]
cmp dword [rsi], 0
jne 0x140003990
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 0x1400039c7
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 0x1400039fe
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 0x140003a3b
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 0x140003970
call fcn.14000b4c0
mov rax, qword [0x140042fb8]
and dword [rax + 0x1db2348], 0xffefffff
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400137d0
add rsp, 0x410
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret