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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x2e0]
sub rsp, 0x480
mov rax, qword [0x140049010]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rbx, rcx
xor edx, edx
mov rcx, qword [0x140101ac0]
mov r8d, 0x1a38fa8
call fcn.140019d10
mov rcx, rbx
call fcn.140007dc0
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.140001180
mov rcx, qword [0x140101ac0]
mov esi, dword [rcx + 0x1a38f60]
lea rbx, [rcx + 0x1a36760]
test esi, esi
jle 0x140004d85
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 0x140004d70
cmp dword [rbx], 0
jne 0x140004d32
mov rcx, qword [rbx + 0x48]
lea rdx, [rbp]
call fcn.140001180
cmp dword [rbx], 1
jne 0x140004d46
lea rcx, [rbp]
call fcn.14002040c
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 2
jne 0x140004d5a
lea rcx, [rbp]
call fcn.14002040c
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 3
jne 0x140004d70
lea rcx, [rbp]
call fcn.140023a0c
mov rax, qword [rbx + 0x48]
movsd qword [rax], xmm0
dec esi
add rbx, 0x50
test esi, esi
jg 0x140004cf0
mov rcx, qword [0x140101ac0]
mov eax, dword [rcx + 0x1a36718]
movsd xmm0, qword [rcx + 0x88]
mov dword [rcx + 0x1a3671c], eax
mov eax, dword [rcx + 0x1a36688]
mov dword [rcx + 0x1a3668c], eax
mov dword [rcx + 0x1a36690], eax
mov eax, dword [rcx + 0x1a36700]
unpcklpd xmm0, xmm0
mov dword [rcx + 0x1a36704], eax
movups xmmword [rcx + 0x90], xmm0
or dword [rcx + 0x11b0b44], 8
mov dword [0x140101ac8], 1
call fcn.14000d770
call fcn.140002b90
call fcn.14000f640
mov r11, qword [0x140101ac0]
test dword [r11 + 0x11b0b48], 0x100000
jne 0x140007748
mov qword [rsp + 0x4b8], r12
lea rsi, [0x14004102c]
mov qword [rsp + 0x4c0], r13
mov ebx, InitCommonControls
mov qword [rsp + 0x4c8], r15
lea r13, [0x140000000]
movaps xmmword [rsp + 0x470], xmm6
xor r14d, r14d
movsd xmm6, qword [0x140042f60]
movabs rdi, 0x8000000000000000
movaps xmmword [rsp + 0x460], xmm7
movabs r15, 0x100100002401
movsd xmm7, qword [0x140043010]
movabs r12, 0x305741525f444e45
movaps xmmword [rsp + 0x450], xmm8
movsd xmm8, qword [0x140042f88]
movaps xmmword [rsp + 0x440], xmm9
movsd xmm9, qword [0x140042fc8]
movaps xmmword [rsp + 0x430], xmm10
movsd xmm10, qword [0x140042e58]
movaps xmmword [rsp + 0x420], xmm11
movsd xmm11, qword [0x140042ed8]
movaps xmmword [rsp + 0x410], xmm12
movsd xmm12, qword [0x140042e70]
movaps xmmword [rsp + 0x400], xmm13
movsd xmm13, qword [0x140042fa8]
movaps xmmword [rsp + 0x3f0], xmm14
movsd xmm14, qword [0x140042fc0]
movaps xmmword [rsp + 0x3e0], xmm15
movsd xmm15, qword [0x140042fb0]
nop word [rax + rax]
mov eax, dword [r11 + 0x11b0b44]
bt eax, 9
jae 0x1400051ba
btr eax, 9
mov dword [r11 + 0x11b0b44], eax
call fcn.140010dd0
mov rdx, qword [0x140101ac0]
mov eax, dword [rdx + 0x18cc3b4]
mov dword [rdx + 0x18cc3b8], eax
test eax, eax
jne 0x140004f44
call fcn.14000d160
mov rdx, qword [0x140101ac0]
mov r10d, dword [rdx + 0x18cc3b8]
test r10d, r10d
mov ecx, dword [rdx + 0x1a36704]
mov eax, dword [rdx + 0x1a36700]
cmove r10d, ebx
cmp eax, ecx
je 0x140004f6a
mov dword [rdx + 0x1a36700], ecx
mov eax, ecx
mov r8d, eax
cmp r10d, 0x10
jne 0x140004fbc
cmp dword [rdx + 0x18cc3dc], 1
jne 0x140004fbc
mov r9d, dword [rdx + 0x1a366e8]
mov ecx, eax
cmp r9d, 1
jne 0x140004f99
cmp dword [rdx + 0x18cc3c8], r9d
jne 0x140004f99
cmp eax, 0xc
jl 0x140004faf
mov r8d, ecx
test r9d, r9d
jne 0x140004fbc
cmp dword [rdx + 0x18cc3c4], 1
jne 0x140004fbc
cmp ecx, 0xc
jge 0x140004fbc
mov r8d, InitCommonControls
mov dword [rdx + 0x1a36700], r8d
mov eax, dword [rdx + 0x5c]
lea rcx, [rdx + 0x18cb2e0]
movsd xmm0, qword [rdx + 8]
movsd xmm3, qword [rdx + 0x18cc348]
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 + 0x18cc320]
mov dword [rsp + 0xe0], 0x2c
mov dword [rsp + 0xd8], eax
mov eax, dword [rdx + 0x18cc33c]
mov dword [rsp + 0xd0], 0x2c
mov dword [rsp + 0xc8], eax
mov eax, dword [rdx + 0x18cc324]
mov dword [rsp + 0xc0], 0x2c
mov dword [rsp + 0xb8], eax
mov eax, dword [rdx + 0x18cc328]
mov dword [rsp + 0xb0], 0x2c
mov dword [rsp + 0xa8], eax
mov eax, dword [rdx + 0x18cc330]
mov dword [rsp + 0xa0], 0x2c
mov dword [rsp + 0x98], eax
mov eax, dword [rdx + 0x18cc338]
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 + 0x18cc314]
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.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140005176
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140005176
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140005150
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0xc]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000cac0
call fcn.140002b90
call fcn.14000f330
mov rdx, qword [0x140101ac0]
mov eax, dword [rdx + 0x14]
mov dword [rdx + 0x1a366b0], eax
call fcn.14000d770
call fcn.14000ee90
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r11, qword [0x140101ac0]
mov dword [r11 + 0x18cc394], eax
mov dword [r11 + 0x1a366e4], r14d
test dword [r11 + 0x11b0b44], 0x400
je 0x1400052bc
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r11, qword [0x140101ac0]
mov r8d, eax
mov eax, 0x66666667
mov r9d, dword [r11 + 0x18cc320]
sub r8d, dword [r11 + 0x18cc390]
imul r9d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp r8d, edx
jb 0x14000520c
lea eax, [r9 + r9]
cmp eax, r8d
jae 0x1400052bc
lea rcx, [r11 + 0x18cb2e0]
lea rdx, str.B290_STOP_r
call fcn.140001180
mov rcx, qword [0x140101ac0]
cmp dword [rcx + 0x18cc310], 1
jne 0x14000527d
mov rbx, qword [rcx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x14000527d
lea rdx, [rcx + 0x18cb2e0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140005250
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x78]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x140101ac0]
mov dword [rbx + 0xe00020], r14d
add rcx, 0x11b0a44
lea rdx, str.Sent_:_STOP_script
call fcn.140001180
mov r11, qword [0x140101ac0]
or dword [r11 + 0x11b0b44], 0x10
and dword [r11 + 0x11b0b44], 0xfffffbff
mov dword [r11 + 0x1a366e4], 1
mov dword [r11 + 0x1a3672c], r14d
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0xb
jae 0x1400052e0
btr eax, 0xb
mov dword [r11 + 0x11b0b44], eax
call fcn.14000f640
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0xc
jae 0x140005304
btr eax, 0xc
mov dword [r11 + 0x11b0b44], eax
call fcn.14000f440
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0xd
jae 0x140005408
btr eax, 0xd
mov dword [r11 + 0x11b0b44], eax
call fcn.140010dd0
mov rcx, qword [0x140101ac0]
cmp dword [rcx + 0x1a366ec], 1
jne 0x140005373
lea rdx, [rbp]
mov dword [rcx + 0x1a366ec], r14d
call fcn.14000fd40
mov rcx, qword [0x140101ac0]
lea r8, [rbp]
add rcx, 0x18cb2e0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_MAP__s_c_c
call fcn.140001180
jmp 0x140005390
mov r9d, 0xa
lea rdx, str.START_MAP_c_c
add rcx, 0x18cb2e0
lea r8d, [r9 + 3]
call fcn.140001180
mov rax, qword [0x140101ac0]
cmp dword [rax + 0x18cc310], 1
jne 0x1400053e6
mov rbx, qword [rax + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x1400053e6
lea rdx, [rax + 0x18cb2e0]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400053c0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x74]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
call fcn.14000cac0
call fcn.14000e910
call fcn.14000d770
mov r11, qword [0x140101ac0]
mov dword [r11 + 0x1a366e4], r14d
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0xe
jae 0x140005508
btr eax, 0xe
mov dword [r11 + 0x11b0b44], eax
call fcn.140010dd0
mov rcx, qword [0x140101ac0]
cmp dword [rcx + 0x1a366ec], 1
jne 0x140005477
lea rdx, [rbp]
mov dword [rcx + 0x1a366ec], r14d
call fcn.14000fd40
mov rcx, qword [0x140101ac0]
lea r8, [rbp]
add rcx, 0x18cb2e0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_PPI__s_c_c
call fcn.140001180
jmp 0x140005494
mov r9d, 0xa
lea rdx, str.START_PPI_c_c
add rcx, 0x18cb2e0
lea r8d, [r9 + 3]
call fcn.140001180
mov rax, qword [0x140101ac0]
cmp dword [rax + 0x18cc310], 1
jne 0x1400054e6
mov rbx, qword [rax + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x1400054e6
lea rdx, [rax + 0x18cb2e0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400054c0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x70]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
call fcn.14000cac0
call fcn.14000d770
call fcn.14000ee90
mov r11, qword [0x140101ac0]
mov dword [r11 + 0x1a366e4], r14d
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0xf
jae 0x14000563b
btr eax, 0xf
mov dword [r11 + 0x11b0b44], eax
call fcn.140010dd0
call fcn.14000cac0
mov rcx, qword [0x140101ac0]
cmp dword [rcx + 0x18cc3dc], 1
mov qword [rcx + 0x18cc360], r14
mov qword [rcx + 0x18cc358], r14
mov qword [rcx + 0x18cc368], r14
jne 0x140005564
call fcn.14000cf30
call fcn.14000f330
mov rcx, qword [0x140101ac0]
cmp dword [rcx + 0x1a366ec], 1
jne 0x1400055ab
lea rdx, [rbp]
mov dword [rcx + 0x1a366ec], r14d
call fcn.14000fd40
mov rcx, qword [0x140101ac0]
lea r8, [rbp]
add rcx, 0x18cb2e0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_RAW__s_c_c
call fcn.140001180
jmp 0x1400055c8
mov r9d, 0xa
lea rdx, str.START_RAW_c_c
add rcx, 0x18cb2e0
lea r8d, [r9 + 3]
call fcn.140001180
mov rax, qword [0x140101ac0]
cmp dword [rax + 0x18cc310], 1
jne 0x140005619
mov rbx, qword [rax + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140005619
lea rdx, [rax + 0x18cb2e0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400055f3
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x6c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
call fcn.14000e910
call fcn.14000d770
call fcn.14000ee90
mov r11, qword [0x140101ac0]
mov dword [r11 + 0x1a366e4], r14d
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0x10
jae 0x14000573d
btr eax, 0x10
lea rcx, [r11 + 0x18cb2e0]
lea rdx, str.B290_RDPARAM_r
mov dword [r11 + 0x11b0b44], eax
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x1400056bb
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x1400056bb
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140005695
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x68]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x1f4
call fcn.14000f520
movsxd rbx, eax
test eax, eax
jle 0x140005736
mov rdx, qword [0x140101ac0]
mov byte [rbx + rdx + 0x11b12e0], r14b
lea r8, [rdx + 0x11b12e0]
lea rcx, [rdx + 0x11b0a44]
lea rdx, [0x140040ec8]
call fcn.140001180
mov rcx, qword [0x140101ac0]
lea r8, [rbp - 0x80]
mov edx, ebx
or dword [rcx + 0x11b0b44], 0x10
add rcx, 0x11b12e0
mov qword [rbp - 0x80], rcx
call fcn.14000be40
mov r11, qword [0x140101ac0]
or dword [r11 + 0x11b0b44], 8
jmp 0x14000573d
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b48]
test al, 1
je 0x1400057d2
mov r9d, 0xa
lea rcx, [r11 + 0x18cb2e0]
and eax, 0xfffffffe
lea rdx, str.K_0_1_c_c
mov dword [r11 + 0x11b0b48], eax
lea r8d, [r9 + 3]
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x1400057c6
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x1400057c6
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400057a0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x64]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b48]
test al, 2
je 0x140005bbc
mov r9d, 0xa
lea rcx, [r11 + 0x18cb2e0]
and eax, 0xfffffffd
lea rdx, str.K_0_0_c_c
mov dword [r11 + 0x11b0b48], eax
lea r8d, [r9 + 3]
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140005859
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140005859
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140005833
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x60]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
mov r8d, 0x1f4
call fcn.14000f520
movsxd rbx, eax
test eax, eax
jle 0x140005b93
mov rdx, qword [0x140101ac0]
mov byte [rbx + rdx + 0x11b12e0], r14b
lea r8, [rdx + 0x11b12e0]
lea rcx, [rdx + 0x11b0a44]
lea rdx, [0x140040ec8]
call fcn.140001180
mov r11, qword [0x140101ac0]
mov edx, r14d
or dword [r11 + 0x11b0b44], 0x10
mov rcx, qword [r11 + 0x1a36720]
mov r8d, dword [rcx + 0xe00018]
nop dword [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x1400058e7
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x1400058e1
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x1400058c0
xorps xmm0, xmm0
lea r10, [r11 + 0x11b12e6]
movups xmmword [rbp], xmm0
mov rbx, r14
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
nop dword [rax]
nop dword [rax + rax]
mov r8d, r14d
mov r9d, r14d
mov rdx, r14
nop dword [rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140005939
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140005944
cmp cl, 0x2d
jne 0x14000594f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140005920
jmp 0x140005957
cmp cl, 0x2c
jne 0x140005957
inc rdx
add r10, rdx
mov eax, r8d
neg eax
cmp r9d, 1
movzx ecx, byte [r10]
cmovne eax, r8d
mov dword [rbp + rbx*4], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x14000597e
sub cl, 0x2c
cmp cl, 1
ja 0x14000598a
inc rbx
cmp rbx, 0x1000
jl 0x140005910
movd xmm0, dword [rbp + 4]
movd xmm3, dword [rbp]
movd xmm1, dword [rbp + 8]
mov eax, dword [rbp + 0x10]
mov edx, dword [rbp + 0xc]
mov dword [r11 + 0x5c], eax
mov eax, dword [rbp + 0x14]
cvtdq2pd xmm0, xmm0
mov dword [r11 + 0x58], eax
mov eax, dword [rbp + 0x18]
mov dword [r11 + 0x18cc330], eax
mov eax, dword [rbp + 0x1c]
mov dword [r11 + 0x18cc328], eax
mov eax, dword [rbp + 0x20]
divsd xmm0, xmm8
mov dword [r11 + 0x18cc324], eax
mov eax, dword [rbp + 0x28]
mov dword [r11 + 0x18cc320], eax
mov eax, dword [rbp + 0x2c]
mov dword [r11 + 0x50], edx
cvtdq2pd xmm3, xmm3
movsd qword [r11 + 0x20], xmm0
movd xmm0, dword [rbp + 0x24]
cvtdq2pd xmm1, xmm1
divsd xmm3, xmm8
divsd xmm1, xmm8
movsd qword [r11 + 0x18], xmm3
movsd qword [r11 + 0x1a366a0], xmm1
cvtdq2pd xmm0, xmm0
movsd qword [r11 + 0x78], xmm0
cmp eax, 0x128e0
jl 0x140005b89
mov ecx, dword [rbp + 0x30]
addsd xmm3, xmm3
mov r8d, dword [rbp + 0x34]
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x38]
mov dword [r11 + 0x1a3674c], eax
mov dword [r11 + 0x14], ecx
lea eax, [r8*8]
mov dword [r11 + 0x10], r8d
xorps xmm2, xmm2
addsd xmm3, xmm3
cvtsi2sd xmm2, ecx
divsd xmm0, xmm8
mulsd xmm2, xmm13
movaps xmm1, xmm14
movsd qword [r11 + 0x18cc348], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [r11]
mulsd xmm2, xmm3
mulsd xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
xor eax, eax
mulsd xmm2, xmm13
divsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, edx
mulsd xmm1, xmm15
mulsd xmm1, xmm0
divsd xmm2, xmm1
divsd xmm2, xmm10
comisd xmm2, xmm9
jb 0x140005ac2
subsd xmm2, xmm9
comisd xmm2, xmm9
jae 0x140005ac2
mov rax, rdi
cvttsd2si rcx, xmm2
xorps xmm0, xmm0
add rcx, rax
js 0x140005ad6
cvtsi2sd xmm0, rcx
jmp 0x140005aeb
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, xmm10
mulsd xmm0, xmm11
addsd xmm0, xmm12
cvttsd2si eax, xmm0
movd xmm1, eax
lea eax, [r8 - 0x18]
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm11
cmp eax, 0xe8
ja case.0x140005b2c.32
cdqe
movzx eax, byte [rax + r13 + 0x78e8]
mov ecx, dword [r13 + rax*4 + 0x78c4]
add rcx, r13
jmp rcx
movsd xmm0, qword [0x140042ec8]
jmp 0x140005b7c
movsd xmm0, qword [0x140042ed0]
jmp 0x140005b7c
movsd xmm0, qword [0x140042ef8]
jmp 0x140005b7c
movsd xmm0, qword [0x140042f00]
jmp 0x140005b7c
movsd xmm0, qword [0x140042f18]
jmp 0x140005b7c
movsd xmm0, qword [0x140042f28]
jmp 0x140005b7c
movsd xmm0, qword [0x140042f30]
jmp 0x140005b7c
movsd xmm0, qword [0x140042f48]
maxsd xmm0, xmm1
movaps xmm1, xmm0
movsd qword [r11 + 8], xmm1
or dword [r11 + 0x11b0b44], 8
jmp 0x140005bbc
mov rcx, qword [0x140101ac0]
lea rdx, [0x140040ef0]
add rcx, 0x11b0a44
call fcn.140001180
mov r11, qword [0x140101ac0]
or dword [r11 + 0x11b0b44], 0x10
mov eax, dword [r11 + 0x11b0b48]
test al, 4
je 0x140005c52
mov r9d, 0xa
lea rcx, [r11 + 0x18cb2e0]
and eax, 0xfffffffb
lea rdx, str.K_0_3_c_c
mov dword [r11 + 0x11b0b48], eax
lea r8d, [r9 + 3]
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140005c46
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140005c46
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140005c20
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x5c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b48]
test al, 8
je 0x140005ce5
mov r9d, 0xa
lea rcx, [r11 + 0x18cb2e0]
and eax, 0xfffffff7
lea rdx, str.K_0_4_c_c
mov dword [r11 + 0x11b0b48], eax
lea r8d, [r9 + 3]
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140005cd9
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140005cd9
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140005cb3
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x58]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b48]
test al, al
jns 0x140005d92
btr eax, 7
mov dword [rsp + 0x20], 0xa
mov r8d, r14d
mov dword [r11 + 0x11b0b48], eax
cmp dword [r11 + 0x1a366e8], 1
lea rcx, [r11 + 0x18cb2e0]
mov r9d, InitCommonControls
lea rdx, str.ATST__d_c_c
sete r8b
add r8d, 3
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140005d86
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140005d86
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140005d60
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x54]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b48]
bt eax, 8
jae 0x140005e28
mov r9d, 0xa
lea rcx, [r11 + 0x18cb2e0]
btr eax, 8
lea rdx, str.ATST_0_c_c
mov dword [r11 + 0x11b0b48], eax
lea r8d, [r9 + 3]
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140005e1c
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140005e1c
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140005df6
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0x1b
jae 0x140005ea6
xorps xmm0, xmm0
xorps xmm1, xmm1
btr eax, 0x1b
mov dword [r11 + 0x11b0b44], eax
movups xmmword [r11 + 0xc00960], xmm0
movups xmmword [r11 + 0xc00970], xmm0
movups xmmword [r11 + 0xc00980], xmm0
movups xmmword [r11 + 0xc00990], xmm0
movups xmmword [r11 + 0xc009a0], xmm0
movups xmmword [r11 + 0xc009b0], xmm0
movups xmmword [r11 + 0xc008a0], xmm1
movups xmmword [r11 + 0xc008b0], xmm1
movups xmmword [r11 + 0xc008c0], xmm1
movups xmmword [r11 + 0xc008d0], xmm1
movups xmmword [r11 + 0xc008e0], xmm1
movups xmmword [r11 + 0xc008f0], xmm1
mov ecx, dword [r11 + 0x11b0b44]
bt ecx, 0x1c
jae 0x1400060f2
mov eax, ecx
btr eax, 0x1c
mov dword [r11 + 0x11b0b44], eax
bt ecx, 0x1c
jae 0x1400060f2
lea rdx, [rbp + 4]
mov r9d, 3
lea r8, [r11 + 0xc00968]
nop
movsd xmm0, qword [r8 - 8]
lea rdx, [rdx + 0x10]
mulsd xmm0, xmm7
lea r8, [r8 + 0x20]
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x20]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0x14], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x18]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0x10], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x10]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0xc], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
sub ecx, eax
mov dword [rdx - 8], ecx
sub r9, 1
jne 0x140005ee0
mov eax, dword [rbp + 0x2c]
lea rcx, [r11 + 0x18cb2e0]
mov r9d, dword [rbp]
lea rdx, str.EEPHWR_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_r
mov dword [rsp + 0xc8], eax
mov r8d, 0x2c
mov eax, dword [rbp + 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.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140006086
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140006086
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140006060
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x4c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
movups xmm0, xmmword [r11 + 0xc00960]
movups xmm1, xmmword [r11 + 0xc00970]
movups xmmword [r11 + 0xc009c0], xmm0
movups xmm0, xmmword [r11 + 0xc00980]
movups xmmword [r11 + 0xc009d0], xmm1
movups xmm1, xmmword [r11 + 0xc00990]
movups xmmword [r11 + 0xc009e0], xmm0
movups xmm0, xmmword [r11 + 0xc009a0]
movups xmmword [r11 + 0xc009f0], xmm1
movups xmm1, xmmword [r11 + 0xc009b0]
movups xmmword [r11 + 0xc00a00], xmm0
movups xmmword [r11 + 0xc00a10], xmm1
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0x1d
jae 0x140006336
btr eax, 0x1d
lea rcx, [r11 + 0x18cb2e0]
lea rdx, str.EEPHRD_r
mov dword [r11 + 0x11b0b44], eax
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140006176
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140006176
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140006150
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x48]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
mov r8d, 0x3e8
call fcn.14000f520
movsxd rbx, eax
test eax, eax
jle 0x14000632f
mov rdx, qword [0x140101ac0]
mov byte [rbx + rdx + 0x11b12e0], r14b
lea r8, [rdx + 0x11b12e0]
lea rcx, [rdx + 0x11b0a44]
lea rdx, [0x140040ec8]
call fcn.140001180
mov rdi, qword [0x140101ac0]
mov edx, r14d
or dword [rdi + 0x11b0b44], 0x10
mov rcx, qword [rdi + 0x1a36720]
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x1400061fb
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x1400061f5
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x1400061d4
lea r10, [rdi + 0x11b12e7]
mov r11, r14
nop word [rax + rax]
mov r8d, r14d
mov r9d, r14d
mov rdx, r14
nop dword [rax]
movzx ecx, byte [r10 + rdx]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140006239
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140006244
cmp cl, 0x2d
jne 0x14000624f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140006220
jmp 0x140006257
cmp cl, 0x2c
jne 0x140006257
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 0x14000627f
sub cl, 0x2c
cmp cl, 1
ja 0x14000628b
inc r11
cmp r11, 0x1000
jl 0x140006210
lea rdx, [rbp + 4]
mov r8d, 3
lea rcx, [rdi + 0xc009c0]
nop dword [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 0x1400062a0
jmp 0x1400076a1
mov r11, qword [0x140101ac0]
mov ecx, dword [r11 + 0x11b0b44]
bt ecx, 0x1e
jae 0x140006582
mov eax, ecx
btr eax, 0x1e
mov dword [r11 + 0x11b0b44], eax
bt ecx, 0x1e
jae 0x140006582
lea rdx, [rbp + 4]
mov r9d, 3
lea r8, [r11 + 0xc008a8]
nop
movsd xmm0, qword [r8 - 8]
lea rdx, [rdx + 0x10]
mulsd xmm0, xmm7
lea r8, [r8 + 0x20]
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x20]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0x14], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x18]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0x10], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x10]
sub ecx, eax
mulsd xmm0, xmm7
mov dword [rdx - 0xc], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
sub ecx, eax
mov dword [rdx - 8], ecx
sub r9, 1
jne 0x140006370
mov eax, dword [rbp + 0x2c]
lea rcx, [r11 + 0x18cb2e0]
mov r9d, dword [rbp]
lea rdx, str.EEAMPWR_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_r
mov dword [rsp + 0xc8], eax
mov r8d, 0x2c
mov eax, dword [rbp + 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.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140006516
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140006516
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400064f0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x44]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
movups xmm0, xmmword [r11 + 0xc008a0]
movups xmm1, xmmword [r11 + 0xc008b0]
movups xmmword [r11 + 0xc00900], xmm0
movups xmm0, xmmword [r11 + 0xc008c0]
movups xmmword [r11 + 0xc00910], xmm1
movups xmm1, xmmword [r11 + 0xc008d0]
movups xmmword [r11 + 0xc00920], xmm0
movups xmm0, xmmword [r11 + 0xc008e0]
movups xmmword [r11 + 0xc00930], xmm1
movups xmm1, xmmword [r11 + 0xc008f0]
movups xmmword [r11 + 0xc00940], xmm0
movups xmmword [r11 + 0xc00950], xmm1
mov eax, dword [r11 + 0x11b0b44]
test eax, eax
jns 0x1400067c6
btr eax, 0x1f
lea rcx, [r11 + 0x18cb2e0]
lea rdx, str.EEAMPRD_r
mov dword [r11 + 0x11b0b44], eax
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140006606
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140006606
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400065e0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x40]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
mov r8d, 0x3e8
call fcn.14000f520
movsxd rbx, eax
test eax, eax
jle 0x1400067bf
mov rdx, qword [0x140101ac0]
mov byte [rbx + rdx + 0x11b12e0], r14b
lea r8, [rdx + 0x11b12e0]
lea rcx, [rdx + 0x11b0a44]
lea rdx, [0x140040ec8]
call fcn.140001180
mov rdi, qword [0x140101ac0]
mov edx, r14d
or dword [rdi + 0x11b0b44], 0x10
mov rcx, qword [rdi + 0x1a36720]
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x14000668b
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140006685
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140006664
lea r10, [rdi + 0x11b12e8]
mov r11, r14
nop word [rax + rax]
mov r8d, r14d
mov r9d, r14d
mov rdx, r14
nop dword [rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400066c9
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x1400066d4
cmp cl, 0x2d
jne 0x1400066df
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x1400066b0
jmp 0x1400066e7
cmp cl, 0x2c
jne 0x1400066e7
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 0x14000670f
sub cl, 0x2c
cmp cl, 1
ja 0x14000671b
inc r11
cmp r11, 0x1000
jl 0x1400066a0
lea rdx, [rbp + 4]
mov r8d, 3
lea rcx, [rdi + 0xc00900]
nop dword [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 0x140006730
jmp 0x1400076a1
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b48]
test al, 0x10
je 0x140006852
and eax, 0xffffffef
lea rcx, [r11 + 0x18cb2e0]
lea rdx, str.EEENWR_0_1_1_r
mov dword [r11 + 0x11b0b48], eax
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140006846
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140006846
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140006820
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x3c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0x18
jae 0x140006a16
btr eax, 0x18
mov dword [r11 + 0x11b0b44], eax
mov eax, dword [r11 + 0x1a3671c]
cmp eax, 0xe100
jg 0x1400068b0
je 0x1400068a8
cmp eax, 0x2580
je 0x1400068a3
cmp eax, 0x4b00
je 0x14000689b
cmp eax, 0x9600
jne 0x1400068c5
mov r8d, 2
jmp 0x1400068e3
mov r8d, 1
jmp 0x1400068e3
mov r8d, r14d
jmp 0x1400068e3
mov r8d, 3
jmp 0x1400068e3
cmp eax, 0x1c200
je 0x1400068dd
cmp eax, 0x38400
je 0x1400068d5
cmp eax, 0x70800
je 0x1400068cd
mov r8d, 7
jmp 0x1400068e3
mov r8d, 6
jmp 0x1400068e3
mov r8d, 5
jmp 0x1400068e3
mov r8d, 4
lea rcx, [r11 + 0x18cb2e0]
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.H_0__d_0_c_c
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140006956
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140006956
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140006930
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x38]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
mov r8d, 0x1f4
call fcn.14000f520
movsxd r8, eax
test eax, eax
jle 0x1400069ed
mov r10, qword [0x140101ac0]
mov edx, r14d
mov rcx, qword [r10 + 0x1a36720]
mov r9d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x1400069ac
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x1400069a5
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, r8d
jl 0x140006984
mov byte [r8 + r10 + 0x11b12e0], r14b
lea rcx, [r10 + 0x11b0a44]
lea r8, [r10 + 0x11b12e0]
lea rdx, [0x140040ec8]
call fcn.140001180
mov r11, qword [0x140101ac0]
or dword [r11 + 0x11b0b44], 0x10
mov eax, dword [r11 + 0x1a3671c]
mov dword [r11 + 0x1a36718], eax
jmp 0x140006a16
mov rcx, qword [0x140101ac0]
lea rdx, [0x140040ef0]
add rcx, 0x11b0a44
call fcn.140001180
mov r11, qword [0x140101ac0]
or dword [r11 + 0x11b0b44], 0x10
mov eax, dword [r11 + 0x11b0b48]
bt eax, 0xa
jae 0x140006a3a
btr eax, 0xa
mov dword [r11 + 0x11b0b48], eax
call fcn.140010eb0
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0x19
jae 0x140006af1
mov r9d, 0xa
lea rcx, [r11 + 0x18cb2e0]
btr eax, 0x19
lea rdx, str.V_0_0_0_c_c
mov dword [r11 + 0x11b0b44], eax
lea r8d, [r9 + 3]
call fcn.140001180
mov rdi, qword [0x140101ac0]
mov rbx, 0xffffffffffffffff
lea rdx, [rdi + 0x18cb2e0]
nop dword [rax + rax]
inc rbx
cmp byte [rdx + rbx], r14b
jne 0x140006a90
cmp dword [rdi + 0x18cc310], 1
jne 0x140006acf
mov rdi, qword [rdi + 0x1a36720]
cmp dword [rdi + 8], 1
je 0x140006acf
mov rcx, qword [rdi + 0xe00028]
lea r9, [rbp - 0x34]
mov r8d, ebx
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rdi + 0xe00020], r14d
call fcn.140010d00
mov rdx, qword [0x140101ac0]
mov r8d, ebx
add rdx, 0x11b12e0
call fcn.14000d350
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0x11
jae 0x140006bf4
btr eax, 0x11
mov dword [rsp + 0x48], 0xa
mov dword [r11 + 0x11b0b44], eax
lea rcx, [r11 + 0x18cb2e0]
mov edx, dword [r11 + 0x1a3668c]
movsd xmm0, qword [r11 + 0x90]
mov r9d, dword [r11 + 0x18cc334]
mov r8d, dword [r11 + 0x1a3674c]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], edx
movsd qword [r11 + 0x88], xmm0
mulsd xmm0, xmm8
mov dword [r11 + 0x1a36688], edx
lea rdx, str.S_0_1_1_1_12__d__d__d__d__d__d_0_c_c
cvttsd2si eax, xmm0
mov dword [rsp + 0x30], eax
mov eax, dword [r11 + 0x18cc3c0]
mov dword [rsp + 0x28], eax
mov eax, dword [r11 + 0x1a36754]
mov dword [rsp + 0x20], eax
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140006bd6
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140006bd6
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140006bb0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
test eax, eax
jne 0x140006bf4
mov eax, dword [r11 + 0x1a36748]
mov dword [r11 + 0x1a36744], eax
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0x12
jae 0x140006c91
btr eax, 0x12
mov dword [r11 + 0x11b0b44], eax
call fcn.14000cc40
test eax, eax
jne 0x140006c68
mov rax, qword [0x140101ac0]
lea rdx, [0x140041028]
lea rcx, [rbp + 0x100]
cmp dword [rax + 0x18cc3c0], 1
cmovne rdx, rsi
call fcn.140001180
mov rcx, qword [0x140101ac0]
lea r9, [rbp + 0x100]
lea rdx, str._s__RAW_data_support___s
lea r8, [rcx + 0x11b12e0]
add rcx, 0x11b0a44
call fcn.140001180
jmp 0x140006c82
mov rcx, qword [0x140101ac0]
lea rdx, [0x140040ef0]
add rcx, 0x11b0a44
call fcn.140001180
mov r11, qword [0x140101ac0]
or dword [r11 + 0x11b0b44], 0x10
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0x13
jae 0x140006d27
mov r9d, 0xa
lea rcx, [r11 + 0x18cb2e0]
btr eax, 0x13
lea rdx, str.S_0_3_c_c
mov dword [r11 + 0x11b0b44], eax
lea r8d, [r9 + 3]
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140006d1b
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140006d1b
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140006cf5
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x2c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b48]
bt eax, 0xb
jae 0x140006dc2
mov r9d, 0xa
lea rcx, [r11 + 0x18cb2e0]
btr eax, 0xb
lea rdx, str.TEMP_c_c
mov dword [r11 + 0x11b0b48], eax
lea r8d, [r9 + 3]
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140006db6
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140006db6
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140006d90
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x28]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0x17
jae 0x140006de6
btr eax, 0x17
mov dword [r11 + 0x11b0b44], eax
call fcn.14000d160
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b44]
bt eax, 0x16
jae 0x140006f8a
btr eax, 0x16
mov dword [rsp + 0x20], 0xa
mov dword [r11 + 0x11b0b44], eax
lea rcx, [r11 + 0x18cb2e0]
mov r8d, dword [r11 + 0x18cc3d4]
lea rdx, str.DELSAMPLE_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140006e7b
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140006e7b
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140006e55
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x24]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
test eax, eax
jne 0x140006f83
mov rcx, qword [0x140101ac0]
mov edx, r14d
add rcx, 0x11b12e0
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0x2c
ja 0x140006ead
bt r15, rax
jb 0x140006eba
inc rcx
inc edx
cmp edx, 0x100
jl 0x140006ea0
lea rdx, [rbp]
mov r8d, r14d
lea rbx, [rcx + 1]
movzx ecx, byte [rbx]
cmp cl, 0x2c
ja 0x140006ed3
bt r15, rcx
jb 0x140006ee9
mov byte [rdx], cl
inc rbx
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x140006ec5
jmp 0x140006eec
mov byte [rdx], r14b
lea rcx, [rbp]
call fcn.14002040c
lea rdx, [rbp]
inc rbx
mov r8d, r14d
nop
movzx ecx, byte [rbx]
cmp cl, 0x2c
ja 0x140006f0e
bt r15, rcx
jb 0x140006f24
mov byte [rdx], cl
inc rbx
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x140006f00
jmp 0x140006f27
mov byte [rdx], r14b
lea rcx, [rbp]
call fcn.14002040c
lea rax, [rbp + 0x108]
mov r8d, r14d
sub rbx, rax
lea rdx, [rbp + 0x108]
movzx ecx, byte [rbx + rdx + 1]
cmp cl, 0x2c
ja 0x140006f54
bt r15, rcx
jb 0x140006f67
mov byte [rdx], cl
inc r8d
inc rdx
cmp r8d, 0x100
jl 0x140006f44
jmp 0x140006f6a
mov byte [rdx], r14b
lea rcx, [rbp + 0x108]
call fcn.14002040c
mov r11, qword [0x140101ac0]
mov dword [r11 + 0x6c], eax
jmp 0x140006f8a
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b48]
bt eax, 0xc
jae 0x140007062
btr eax, 0xc
mov dword [rsp + 0x48], 0xa
mov dword [r11 + 0x11b0b48], eax
lea rcx, [r11 + 0x18cb2e0]
mov eax, dword [r11 + 0x11b0a3c]
lea rdx, str.LRA_0_1__d__d__d__d__d__d_c_c
mov r9d, dword [r11 + 0x11b0a2c]
mov r8d, dword [r11 + 0x11b0a28]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], eax
mov eax, dword [r11 + 0x11b0a38]
mov dword [rsp + 0x30], eax
mov eax, dword [r11 + 0x11b0a34]
mov dword [rsp + 0x28], eax
mov eax, dword [r11 + 0x11b0a30]
mov dword [rsp + 0x20], eax
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140007056
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140007056
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140007030
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x20]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b48]
bt eax, 0xd
jae 0x1400070f8
mov r9d, 0xa
lea rcx, [r11 + 0x18cb2e0]
btr eax, 0xd
lea rdx, str.LRA_0_0_c_c
mov dword [r11 + 0x11b0b48], eax
lea r8d, [r9 + 3]
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x1400070ec
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x1400070ec
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400070c6
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x1c]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b48]
bt eax, 0xe
jae 0x140007192
mov r9d, 0xa
lea rcx, [r11 + 0x18cb2e0]
btr eax, 0xe
lea rdx, str.LRA_0_1_0_0_0_0_0_0_c_c
mov dword [r11 + 0x11b0b48], eax
lea r8d, [r9 + 3]
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140007186
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140007186
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140007160
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b48]
bt eax, 0xf
jae 0x140007233
btr eax, 0xf
mov dword [rsp + 0x20], 0xa
mov dword [r11 + 0x11b0b48], eax
lea rcx, [r11 + 0x18cb2e0]
mov r8d, dword [r11 + 0x11b0a40]
lea rdx, str.STC_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x140007227
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x140007227
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140007201
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x14]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
mov eax, dword [r11 + 0x11b0b48]
bt eax, 0x10
jae 0x1400072c9
mov r9d, 0xa
lea rcx, [r11 + 0x18cb2e0]
btr eax, 0x10
lea rdx, str.STC_0_0_c_c
mov dword [r11 + 0x11b0b48], eax
lea r8d, [r9 + 3]
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x1400072bd
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x1400072bd
add rdx, 0x18cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140007297
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x10]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140010d00
mov r11, qword [0x140101ac0]
test dword [r11 + 0x11b0b48], 0x20000
je 0x1400072e6
call fcn.14000d400
and dword [r11 + 0x11b0b48], 0xfffdffff
lea rcx, [r11 + 0x11b12e0]
xor edx, edx
mov r8d, 0x700000
call fcn.140019d10
xor r8d, r8d
call fcn.14000f520
movsxd rsi, eax
cmp esi, 1
jle 0x14000769a
mov rcx, qword [0x140101ac0]
test dword [rcx + 0x11b0b44], 0x400
jne 0x140007648
cmp dword [rcx + 0x1a366e4], 1
je 0x14000762d
lea rax, [rcx + 0x11b12e0]
mov edx, esi
lea r8, [rbp - 0x80]
mov qword [rbp - 0x80], rax
call fcn.14000bba0
test eax, eax
jne 0x1400073fb
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rdx, qword [0x140101ac0]
mov r9d, eax
sub r9d, dword [rdx + 0x18cc394]
lea rcx, [rdx + 0x11b0a44]
mov dword [rdx + 0x18cc394], eax
or dword [rdx + 0x11b0b44], 4
movd xmm0, dword [rdx + 0x11b0b50]
mov eax, dword [rdx + 0x11b0b5c]
movsd xmm1, qword [rdx + 0x18]
mov r8d, dword [rdx + 0x18cc38c]
mov dword [rsp + 0x48], eax
inc r8d
mov eax, dword [rdx + 0x11b0b54]
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, esi
call fcn.140001180
mov rax, qword [0x140101ac0]
or dword [rax + 0x11b0b44], 0x10
inc dword [rax + 0x18cc38c]
call fcn.14000e9b0
jmp 0x140007687
cmp eax, 0xfffffffe
je 0x14000769a
mov rax, qword [0x140101ac0]
lea r8, [rbp - 0x80]
add rax, 0x11b12e0
mov edx, esi
mov qword [rbp - 0x80], rax
call fcn.14000b9f0
test eax, eax
jne 0x14000749c
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x140101ac0]
mov r9d, esi
mov edx, eax
sub edx, dword [rcx + 0x18cc394]
mov dword [rcx + 0x18cc394], eax
lea rax, [rcx + 0x11b12e0]
or dword [rcx + 0x11b0b44], 4
mov byte [rsi + rcx + 0x11b12e0], r14b
mov r8d, dword [rcx + 0x18cc38c]
add rcx, 0x11b0a44
mov qword [rsp + 0x28], rax
inc r8d
mov dword [rsp + 0x20], edx
lea rdx, str.Read_PPI_No._d__dBytes__dmsec___s
call fcn.140001180
mov rax, qword [0x140101ac0]
or dword [rax + 0x11b0b44], 0x10
inc dword [rax + 0x18cc38c]
call fcn.14000ecb0
jmp 0x140007687
cmp eax, 0xfffffffe
je 0x14000769a
mov rdi, qword [0x140101ac0]
lea r8, [rbp - 0x80]
mov edx, esi
lea rbx, [rdi + 0x11b12e0]
mov qword [rbp - 0x80], rbx
call fcn.14000b800
test eax, eax
jne 0x1400074d2
mov edx, esi
call fcn.1400079e0
jmp 0x140007687
cmp eax, 0xfffffffe
je 0x14000769a
movabs rax, 0x41525f4e49474542
mov r9, rbx
cmp qword [rbx], rax
jne 0x1400075b4
cmp word [rbx + 8], 0x3057
jne 0x1400075b4
add rbx, 0xa
lea rdx, [rdi + 0xa0]
mov r8d, r14d
nop dword [rax + rax]
movzx eax, byte [rbx + 1]
movzx ecx, byte [rbx]
add rbx, 2
shl cx, 8
or cx, ax
mov eax, ebx
sub eax, r9d
mov word [rdx], cx
cmp esi, eax
jl 0x14000769a
cmp qword [rbx], r12
je 0x14000754c
inc r8d
add rdx, 2
cmp r8d, 0x600400
jb 0x140007510
jmp 0x14000769a
add rbx, 8
cmp byte [rbx], 0xd
jne 0x14000755f
cmp byte [rbx + 1], 0xa
jne 0x14000755f
add rbx, 2
mov rcx, qword [rdi + 0x1a36720]
lea eax, [r8 + 1]
sub ebx, r9d
mov dword [rdi + 0x18cc2e0], eax
mov edx, r14d
test ebx, ebx
jle 0x1400075a8
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x1400075a8
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x1400075a2
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140007581
mov edx, esi
call fcn.1400079e0
jmp 0x140007687
mov r8d, esi
mov rdx, rbx
call fcn.14000b5d0
mov rcx, qword [0x140101ac0]
lea rdx, str.Received__d_byte
add rcx, 0x11b0a44
mov r8d, esi
call fcn.140001180
mov rax, qword [0x140101ac0]
mov edx, r14d
or dword [rax + 0x11b0b44], 0x10
mov rcx, qword [rax + 0x1a36720]
mov r8d, dword [rcx + 0xe00018]
nop dword [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x14000769a
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140007625
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, esi
jl 0x140007600
jmp 0x14000769a
mov dword [rcx + 0x1a366e4], r14d
or dword [rcx + 0x11b0b44], 0x400
or dword [rcx + 0x11b0b48], 0x80000
mov rcx, qword [rcx + 0x1a36720]
mov edx, r14d
mov r8d, dword [rcx + 0xe00018]
nop dword [rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140007687
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140007681
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, esi
jl 0x140007660
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x140101ac0]
mov dword [rcx + 0x18cc390], eax
lea rsi, [0x14004102c]
call fcn.140012330
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11, qword [0x140101ac0]
movabs rdi, 0x8000000000000000
mov ebx, InitCommonControls
test dword [r11 + 0x11b0b48], 0x100000
je 0x140004f00
movaps xmm15, xmmword [rsp + 0x3e0]
movaps xmm14, xmmword [rsp + 0x3f0]
movaps xmm13, xmmword [rsp + 0x400]
movaps xmm12, xmmword [rsp + 0x410]
movaps xmm11, xmmword [rsp + 0x420]
movaps xmm10, xmmword [rsp + 0x430]
movaps xmm9, xmmword [rsp + 0x440]
movaps xmm8, xmmword [rsp + 0x450]
movaps xmm7, xmmword [rsp + 0x460]
movaps xmm6, xmmword [rsp + 0x470]
mov r15, qword [rsp + 0x4c8]
mov r13, qword [rsp + 0x4c0]
mov r12, qword [rsp + 0x4b8]
mov eax, dword [r11 + 0x1a36704]
lea rdx, [rbp]
mov r8d, 0x100
mov dword [r11 + 0x1a36700], eax
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.140001180
mov rax, qword [0x140101ac0]
mov r14d, dword [rax + 0x1a38f60]
lea rsi, [rax + 0x1a36760]
test r14d, r14d
jle 0x140007891
lea rbx, [rsi + 4]
cmp dword [rsi], 0
jne 0x1400077d2
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 0x140007809
mov r8, qword [rbx + 0x44]
lea rdx, [0x140040d94]
lea rcx, [rbp]
mov r8d, dword [r8]
call fcn.140001180
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 0x140007840
mov r8, qword [rbx + 0x44]
lea rdx, [0x140041b54]
lea rcx, [rbp]
mov r8d, dword [r8]
call fcn.140001180
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 0x14000787d
mov rax, qword [rbx + 0x44]
lea rdx, [0x140041b58]
lea rcx, [rbp]
movsd xmm2, qword [rax]
movq r8, xmm2
call fcn.140001180
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 0x1400077b2
call fcn.14000f440
mov rax, qword [0x140101ac0]
and dword [rax + 0x11b0b48], 0xffefffff
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140018440
add rsp, 0x480
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret