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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x2b0]
sub rsp, 0x400
mov rax, qword [0x180045010]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r12, rcx
xor edx, edx
mov rcx, qword [0x180047050]
mov r8d, 0x4179808
call fcn.1800169c0
mov rcx, r12
call fcn.180008940
mov r8, qword [0x180047050]
lea r9, str.mr12e.ini
add r8, 0xbb0be0
lea rdx, str._s_s
lea rcx, [rbp + 0x100]
call fcn.180001120
mov rcx, qword [0x180047050]
mov esi, dword [rcx + 0x4179800]
lea rbx, [rcx + 0x4174800]
test esi, esi
jle 0x1800045a5
nop word [rax + rax]
lea rax, [rbp + 0x100]
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 0x180004590
cmp dword [rbx], 0
jne 0x180004552
mov rcx, qword [rbx + 0x48]
lea rdx, [rbp]
call fcn.180001120
cmp dword [rbx], 1
jne 0x180004566
lea rcx, [rbp]
call fcn.18001e600
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 2
jne 0x18000457a
lea rcx, [rbp]
call fcn.18001e600
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 3
jne 0x180004590
lea rcx, [rbp]
call fcn.180021bfc
mov rax, qword [rbx + 0x48]
movsd qword [rax], xmm0
dec esi
add rbx, 0x50
test esi, esi
jg 0x180004510
mov rcx, qword [0x180047050]
mov eax, dword [rcx + 0x4174768]
movsd xmm0, qword [rcx + 0x88]
mov dword [rcx + 0x417476c], eax
mov eax, dword [rcx + 0x4174698]
mov dword [rcx + 0x417469c], eax
mov eax, dword [rcx + 0x417468c]
mov dword [rcx + 0x4174690], eax
mov eax, dword [rcx + 0x4174750]
mov dword [rcx + 0x4174754], eax
mov eax, dword [rcx + 0x5c]
add eax, eax
unpcklpd xmm0, xmm0
cdq
idiv dword [rcx + 0x60]
movups xmmword [rcx + 0x90], xmm0
inc eax
cmp dword [rcx + 0x12ca668], 0
mov dword [rcx + 0x58], eax
jle 0x180004625
call qword [sym.imp.VCOMP140.DLL_omp_get_max_threads]
mov rcx, qword [0x180047050]
mov edx, dword [rcx + 0x12ca668]
cmp edx, eax
jge 0x180004625
mov ecx, edx
call qword [sym.imp.VCOMP140.DLL_omp_set_num_threads]
mov rcx, qword [0x180047050]
or dword [rcx + 0xbb0b44], 8
mov dword [0x180047060], 1
call fcn.18000e5c0
call fcn.1800029c0
mov rcx, qword [0x180047050]
test dword [rcx + 0xbb0b48], 0x80000
jne 0x180007097
mov qword [rsp + 0x438], r13
xor r13d, r13d
mov qword [rsp + 0x440], r14
lea r14, [0x180000000]
mov qword [rsp + 0x448], r15
movaps xmmword [rsp + 0x3f0], xmm6
movsd xmm6, qword [0x18003ef28]
movaps xmmword [rsp + 0x3e0], xmm7
movsd xmm7, qword [0x18003ee90]
movaps xmmword [rsp + 0x3d0], xmm8
movsd xmm8, qword [0x18003eeb8]
movaps xmmword [rsp + 0x3c0], xmm9
movsd xmm9, qword [0x18003eee8]
movaps xmmword [rsp + 0x3b0], xmm10
movsd xmm10, qword [0x18003ed98]
movaps xmmword [rsp + 0x3a0], xmm11
movsd xmm11, qword [0x18003ee18]
movaps xmmword [rsp + 0x390], xmm12
movsd xmm12, qword [0x18003edb0]
movaps xmmword [rsp + 0x380], xmm13
movsd xmm13, qword [0x18003eec8]
movaps xmmword [rsp + 0x370], xmm14
movsd xmm14, qword [0x18003eee0]
movaps xmmword [rsp + 0x360], xmm15
movsd xmm15, qword [0x18003eed0]
nop dword [rax]
cmp dword [rcx + 0x12ca660], 0x134d94d
jge 0x180004743
call fcn.1800071f0
jmp 0x180004748
call fcn.180007b90
mov r15, qword [0x180047050]
test dword [r15 + 0xbb0b44], 0x1000
je 0x180004853
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r15, qword [0x180047050]
mov r8d, eax
mov eax, 0x66666667
mov r9d, dword [r15 + 0x12ca308]
sub r8d, dword [r15 + 0x12ca378]
imul r9d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp r8d, edx
jb 0x1800047a1
lea eax, [r9 + r9]
cmp eax, r8d
jae 0x180004853
lea rcx, [r15 + 0x12c92e0]
lea rdx, str.B290_STOP_r
call fcn.180001120
mov rcx, qword [0x180047050]
cmp dword [rcx + 0x12ca2f8], 1
jne 0x18000480d
mov rbx, qword [rcx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x18000480d
lea rdx, [rcx + 0x12c92e0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r13b
jne 0x1800047e0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x78]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x180047050]
mov dword [rbx + 0xe00020], r13d
add rcx, 0xbb0a44
lea rdx, str.Sent_:_STOP_script
call fcn.180001120
mov r15, qword [0x180047050]
or dword [r15 + 0xbb0b44], 0x10
and dword [r15 + 0xbb0b44], 0xffffefff
mov dword [r15 + 0x41746f4], 1
mov dword [r15 + 0x417477c], r13d
mov dword [r15 + 0x12ca370], r13d
mov eax, dword [r15 + 0xbb0b44]
bt eax, 0xd
jae 0x180004877
btr eax, 0xd
mov dword [r15 + 0xbb0b44], eax
call fcn.1800108e0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b44]
bt eax, 0xe
jae 0x18000489b
btr eax, 0xe
mov dword [r15 + 0xbb0b44], eax
call fcn.180010800
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b44]
bt eax, 0x12
jae 0x180004a51
btr eax, 0x12
lea rcx, [r15 + 0x12c92e0]
lea rdx, str.B290_RDPARAM_r
mov dword [r15 + 0xbb0b44], eax
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x18000491b
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x18000491b
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x1800048f5
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x74]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r15, qword [0x180047050]
cmp dword [r15 + 0x12ca2f8], 1
jne 0x180004a51
mov rbx, qword [r15 + 0x4174770]
cmp dword [rbx + 8], 1
jne 0x180004954
mov byte [r15 + 0xbb12e0], r13b
jmp 0x180004a51
call qword [sym.imp.WINMM.dll_timeGetTime]
mov edi, eax
nop dword [rax]
call qword [sym.imp.WINMM.dll_timeGetTime]
movsxd rdx, dword [rbx + 0xe0001c]
cmp dword [rbx + 0xe00018], edx
jne 0x18000498f
sub eax, edi
cmp eax, 0x1f4
ja 0x180004a4a
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180004960
sub eax, dword [rbx + 0xe00024]
cmp eax, 0x14
jae 0x1800049a7
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180004960
mov edi, r13d
mov r9, r13
mov r8, rdx
movzx eax, byte [rbx + r8 + 0x700018]
lea ecx, [rdx + 1]
mov byte [r15 + r9 + 0xbb12e0], al
lea r9, [r9 + 1]
inc edi
lea rax, [r8 + 1]
cmp ecx, 0x700000
mov edx, r13d
mov r8, r13
cmovb edx, ecx
cmovb r8, rax
cmp edx, dword [rbx + 0xe00018]
jne 0x1800049b0
test edi, edi
jle 0x180004a4a
mov rcx, qword [0x180047050]
lea rdx, [0x18003dbe0]
mov byte [r9 + rcx + 0xbb12e0], r13b
lea r8, [rcx + 0xbb12e0]
add rcx, 0xbb0a44
call fcn.180001120
mov rax, qword [0x180047050]
lea r8, [rbp - 0x80]
mov edx, edi
or dword [rax + 0xbb0b44], 0x10
add rax, 0xbb12e0
mov qword [rbp - 0x80], rax
call fcn.18000cbb0
mov r15, qword [0x180047050]
or dword [r15 + 0xbb0b44], 8
jmp 0x180004a51
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b44]
test eax, eax
jns 0x180004ae5
mov r9d, 0xa
lea rcx, [r15 + 0x12c92e0]
btr eax, 0x1f
lea rdx, str.K_0_1_c_c
mov dword [r15 + 0xbb0b44], eax
lea r8d, [r9 + 3]
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x180004ad9
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x180004ad9
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x180004ab3
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x70]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b48]
test al, 1
je 0x180004fb1
mov r9d, 0xa
lea rcx, [r15 + 0x12c92e0]
and eax, 0xfffffffe
lea rdx, str.K_0_0_c_c
mov dword [r15 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.180001120
mov rsi, qword [0x180047050]
cmp dword [rsi + 0x12ca2f8], 1
jne 0x180004f8f
mov rbx, qword [rsi + 0x4174770]
cmp dword [rbx + 8], 1
je 0x180004b7d
lea rdx, [rsi + 0x12c92e0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r13b
jne 0x180004b50
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x6c]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rsi, qword [0x180047050]
mov dword [rbx + 0xe00020], r13d
cmp dword [rsi + 0x12ca2f8], 1
jne 0x180004f8f
mov rbx, qword [rsi + 0x4174770]
cmp dword [rbx + 8], 1
jne 0x180004ba9
mov byte [rsi + 0xbb12e0], r13b
mov edi, r13d
mov r9, r13
jmp 0x180004c4f
call qword [sym.imp.WINMM.dll_timeGetTime]
mov edi, eax
call qword [sym.imp.WINMM.dll_timeGetTime]
movsxd rdx, dword [rbx + 0xe0001c]
cmp dword [rbx + 0xe00018], edx
jne 0x180004bdc
sub eax, edi
cmp eax, 0x1f4
ja 0x180004bf4
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180004bb1
sub eax, dword [rbx + 0xe00024]
cmp eax, 0x14
jae 0x180004bfc
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180004bb1
mov edi, r13d
mov r9, r13
jmp 0x180004c48
mov edi, r13d
mov r9, r13
mov r8, rdx
nop word [rax + rax]
movzx eax, byte [rbx + r8 + 0x700018]
lea ecx, [rdx + 1]
mov byte [rsi + r9 + 0xbb12e0], al
inc edi
inc r9
lea rax, [r8 + 1]
cmp ecx, 0x700000
mov edx, r13d
mov r8, r13
cmovb edx, ecx
cmovb r8, rax
cmp edx, dword [rbx + 0xe00018]
jne 0x180004c10
mov rsi, qword [0x180047050]
test edi, edi
jle 0x180004f8f
lea r8, [rsi + 0xbb12e0]
mov byte [r9 + rsi + 0xbb12e0], r13b
lea rcx, [rsi + 0xbb0a44]
lea rdx, [0x18003dbe0]
call fcn.180001120
mov r15, qword [0x180047050]
mov edx, r13d
or dword [r15 + 0xbb0b44], 0x10
mov rcx, qword [r15 + 0x4174770]
mov r8d, dword [rcx + 0xe00018]
nop dword [rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x180004cc7
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x180004cc1
mov dword [rcx + 0xe0001c], r13d
inc edx
cmp edx, edi
jl 0x180004ca0
xorps xmm0, xmm0
lea r10, [r15 + 0xbb12e6]
movups xmmword [rbp], xmm0
mov r11, r13
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
nop dword [rax]
nop dword [rax + rax]
mov r8d, r13d
mov r9d, r13d
mov rdx, r13
nop dword [rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180004d19
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x180004d24
cmp cl, 0x2d
jne 0x180004d2f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x180004d00
jmp 0x180004d37
cmp cl, 0x2c
jne 0x180004d37
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 0x180004d5f
sub cl, 0x2c
cmp cl, 1
ja 0x180004d6b
inc r11
cmp r11, 0x1000
jl 0x180004cf0
movd xmm0, dword [rbp + 4]
movd xmm3, dword [rbp]
movd xmm1, dword [rbp + 8]
mov eax, dword [rbp + 0x18]
mov edx, dword [rbp + 0xc]
mov r9d, dword [rbp + 0x10]
mov r10d, dword [rbp + 0x14]
cvtdq2pd xmm0, xmm0
mov dword [r15 + 0x12ca318], eax
mov eax, dword [rbp + 0x1c]
mov dword [r15 + 0x12ca310], eax
mov eax, dword [rbp + 0x20]
mov dword [r15 + 0x12ca30c], eax
mov eax, dword [rbp + 0x28]
divsd xmm0, xmm8
mov dword [r15 + 0x12ca308], eax
mov eax, dword [rbp + 0x2c]
mov dword [r15 + 0x50], edx
mov dword [r15 + 0x5c], r9d
mov dword [r15 + 0x58], r10d
cvtdq2pd xmm3, xmm3
movsd qword [r15 + 0x20], xmm0
movd xmm0, dword [rbp + 0x24]
cvtdq2pd xmm1, xmm1
divsd xmm3, xmm8
divsd xmm1, xmm8
movsd qword [r15 + 0x18], xmm3
movsd qword [r15 + 0x41746a8], xmm1
cvtdq2pd xmm0, xmm0
movsd qword [r15 + 0x78], xmm0
cmp eax, 0x128e0
jl 0x180004f76
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 [r15 + 0x41747dc], eax
mov dword [r15 + 0x14], ecx
lea eax, [r8*8]
mov dword [r15 + 0x10], r8d
xorps xmm2, xmm2
addsd xmm3, xmm3
cvtsi2sd xmm2, ecx
divsd xmm0, xmm8
mulsd xmm2, xmm13
movaps xmm1, xmm14
movsd qword [r15 + 0x12ca330], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [r15]
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 0x180004eaf
subsd xmm2, xmm9
comisd xmm2, xmm9
jae 0x180004eaf
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rcx, xmm2
xorps xmm0, xmm0
add rcx, rax
js 0x180004ec3
cvtsi2sd xmm0, rcx
jmp 0x180004ed8
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.0x180004f19.32
cdqe
movzx eax, byte [r14 + rax + 0x7100]
mov ecx, dword [r14 + rax*4 + 0x70dc]
add rcx, r14
jmp rcx
movsd xmm0, qword [0x18003ee08]
jmp 0x180004f69
movsd xmm0, qword [0x18003ee10]
jmp 0x180004f69
movsd xmm0, qword [0x18003ee38]
jmp 0x180004f69
movsd xmm0, qword [0x18003ee40]
jmp 0x180004f69
movsd xmm0, qword [0x18003ee58]
jmp 0x180004f69
movsd xmm0, qword [0x18003ee68]
jmp 0x180004f69
movsd xmm0, qword [0x18003ee70]
jmp 0x180004f69
movsd xmm0, qword [0x18003ee88]
maxsd xmm0, xmm1
movaps xmm1, xmm0
movsd qword [r15 + 8], xmm1
lea eax, [r10 - 1]
cdq
lea ecx, [r9 + r9]
idiv ecx
mov dword [r15 + 0x60], eax
or dword [r15 + 0xbb0b44], 8
jmp 0x180004fb1
lea rcx, [rsi + 0xbb0a44]
lea rdx, [0x18003dc08]
call fcn.180001120
mov r15, qword [0x180047050]
or dword [r15 + 0xbb0b44], 0x10
mov eax, dword [r15 + 0xbb0b48]
test al, 2
je 0x180005044
mov r9d, 0xa
lea rcx, [r15 + 0x12c92e0]
and eax, 0xfffffffd
lea rdx, str.K_0_3_c_c
mov dword [r15 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x180005038
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x180005038
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x180005012
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x68]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b48]
test al, 4
je 0x1800050d7
mov r9d, 0xa
lea rcx, [r15 + 0x12c92e0]
and eax, 0xfffffffb
lea rdx, str.K_0_4_c_c
mov dword [r15 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x1800050cb
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x1800050cb
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x1800050a5
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x64]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b48]
test al, 0x10
je 0x1800051b4
and eax, 0xffffffef
mov dword [rsp + 0x40], 0xa
mov dword [r15 + 0xbb0b48], eax
lea rdx, [r15 + 0x41747ac]
mov eax, dword [r15 + 0x41747d8]
lea r8, [r15 + 0x417478c]
mov r9d, dword [r15 + 0x41747cc]
lea rcx, [r15 + 0x12c92e0]
mov dword [rsp + 0x38], 0xd
mov dword [rsp + 0x30], eax
mov eax, dword [r15 + 0x41747d0]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
lea rdx, str.N_0_1__s__d__s__d__d_c_c
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x180005196
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x180005196
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r13b
jne 0x180005170
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x60]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
test eax, eax
jne 0x1800051b4
mov eax, dword [r15 + 0x41747d8]
mov dword [r15 + 0x41747d4], eax
mov eax, dword [r15 + 0xbb0b48]
test al, 0x20
je 0x180005247
mov r9d, 0xa
lea rcx, [r15 + 0x12c92e0]
and eax, 0xffffffdf
lea rdx, str.N_0_0_c_c
mov dword [r15 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x18000523b
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x18000523b
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x180005215
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x5c]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b48]
bt eax, 8
jae 0x1800052f2
btr eax, 8
mov dword [rsp + 0x28], 0xa
mov dword [r15 + 0xbb0b48], eax
lea rcx, [r15 + 0x12c92e0]
mov r9d, dword [r15 + 0x41747f4]
lea rdx, str.MAW__06X_06X_c_c
mov r8d, dword [r15 + 0x41747f0]
mov dword [rsp + 0x20], 0xd
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x1800052e6
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x1800052e6
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r13b
jne 0x1800052c0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x58]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b48]
test al, 0x40
je 0x1800053a2
and eax, 0xffffffbf
mov dword [rsp + 0x20], 0xa
mov r8d, r13d
mov dword [r15 + 0xbb0b48], eax
cmp dword [r15 + 0x41746f8], 1
lea rcx, [r15 + 0x12c92e0]
mov r9d, 0xd
lea rdx, str.ATST__d_c_c
sete r8b
add r8d, 3
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x180005396
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x180005396
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r13b
jne 0x180005370
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x54]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b48]
test al, al
jns 0x180005436
mov r9d, 0xa
lea rcx, [r15 + 0x12c92e0]
btr eax, 7
lea rdx, str.ATST_0_c_c
mov dword [r15 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x18000542a
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x18000542a
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x180005404
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b44]
bt eax, 0x1a
jae 0x1800054b4
xorps xmm0, xmm0
xorps xmm1, xmm1
btr eax, 0x1a
mov dword [r15 + 0xbb0b44], eax
movups xmmword [r15 + 0x600960], xmm0
movups xmmword [r15 + 0x600970], xmm0
movups xmmword [r15 + 0x600980], xmm0
movups xmmword [r15 + 0x600990], xmm0
movups xmmword [r15 + 0x6009a0], xmm0
movups xmmword [r15 + 0x6009b0], xmm0
movups xmmword [r15 + 0x6008a0], xmm1
movups xmmword [r15 + 0x6008b0], xmm1
movups xmmword [r15 + 0x6008c0], xmm1
movups xmmword [r15 + 0x6008d0], xmm1
movups xmmword [r15 + 0x6008e0], xmm1
movups xmmword [r15 + 0x6008f0], xmm1
mov ecx, dword [r15 + 0xbb0b44]
bt ecx, 0x1b
jae 0x180005702
mov eax, ecx
btr eax, 0x1b
mov dword [r15 + 0xbb0b44], eax
bt ecx, 0x1b
jae 0x180005702
lea rdx, [rbp + 4]
mov r9d, 3
lea r8, [r15 + 0x600968]
nop dword [rax]
movsd xmm0, qword [r8 - 8]
lea rdx, [rdx + 0x10]
mulsd xmm0, xmm6
lea r8, [r8 + 0x20]
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x20]
sub ecx, eax
mulsd xmm0, xmm6
mov dword [rdx - 0x14], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x18]
sub ecx, eax
mulsd xmm0, xmm6
mov dword [rdx - 0x10], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x10]
sub ecx, eax
mulsd xmm0, xmm6
mov dword [rdx - 0xc], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
sub ecx, eax
mov dword [rdx - 8], ecx
sub r9, 1
jne 0x1800054f0
mov eax, dword [rbp + 0x2c]
lea rcx, [r15 + 0x12c92e0]
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.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x180005696
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x180005696
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r13b
jne 0x180005670
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x4c]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
movups xmm0, xmmword [r15 + 0x600960]
movups xmm1, xmmword [r15 + 0x600970]
movups xmmword [r15 + 0x6009c0], xmm0
movups xmm0, xmmword [r15 + 0x600980]
movups xmmword [r15 + 0x6009d0], xmm1
movups xmm1, xmmword [r15 + 0x600990]
movups xmmword [r15 + 0x6009e0], xmm0
movups xmm0, xmmword [r15 + 0x6009a0]
movups xmmword [r15 + 0x6009f0], xmm1
movups xmm1, xmmword [r15 + 0x6009b0]
movups xmmword [r15 + 0x600a00], xmm0
movups xmmword [r15 + 0x600a10], xmm1
mov eax, dword [r15 + 0xbb0b44]
bt eax, 0x1c
jae 0x1800059ff
btr eax, 0x1c
lea rcx, [r15 + 0x12c92e0]
lea rdx, str.EEPHRD_r
mov dword [r15 + 0xbb0b44], eax
call fcn.180001120
mov r15, qword [0x180047050]
cmp dword [r15 + 0x12ca2f8], 1
jne 0x1800059ff
mov rbx, qword [r15 + 0x4174770]
cmp dword [rbx + 8], 1
je 0x18000578e
lea rdx, [r15 + 0x12c92e0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x180005761
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x48]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r15, qword [0x180047050]
mov dword [rbx + 0xe00020], r13d
cmp dword [r15 + 0x12ca2f8], 1
jne 0x1800059ff
mov rbx, qword [r15 + 0x4174770]
cmp dword [rbx + 8], 1
jne 0x1800057bb
mov byte [r15 + 0xbb12e0], r13b
mov edi, r13d
mov r9, r13
jmp 0x18000585f
call qword [sym.imp.WINMM.dll_timeGetTime]
mov edi, eax
call qword [sym.imp.WINMM.dll_timeGetTime]
movsxd rdx, dword [rbx + 0xe0001c]
cmp dword [rbx + 0xe00018], edx
jne 0x1800057ee
sub eax, edi
cmp eax, 0x3e8
ja 0x180005806
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800057c3
sub eax, dword [rbx + 0xe00024]
cmp eax, 0x14
jae 0x18000580e
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800057c3
mov edi, r13d
mov r9, r13
jmp 0x180005858
mov edi, r13d
mov r9, r13
mov r8, rdx
nop word [rax + rax]
movzx eax, byte [r8 + rbx + 0x700018]
lea ecx, [rdx + 1]
mov byte [r9 + r15 + 0xbb12e0], al
inc edi
inc r9
lea rax, [r8 + 1]
cmp ecx, 0x700000
mov edx, r13d
mov r8, r13
cmovb edx, ecx
cmovb r8, rax
cmp edx, dword [rbx + 0xe00018]
jne 0x180005820
mov r15, qword [0x180047050]
test edi, edi
jle 0x1800059ff
lea r8, [r15 + 0xbb12e0]
mov byte [r9 + r15 + 0xbb12e0], r13b
lea rcx, [r15 + 0xbb0a44]
lea rdx, [0x18003dbe0]
call fcn.180001120
mov r15, qword [0x180047050]
mov edx, r13d
or dword [r15 + 0xbb0b44], 0x10
mov rcx, qword [r15 + 0x4174770]
mov r8d, dword [rcx + 0xe00018]
nop dword [rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x1800058d7
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x1800058d1
mov dword [rcx + 0xe0001c], r13d
inc edx
cmp edx, edi
jl 0x1800058b0
lea r10, [r15 + 0xbb12e7]
mov r11, r13
mov r8d, r13d
mov r9d, r13d
mov rdx, r13
nop word [rax + rax]
movzx ecx, byte [r10 + rdx]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180005909
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x180005914
cmp cl, 0x2d
jne 0x18000591f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x1800058f0
jmp 0x180005927
cmp cl, 0x2c
jne 0x180005927
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 0x18000594f
sub cl, 0x2c
cmp cl, 1
ja 0x18000595b
inc r11
cmp r11, 0x1000
jl 0x1800058e1
lea rdx, [rbp + 4]
mov r8d, 3
lea rcx, [r15 + 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, xmm7
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, xmm7
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, xmm7
movsd qword [rcx - 0x70], xmm0
movsd qword [rcx - 0x10], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm7
movsd qword [rcx - 0x68], xmm0
movsd qword [rcx - 8], xmm0
sub r8, 1
jne 0x180005970
jmp 0x180006e68
mov eax, dword [r15 + 0xbb0b44]
bt eax, 0x16
jae 0x180005aa2
btr eax, 0x16
mov dword [rsp + 0x20], 0xa
mov dword [r15 + 0xbb0b44], eax
lea rcx, [r15 + 0x12c92e0]
mov r8d, dword [r15 + 0x417468c]
lea rdx, str.LRINV_0_1__d_c_c
mov r9d, 0xd
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x180005a96
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x180005a96
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r13b
jne 0x180005a70
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x44]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
mov ecx, dword [r15 + 0xbb0b44]
bt ecx, 0x1d
jae 0x180005cf2
mov eax, ecx
btr eax, 0x1d
mov dword [r15 + 0xbb0b44], eax
bt ecx, 0x1d
jae 0x180005cf2
lea rdx, [rbp + 4]
mov r9d, 3
lea r8, [r15 + 0x6008a8]
nop dword [rax + rax]
movsd xmm0, qword [r8 - 8]
lea rdx, [rdx + 0x10]
mulsd xmm0, xmm6
lea r8, [r8 + 0x20]
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x20]
sub ecx, eax
mulsd xmm0, xmm6
mov dword [rdx - 0x14], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x18]
sub ecx, eax
mulsd xmm0, xmm6
mov dword [rdx - 0x10], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
movsd xmm0, qword [r8 - 0x10]
sub ecx, eax
mulsd xmm0, xmm6
mov dword [rdx - 0xc], ecx
mov ecx, 0x8000
cvttsd2si eax, xmm0
sub ecx, eax
mov dword [rdx - 8], ecx
sub r9, 1
jne 0x180005ae0
mov eax, dword [rbp + 0x2c]
lea rcx, [r15 + 0x12c92e0]
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.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x180005c86
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x180005c86
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r13b
jne 0x180005c60
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x40]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
movups xmm0, xmmword [r15 + 0x6008a0]
movups xmm1, xmmword [r15 + 0x6008b0]
movups xmmword [r15 + 0x600900], xmm0
movups xmm0, xmmword [r15 + 0x6008c0]
movups xmmword [r15 + 0x600910], xmm1
movups xmm1, xmmword [r15 + 0x6008d0]
movups xmmword [r15 + 0x600920], xmm0
movups xmm0, xmmword [r15 + 0x6008e0]
movups xmmword [r15 + 0x600930], xmm1
movups xmm1, xmmword [r15 + 0x6008f0]
movups xmmword [r15 + 0x600940], xmm0
movups xmmword [r15 + 0x600950], xmm1
mov eax, dword [r15 + 0xbb0b44]
bt eax, 0x1e
jae 0x180005fef
btr eax, 0x1e
lea rcx, [r15 + 0x12c92e0]
lea rdx, str.EEAMPRD_r
mov dword [r15 + 0xbb0b44], eax
call fcn.180001120
mov r15, qword [0x180047050]
cmp dword [r15 + 0x12ca2f8], 1
jne 0x180005fef
mov rbx, qword [r15 + 0x4174770]
cmp dword [rbx + 8], 1
je 0x180005d7e
lea rdx, [r15 + 0x12c92e0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x180005d51
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x3c]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r15, qword [0x180047050]
mov dword [rbx + 0xe00020], r13d
cmp dword [r15 + 0x12ca2f8], 1
jne 0x180005fef
mov rbx, qword [r15 + 0x4174770]
cmp dword [rbx + 8], 1
jne 0x180005dab
mov byte [r15 + 0xbb12e0], r13b
mov edi, r13d
mov r9, r13
jmp 0x180005e4f
call qword [sym.imp.WINMM.dll_timeGetTime]
mov edi, eax
call qword [sym.imp.WINMM.dll_timeGetTime]
movsxd rdx, dword [rbx + 0xe0001c]
cmp dword [rbx + 0xe00018], edx
jne 0x180005dde
sub eax, edi
cmp eax, 0x3e8
ja 0x180005df6
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180005db3
sub eax, dword [rbx + 0xe00024]
cmp eax, 0x14
jae 0x180005dfe
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180005db3
mov edi, r13d
mov r9, r13
jmp 0x180005e48
mov edi, r13d
mov r9, r13
mov r8, rdx
nop word [rax + rax]
movzx eax, byte [r8 + rbx + 0x700018]
lea ecx, [rdx + 1]
mov byte [r9 + r15 + 0xbb12e0], al
inc edi
inc r9
lea rax, [r8 + 1]
cmp ecx, 0x700000
mov edx, r13d
mov r8, r13
cmovb edx, ecx
cmovb r8, rax
cmp edx, dword [rbx + 0xe00018]
jne 0x180005e10
mov r15, qword [0x180047050]
test edi, edi
jle 0x180005fef
lea r8, [r15 + 0xbb12e0]
mov byte [r9 + r15 + 0xbb12e0], r13b
lea rcx, [r15 + 0xbb0a44]
lea rdx, [0x18003dbe0]
call fcn.180001120
mov r15, qword [0x180047050]
mov edx, r13d
or dword [r15 + 0xbb0b44], 0x10
mov rcx, qword [r15 + 0x4174770]
mov r8d, dword [rcx + 0xe00018]
nop dword [rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x180005ec7
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x180005ec1
mov dword [rcx + 0xe0001c], r13d
inc edx
cmp edx, edi
jl 0x180005ea0
lea r10, [r15 + 0xbb12e8]
mov r11, r13
mov r8d, r13d
mov r9d, r13d
mov rdx, r13
nop word [rax + rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180005ef9
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x180005f04
cmp cl, 0x2d
jne 0x180005f0f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x180005ee0
jmp 0x180005f17
cmp cl, 0x2c
jne 0x180005f17
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 0x180005f3f
sub cl, 0x2c
cmp cl, 1
ja 0x180005f4b
inc r11
cmp r11, 0x1000
jl 0x180005ed1
lea rdx, [rbp + 4]
mov r8d, 3
lea rcx, [r15 + 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, xmm7
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, xmm7
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, xmm7
movsd qword [rcx - 0x70], xmm0
movsd qword [rcx - 0x10], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm7
movsd qword [rcx - 0x68], xmm0
movsd qword [rcx - 8], xmm0
sub r8, 1
jne 0x180005f60
jmp 0x180006e68
mov eax, dword [r15 + 0xbb0b48]
test al, 8
je 0x180006082
and eax, 0xfffffff7
lea rcx, [r15 + 0x12c92e0]
mov dword [r15 + 0xbb0b48], eax
lea rdx, str.EEENWR_0_1__d_r
mov r8d, dword [r15 + 0x12ca3c0]
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x180006076
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x180006076
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r13b
jne 0x180006050
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x38]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b44]
bt eax, 0x17
jae 0x180006302
btr eax, 0x17
mov dword [r15 + 0xbb0b44], eax
mov eax, dword [r15 + 0x417476c]
cmp eax, 0xe100
jg 0x1800060e0
je 0x1800060d8
cmp eax, 0x2580
je 0x1800060d3
cmp eax, 0x4b00
je 0x1800060cb
cmp eax, 0x9600
jne 0x1800060f5
mov r8d, 2
jmp 0x180006113
mov r8d, 1
jmp 0x180006113
mov r8d, r13d
jmp 0x180006113
mov r8d, 3
jmp 0x180006113
cmp eax, 0x1c200
je 0x18000610d
cmp eax, 0x38400
je 0x180006105
cmp eax, 0x70800
je 0x1800060fd
mov r8d, 7
jmp 0x180006113
mov r8d, 6
jmp 0x180006113
mov r8d, 5
jmp 0x180006113
mov r8d, 4
lea rcx, [r15 + 0x12c92e0]
mov dword [rsp + 0x20], 0xa
mov r9d, 0xd
lea rdx, str.H_0__d_0_c_c
call fcn.180001120
mov rdi, qword [0x180047050]
cmp dword [rdi + 0x12ca2f8], 1
jne 0x1800062e0
mov rbx, qword [rdi + 0x4174770]
cmp dword [rbx + 8], 1
je 0x180006190
lea rdx, [rdi + 0x12c92e0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x180006163
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x34]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdi, qword [0x180047050]
mov dword [rbx + 0xe00020], r13d
cmp dword [rdi + 0x12ca2f8], 1
jne 0x1800062e0
mov rbx, qword [rdi + 0x4174770]
cmp dword [rbx + 8], 1
jne 0x1800061b6
mov byte [rdi + 0xbb12e0], r13b
jmp 0x1800062e0
call qword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
nop
call qword [sym.imp.WINMM.dll_timeGetTime]
movsxd rdx, dword [rbx + 0xe0001c]
cmp dword [rbx + 0xe00018], edx
jne 0x1800061ef
sub eax, esi
cmp eax, 0x1f4
ja 0x1800062d9
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800061c0
sub eax, dword [rbx + 0xe00024]
cmp eax, 0x14
jae 0x180006207
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800061c0
mov r9d, r13d
mov r10, r13
mov r8, rdx
movzx eax, byte [r8 + rbx + 0x700018]
lea ecx, [rdx + 1]
mov byte [r10 + rdi + 0xbb12e0], al
lea r10, [r10 + 1]
inc r9d
lea rax, [r8 + 1]
cmp ecx, 0x700000
mov edx, r13d
mov r8, r13
cmovb edx, ecx
cmovb r8, rax
cmp edx, dword [rbx + 0xe00018]
jne 0x180006210
test r9d, r9d
jle 0x1800062d9
mov r11, qword [0x180047050]
mov edx, r13d
mov rcx, qword [r11 + 0x4174770]
mov r8d, dword [rcx + 0xe00018]
nop dword [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x180006298
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x180006291
mov dword [rcx + 0xe0001c], r13d
inc edx
cmp edx, r9d
jl 0x180006270
lea r8, [r11 + 0xbb12e0]
mov byte [r10 + r11 + 0xbb12e0], r13b
lea rcx, [r11 + 0xbb0a44]
lea rdx, [0x18003dbe0]
call fcn.180001120
mov r15, qword [0x180047050]
or dword [r15 + 0xbb0b44], 0x10
mov eax, dword [r15 + 0x417476c]
mov dword [r15 + 0x4174768], eax
jmp 0x180006302
mov rdi, qword [0x180047050]
lea rcx, [rdi + 0xbb0a44]
lea rdx, [0x18003dc08]
call fcn.180001120
mov r15, qword [0x180047050]
or dword [r15 + 0xbb0b44], 0x10
mov eax, dword [r15 + 0xbb0b48]
bt eax, 9
jae 0x180006330
btr eax, 9
mov rcx, r12
mov dword [r15 + 0xbb0b48], eax
mov dword [r15 + 0x12ca370], r13d
call fcn.1800126c0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b48]
bt eax, 0xa
jae 0x180006362
btr eax, 0xa
mov rcx, r12
mov dword [r15 + 0xbb0b48], eax
mov dword [r15 + 0x12ca370], 1
call fcn.1800126c0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b44]
bt eax, 0x18
jae 0x180006411
mov r9d, 0xa
lea rcx, [r15 + 0x12c92e0]
btr eax, 0x18
lea rdx, str.V_0_0_0_c_c
mov dword [r15 + 0xbb0b44], eax
lea r8d, [r9 + 3]
call fcn.180001120
mov rdi, qword [0x180047050]
mov rbx, 0xffffffffffffffff
lea rdx, [rdi + 0x12c92e0]
inc rbx
cmp byte [rdx + rbx], r13b
jne 0x1800063b0
cmp dword [rdi + 0x12ca2f8], 1
jne 0x1800063ef
mov rdi, qword [rdi + 0x4174770]
cmp dword [rdi + 8], 1
je 0x1800063ef
mov rcx, qword [rdi + 0xe00028]
lea r9, [rbp - 0x30]
mov r8d, ebx
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rdi + 0xe00020], r13d
call fcn.1800123b0
mov rdx, qword [0x180047050]
mov r8d, ebx
add rdx, 0xbb12e0
call fcn.18000e160
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b44]
bt eax, 0x13
jae 0x180006527
mov dword [rsp + 0x50], 0xa
lea rcx, [r15 + 0x12c92e0]
btr eax, 0x13
mov dword [rsp + 0x48], 0xd
mov dword [r15 + 0xbb0b44], eax
mov edx, dword [r15 + 0x417469c]
mov r8d, dword [r15 + 0x4174690]
movsd xmm0, qword [r15 + 0x90]
mov r9d, dword [r15 + 0x12ca320]
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r8d
movsd qword [r15 + 0x88], xmm0
mulsd xmm0, xmm8
mov dword [r15 + 0x417468c], r8d
mov r8d, dword [r15 + 0x41747dc]
mov dword [r15 + 0x4174698], edx
lea rdx, str.S_0_1_1_1_12__d__d__d__d__d__d_0__d_c_c
cvttsd2si eax, xmm0
mov dword [rsp + 0x30], eax
mov eax, dword [r15 + 0x12ca3a4]
mov dword [rsp + 0x28], eax
mov eax, dword [r15 + 0x41747e4]
mov dword [rsp + 0x20], eax
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x180006509
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x180006509
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x1800064e3
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x2c]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
test eax, eax
jne 0x180006527
mov eax, dword [r15 + 0x41747d8]
mov dword [r15 + 0x41747d4], eax
mov eax, dword [r15 + 0xbb0b44]
bt eax, 0x14
jae 0x1800065c5
btr eax, 0x14
mov dword [r15 + 0xbb0b44], eax
call fcn.18000dab0
test eax, eax
jne 0x18000659c
mov rax, qword [0x180047050]
lea rdx, [0x18003dda0]
lea rcx, [rbp - 0x10]
cmp dword [rax + 0x12ca3a4], 1
lea rax, [0x18003dda4]
cmovne rdx, rax
call fcn.180001120
mov rcx, qword [0x180047050]
lea r9, [rbp - 0x10]
lea rdx, str._s__RAW_data_support___s
lea r8, [rcx + 0xbb12e0]
add rcx, 0xbb0a44
call fcn.180001120
jmp 0x1800065b6
mov rcx, qword [0x180047050]
lea rdx, [0x18003dc08]
add rcx, 0xbb0a44
call fcn.180001120
mov r15, qword [0x180047050]
or dword [r15 + 0xbb0b44], 0x10
mov eax, dword [r15 + 0xbb0b44]
bt eax, 0x15
jae 0x180006662
mov r9d, 0xa
lea rcx, [r15 + 0x12c92e0]
btr eax, 0x15
lea rdx, str.S_0_3_c_c
mov dword [r15 + 0xbb0b44], eax
lea r8d, [r9 + 3]
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x180006656
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x180006656
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r13b
jne 0x180006630
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x28]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b48]
bt eax, 0xb
jae 0x180006738
btr eax, 0xb
mov dword [rsp + 0x48], 0xa
mov dword [r15 + 0xbb0b48], eax
lea rcx, [r15 + 0x12c92e0]
mov eax, dword [r15 + 0xbb0a3c]
lea rdx, str.LRA_0_1__d__d__d__d__d__d_c_c
mov r9d, dword [r15 + 0xbb0a2c]
mov r8d, dword [r15 + 0xbb0a28]
mov dword [rsp + 0x40], 0xd
mov dword [rsp + 0x38], eax
mov eax, dword [r15 + 0xbb0a38]
mov dword [rsp + 0x30], eax
mov eax, dword [r15 + 0xbb0a34]
mov dword [rsp + 0x28], eax
mov eax, dword [r15 + 0xbb0a30]
mov dword [rsp + 0x20], eax
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x18000672c
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x18000672c
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x180006706
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x24]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b48]
bt eax, 0xc
jae 0x1800067d2
mov r9d, 0xa
lea rcx, [r15 + 0x12c92e0]
btr eax, 0xc
lea rdx, str.LRA_0_0_c_c
mov dword [r15 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x1800067c6
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x1800067c6
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r13b
jne 0x1800067a0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x20]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b48]
bt eax, 0xd
jae 0x180006868
mov r9d, 0xa
lea rcx, [r15 + 0x12c92e0]
btr eax, 0xd
lea rdx, str.LRA_0_1_0_0_0_0_0_0_c_c
mov dword [r15 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x18000685c
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x18000685c
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x180006836
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x1c]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b48]
bt eax, 0xe
jae 0x180006909
btr eax, 0xe
mov dword [rsp + 0x20], 0xa
mov dword [r15 + 0xbb0b48], eax
lea rcx, [r15 + 0x12c92e0]
mov r8d, dword [r15 + 0xbb0a40]
lea rdx, str.STC_0_1__d_c_c
mov r9d, 0xd
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x1800068fd
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x1800068fd
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x1800068d7
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
mov eax, dword [r15 + 0xbb0b48]
bt eax, 0xf
jae 0x1800069a2
mov r9d, 0xa
lea rcx, [r15 + 0x12c92e0]
btr eax, 0xf
lea rdx, str.STC_0_0_c_c
mov dword [r15 + 0xbb0b48], eax
lea r8d, [r9 + 3]
call fcn.180001120
mov rdx, qword [0x180047050]
cmp dword [rdx + 0x12ca2f8], 1
jne 0x180006996
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x180006996
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r13b
jne 0x180006970
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x14]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r13d
call fcn.1800123b0
mov r15, qword [0x180047050]
test dword [r15 + 0xbb0b48], 0x10000
je 0x1800069bf
call fcn.18000e210
and dword [r15 + 0xbb0b48], 0xfffeffff
xor edx, edx
lea rcx, [r15 + 0xbb12e0]
mov r8d, 0x700000
call fcn.1800169c0
cmp dword [r15 + 0x12ca2f8], 1
jne 0x180006e68
mov rbx, qword [r15 + 0x4174770]
cmp dword [rbx + 8], 1
jne 0x1800069fa
mov byte [r15 + 0xbb12e0], r13b
jmp 0x180006e68
call qword [sym.imp.WINMM.dll_timeGetTime]
mov edi, eax
call qword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [rbx + 0xe0001c]
mov ecx, dword [rbx + 0xe00018]
cmp ecx, edx
jne 0x180006a41
cmp eax, edi
jne 0x180006e61
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [rbx + 0xe0001c]
mov ecx, dword [rbx + 0xe00018]
cmp ecx, edx
je 0x180006a18
mov r14d, r13d
mov rdi, r13
cmp edx, ecx
je 0x180006a89
movsxd r8, edx
nop
movzx eax, byte [rbx + r8 + 0x700018]
lea ecx, [rdx + 1]
mov byte [r15 + rdi + 0xbb12e0], al
inc r14d
inc rdi
lea rax, [r8 + 1]
cmp ecx, 0x700000
mov edx, r13d
mov r8, r13
cmovb edx, ecx
cmovb r8, rax
cmp edx, dword [rbx + 0xe00018]
jne 0x180006a50
cmp r14d, 1
jle 0x180006e61
mov rcx, qword [0x180047050]
test dword [rcx + 0xbb0b44], 0x1000
jne 0x180006e19
cmp dword [rcx + 0x41746f4], 1
je 0x180006dfe
lea rax, [rcx + 0xbb12e0]
mov edx, r14d
lea r8, [rbp - 0x80]
mov qword [rbp - 0x80], rax
call fcn.18000c8b0
test eax, eax
jne 0x180006b95
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rdx, qword [0x180047050]
mov r9d, eax
sub r9d, dword [rdx + 0x12ca37c]
lea rcx, [rdx + 0xbb0a44]
mov dword [rdx + 0x12ca37c], 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 + 0x12ca374]
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, r14d
call fcn.180001120
mov rax, qword [0x180047050]
or dword [rax + 0xbb0b44], 0x10
inc dword [rax + 0x12ca374]
call fcn.18000f9b0
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r15, qword [0x180047050]
mov dword [r15 + 0x12ca378], eax
jmp 0x180006e68
cmp eax, 0xfffffffe
je 0x180006e61
mov rax, qword [0x180047050]
lea r8, [rbp - 0x80]
add rax, 0xbb12e0
mov edx, r14d
mov qword [rbp - 0x80], rax
call fcn.18000c6f0
test eax, eax
jne 0x180006c56
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x180047050]
mov r9d, r14d
mov edx, eax
sub edx, dword [rcx + 0x12ca37c]
mov dword [rcx + 0x12ca37c], eax
lea rax, [rcx + 0xbb12e0]
or dword [rcx + 0xbb0b44], 4
or dword [rcx + 0xbb0b44], 0x40
mov byte [rdi + rcx + 0xbb12e0], r13b
mov r8d, dword [rcx + 0x12ca374]
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.180001120
mov rax, qword [0x180047050]
or dword [rax + 0xbb0b44], 0x10
inc dword [rax + 0x12ca374]
call fcn.18000fe10
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r15, qword [0x180047050]
mov dword [r15 + 0x12ca378], eax
jmp 0x180006e68
cmp eax, 0xfffffffe
je 0x180006e61
mov r15, qword [0x180047050]
lea r8, [rbp - 0x80]
mov edx, r14d
lea rbx, [r15 + 0xbb12e0]
mov qword [rbp - 0x80], rbx
call fcn.18000c500
test eax, eax
jne 0x180006ca2
mov edx, r14d
call fcn.180008530
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r15, qword [0x180047050]
mov dword [r15 + 0x12ca378], eax
jmp 0x180006e68
cmp eax, 0xfffffffe
je 0x180006e68
movabs rax, 0x41525f4e49474542
mov r9, rbx
cmp qword [rbx], rax
jne 0x180006d93
cmp word [rbx + 8], 0x3057
jne 0x180006d93
add rbx, 0xa
lea rdx, [r15 + 0xa0]
mov r8d, r13d
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 r14d, eax
jl 0x180006e68
movabs rax, 0x305741525f444e45
cmp qword [rbx], rax
je 0x180006d27
inc r8d
add rdx, 2
cmp r8d, 0x300400
jb 0x180006ce0
jmp 0x180006e68
add rbx, 8
cmp byte [rbx], 0xd
jne 0x180006d3a
cmp byte [rbx + 1], 0xa
jne 0x180006d3a
add rbx, 2
mov rcx, qword [r15 + 0x4174770]
lea eax, [r8 + 1]
sub ebx, r9d
mov dword [r15 + 0x12ca2e0], eax
mov r8d, r13d
test ebx, ebx
jle 0x180006c81
mov r9d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x180006c81
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x180006d86
mov dword [rcx + 0xe0001c], r13d
inc r8d
cmp r8d, ebx
jl 0x180006d61
jmp 0x180006c81
lea rcx, [r15 + 0xbb0a44]
mov r8d, r14d
lea rdx, str.Received__d_byte
call fcn.180001120
mov r15, qword [0x180047050]
mov edx, r13d
or dword [r15 + 0xbb0b44], 0x10
mov rcx, qword [r15 + 0x4174770]
mov r8d, dword [rcx + 0xe00018]
nop dword [rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x180006e68
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x180006df5
mov dword [rcx + 0xe0001c], r13d
inc edx
cmp edx, r14d
jl 0x180006dd0
jmp 0x180006e68
mov dword [rcx + 0x41746f4], r13d
or dword [rcx + 0xbb0b44], 0x1000
or dword [rcx + 0xbb0b48], 0x40000
mov rcx, qword [rcx + 0x4174770]
mov edx, r13d
mov r8d, dword [rcx + 0xe00018]
nop word [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x180006c89
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x180006e55
mov dword [rcx + 0xe0001c], r13d
inc edx
cmp edx, r14d
jl 0x180006e30
jmp 0x180006c89
mov r15, qword [0x180047050]
cmp dword [r15 + 0x417477c], r13d
je 0x180006ffe
test byte [r15 + 0xbb0b44], 4
jne 0x180006ffe
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rdx, qword [0x180047050]
mov ecx, eax
sub ecx, dword [0x1815a8fbc]
cmp ecx, dword [rdx + 0x12ca308]
jb 0x180006ffe
mov dword [0x1815a8fbc], eax
mov eax, dword [rdx + 0x12ca3a0]
test eax, eax
jne 0x180006fed
cmp dword [rdx + 0x4174788], 1
jne 0x180006ecb
call fcn.180014670
jmp 0x180006ffe
lea rcx, [rdx + 0xbb0ee0]
lea rdx, [0x18003ebf4]
call fcn.18001c920
mov rdi, rax
test rax, rax
jne 0x180006f00
mov rax, qword [0x180047050]
mov dword [rax + 0x417477c], r13d
mov dword [rax + 0x12ca370], r13d
jmp 0x180006ffe
mov rcx, qword [0x180047050]
mov r8, rdi
add rcx, 0x12b12e0
mov edx, 0x18000
call fcn.18001d288
mov rax, qword [0x180047050]
mov ebx, r13d
cmp dword [rax + 0x12ca374], r13d
jle 0x180006f55
nop
lea rcx, [rax + 0x12b12e0]
mov r8, rdi
mov edx, 0x18000
call fcn.18001d288
mov rax, qword [0x180047050]
inc ebx
cmp ebx, dword [rax + 0x12ca374]
jl 0x180006f30
lea rbx, [rax + 0x12b12e0]
xor edx, edx
mov rcx, rbx
mov r8d, 0x18000
call fcn.1800169c0
mov r8, rdi
mov edx, 0x18000
mov rcx, rbx
call fcn.18001d288
mov rcx, rdi
test rax, rax
jne 0x180006fc7
call fcn.18001ce38
mov rax, qword [0x180047050]
mov dword [rax + 0x417477c], r13d
cmp dword [rax + 0x12ca370], r13d
jle 0x180006faa
mov dword [rax + 0x12ca670], 5
mov dword [rax + 0x12ca370], r13d
or dword [rax + 0xbb0b44], 0x1000
or dword [rax + 0xbb0b48], 0x40000
jmp 0x180006ffe
call fcn.18001ce38
mov rdx, qword [0x180047050]
lea r8, [rdx + 0xa0]
add rdx, 0x12b12e0
call fcn.180011020
call fcn.180014880
jmp 0x180006ffe
cmp eax, 3
jne 0x180006ff9
call fcn.180014010
jmp 0x180006ffe
call fcn.1800143e0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x180047050]
lea r14, [0x180000000]
test dword [rcx + 0xbb0b48], 0x80000
je 0x180004730
movaps xmm15, xmmword [rsp + 0x360]
movaps xmm14, xmmword [rsp + 0x370]
movaps xmm13, xmmword [rsp + 0x380]
movaps xmm12, xmmword [rsp + 0x390]
movaps xmm11, xmmword [rsp + 0x3a0]
movaps xmm10, xmmword [rsp + 0x3b0]
movaps xmm9, xmmword [rsp + 0x3c0]
movaps xmm8, xmmword [rsp + 0x3d0]
movaps xmm7, xmmword [rsp + 0x3e0]
movaps xmm6, xmmword [rsp + 0x3f0]
mov r15, qword [rsp + 0x448]
mov r14, qword [rsp + 0x440]
mov r13, qword [rsp + 0x438]
mov eax, dword [rcx + 0x4174754]
mov dword [rcx + 0x4174750], eax
call fcn.180010670
call fcn.180010800
mov rax, qword [0x180047050]
and dword [rax + 0xbb0b48], 0xfff7ffff
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.180014fd0
add rsp, 0x400
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret