Function at 0x140006180
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 [0x14004b010]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rbx, rcx
xor edx, edx
mov rcx, qword [0x140103ad0]
mov r8d, 0x1438fa8
call fcn.14001b440
mov rcx, rbx
call fcn.1400092f0
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.140001190
mov rcx, qword [0x140103ad0]
mov esi, dword [rcx + 0x1438fa0]
lea rbx, [rcx + 0x14367a0]
test esi, esi
jle 0x1400062b5
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 0x1400062a0
cmp dword [rbx], 0
jne 0x140006262
mov rcx, qword [rbx + 0x48]
lea rdx, [rbp]
call fcn.140001190
cmp dword [rbx], 1
jne 0x140006276
lea rcx, [rbp]
call fcn.140021b3c
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 2
jne 0x14000628a
lea rcx, [rbp]
call fcn.140021b3c
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 3
jne 0x1400062a0
lea rcx, [rbp]
call fcn.14002513c
mov rax, qword [rbx + 0x48]
movsd qword [rax], xmm0
dec esi
add rbx, 0x50
test esi, esi
jg 0x140006220
mov rcx, qword [0x140103ad0]
mov eax, dword [rcx + 0x1436718]
movsd xmm0, qword [rcx + 0x88]
mov dword [rcx + 0x143671c], eax
mov eax, dword [rcx + 0x1436688]
mov dword [rcx + 0x143668c], eax
mov dword [rcx + 0x1436690], eax
mov eax, dword [rcx + 0x1436700]
unpcklpd xmm0, xmm0
mov dword [rcx + 0x1436704], eax
movups xmmword [rcx + 0x90], xmm0
or dword [rcx + 0xbb0b44], 8
mov dword [0x140103ad8], 1
call fcn.14000eca0
call fcn.140002840
call fcn.140010b70
mov r11, qword [0x140103ad0]
test dword [r11 + 0xbb0b48], 0x100000
jne 0x140008c78
mov qword [rsp + 0x4b8], r12
lea rsi, [0x14004309c]
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 [0x140044fd0]
movabs rdi, 0x8000000000000000
movaps xmmword [rsp + 0x460], xmm7
movabs r15, 0x100100002401
movsd xmm7, qword [0x140045088]
movabs r12, 0x305741525f444e45
movaps xmmword [rsp + 0x450], xmm8
movsd xmm8, qword [0x140045000]
movaps xmmword [rsp + 0x440], xmm9
movsd xmm9, qword [0x140045040]
movaps xmmword [rsp + 0x430], xmm10
movsd xmm10, qword [0x140044eb8]
movaps xmmword [rsp + 0x420], xmm11
movsd xmm11, qword [0x140044f40]
movaps xmmword [rsp + 0x410], xmm12
movsd xmm12, qword [0x140044ed0]
movaps xmmword [rsp + 0x400], xmm13
movsd xmm13, qword [0x140045020]
movaps xmmword [rsp + 0x3f0], xmm14
movsd xmm14, qword [0x140045038]
movaps xmmword [rsp + 0x3e0], xmm15
movsd xmm15, qword [0x140045028]
nop word [rax + rax]
mov eax, dword [r11 + 0xbb0b44]
bt eax, 9
jae 0x1400066ea
btr eax, 9
mov dword [r11 + 0xbb0b44], eax
call fcn.140012300
mov rdx, qword [0x140103ad0]
mov eax, dword [rdx + 0x12cc3b4]
mov dword [rdx + 0x12cc3b8], eax
test eax, eax
jne 0x140006474
call fcn.14000e690
mov rdx, qword [0x140103ad0]
mov r10d, dword [rdx + 0x12cc3b8]
test r10d, r10d
mov ecx, dword [rdx + 0x1436704]
mov eax, dword [rdx + 0x1436700]
cmove r10d, ebx
cmp eax, ecx
je 0x14000649a
mov dword [rdx + 0x1436700], ecx
mov eax, ecx
mov r8d, eax
cmp r10d, 0x10
jne 0x1400064ec
cmp dword [rdx + 0x12cc3dc], 1
jne 0x1400064ec
mov r9d, dword [rdx + 0x14366e8]
mov ecx, eax
cmp r9d, 1
jne 0x1400064c9
cmp dword [rdx + 0x12cc3c8], r9d
jne 0x1400064c9
cmp eax, 0xc
jl 0x1400064df
mov r8d, ecx
test r9d, r9d
jne 0x1400064ec
cmp dword [rdx + 0x12cc3c4], 1
jne 0x1400064ec
cmp ecx, 0xc
jge 0x1400064ec
mov r8d, InitCommonControls
mov dword [rdx + 0x1436700], 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.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400066a6
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400066a6
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140006680
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.14000dff0
call fcn.140002840
call fcn.140010860
mov rdx, qword [0x140103ad0]
mov eax, dword [rdx + 0x14]
mov dword [rdx + 0x14366b0], eax
call fcn.14000eca0
call fcn.1400103c0
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r11, qword [0x140103ad0]
mov dword [r11 + 0x12cc394], eax
mov dword [r11 + 0x14366e4], r14d
test dword [r11 + 0xbb0b44], 0x400
je 0x1400067ec
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r11, qword [0x140103ad0]
mov r8d, eax
mov eax, 0x66666667
mov r9d, dword [r11 + 0x12cc320]
sub r8d, dword [r11 + 0x12cc390]
imul r9d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp r8d, edx
jb 0x14000673c
lea eax, [r9 + r9]
cmp eax, r8d
jae 0x1400067ec
lea rcx, [r11 + 0x12cb2e0]
lea rdx, str.B290_STOP_r
call fcn.140001190
mov rcx, qword [0x140103ad0]
cmp dword [rcx + 0x12cc310], 1
jne 0x1400067ad
mov rbx, qword [rcx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400067ad
lea rdx, [rcx + 0x12cb2e0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140006780
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x78]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x140103ad0]
mov dword [rbx + 0xe00020], r14d
add rcx, 0xbb0a44
lea rdx, str.Sent_:_STOP_script
call fcn.140001190
mov r11, qword [0x140103ad0]
or dword [r11 + 0xbb0b44], 0x10
and dword [r11 + 0xbb0b44], 0xfffffbff
mov dword [r11 + 0x14366e4], 1
mov dword [r11 + 0x143672c], r14d
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0xb
jae 0x140006810
btr eax, 0xb
mov dword [r11 + 0xbb0b44], eax
call fcn.140010b70
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0xc
jae 0x140006834
btr eax, 0xc
mov dword [r11 + 0xbb0b44], eax
call fcn.140010970
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0xd
jae 0x140006938
btr eax, 0xd
mov dword [r11 + 0xbb0b44], eax
call fcn.140012300
mov rcx, qword [0x140103ad0]
cmp dword [rcx + 0x14366ec], 1
jne 0x1400068a3
lea rdx, [rbp]
mov dword [rcx + 0x14366ec], r14d
call fcn.140011270
mov rcx, qword [0x140103ad0]
lea r8, [rbp]
add rcx, 0x12cb2e0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_MAP__s_c_c
call fcn.140001190
jmp 0x1400068c0
mov r9d, 0xa
lea rdx, str.START_MAP_c_c
add rcx, 0x12cb2e0
lea r8d, [r9 + 3]
call fcn.140001190
mov rax, qword [0x140103ad0]
cmp dword [rax + 0x12cc310], 1
jne 0x140006916
mov rbx, qword [rax + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140006916
lea rdx, [rax + 0x12cb2e0]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400068f0
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.140012230
call fcn.14000dff0
call fcn.14000fe40
call fcn.14000eca0
mov r11, qword [0x140103ad0]
mov dword [r11 + 0x14366e4], r14d
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0xe
jae 0x140006a38
btr eax, 0xe
mov dword [r11 + 0xbb0b44], eax
call fcn.140012300
mov rcx, qword [0x140103ad0]
cmp dword [rcx + 0x14366ec], 1
jne 0x1400069a7
lea rdx, [rbp]
mov dword [rcx + 0x14366ec], r14d
call fcn.140011270
mov rcx, qword [0x140103ad0]
lea r8, [rbp]
add rcx, 0x12cb2e0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_PPI__s_c_c
call fcn.140001190
jmp 0x1400069c4
mov r9d, 0xa
lea rdx, str.START_PPI_c_c
add rcx, 0x12cb2e0
lea r8d, [r9 + 3]
call fcn.140001190
mov rax, qword [0x140103ad0]
cmp dword [rax + 0x12cc310], 1
jne 0x140006a16
mov rbx, qword [rax + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140006a16
lea rdx, [rax + 0x12cb2e0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400069f0
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.140012230
call fcn.14000dff0
call fcn.14000eca0
call fcn.1400103c0
mov r11, qword [0x140103ad0]
mov dword [r11 + 0x14366e4], r14d
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0xf
jae 0x140006b6b
btr eax, 0xf
mov dword [r11 + 0xbb0b44], eax
call fcn.140012300
call fcn.14000dff0
mov rcx, qword [0x140103ad0]
cmp dword [rcx + 0x12cc3dc], 1
mov qword [rcx + 0x12cc360], r14
mov qword [rcx + 0x12cc358], r14
mov qword [rcx + 0x12cc368], r14
jne 0x140006a94
call fcn.14000e460
call fcn.140010860
mov rcx, qword [0x140103ad0]
cmp dword [rcx + 0x14366ec], 1
jne 0x140006adb
lea rdx, [rbp]
mov dword [rcx + 0x14366ec], r14d
call fcn.140011270
mov rcx, qword [0x140103ad0]
lea r8, [rbp]
add rcx, 0x12cb2e0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_RAW__s_c_c
call fcn.140001190
jmp 0x140006af8
mov r9d, 0xa
lea rdx, str.START_RAW_c_c
add rcx, 0x12cb2e0
lea r8d, [r9 + 3]
call fcn.140001190
mov rax, qword [0x140103ad0]
cmp dword [rax + 0x12cc310], 1
jne 0x140006b49
mov rbx, qword [rax + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140006b49
lea rdx, [rax + 0x12cb2e0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140006b23
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.140012230
call fcn.14000fe40
call fcn.14000eca0
call fcn.1400103c0
mov r11, qword [0x140103ad0]
mov dword [r11 + 0x14366e4], r14d
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0x10
jae 0x140006c6d
btr eax, 0x10
lea rcx, [r11 + 0x12cb2e0]
lea rdx, str.B290_RDPARAM_r
mov dword [r11 + 0xbb0b44], eax
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x140006beb
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140006beb
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140006bc5
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.140010a50
movsxd rbx, eax
test eax, eax
jle 0x140006c66
mov rdx, qword [0x140103ad0]
mov byte [rbx + rdx + 0xbb12e0], r14b
lea r8, [rdx + 0xbb12e0]
lea rcx, [rdx + 0xbb0a44]
lea rdx, [0x140042f38]
call fcn.140001190
mov rcx, qword [0x140103ad0]
lea r8, [rbp - 0x80]
mov edx, ebx
or dword [rcx + 0xbb0b44], 0x10
add rcx, 0xbb12e0
mov qword [rbp - 0x80], rcx
call fcn.14000d370
mov r11, qword [0x140103ad0]
or dword [r11 + 0xbb0b44], 8
jmp 0x140006c6d
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b48]
test al, 1
je 0x140006d02
mov r9d, 0xa
lea rcx, [r11 + 0x12cb2e0]
and eax, 0xfffffffe
lea rdx, str.K_0_1_c_c
mov dword [r11 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x140006cf6
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140006cf6
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140006cd0
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.140012230
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b48]
test al, 2
je 0x1400070ec
mov r9d, 0xa
lea rcx, [r11 + 0x12cb2e0]
and eax, 0xfffffffd
lea rdx, str.K_0_0_c_c
mov dword [r11 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x140006d89
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140006d89
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140006d63
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.140010a50
movsxd rbx, eax
test eax, eax
jle 0x1400070c3
mov rdx, qword [0x140103ad0]
mov byte [rbx + rdx + 0xbb12e0], r14b
lea r8, [rdx + 0xbb12e0]
lea rcx, [rdx + 0xbb0a44]
lea rdx, [0x140042f38]
call fcn.140001190
mov r11, qword [0x140103ad0]
mov edx, r14d
or dword [r11 + 0xbb0b44], 0x10
mov rcx, qword [r11 + 0x1436720]
mov r8d, dword [rcx + 0xe00018]
nop dword [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140006e17
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140006e11
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140006df0
xorps xmm0, xmm0
lea r10, [r11 + 0xbb12e6]
movups xmmword [rbp], xmm0
mov rbx, r14
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
nop dword [rax]
nop dword [rax + rax]
mov r8d, r14d
mov r9d, r14d
mov rdx, r14
nop dword [rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140006e69
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140006e74
cmp cl, 0x2d
jne 0x140006e7f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140006e50
jmp 0x140006e87
cmp cl, 0x2c
jne 0x140006e87
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 0x140006eae
sub cl, 0x2c
cmp cl, 1
ja 0x140006eba
inc rbx
cmp rbx, 0x1000
jl 0x140006e40
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 + 0x12cc330], eax
mov eax, dword [rbp + 0x1c]
mov dword [r11 + 0x12cc328], eax
mov eax, dword [rbp + 0x20]
divsd xmm0, xmm8
mov dword [r11 + 0x12cc324], eax
mov eax, dword [rbp + 0x28]
mov dword [r11 + 0x12cc320], 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 + 0x14366a0], xmm1
cvtdq2pd xmm0, xmm0
movsd qword [r11 + 0x78], xmm0
cmp eax, 0x128e0
jl 0x1400070b9
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 + 0x143678c], 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 + 0x12cc348], 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 0x140006ff2
subsd xmm2, xmm9
comisd xmm2, xmm9
jae 0x140006ff2
mov rax, rdi
cvttsd2si rcx, xmm2
xorps xmm0, xmm0
add rcx, rax
js 0x140007006
cvtsi2sd xmm0, rcx
jmp 0x14000701b
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.0x14000705c.32
cdqe
movzx eax, byte [rax + r13 + 0x8e18]
mov ecx, dword [r13 + rax*4 + 0x8df4]
add rcx, r13
jmp rcx
movsd xmm0, qword [0x140044f30]
jmp 0x1400070ac
movsd xmm0, qword [0x140044f38]
jmp 0x1400070ac
movsd xmm0, qword [0x140044f60]
jmp 0x1400070ac
movsd xmm0, qword [0x140044f68]
jmp 0x1400070ac
movsd xmm0, qword [0x140044f80]
jmp 0x1400070ac
movsd xmm0, qword [0x140044f90]
jmp 0x1400070ac
movsd xmm0, qword [0x140044f98]
jmp 0x1400070ac
movsd xmm0, qword [0x140044fb0]
maxsd xmm0, xmm1
movaps xmm1, xmm0
movsd qword [r11 + 8], xmm1
or dword [r11 + 0xbb0b44], 8
jmp 0x1400070ec
mov rcx, qword [0x140103ad0]
lea rdx, [0x140042f60]
add rcx, 0xbb0a44
call fcn.140001190
mov r11, qword [0x140103ad0]
or dword [r11 + 0xbb0b44], 0x10
mov eax, dword [r11 + 0xbb0b48]
test al, 4
je 0x140007182
mov r9d, 0xa
lea rcx, [r11 + 0x12cb2e0]
and eax, 0xfffffffb
lea rdx, str.K_0_3_c_c
mov dword [r11 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x140007176
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140007176
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140007150
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.140012230
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b48]
test al, 8
je 0x140007215
mov r9d, 0xa
lea rcx, [r11 + 0x12cb2e0]
and eax, 0xfffffff7
lea rdx, str.K_0_4_c_c
mov dword [r11 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x140007209
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140007209
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400071e3
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.140012230
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b48]
test al, al
jns 0x1400072c2
btr eax, 7
mov dword [rsp + 0x20], 0xa
mov r8d, r14d
mov dword [r11 + 0xbb0b48], eax
cmp dword [r11 + 0x14366e8], 1
lea rcx, [r11 + 0x12cb2e0]
mov r9d, InitCommonControls
lea rdx, str.ATST__d_c_c
sete r8b
add r8d, 3
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400072b6
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400072b6
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140007290
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.140012230
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b48]
bt eax, 8
jae 0x140007358
mov r9d, 0xa
lea rcx, [r11 + 0x12cb2e0]
btr eax, 8
lea rdx, str.ATST_0_c_c
mov dword [r11 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x14000734c
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x14000734c
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140007326
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.140012230
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0x1b
jae 0x1400073d6
xorps xmm0, xmm0
xorps xmm1, xmm1
btr eax, 0x1b
mov dword [r11 + 0xbb0b44], eax
movups xmmword [r11 + 0x600960], xmm0
movups xmmword [r11 + 0x600970], xmm0
movups xmmword [r11 + 0x600980], xmm0
movups xmmword [r11 + 0x600990], xmm0
movups xmmword [r11 + 0x6009a0], xmm0
movups xmmword [r11 + 0x6009b0], xmm0
movups xmmword [r11 + 0x6008a0], xmm1
movups xmmword [r11 + 0x6008b0], xmm1
movups xmmword [r11 + 0x6008c0], xmm1
movups xmmword [r11 + 0x6008d0], xmm1
movups xmmword [r11 + 0x6008e0], xmm1
movups xmmword [r11 + 0x6008f0], xmm1
mov ecx, dword [r11 + 0xbb0b44]
bt ecx, 0x1c
jae 0x140007622
mov eax, ecx
btr eax, 0x1c
mov dword [r11 + 0xbb0b44], eax
bt ecx, 0x1c
jae 0x140007622
lea rdx, [rbp + 4]
mov r9d, 3
lea r8, [r11 + 0x600968]
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 0x140007410
mov eax, dword [rbp + 0x2c]
lea rcx, [r11 + 0x12cb2e0]
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.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400075b6
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400075b6
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140007590
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.140012230
mov r11, qword [0x140103ad0]
movups xmm0, xmmword [r11 + 0x600960]
movups xmm1, xmmword [r11 + 0x600970]
movups xmmword [r11 + 0x6009c0], xmm0
movups xmm0, xmmword [r11 + 0x600980]
movups xmmword [r11 + 0x6009d0], xmm1
movups xmm1, xmmword [r11 + 0x600990]
movups xmmword [r11 + 0x6009e0], xmm0
movups xmm0, xmmword [r11 + 0x6009a0]
movups xmmword [r11 + 0x6009f0], xmm1
movups xmm1, xmmword [r11 + 0x6009b0]
movups xmmword [r11 + 0x600a00], xmm0
movups xmmword [r11 + 0x600a10], xmm1
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0x1d
jae 0x140007866
btr eax, 0x1d
lea rcx, [r11 + 0x12cb2e0]
lea rdx, str.EEPHRD_r
mov dword [r11 + 0xbb0b44], eax
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400076a6
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400076a6
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140007680
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.140010a50
movsxd rbx, eax
test eax, eax
jle 0x14000785f
mov rdx, qword [0x140103ad0]
mov byte [rbx + rdx + 0xbb12e0], r14b
lea r8, [rdx + 0xbb12e0]
lea rcx, [rdx + 0xbb0a44]
lea rdx, [0x140042f38]
call fcn.140001190
mov rdi, qword [0x140103ad0]
mov edx, r14d
or dword [rdi + 0xbb0b44], 0x10
mov rcx, qword [rdi + 0x1436720]
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x14000772b
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140007725
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140007704
lea r10, [rdi + 0xbb12e7]
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 0x140007769
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140007774
cmp cl, 0x2d
jne 0x14000777f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140007750
jmp 0x140007787
cmp cl, 0x2c
jne 0x140007787
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 0x1400077af
sub cl, 0x2c
cmp cl, 1
ja 0x1400077bb
inc r11
cmp r11, 0x1000
jl 0x140007740
lea rdx, [rbp + 4]
mov r8d, 3
lea rcx, [rdi + 0x6009c0]
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 0x1400077d0
jmp 0x140008bd1
mov r11, qword [0x140103ad0]
mov ecx, dword [r11 + 0xbb0b44]
bt ecx, 0x1e
jae 0x140007ab2
mov eax, ecx
btr eax, 0x1e
mov dword [r11 + 0xbb0b44], eax
bt ecx, 0x1e
jae 0x140007ab2
lea rdx, [rbp + 4]
mov r9d, 3
lea r8, [r11 + 0x6008a8]
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 0x1400078a0
mov eax, dword [rbp + 0x2c]
lea rcx, [r11 + 0x12cb2e0]
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.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x140007a46
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140007a46
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140007a20
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.140012230
mov r11, qword [0x140103ad0]
movups xmm0, xmmword [r11 + 0x6008a0]
movups xmm1, xmmword [r11 + 0x6008b0]
movups xmmword [r11 + 0x600900], xmm0
movups xmm0, xmmword [r11 + 0x6008c0]
movups xmmword [r11 + 0x600910], xmm1
movups xmm1, xmmword [r11 + 0x6008d0]
movups xmmword [r11 + 0x600920], xmm0
movups xmm0, xmmword [r11 + 0x6008e0]
movups xmmword [r11 + 0x600930], xmm1
movups xmm1, xmmword [r11 + 0x6008f0]
movups xmmword [r11 + 0x600940], xmm0
movups xmmword [r11 + 0x600950], xmm1
mov eax, dword [r11 + 0xbb0b44]
test eax, eax
jns 0x140007cf6
btr eax, 0x1f
lea rcx, [r11 + 0x12cb2e0]
lea rdx, str.EEAMPRD_r
mov dword [r11 + 0xbb0b44], eax
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x140007b36
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140007b36
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140007b10
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.140010a50
movsxd rbx, eax
test eax, eax
jle 0x140007cef
mov rdx, qword [0x140103ad0]
mov byte [rbx + rdx + 0xbb12e0], r14b
lea r8, [rdx + 0xbb12e0]
lea rcx, [rdx + 0xbb0a44]
lea rdx, [0x140042f38]
call fcn.140001190
mov rdi, qword [0x140103ad0]
mov edx, r14d
or dword [rdi + 0xbb0b44], 0x10
mov rcx, qword [rdi + 0x1436720]
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140007bbb
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140007bb5
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140007b94
lea r10, [rdi + 0xbb12e8]
mov r11, r14
nop word [rax + rax]
mov r8d, r14d
mov r9d, r14d
mov rdx, r14
nop dword [rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140007bf9
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140007c04
cmp cl, 0x2d
jne 0x140007c0f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140007be0
jmp 0x140007c17
cmp cl, 0x2c
jne 0x140007c17
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 0x140007c3f
sub cl, 0x2c
cmp cl, 1
ja 0x140007c4b
inc r11
cmp r11, 0x1000
jl 0x140007bd0
lea rdx, [rbp + 4]
mov r8d, 3
lea rcx, [rdi + 0x600900]
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 0x140007c60
jmp 0x140008bd1
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b48]
test al, 0x10
je 0x140007d82
and eax, 0xffffffef
lea rcx, [r11 + 0x12cb2e0]
lea rdx, str.EEENWR_0_1_1_r
mov dword [r11 + 0xbb0b48], eax
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x140007d76
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140007d76
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140007d50
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.140012230
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0x18
jae 0x140007f46
btr eax, 0x18
mov dword [r11 + 0xbb0b44], eax
mov eax, dword [r11 + 0x143671c]
cmp eax, 0xe100
jg 0x140007de0
je 0x140007dd8
cmp eax, 0x2580
je 0x140007dd3
cmp eax, 0x4b00
je 0x140007dcb
cmp eax, 0x9600
jne 0x140007df5
mov r8d, 2
jmp 0x140007e13
mov r8d, 1
jmp 0x140007e13
mov r8d, r14d
jmp 0x140007e13
mov r8d, 3
jmp 0x140007e13
cmp eax, 0x1c200
je 0x140007e0d
cmp eax, 0x38400
je 0x140007e05
cmp eax, 0x70800
je 0x140007dfd
mov r8d, 7
jmp 0x140007e13
mov r8d, 6
jmp 0x140007e13
mov r8d, 5
jmp 0x140007e13
mov r8d, 4
lea rcx, [r11 + 0x12cb2e0]
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.H_0__d_0_c_c
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x140007e86
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140007e86
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140007e60
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.140010a50
movsxd r8, eax
test eax, eax
jle 0x140007f1d
mov r10, qword [0x140103ad0]
mov edx, r14d
mov rcx, qword [r10 + 0x1436720]
mov r9d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x140007edc
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140007ed5
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, r8d
jl 0x140007eb4
mov byte [r8 + r10 + 0xbb12e0], r14b
lea rcx, [r10 + 0xbb0a44]
lea r8, [r10 + 0xbb12e0]
lea rdx, [0x140042f38]
call fcn.140001190
mov r11, qword [0x140103ad0]
or dword [r11 + 0xbb0b44], 0x10
mov eax, dword [r11 + 0x143671c]
mov dword [r11 + 0x1436718], eax
jmp 0x140007f46
mov rcx, qword [0x140103ad0]
lea rdx, [0x140042f60]
add rcx, 0xbb0a44
call fcn.140001190
mov r11, qword [0x140103ad0]
or dword [r11 + 0xbb0b44], 0x10
mov eax, dword [r11 + 0xbb0b48]
bt eax, 0xa
jae 0x140007f6a
btr eax, 0xa
mov dword [r11 + 0xbb0b48], eax
call fcn.1400123e0
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0x19
jae 0x140008021
mov r9d, 0xa
lea rcx, [r11 + 0x12cb2e0]
btr eax, 0x19
lea rdx, str.V_0_0_0_c_c
mov dword [r11 + 0xbb0b44], eax
lea r8d, [r9 + 3]
call fcn.140001190
mov rdi, qword [0x140103ad0]
mov rbx, 0xffffffffffffffff
lea rdx, [rdi + 0x12cb2e0]
nop dword [rax + rax]
inc rbx
cmp byte [rdx + rbx], r14b
jne 0x140007fc0
cmp dword [rdi + 0x12cc310], 1
jne 0x140007fff
mov rdi, qword [rdi + 0x1436720]
cmp dword [rdi + 8], 1
je 0x140007fff
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.140012230
mov rdx, qword [0x140103ad0]
mov r8d, ebx
add rdx, 0xbb12e0
call fcn.14000e880
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0x11
jae 0x140008124
btr eax, 0x11
mov dword [rsp + 0x48], 0xa
mov dword [r11 + 0xbb0b44], eax
lea rcx, [r11 + 0x12cb2e0]
mov edx, dword [r11 + 0x143668c]
movsd xmm0, qword [r11 + 0x90]
mov r9d, dword [r11 + 0x12cc334]
mov r8d, dword [r11 + 0x143678c]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], edx
movsd qword [r11 + 0x88], xmm0
mulsd xmm0, xmm8
mov dword [r11 + 0x1436688], 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 + 0x12cc3c0]
mov dword [rsp + 0x28], eax
mov eax, dword [r11 + 0x1436794]
mov dword [rsp + 0x20], eax
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x140008106
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140008106
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400080e0
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.140012230
mov r11, qword [0x140103ad0]
test eax, eax
jne 0x140008124
mov eax, dword [r11 + 0x1436788]
mov dword [r11 + 0x1436784], eax
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0x12
jae 0x1400081c1
btr eax, 0x12
mov dword [r11 + 0xbb0b44], eax
call fcn.14000e170
test eax, eax
jne 0x140008198
mov rax, qword [0x140103ad0]
lea rdx, [0x140043098]
lea rcx, [rbp + 0x100]
cmp dword [rax + 0x12cc3c0], 1
cmovne rdx, rsi
call fcn.140001190
mov rcx, qword [0x140103ad0]
lea r9, [rbp + 0x100]
lea rdx, str._s__RAW_data_support___s
lea r8, [rcx + 0xbb12e0]
add rcx, 0xbb0a44
call fcn.140001190
jmp 0x1400081b2
mov rcx, qword [0x140103ad0]
lea rdx, [0x140042f60]
add rcx, 0xbb0a44
call fcn.140001190
mov r11, qword [0x140103ad0]
or dword [r11 + 0xbb0b44], 0x10
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0x13
jae 0x140008257
mov r9d, 0xa
lea rcx, [r11 + 0x12cb2e0]
btr eax, 0x13
lea rdx, str.S_0_3_c_c
mov dword [r11 + 0xbb0b44], eax
lea r8d, [r9 + 3]
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x14000824b
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x14000824b
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140008225
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.140012230
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b48]
bt eax, 0xb
jae 0x1400082f2
mov r9d, 0xa
lea rcx, [r11 + 0x12cb2e0]
btr eax, 0xb
lea rdx, str.TEMP_c_c
mov dword [r11 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400082e6
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400082e6
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400082c0
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.140012230
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0x17
jae 0x140008316
btr eax, 0x17
mov dword [r11 + 0xbb0b44], eax
call fcn.14000e690
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b44]
bt eax, 0x16
jae 0x1400084ba
btr eax, 0x16
mov dword [rsp + 0x20], 0xa
mov dword [r11 + 0xbb0b44], eax
lea rcx, [r11 + 0x12cb2e0]
mov r8d, dword [r11 + 0x12cc3d4]
lea rdx, str.DELSAMPLE_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400083ab
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400083ab
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140008385
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.140012230
test eax, eax
jne 0x1400084b3
mov rcx, qword [0x140103ad0]
mov edx, r14d
add rcx, 0xbb12e0
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0x2c
ja 0x1400083dd
bt r15, rax
jb 0x1400083ea
inc rcx
inc edx
cmp edx, 0x100
jl 0x1400083d0
lea rdx, [rbp]
mov r8d, r14d
lea rbx, [rcx + 1]
movzx ecx, byte [rbx]
cmp cl, 0x2c
ja 0x140008403
bt r15, rcx
jb 0x140008419
mov byte [rdx], cl
inc rbx
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x1400083f5
jmp 0x14000841c
mov byte [rdx], r14b
lea rcx, [rbp]
call fcn.140021b3c
lea rdx, [rbp]
inc rbx
mov r8d, r14d
nop
movzx ecx, byte [rbx]
cmp cl, 0x2c
ja 0x14000843e
bt r15, rcx
jb 0x140008454
mov byte [rdx], cl
inc rbx
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x140008430
jmp 0x140008457
mov byte [rdx], r14b
lea rcx, [rbp]
call fcn.140021b3c
lea rax, [rbp + 0x108]
mov r8d, r14d
sub rbx, rax
lea rdx, [rbp + 0x108]
movzx ecx, byte [rdx + rbx + 1]
cmp cl, 0x2c
ja 0x140008484
bt r15, rcx
jb 0x140008497
mov byte [rdx], cl
inc r8d
inc rdx
cmp r8d, 0x100
jl 0x140008474
jmp 0x14000849a
mov byte [rdx], r14b
lea rcx, [rbp + 0x108]
call fcn.140021b3c
mov r11, qword [0x140103ad0]
mov dword [r11 + 0x6c], eax
jmp 0x1400084ba
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b48]
bt eax, 0xc
jae 0x140008592
btr eax, 0xc
mov dword [rsp + 0x48], 0xa
mov dword [r11 + 0xbb0b48], eax
lea rcx, [r11 + 0x12cb2e0]
mov eax, dword [r11 + 0xbb0a3c]
lea rdx, str.LRA_0_1__d__d__d__d__d__d_c_c
mov r9d, dword [r11 + 0xbb0a2c]
mov r8d, dword [r11 + 0xbb0a28]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], eax
mov eax, dword [r11 + 0xbb0a38]
mov dword [rsp + 0x30], eax
mov eax, dword [r11 + 0xbb0a34]
mov dword [rsp + 0x28], eax
mov eax, dword [r11 + 0xbb0a30]
mov dword [rsp + 0x20], eax
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x140008586
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140008586
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140008560
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.140012230
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b48]
bt eax, 0xd
jae 0x140008628
mov r9d, 0xa
lea rcx, [r11 + 0x12cb2e0]
btr eax, 0xd
lea rdx, str.LRA_0_0_c_c
mov dword [r11 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x14000861c
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x14000861c
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400085f6
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.140012230
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b48]
bt eax, 0xe
jae 0x1400086c2
mov r9d, 0xa
lea rcx, [r11 + 0x12cb2e0]
btr eax, 0xe
lea rdx, str.LRA_0_1_0_0_0_0_0_0_c_c
mov dword [r11 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400086b6
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400086b6
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140008690
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.140012230
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b48]
bt eax, 0xf
jae 0x140008763
btr eax, 0xf
mov dword [rsp + 0x20], 0xa
mov dword [r11 + 0xbb0b48], eax
lea rcx, [r11 + 0x12cb2e0]
mov r8d, dword [r11 + 0xbb0a40]
lea rdx, str.STC_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x140008757
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x140008757
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140008731
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.140012230
mov r11, qword [0x140103ad0]
mov eax, dword [r11 + 0xbb0b48]
bt eax, 0x10
jae 0x1400087f9
mov r9d, 0xa
lea rcx, [r11 + 0x12cb2e0]
btr eax, 0x10
lea rdx, str.STC_0_0_c_c
mov dword [r11 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.140001190
mov rdx, qword [0x140103ad0]
cmp dword [rdx + 0x12cc310], 1
jne 0x1400087ed
mov rbx, qword [rdx + 0x1436720]
cmp dword [rbx + 8], 1
je 0x1400087ed
add rdx, 0x12cb2e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400087c7
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.140012230
mov r11, qword [0x140103ad0]
test dword [r11 + 0xbb0b48], 0x20000
je 0x140008816
call fcn.14000e930
and dword [r11 + 0xbb0b48], 0xfffdffff
lea rcx, [r11 + 0xbb12e0]
xor edx, edx
mov r8d, 0x700000
call fcn.14001b440
xor r8d, r8d
call fcn.140010a50
movsxd rsi, eax
cmp esi, 1
jle 0x140008bca
mov rcx, qword [0x140103ad0]
test dword [rcx + 0xbb0b44], 0x400
jne 0x140008b78
cmp dword [rcx + 0x14366e4], 1
je 0x140008b5d
lea rax, [rcx + 0xbb12e0]
mov edx, esi
lea r8, [rbp - 0x80]
mov qword [rbp - 0x80], rax
call fcn.14000d0d0
test eax, eax
jne 0x14000892b
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rdx, qword [0x140103ad0]
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, esi
call fcn.140001190
mov rax, qword [0x140103ad0]
or dword [rax + 0xbb0b44], 0x10
inc dword [rax + 0x12cc38c]
call fcn.14000fee0
jmp 0x140008bb7
cmp eax, 0xfffffffe
je 0x140008bca
mov rax, qword [0x140103ad0]
lea r8, [rbp - 0x80]
add rax, 0xbb12e0
mov edx, esi
mov qword [rbp - 0x80], rax
call fcn.14000cf20
test eax, eax
jne 0x1400089cc
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x140103ad0]
mov r9d, esi
mov edx, eax
sub edx, dword [rcx + 0x12cc394]
mov dword [rcx + 0x12cc394], eax
lea rax, [rcx + 0xbb12e0]
or dword [rcx + 0xbb0b44], 4
mov byte [rsi + rcx + 0xbb12e0], r14b
mov r8d, dword [rcx + 0x12cc38c]
add rcx, 0xbb0a44
mov qword [rsp + 0x28], rax
inc r8d
mov dword [rsp + 0x20], edx
lea rdx, str.Read_PPI_No._d__dBytes__dmsec___s
call fcn.140001190
mov rax, qword [0x140103ad0]
or dword [rax + 0xbb0b44], 0x10
inc dword [rax + 0x12cc38c]
call fcn.1400101e0
jmp 0x140008bb7
cmp eax, 0xfffffffe
je 0x140008bca
mov rdi, qword [0x140103ad0]
lea r8, [rbp - 0x80]
mov edx, esi
lea rbx, [rdi + 0xbb12e0]
mov qword [rbp - 0x80], rbx
call fcn.14000cd30
test eax, eax
jne 0x140008a02
mov edx, esi
call fcn.140008f10
jmp 0x140008bb7
cmp eax, 0xfffffffe
je 0x140008bca
movabs rax, 0x41525f4e49474542
mov r9, rbx
cmp qword [rbx], rax
jne 0x140008ae4
cmp word [rbx + 8], 0x3057
jne 0x140008ae4
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 0x140008bca
cmp qword [rbx], r12
je 0x140008a7c
inc r8d
add rdx, 2
cmp r8d, 0x300400
jb 0x140008a40
jmp 0x140008bca
add rbx, 8
cmp byte [rbx], 0xd
jne 0x140008a8f
cmp byte [rbx + 1], 0xa
jne 0x140008a8f
add rbx, 2
mov rcx, qword [rdi + 0x1436720]
lea eax, [r8 + 1]
sub ebx, r9d
mov dword [rdi + 0x12cc2e0], eax
mov edx, r14d
test ebx, ebx
jle 0x140008ad8
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140008ad8
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140008ad2
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140008ab1
mov edx, esi
call fcn.140008f10
jmp 0x140008bb7
mov r8d, esi
mov rdx, rbx
call fcn.14000cb00
mov rcx, qword [0x140103ad0]
lea rdx, str.Received__d_byte
add rcx, 0xbb0a44
mov r8d, esi
call fcn.140001190
mov rax, qword [0x140103ad0]
mov edx, r14d
or dword [rax + 0xbb0b44], 0x10
mov rcx, qword [rax + 0x1436720]
mov r8d, dword [rcx + 0xe00018]
nop dword [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140008bca
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140008b55
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, esi
jl 0x140008b30
jmp 0x140008bca
mov dword [rcx + 0x14366e4], r14d
or dword [rcx + 0xbb0b44], 0x400
or dword [rcx + 0xbb0b48], 0x80000
mov rcx, qword [rcx + 0x1436720]
mov edx, r14d
mov r8d, dword [rcx + 0xe00018]
nop dword [rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140008bb7
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140008bb1
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, esi
jl 0x140008b90
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x140103ad0]
mov dword [rcx + 0x12cc390], eax
lea rsi, [0x14004309c]
call fcn.140013860
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11, qword [0x140103ad0]
movabs rdi, 0x8000000000000000
mov ebx, InitCommonControls
test dword [r11 + 0xbb0b48], 0x100000
je 0x140006430
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 + 0x1436704]
lea rdx, [rbp]
mov r8d, 0x100
mov dword [r11 + 0x1436700], 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.140001190
mov rax, qword [0x140103ad0]
mov r14d, dword [rax + 0x1438fa0]
lea rsi, [rax + 0x14367a0]
test r14d, r14d
jle 0x140008dc1
lea rbx, [rsi + 4]
cmp dword [rsi], 0
jne 0x140008d02
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 0x140008d39
mov r8, qword [rbx + 0x44]
lea rdx, [0x140042dd4]
lea rcx, [rbp]
mov r8d, dword [r8]
call fcn.140001190
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 0x140008d70
mov r8, qword [rbx + 0x44]
lea rdx, [0x140043bc4]
lea rcx, [rbp]
mov r8d, dword [r8]
call fcn.140001190
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 0x140008dad
mov rax, qword [rbx + 0x44]
lea rdx, [0x140043bc8]
lea rcx, [rbp]
movsd xmm2, qword [rax]
movq r8, xmm2
call fcn.140001190
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 0x140008ce2
call fcn.140010970
mov rax, qword [0x140103ad0]
and dword [rax + 0xbb0b48], 0xffefffff
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140019b70
add rsp, 0x480
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret