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, 0x1438fd8
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 + 0x1438fd0]
lea rbx, [rcx + 0x14367d0]
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 + 0x1436748]
movsd xmm0, qword [rcx + 0x88]
mov dword [rcx + 0x143674c], eax
mov eax, dword [rcx + 0x14366b8]
mov dword [rcx + 0x14366bc], eax
mov dword [rcx + 0x14366c0], eax
mov eax, dword [rcx + 0x1436730]
unpcklpd xmm0, xmm0
mov dword [rcx + 0x1436734], eax
movups xmmword [rcx + 0x90], xmm0
or dword [rcx + 0xbb0b44], 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 + 0xbb0b48], 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 + 0xbb0b44]
bt eax, 9
jae 0x14000160a
btr eax, 9
mov dword [r8 + 0xbb0b44], eax
call fcn.14000cd80
mov rdx, qword [0x140042fb8]
mov eax, dword [rdx + 0x12cc3b4]
mov dword [rdx + 0x12cc3b8], eax
test eax, eax
jne 0x140001397
call fcn.140009230
mov rdx, qword [0x140042fb8]
mov r10d, dword [rdx + 0x12cc3b8]
test r10d, r10d
mov ecx, dword [rdx + 0x1436734]
mov eax, dword [rdx + 0x1436730]
cmove r10d, r12d
cmp eax, ecx
je 0x1400013bd
mov dword [rdx + 0x1436730], ecx
mov eax, ecx
mov r8d, eax
cmp r10d, r12d
jne 0x14000140e
cmp dword [rdx + 0x12cc3dc], 1
jne 0x14000140e
mov r9d, dword [rdx + 0x1436718]
mov ecx, eax
cmp r9d, 1
jne 0x1400013eb
cmp dword [rdx + 0x12cc3c8], r9d
jne 0x1400013eb
cmp eax, 0xc
jl 0x140001401
mov r8d, ecx
test r9d, r9d
jne 0x14000140e
cmp dword [rdx + 0x12cc3c4], 1
jne 0x14000140e
cmp ecx, 0xc
jge 0x14000140e
mov r8d, InitCommonControls
mov dword [rdx + 0x1436730], r8d
mov eax, dword [rdx + 0x5c]
lea rcx, [rdx + 0x12cb2e0]
movsd xmm0, qword [rdx + 8]
movsd xmm3, qword [rdx + 0x12cc348]
mov dword [rsp + 0x118], r10d
movq r9, xmm3
mov dword [rsp + 0x110], 0x2c
mov dword [rsp + 0x108], eax
mov eax, dword [rdx + 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 + 0x12cc320]
mov dword [rsp + 0xe0], 0x2c
mov dword [rsp + 0xd8], eax
mov eax, dword [rdx + 0x12cc33c]
mov dword [rsp + 0xd0], 0x2c
mov dword [rsp + 0xc8], eax
mov eax, dword [rdx + 0x12cc324]
mov dword [rsp + 0xc0], 0x2c
mov dword [rsp + 0xb8], eax
mov eax, dword [rdx + 0x12cc328]
mov dword [rsp + 0xb0], 0x2c
mov dword [rsp + 0xa8], eax
mov eax, dword [rdx + 0x12cc330]
mov dword [rsp + 0xa0], 0x2c
mov dword [rsp + 0x98], eax
mov eax, dword [rdx + 0x12cc338]
mov dword [rsp + 0x90], 0x2c
mov dword [rsp + 0x88], eax
mov eax, dword [rdx]
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 + 0x12cc314]
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 + 0x12cc310], 1
jne 0x1400015c5
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x1400015c5
add rdx, 0x12cb2e0
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 + 0x14366e0], eax
call fcn.1400097e0
call fcn.14000af10
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r8, qword [0x140042fb8]
mov dword [r8 + 0x12cc394], eax
mov dword [r8 + 0x1436714], esi
test dword [r8 + 0xbb0b44], 0x400
je 0x14000170a
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r8, qword [0x140042fb8]
mov r9d, eax
mov eax, 0x66666667
mov r10d, dword [r8 + 0x12cc320]
sub r9d, dword [r8 + 0x12cc390]
imul r10d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp r9d, edx
jb 0x14000165c
lea eax, [r10 + r10]
cmp eax, r9d
jae 0x14000170a
lea rcx, [r8 + 0x12cb2e0]
lea rdx, str.B290_STOP_r
call fcn.1400010b0
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x12cc310], 1
jne 0x1400016cc
mov rbx, qword [rcx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x1400016cc
lea rdx, [rcx + 0x12cb2e0]
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, 0xbb0a44
lea rdx, str.Sent_:_STOP_script
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0xbb0b44], r12d
and dword [r8 + 0xbb0b44], 0xfffffbff
mov dword [r8 + 0x1436714], 1
mov dword [r8 + 0x143675c], esi
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0xb
jae 0x14000172e
btr eax, 0xb
mov dword [r8 + 0xbb0b44], eax
call fcn.14000b6c0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0xc
jae 0x140001752
btr eax, 0xc
mov dword [r8 + 0xbb0b44], eax
call fcn.14000b4c0
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0xd
jae 0x140001857
btr eax, 0xd
mov dword [r8 + 0xbb0b44], eax
call fcn.14000cd80
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x143671c], 1
jne 0x1400017c0
lea rdx, [rbp]
mov dword [rcx + 0x143671c], esi
call fcn.14000bcf0
mov rcx, qword [0x140042fb8]
lea r8, [rbp]
add rcx, 0x12cb2e0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_MAP__s_c_c
call fcn.1400010b0
jmp 0x1400017dd
mov r9d, 0xa
lea rdx, str.START_MAP_c_c
add rcx, 0x12cb2e0
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x140042fb8]
cmp dword [rax + 0x12cc310], 1
jne 0x140001835
mov rbx, qword [rax + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140001835
lea rdx, [rax + 0x12cb2e0]
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 + 0x1436714], esi
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0xe
jae 0x140001957
btr eax, 0xe
mov dword [r8 + 0xbb0b44], eax
call fcn.14000cd80
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x143671c], 1
jne 0x1400018c5
lea rdx, [rbp]
mov dword [rcx + 0x143671c], esi
call fcn.14000bcf0
mov rcx, qword [0x140042fb8]
lea r8, [rbp]
add rcx, 0x12cb2e0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_PPI__s_c_c
call fcn.1400010b0
jmp 0x1400018e2
mov r9d, 0xa
lea rdx, str.START_PPI_c_c
add rcx, 0x12cb2e0
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x140042fb8]
cmp dword [rax + 0x12cc310], 1
jne 0x140001935
mov rbx, qword [rax + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140001935
lea rdx, [rax + 0x12cb2e0]
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 + 0x1436714], esi
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0xf
jae 0x140001a88
btr eax, 0xf
mov dword [r8 + 0xbb0b44], eax
call fcn.14000cd80
call fcn.140008b90
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x12cc3dc], 1
mov qword [rcx + 0x12cc360], rsi
mov qword [rcx + 0x12cc358], rsi
mov qword [rcx + 0x12cc368], rsi
jne 0x1400019b3
call fcn.140009000
call fcn.14000b3b0
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0x143671c], 1
jne 0x1400019f9
lea rdx, [rbp]
mov dword [rcx + 0x143671c], esi
call fcn.14000bcf0
mov rcx, qword [0x140042fb8]
lea r8, [rbp]
add rcx, 0x12cb2e0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_RAW__s_c_c
call fcn.1400010b0
jmp 0x140001a16
mov r9d, 0xa
lea rdx, str.START_RAW_c_c
add rcx, 0x12cb2e0
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x140042fb8]
cmp dword [rax + 0x12cc310], 1
jne 0x140001a66
mov rbx, qword [rax + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140001a66
lea rdx, [rax + 0x12cb2e0]
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 + 0x1436714], esi
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x10
jae 0x140001b89
btr eax, 0x10
lea rcx, [r8 + 0x12cb2e0]
lea rdx, str.B290_RDPARAM_r
mov dword [r8 + 0xbb0b44], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140001b07
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140001b07
add rdx, 0x12cb2e0
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 + 0xbb12e0], sil
lea r8, [rdx + 0xbb12e0]
lea rcx, [rdx + 0xbb0a44]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov rcx, qword [0x140042fb8]
lea r8, [rbp - 0x80]
mov edx, ebx
or dword [rcx + 0xbb0b44], r12d
add rcx, 0xbb12e0
mov qword [rbp - 0x80], rcx
call fcn.140007f10
mov r8, qword [0x140042fb8]
or dword [r8 + 0xbb0b44], 8
jmp 0x140001b89
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b48]
test al, 1
je 0x140001c21
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
and eax, 0xfffffffe
lea rdx, str.K_0_1_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140001c15
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140001c15
add rdx, 0x12cb2e0
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 + 0xbb0b48]
test al, 2
je 0x140001ed4
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
and eax, 0xfffffffd
lea rdx, str.K_0_0_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140001ca7
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140001ca7
add rdx, 0x12cb2e0
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 + 0xbb12e0], sil
lea r8, [rdx + 0xbb12e0]
lea rcx, [rdx + 0xbb0a44]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov r8, qword [0x140042fb8]
mov edx, esi
or dword [r8 + 0xbb0b44], r12d
mov rcx, qword [r8 + 0x1436750]
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 + 0xbb12e6]
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 + 0x12cc330], eax
mov eax, dword [rbp + 0x1c]
mov dword [r8 + 0x12cc328], eax
mov eax, dword [rbp + 0x20]
divsd xmm0, xmm8
mov dword [r8 + 0x12cc324], eax
mov eax, dword [rbp + 0x28]
mov dword [r8 + 0x12cc320], eax
mov eax, dword [rbp + 0x2c]
cvtdq2pd xmm2, xmm2
movsd qword [r8 + 0x20], xmm0
movd xmm0, dword [rbp + 0x24]
cvtdq2pd xmm1, xmm1
divsd xmm2, xmm8
divsd xmm1, xmm8
movsd qword [r8 + 0x18], xmm2
movsd qword [r8 + 0x14366d0], 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 + 0x14367bc], eax
divsd xmm1, xmm8
movsd qword [r8 + 0x12cc348], xmm1
call qword [sym.imp.mr12e.dll_CalcRampTimeByMaxDistance]
mov r8, qword [0x140042fb8]
movsd qword [r8 + 8], xmm0
or dword [r8 + 0xbb0b44], 8
jmp 0x140001ed4
mov rcx, qword [0x140042fb8]
lea rdx, [0x14003ace0]
add rcx, 0xbb0a44
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0xbb0b44], r12d
mov eax, dword [r8 + 0xbb0b48]
test al, 4
je 0x140001f66
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
and eax, 0xfffffffb
lea rdx, str.K_0_3_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140001f5a
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140001f5a
add rdx, 0x12cb2e0
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 + 0xbb0b48]
test al, 8
je 0x140001ff8
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
and eax, 0xfffffff7
lea rdx, str.K_0_4_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140001fec
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140001fec
add rdx, 0x12cb2e0
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 + 0xbb0b48]
test al, al
jns 0x1400020a2
lea rcx, [r8 + 0x12cb2e0]
mov dword [rsp + 0x20], 0xa
btr eax, 7
lea rdx, str.ATST__d_c_c
mov dword [r8 + 0xbb0b48], eax
mov r9d, InitCommonControls
cmp dword [r8 + 0x1436718], 1
mov r8d, esi
sete r8b
add r8d, 3
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140002096
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140002096
add rdx, 0x12cb2e0
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 + 0xbb0b48]
bt eax, 8
jae 0x140002137
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
btr eax, 8
lea rdx, str.ATST_0_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x14000212b
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x14000212b
add rdx, 0x12cb2e0
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 + 0xbb0b44]
bt eax, 0x1b
jae 0x1400021b5
xorps xmm0, xmm0
xorps xmm1, xmm1
btr eax, 0x1b
mov dword [r8 + 0xbb0b44], eax
movups xmmword [r8 + 0x600960], xmm0
movups xmmword [r8 + 0x600970], xmm0
movups xmmword [r8 + 0x600980], xmm0
movups xmmword [r8 + 0x600990], xmm0
movups xmmword [r8 + 0x6009a0], xmm0
movups xmmword [r8 + 0x6009b0], xmm0
movups xmmword [r8 + 0x6008a0], xmm1
movups xmmword [r8 + 0x6008b0], xmm1
movups xmmword [r8 + 0x6008c0], xmm1
movups xmmword [r8 + 0x6008d0], xmm1
movups xmmword [r8 + 0x6008e0], xmm1
movups xmmword [r8 + 0x6008f0], xmm1
mov ecx, dword [r8 + 0xbb0b44]
bt ecx, 0x1c
jae 0x1400023f8
mov eax, ecx
btr eax, 0x1c
mov dword [r8 + 0xbb0b44], eax
bt ecx, 0x1c
jae 0x1400023f8
lea rdx, [rbp + 4]
mov r10d, 3
lea r9, [r8 + 0x600968]
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 + 0x12cb2e0]
mov r9d, dword [rbp]
lea r8d, [r10 + 0x2c]
mov dword [rsp + 0xc8], eax
lea rdx, str.EEPHWR_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_r
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0xc0], 0x2c
mov dword [rsp + 0xb8], eax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0xb0], 0x2c
mov dword [rsp + 0xa8], eax
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0xa0], 0x2c
mov dword [rsp + 0x98], eax
mov eax, dword [rbp + 0x1c]
mov dword [rsp + 0x90], 0x2c
mov dword [rsp + 0x88], eax
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x80], 0x2c
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x70], 0x2c
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x60], 0x2c
mov dword [rsp + 0x58], eax
mov eax, dword [rbp + 0xc]
mov dword [rsp + 0x50], 0x2c
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 8]
mov dword [rsp + 0x40], 0x2c
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x30], 0x2c
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x2c
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x14000238c
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x14000238c
add rdx, 0x12cb2e0
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 + 0x600960]
movups xmm1, xmmword [r8 + 0x600970]
movups xmmword [r8 + 0x6009c0], xmm0
movups xmm0, xmmword [r8 + 0x600980]
movups xmmword [r8 + 0x6009d0], xmm1
movups xmm1, xmmword [r8 + 0x600990]
movups xmmword [r8 + 0x6009e0], xmm0
movups xmm0, xmmword [r8 + 0x6009a0]
movups xmmword [r8 + 0x6009f0], xmm1
movups xmm1, xmmword [r8 + 0x6009b0]
movups xmmword [r8 + 0x600a00], xmm0
movups xmmword [r8 + 0x600a10], xmm1
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x1d
jae 0x140002636
btr eax, 0x1d
lea rcx, [r8 + 0x12cb2e0]
lea rdx, str.EEPHRD_r
mov dword [r8 + 0xbb0b44], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140002477
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140002477
add rdx, 0x12cb2e0
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 + 0xbb12e0], sil
lea r8, [rdx + 0xbb12e0]
lea rcx, [rdx + 0xbb0a44]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov rdi, qword [0x140042fb8]
mov edx, esi
or dword [rdi + 0xbb0b44], r12d
mov rcx, qword [rdi + 0x1436750]
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 + 0xbb12e7]
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 + 0x6009c0]
nop dword [rax + rax]
mov eax, dword [rdx - 4]
lea rcx, [rcx + 0x20]
sub eax, 0x8000
lea rdx, [rdx + 0x10]
movd xmm0, eax
mov eax, dword [rdx - 0x10]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, 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 + 0xbb0b44]
bt ecx, 0x1e
jae 0x140002878
mov eax, ecx
btr eax, 0x1e
mov dword [r8 + 0xbb0b44], eax
bt ecx, 0x1e
jae 0x140002878
lea rdx, [rbp + 4]
mov r10d, 3
lea r9, [r8 + 0x6008a8]
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 + 0x12cb2e0]
mov r9d, dword [rbp]
lea r8d, [r10 + 0x2c]
mov dword [rsp + 0xc8], eax
lea rdx, str.EEAMPWR_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_r
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0xc0], 0x2c
mov dword [rsp + 0xb8], eax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0xb0], 0x2c
mov dword [rsp + 0xa8], eax
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0xa0], 0x2c
mov dword [rsp + 0x98], eax
mov eax, dword [rbp + 0x1c]
mov dword [rsp + 0x90], 0x2c
mov dword [rsp + 0x88], eax
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x80], 0x2c
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x70], 0x2c
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x60], 0x2c
mov dword [rsp + 0x58], eax
mov eax, dword [rbp + 0xc]
mov dword [rsp + 0x50], 0x2c
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 8]
mov dword [rsp + 0x40], 0x2c
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x30], 0x2c
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x2c
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x14000280c
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x14000280c
add rdx, 0x12cb2e0
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 + 0x6008a0]
movups xmm1, xmmword [r8 + 0x6008b0]
movups xmmword [r8 + 0x600900], xmm0
movups xmm0, xmmword [r8 + 0x6008c0]
movups xmmword [r8 + 0x600910], xmm1
movups xmm1, xmmword [r8 + 0x6008d0]
movups xmmword [r8 + 0x600920], xmm0
movups xmm0, xmmword [r8 + 0x6008e0]
movups xmmword [r8 + 0x600930], xmm1
movups xmm1, xmmword [r8 + 0x6008f0]
movups xmmword [r8 + 0x600940], xmm0
movups xmmword [r8 + 0x600950], xmm1
mov eax, dword [r8 + 0xbb0b44]
test eax, eax
jns 0x140002aa6
btr eax, 0x1f
lea rcx, [r8 + 0x12cb2e0]
lea rdx, str.EEAMPRD_r
mov dword [r8 + 0xbb0b44], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400028f5
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x1400028f5
add rdx, 0x12cb2e0
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 + 0xbb12e0], sil
lea r8, [rdx + 0xbb12e0]
lea rcx, [rdx + 0xbb0a44]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov rdi, qword [0x140042fb8]
mov edx, esi
or dword [rdi + 0xbb0b44], r12d
mov rcx, qword [rdi + 0x1436750]
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 + 0xbb12e8]
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 + 0x600900]
nop dword [rax + rax]
mov eax, dword [rdx - 4]
lea rcx, [rcx + 0x20]
sub eax, 0x8000
lea rdx, [rdx + 0x10]
movd xmm0, eax
mov eax, dword [rdx - 0x10]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, 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 + 0xbb0b48]
test r12b, al
je 0x140002b31
and eax, 0xffffffef
lea rcx, [r8 + 0x12cb2e0]
lea rdx, str.EEENWR_0_1_1_r
mov dword [r8 + 0xbb0b48], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140002b25
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140002b25
add rdx, 0x12cb2e0
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 + 0xbb0b44]
bt eax, 0x18
jae 0x140002cf1
btr eax, 0x18
mov dword [r8 + 0xbb0b44], eax
mov eax, dword [r8 + 0x143674c]
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 + 0x12cb2e0]
mov dword [rsp + 0x20], 0xa
mov r8d, eax
lea rdx, str.H_0__d_0_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140002c35
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140002c35
add rdx, 0x12cb2e0
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 + 0x1436750]
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 + 0xbb12e0], sil
lea rcx, [r10 + 0xbb0a44]
lea r8, [r10 + 0xbb12e0]
lea rdx, [0x14003acb8]
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0xbb0b44], r12d
mov eax, dword [r8 + 0x143674c]
mov dword [r8 + 0x1436748], eax
jmp 0x140002cf1
mov rcx, qword [0x140042fb8]
lea rdx, [0x14003ace0]
add rcx, 0xbb0a44
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0xbb0b44], r12d
mov eax, dword [r8 + 0xbb0b48]
bt eax, 0xa
jae 0x140002d15
btr eax, 0xa
mov dword [r8 + 0xbb0b48], eax
call fcn.14000ce60
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x19
jae 0x140002dc3
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
btr eax, 0x19
lea rdx, str.V_0_0_0_c_c
mov dword [r8 + 0xbb0b44], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdi, qword [0x140042fb8]
mov rbx, 0xffffffffffffffff
lea rdx, [rdi + 0x12cb2e0]
inc rbx
cmp byte [rdx + rbx], sil
jne 0x140002d63
cmp dword [rdi + 0x12cc310], 1
jne 0x140002da1
mov rdi, qword [rdi + 0x1436750]
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, 0xbb12e0
call fcn.140009420
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x11
jae 0x140002ec5
btr eax, 0x11
mov dword [rsp + 0x48], 0xa
mov dword [r8 + 0xbb0b44], eax
lea rcx, [r8 + 0x12cb2e0]
mov edx, dword [r8 + 0x14366bc]
movsd xmm0, qword [r8 + 0x90]
mov r9d, dword [r8 + 0x12cc334]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], edx
movsd qword [r8 + 0x88], xmm0
mov dword [r8 + 0x14366b8], edx
lea rdx, str.S_0_1_1_1_12__d__d__d__d__d__d_0_c_c
mulsd xmm0, xmm8
cvttsd2si eax, xmm0
mov dword [rsp + 0x30], eax
mov eax, dword [r8 + 0x12cc3c0]
mov dword [rsp + 0x28], eax
mov eax, dword [r8 + 0x14367c4]
mov r8d, dword [r8 + 0x14367bc]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140002ea7
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140002ea7
add rdx, 0x12cb2e0
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 + 0x14367b8]
mov dword [r8 + 0x14367b4], eax
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x12
jae 0x140002f61
btr eax, 0x12
mov dword [r8 + 0xbb0b44], eax
call fcn.140008d10
test eax, eax
jne 0x140002f39
mov rax, qword [0x140042fb8]
lea rdx, [0x14003ae18]
lea rcx, [rbp + 0x100]
cmp dword [rax + 0x12cc3c0], 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 + 0xbb12e0]
add rcx, 0xbb0a44
call fcn.1400010b0
jmp 0x140002f53
mov rcx, qword [0x140042fb8]
lea rdx, [0x14003ace0]
add rcx, 0xbb0a44
call fcn.1400010b0
mov r8, qword [0x140042fb8]
or dword [r8 + 0xbb0b44], r12d
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x13
jae 0x140002ff6
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
btr eax, 0x13
lea rdx, str.S_0_3_c_c
mov dword [r8 + 0xbb0b44], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140002fea
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140002fea
add rdx, 0x12cb2e0
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 + 0xbb0b48]
bt eax, 0xb
jae 0x140003091
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
btr eax, 0xb
lea rdx, str.TEMP_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140003085
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140003085
add rdx, 0x12cb2e0
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 + 0xbb0b44]
bt eax, 0x17
jae 0x1400030b5
btr eax, 0x17
mov dword [r8 + 0xbb0b44], eax
call fcn.140009230
mov r8, qword [0x140042fb8]
mov eax, dword [r8 + 0xbb0b44]
bt eax, 0x16
jae 0x14000325a
btr eax, 0x16
mov dword [rsp + 0x20], 0xa
mov dword [r8 + 0xbb0b44], eax
lea rcx, [r8 + 0x12cb2e0]
mov r8d, dword [r8 + 0x12cc3d4]
lea rdx, str.DELSAMPLE_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140003149
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140003149
add rdx, 0x12cb2e0
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, 0xbb12e0
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 + 0xbb0b48]
bt eax, 0xc
jae 0x140003331
btr eax, 0xc
mov dword [rsp + 0x48], 0xa
mov dword [r8 + 0xbb0b48], eax
lea rcx, [r8 + 0x12cb2e0]
mov eax, dword [r8 + 0xbb0a3c]
lea rdx, str.LRA_0_1__d__d__d__d__d__d_c_c
mov r9d, dword [r8 + 0xbb0a2c]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], eax
mov eax, dword [r8 + 0xbb0a38]
mov dword [rsp + 0x30], eax
mov eax, dword [r8 + 0xbb0a34]
mov dword [rsp + 0x28], eax
mov eax, dword [r8 + 0xbb0a30]
mov r8d, dword [r8 + 0xbb0a28]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140003325
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140003325
add rdx, 0x12cb2e0
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 + 0xbb0b48]
bt eax, 0xd
jae 0x1400033c6
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
btr eax, 0xd
lea rdx, str.LRA_0_0_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400033ba
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x1400033ba
add rdx, 0x12cb2e0
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 + 0xbb0b48]
bt eax, 0xe
jae 0x140003461
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
btr eax, 0xe
lea rdx, str.LRA_0_1_0_0_0_0_0_0_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x140003455
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x140003455
add rdx, 0x12cb2e0
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 + 0xbb0b48]
bt eax, 0xf
jae 0x140003501
btr eax, 0xf
mov dword [rsp + 0x20], 0xa
mov dword [r8 + 0xbb0b48], eax
lea rcx, [r8 + 0x12cb2e0]
mov r8d, dword [r8 + 0xbb0a40]
lea rdx, str.STC_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400034f5
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x1400034f5
add rdx, 0x12cb2e0
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 + 0xbb0b48]
bt eax, 0x10
jae 0x140003596
mov r9d, 0xa
lea rcx, [r8 + 0x12cb2e0]
btr eax, 0x10
lea rdx, str.STC_0_0_c_c
mov dword [r8 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0x12cc310], 1
jne 0x14000358a
mov rbx, qword [rdx + 0x1436750]
cmp dword [rbx + 8], 1
je 0x14000358a
add rdx, 0x12cb2e0
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 + 0xbb0b48], 0x20000
je 0x1400035ba
call fcn.1400094d0
mov r8, qword [0x140042fb8]
and dword [r8 + 0xbb0b48], 0xfffdffff
lea rcx, [r8 + 0xbb12e0]
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 + 0xbb0b44], 0x400
jne 0x140003856
cmp dword [rcx + 0x1436714], 1
je 0x14000383c
lea rax, [rcx + 0xbb12e0]
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 + 0x12cc394]
lea rcx, [rdx + 0xbb0a44]
mov dword [rdx + 0x12cc394], eax
or dword [rdx + 0xbb0b44], 4
movd xmm0, dword [rdx + 0xbb0b50]
mov eax, dword [rdx + 0xbb0b5c]
movsd xmm1, qword [rdx + 0x18]
mov r8d, dword [rdx + 0x12cc38c]
mov dword [rsp + 0x48], eax
inc r8d
mov eax, dword [rdx + 0xbb0b54]
cvtdq2pd xmm0, xmm0
mov dword [rsp + 0x40], eax
divsd xmm0, xmm8
movsd qword [rsp + 0x38], xmm0
movsd xmm0, qword [rdx + 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 + 0xbb0b44], r12d
inc dword [rax + 0x12cc38c]
call fcn.14000aa30
jmp 0x140003896
cmp eax, 0xfffffffe
je 0x1400038a9
mov rax, qword [0x140042fb8]
lea r8, [rbp - 0x80]
add rax, 0xbb12e0
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 + 0x12cc394]
mov dword [rcx + 0x12cc394], eax
lea rax, [rcx + 0xbb12e0]
or dword [rcx + 0xbb0b44], 4
mov byte [rdi + rcx + 0xbb12e0], sil
mov r8d, dword [rcx + 0x12cc38c]
add rcx, 0xbb0a44
mov qword [rsp + 0x28], rax
inc r8d
mov dword [rsp + 0x20], edx
lea rdx, str.Read_PPI_No._d__dBytes__dmsec___s
call fcn.1400010b0
mov rax, qword [0x140042fb8]
or dword [rax + 0xbb0b44], r12d
inc dword [rax + 0x12cc38c]
call fcn.14000ad30
jmp 0x140003896
cmp eax, 0xfffffffe
je 0x1400038a9
mov rbx, qword [0x140042fb8]
lea r8, [rbp - 0x80]
add rbx, 0xbb12e0
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, 0xbb0a44
mov r8d, edi
call fcn.1400010b0
mov rax, qword [0x140042fb8]
mov edx, esi
or dword [rax + 0xbb0b44], r12d
mov rcx, qword [rax + 0x1436750]
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 + 0x1436714], esi
or dword [rcx + 0xbb0b44], 0x400
or dword [rcx + 0xbb0b48], 0x80000
mov rcx, qword [rcx + 0x1436750]
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 + 0x12cc390], eax
call fcn.14000e2b0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8, qword [0x140042fb8]
test dword [r8 + 0xbb0b48], 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 + 0x1436734]
lea rdx, [rbp]
mov dword [r8 + 0x1436730], 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 + 0x1438fd0]
lea rsi, [rax + 0x14367d0]
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 + 0xbb0b48], 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