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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x270]
sub rsp, 0x410
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rbx, rcx
xor edx, edx
mov rcx, qword [0x14003ffb8]
mov r8d, 0x263a7d0
call fcn.1400126f0
mov rcx, rbx
call fcn.140004400
mov r8d, 0x100
lea rdx, [rbp + 0x110]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x110]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea r9, str.mr12e.ini
lea r8, [rbp + 0x110]
lea rdx, str._s_s
lea rcx, [rbp]
call fcn.1400010b0
mov rcx, qword [0x14003ffb8]
mov esi, dword [rcx + 0x263a7c8]
lea rbx, [rcx + 0x2637fc8]
test esi, esi
jle 0x140001281
nop dword [rax]
nop word [rax + rax]
lea rax, [rbp]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rdx, [rbx + 4]
lea r9, [rbp + 0x110]
mov dword [rsp + 0x20], 0x100
lea rcx, str.MR12E_LOCAL_PARAMS
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x14000126c
cmp dword [rbx], 0
jne 0x140001225
mov rcx, qword [rbx + 0x48]
lea rdx, [rbp + 0x110]
call fcn.1400010b0
cmp dword [rbx], 1
jne 0x14000123c
lea rcx, [rbp + 0x110]
call fcn.140019910
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 2
jne 0x140001253
lea rcx, [rbp + 0x110]
call fcn.140019910
mov rcx, qword [rbx + 0x48]
mov dword [rcx], eax
cmp dword [rbx], 3
jne 0x14000126c
lea rcx, [rbp + 0x110]
call fcn.14001cf0c
mov rax, qword [rbx + 0x48]
movsd qword [rax], xmm0
dec esi
add rbx, 0x50
test esi, esi
jg 0x1400011e0
mov rcx, qword [0x14003ffb8]
mov eax, dword [rcx + 0x2637f40]
mov dword [rcx + 0x2637f44], eax
mov eax, dword [rcx + 0x2637eb0]
mov dword [rcx + 0x2637eb4], eax
mov rax, qword [rcx + 0x90]
mov qword [rcx + 0x98], rax
mov eax, dword [rcx + 0x2637f28]
mov dword [rcx + 0x2637f2c], eax
or dword [rcx + 0x1db2344], 8
mov dword [0x14003ffb0], 1
call fcn.14000a1e0
mov rcx, qword [0x14003ffb8]
call qword [sym.imp.mr12e.dll_CopyAddressToDll]
call qword [sym.imp.mr12e.dll_CalcMeterPerBin]
call fcn.14000b250
mov rbx, qword [0x14003ffb8]
test dword [rbx + 0x1db2348], 0x100000
jne 0x140003eb3
mov qword [rsp + 0x448], r12
lea rsi, [0x140038b08]
mov qword [rsp + 0x450], r13
mov edi, InitCommonControls
mov qword [rsp + 0x458], r15
xor r14d, r14d
movaps xmmword [rsp + 0x400], xmm6
movabs r15, 0x100100002401
movsd xmm6, qword [0x1400396c0]
movabs r13, 0x41525f4e49474542
movaps xmmword [rsp + 0x3f0], xmm7
movabs r12, 0x305741525f444e45
movsd xmm7, qword [0x1400396f8]
movaps xmmword [rsp + 0x3e0], xmm8
movsd xmm8, qword [0x1400396d0]
nop
mov eax, dword [rbx + 0x1db2344]
bt eax, 9
jae 0x140001635
btr eax, 9
mov dword [rbx + 0x1db2344], eax
call fcn.14000bca0
mov rdx, qword [0x14003ffb8]
mov eax, dword [rdx + 0x24cdbb4]
mov dword [rdx + 0x24cdbb8], eax
test eax, eax
jne 0x1400013b2
call fcn.140009bd0
mov rdx, qword [0x14003ffb8]
mov r10d, dword [rdx + 0x24cdbb8]
test r10d, r10d
mov ecx, dword [rdx + 0x2637f2c]
mov eax, dword [rdx + 0x2637f28]
cmove r10d, edi
cmp eax, ecx
je 0x1400013d8
mov dword [rdx + 0x2637f28], ecx
mov eax, ecx
mov r8d, eax
cmp r10d, 0x10
jne 0x14000142a
cmp dword [rdx + 0x24cdbdc], 1
jne 0x14000142a
mov r9d, dword [rdx + 0x2637f10]
mov ecx, eax
cmp r9d, 1
jne 0x140001407
cmp dword [rdx + 0x24cdbc8], r9d
jne 0x140001407
cmp eax, 0xc
jl 0x14000141d
mov r8d, ecx
test r9d, r9d
jne 0x14000142a
cmp dword [rdx + 0x24cdbc4], 1
jne 0x14000142a
cmp ecx, 0xc
jge 0x14000142a
mov r8d, InitCommonControls
mov dword [rdx + 0x2637f28], r8d
mov eax, dword [rdx + 0x5c]
lea rcx, [rdx + 0x24ccae0]
movsd xmm0, qword [rdx + 8]
movsd xmm3, qword [rdx + 0x24cdb48]
mov dword [rsp + 0x118], r10d
movq r9, xmm3
mov dword [rsp + 0x110], 0x2c
mov dword [rsp + 0x108], eax
mov eax, dword [rdx + 0x58]
mov dword [rsp + 0x100], 0x2c
mov dword [rsp + 0xf8], eax
mov eax, dword [rdx + 0x50]
mov dword [rsp + 0xf0], 0x2c
mov dword [rsp + 0xe8], eax
mov eax, dword [rdx + 0x24cdb20]
mov dword [rsp + 0xe0], 0x2c
mov dword [rsp + 0xd8], eax
mov eax, dword [rdx + 0x24cdb3c]
mov dword [rsp + 0xd0], 0x2c
mov dword [rsp + 0xc8], eax
mov eax, dword [rdx + 0x24cdb24]
mov dword [rsp + 0xc0], 0x2c
mov dword [rsp + 0xb8], eax
mov eax, dword [rdx + 0x24cdb28]
mov dword [rsp + 0xb0], 0x2c
mov dword [rsp + 0xa8], eax
mov eax, dword [rdx + 0x24cdb30]
mov dword [rsp + 0xa0], 0x2c
mov dword [rsp + 0x98], eax
mov eax, dword [rdx + 0x24cdb38]
mov dword [rsp + 0x90], 0x2c
mov dword [rsp + 0x88], eax
mov eax, dword [rdx]
mov dword [rsp + 0x80], 0x2c
mov dword [rsp + 0x78], r8d
mov r8d, 0x2c
mov dword [rsp + 0x70], 0x2c
mov dword [rsp + 0x68], eax
mov eax, dword [rdx + 0x10]
mov dword [rsp + 0x60], 0x2c
mov dword [rsp + 0x58], eax
mov eax, dword [rdx + 0x24cdb14]
mov dword [rsp + 0x50], 0x2c
mov dword [rsp + 0x48], eax
mov eax, dword [rdx + 0x14]
lea rdx, str.B290_START_c_lf_c_d_c_lf_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_c_d_r
mov dword [rsp + 0x40], 0x2c
movsd qword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], 0x2c
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x2c
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x1400015e6
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x1400015e6
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400015c0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 4]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.140009560
call qword [sym.imp.mr12e.dll_CalcMeterPerBin]
call fcn.14000af50
mov rdx, qword [0x14003ffb8]
mov rax, qword [rdx + 0x80]
mov qword [rdx + 0x18], rax
mov eax, dword [rdx + 0x14]
mov dword [rdx + 0x2637ed8], eax
call fcn.14000a1e0
call fcn.14000ac80
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rbx, qword [0x14003ffb8]
mov dword [rbx + 0x24cdb94], eax
mov dword [rbx + 0x2637f0c], r14d
test dword [rbx + 0x1db2344], 0x400
je 0x1400016f9
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x14003ffb8]
lea rdx, str.B290_STOP_r
add rcx, 0x24ccae0
call fcn.1400010b0
mov rcx, qword [0x14003ffb8]
cmp dword [rcx + 0x24cdb10], 1
jne 0x1400016bd
mov rbx, qword [rcx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x1400016bd
lea rdx, [rcx + 0x24ccae0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001690
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 0x78]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x14003ffb8]
mov dword [rbx + 0xe00020], r14d
add rcx, 0x1db2244
lea rdx, str.Sent_:_STOP_script
call fcn.1400010b0
mov rbx, qword [0x14003ffb8]
or dword [rbx + 0x1db2344], 0x10
and dword [rbx + 0x1db2344], 0xfffffbff
mov dword [rbx + 0x2637f0c], 1
mov dword [rbx + 0x2637f54], r14d
mov eax, dword [rbx + 0x1db2344]
bt eax, 0xb
jae 0x14000171b
btr eax, 0xb
mov dword [rbx + 0x1db2344], eax
call fcn.14000b250
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2344]
bt eax, 0xc
jae 0x14000173d
btr eax, 0xc
mov dword [rbx + 0x1db2344], eax
call fcn.14000b050
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2344]
bt eax, 0xd
jae 0x14000183a
btr eax, 0xd
mov dword [rbx + 0x1db2344], eax
call fcn.14000bca0
mov rcx, qword [0x14003ffb8]
cmp dword [rcx + 0x2637f14], 1
jne 0x1400017aa
lea rdx, [rbp]
mov dword [rcx + 0x2637f14], r14d
call fcn.14000b950
mov rcx, qword [0x14003ffb8]
lea r8, [rbp]
add rcx, 0x24ccae0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_MAP__s_c_c
call fcn.1400010b0
jmp 0x1400017c7
mov r9d, 0xa
lea rdx, str.START_MAP_c_c
add rcx, 0x24ccae0
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x14003ffb8]
cmp dword [rax + 0x24cdb10], 1
jne 0x140001818
mov rbx, qword [rax + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001818
lea rdx, [rax + 0x24ccae0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400017f2
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.14000bbd0
call fcn.140009560
call fcn.14000a6e0
call fcn.14000a1e0
mov rbx, qword [0x14003ffb8]
mov dword [rbx + 0x2637f0c], r14d
mov eax, dword [rbx + 0x1db2344]
bt eax, 0xe
jae 0x140001938
btr eax, 0xe
mov dword [rbx + 0x1db2344], eax
call fcn.14000bca0
mov rcx, qword [0x14003ffb8]
cmp dword [rcx + 0x2637f14], 1
jne 0x1400018a7
lea rdx, [rbp]
mov dword [rcx + 0x2637f14], r14d
call fcn.14000b950
mov rcx, qword [0x14003ffb8]
lea r8, [rbp]
add rcx, 0x24ccae0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_PPI__s_c_c
call fcn.1400010b0
jmp 0x1400018c4
mov r9d, 0xa
lea rdx, str.START_PPI_c_c
add rcx, 0x24ccae0
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x14003ffb8]
cmp dword [rax + 0x24cdb10], 1
jne 0x140001916
mov rbx, qword [rax + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001916
lea rdx, [rax + 0x24ccae0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400018f0
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.14000bbd0
call fcn.140009560
call fcn.14000a1e0
call fcn.14000ac80
mov rbx, qword [0x14003ffb8]
mov dword [rbx + 0x2637f0c], r14d
mov eax, dword [rbx + 0x1db2344]
bt eax, 0xf
jae 0x140001a69
btr eax, 0xf
mov dword [rbx + 0x1db2344], eax
call fcn.14000bca0
call fcn.140009560
mov rcx, qword [0x14003ffb8]
cmp dword [rcx + 0x24cdbdc], 1
mov qword [rcx + 0x24cdb60], r14
mov qword [rcx + 0x24cdb58], r14
mov qword [rcx + 0x24cdb68], r14
jne 0x140001992
call fcn.1400099a0
call fcn.14000af50
mov rcx, qword [0x14003ffb8]
cmp dword [rcx + 0x2637f14], 1
jne 0x1400019d9
lea rdx, [rbp]
mov dword [rcx + 0x2637f14], r14d
call fcn.14000b950
mov rcx, qword [0x14003ffb8]
lea r8, [rbp]
add rcx, 0x24ccae0
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.START_RAW__s_c_c
call fcn.1400010b0
jmp 0x1400019f6
mov r9d, 0xa
lea rdx, str.START_RAW_c_c
add rcx, 0x24ccae0
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rax, qword [0x14003ffb8]
cmp dword [rax + 0x24cdb10], 1
jne 0x140001a47
mov rbx, qword [rax + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001a47
lea rdx, [rax + 0x24ccae0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001a21
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.14000bbd0
call fcn.14000a6e0
call fcn.14000a1e0
call fcn.14000ac80
mov rbx, qword [0x14003ffb8]
mov dword [rbx + 0x2637f0c], r14d
mov eax, dword [rbx + 0x1db2344]
bt eax, 0x10
jae 0x140001b68
btr eax, 0x10
lea rcx, [rbx + 0x24ccae0]
lea rdx, str.B290_RDPARAM_r
mov dword [rbx + 0x1db2344], eax
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140001ae7
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001ae7
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001ac1
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.14000b130
movsxd rbx, eax
test eax, eax
jle 0x140001b61
mov rdx, qword [0x14003ffb8]
mov byte [rbx + rdx + 0x1db2ae0], r14b
lea r8, [rdx + 0x1db2ae0]
lea rcx, [rdx + 0x1db2244]
lea rdx, [0x140037cb8]
call fcn.1400010b0
mov rcx, qword [0x14003ffb8]
lea r8, [rbp - 0x80]
mov edx, ebx
or dword [rcx + 0x1db2344], 0x10
add rcx, 0x1db2ae0
mov qword [rbp - 0x80], rcx
call fcn.1400088e0
mov rbx, qword [0x14003ffb8]
or dword [rbx + 0x1db2344], 8
jmp 0x140001b68
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2348]
test al, 1
je 0x140001bf9
mov r9d, 0xa
lea rcx, [rbx + 0x24ccae0]
and eax, 0xfffffffe
lea rdx, str.K_0_1_c_c
mov dword [rbx + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140001bed
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001bed
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001bc7
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2348]
test al, 2
je 0x140001ea5
mov r9d, 0xa
lea rcx, [rbx + 0x24ccae0]
and eax, 0xfffffffd
lea rdx, str.K_0_0_c_c
mov dword [rbx + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140001c86
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001c86
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001c60
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.14000b130
movsxd rdi, eax
test eax, eax
jle 0x140001e7d
mov rdx, qword [0x14003ffb8]
mov byte [rdi + rdx + 0x1db2ae0], r14b
lea r8, [rdx + 0x1db2ae0]
lea rcx, [rdx + 0x1db2244]
lea rdx, [0x140037cb8]
call fcn.1400010b0
mov rbx, qword [0x14003ffb8]
mov edx, r14d
or dword [rbx + 0x1db2344], 0x10
mov rcx, qword [rbx + 0x2637f48]
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140001d0b
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140001d05
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, edi
jl 0x140001ce4
xorps xmm0, xmm0
lea r10, [rbx + 0x1db2ae6]
movups xmmword [rbp], xmm0
mov r11, r14
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
nop dword [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 0x140001d59
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140001d64
cmp cl, 0x2d
jne 0x140001d6f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140001d40
jmp 0x140001d77
cmp cl, 0x2c
jne 0x140001d77
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 0x140001d9f
sub cl, 0x2c
cmp cl, 1
ja 0x140001dab
inc r11
cmp r11, 0x1000
jl 0x140001d30
movd xmm0, dword [rbp + 4]
movd xmm2, dword [rbp]
movd xmm1, dword [rbp + 8]
mov eax, dword [rbp + 0xc]
mov dword [rbx + 0x50], eax
mov eax, dword [rbp + 0x10]
mov dword [rbx + 0x5c], eax
mov eax, dword [rbp + 0x14]
cvtdq2pd xmm0, xmm0
mov dword [rbx + 0x58], eax
mov eax, dword [rbp + 0x18]
mov dword [rbx + 0x24cdb30], eax
mov eax, dword [rbp + 0x1c]
mov dword [rbx + 0x24cdb28], eax
mov eax, dword [rbp + 0x20]
divsd xmm0, xmm8
mov dword [rbx + 0x24cdb24], eax
mov eax, dword [rbp + 0x28]
mov dword [rbx + 0x24cdb20], eax
mov eax, dword [rbp + 0x2c]
cvtdq2pd xmm2, xmm2
movsd qword [rbx + 0x20], xmm0
movd xmm0, dword [rbp + 0x24]
cvtdq2pd xmm1, xmm1
divsd xmm2, xmm8
divsd xmm1, xmm8
movsd qword [rbx + 0x18], xmm2
movsd qword [rbx + 0x2637ec8], xmm1
cvtdq2pd xmm0, xmm0
movsd qword [rbx + 0x78], xmm0
cmp eax, 0x128e0
jl 0x140001e74
movd xmm1, eax
movaps xmm0, xmm2
mov eax, dword [rbp + 0x30]
cvtdq2pd xmm1, xmm1
mov dword [rbx + 0x14], eax
mov eax, dword [rbp + 0x34]
mov dword [rbx + 0x10], eax
mov eax, dword [rbp + 0x38]
mov dword [rbx + 0x2637fb4], eax
divsd xmm1, xmm8
movsd qword [rbx + 0x24cdb48], xmm1
call qword [sym.imp.mr12e.dll_CalcRampTimeByMaxDistance]
mov rbx, qword [0x14003ffb8]
movsd qword [rbx + 8], xmm0
or dword [rbx + 0x1db2344], 8
jmp 0x140001ea5
mov rcx, qword [0x14003ffb8]
lea rdx, [0x140037ce0]
add rcx, 0x1db2244
call fcn.1400010b0
mov rbx, qword [0x14003ffb8]
or dword [rbx + 0x1db2344], 0x10
mov eax, dword [rbx + 0x1db2348]
test al, 4
je 0x140001f36
mov r9d, 0xa
lea rcx, [rbx + 0x24ccae0]
and eax, 0xfffffffb
lea rdx, str.K_0_3_c_c
mov dword [rbx + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140001f2a
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001f2a
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001f04
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2348]
test al, 8
je 0x140001fc7
mov r9d, 0xa
lea rcx, [rbx + 0x24ccae0]
and eax, 0xfffffff7
lea rdx, str.K_0_4_c_c
mov dword [rbx + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140001fbb
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140001fbb
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140001f95
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2348]
test al, al
jns 0x140002072
btr eax, 7
mov dword [rsp + 0x20], 0xa
mov r8d, r14d
mov dword [rbx + 0x1db2348], eax
cmp dword [rbx + 0x2637f10], 1
lea rcx, [rbx + 0x24ccae0]
mov r9d, InitCommonControls
lea rdx, str.ATST__d_c_c
sete r8b
add r8d, 3
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140002066
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140002066
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002040
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2348]
bt eax, 8
jae 0x140002106
mov r9d, 0xa
lea rcx, [rbx + 0x24ccae0]
btr eax, 8
lea rdx, str.ATST_0_c_c
mov dword [rbx + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x1400020fa
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x1400020fa
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400020d4
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2344]
bt eax, 0x1b
jae 0x140002176
xorps xmm0, xmm0
xorps xmm1, xmm1
btr eax, 0x1b
mov dword [rbx + 0x1db2344], eax
movups xmmword [rbx + 0x1802160], xmm0
movups xmmword [rbx + 0x1802170], xmm0
movups xmmword [rbx + 0x1802180], xmm0
movups xmmword [rbx + 0x1802190], xmm0
movups xmmword [rbx + 0x18021a0], xmm0
movups xmmword [rbx + 0x18021b0], xmm0
movups xmmword [rbx + 0x18020a0], xmm1
movups xmmword [rbx + 0x18020b0], xmm1
movups xmmword [rbx + 0x18020c0], xmm1
movups xmmword [rbx + 0x18020d0], xmm1
movups xmmword [rbx + 0x18020e0], xmm1
movups xmmword [rbx + 0x18020f0], xmm1
mov ecx, dword [rbx + 0x1db2344]
bt ecx, 0x1c
jae 0x140002362
mov eax, ecx
btr eax, 0x1c
mov dword [rbx + 0x1db2344], eax
bt ecx, 0x1c
jae 0x140002362
lea rdx, [rbp + 4]
mov r9d, 3
lea r8, [rbx + 0x1802168]
nop dword [rax]
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 0x1400021b0
mov eax, dword [rbp + 0x2c]
lea rcx, [rbx + 0x24ccae0]
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.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140002356
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140002356
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002330
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2344]
bt eax, 0x1d
jae 0x14000258e
btr eax, 0x1d
lea rcx, [rbx + 0x24ccae0]
lea rdx, str.EEPHRD_r
mov dword [rbx + 0x1db2344], eax
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x1400023e6
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x1400023e6
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400023c0
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.14000b130
movsxd rbx, eax
test eax, eax
jle 0x140002587
mov rdx, qword [0x14003ffb8]
mov byte [rbx + rdx + 0x1db2ae0], r14b
lea r8, [rdx + 0x1db2ae0]
lea rcx, [rdx + 0x1db2244]
lea rdx, [0x140037cb8]
call fcn.1400010b0
mov rsi, qword [0x14003ffb8]
mov edx, r14d
or dword [rsi + 0x1db2344], 0x10
mov rcx, qword [rsi + 0x2637f48]
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x14000246b
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140002465
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140002444
lea r10, [rsi + 0x1db2ae7]
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 0x1400024a9
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x1400024b4
cmp cl, 0x2d
jne 0x1400024bf
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140002490
jmp 0x1400024c7
cmp cl, 0x2c
jne 0x1400024c7
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 0x1400024ef
sub cl, 0x2c
cmp cl, 1
ja 0x1400024fb
inc r11
cmp r11, 0x1000
jl 0x140002480
lea rcx, [rbp + 4]
mov r8d, 3
lea rdx, [rsi + 0x1802168]
nop dword [rax]
mov eax, dword [rcx - 4]
lea rdx, [rdx + 0x20]
sub eax, 0x8000
lea rcx, [rcx + 0x10]
movd xmm0, eax
mov eax, dword [rcx - 0x10]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x28], xmm0
movd xmm0, eax
mov eax, dword [rcx - 0xc]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x20], xmm0
movd xmm0, eax
mov eax, dword [rcx - 8]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x18], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm6
movsd qword [rdx - 0x10], xmm0
sub r8, 1
jne 0x140002510
jmp 0x140003cd7
mov rbx, qword [0x14003ffb8]
mov ecx, dword [rbx + 0x1db2344]
bt ecx, 0x1e
jae 0x140002782
mov eax, ecx
btr eax, 0x1e
mov dword [rbx + 0x1db2344], eax
bt ecx, 0x1e
jae 0x140002782
lea rdx, [rbp + 4]
mov r9d, 3
lea r8, [rbx + 0x18020a8]
nop word [rax + rax]
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 0x1400025d0
mov eax, dword [rbp + 0x2c]
lea rcx, [rbx + 0x24ccae0]
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.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140002776
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140002776
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002750
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2344]
test eax, eax
jns 0x1400029ae
btr eax, 0x1f
lea rcx, [rbx + 0x24ccae0]
lea rdx, str.EEAMPRD_r
mov dword [rbx + 0x1db2344], eax
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140002806
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140002806
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400027e0
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.14000b130
movsxd rbx, eax
test eax, eax
jle 0x1400029a7
mov rdx, qword [0x14003ffb8]
mov byte [rbx + rdx + 0x1db2ae0], r14b
lea r8, [rdx + 0x1db2ae0]
lea rcx, [rdx + 0x1db2244]
lea rdx, [0x140037cb8]
call fcn.1400010b0
mov rsi, qword [0x14003ffb8]
mov edx, r14d
or dword [rsi + 0x1db2344], 0x10
mov rcx, qword [rsi + 0x2637f48]
mov r8d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x14000288b
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140002885
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140002864
lea r10, [rsi + 0x1db2ae8]
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 0x1400028c9
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x1400028d4
cmp cl, 0x2d
jne 0x1400028df
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x1400028b0
jmp 0x1400028e7
cmp cl, 0x2c
jne 0x1400028e7
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 0x14000290f
sub cl, 0x2c
cmp cl, 1
ja 0x14000291b
inc r11
cmp r11, 0x1000
jl 0x1400028a0
lea rcx, [rbp + 4]
mov r8d, 3
lea rdx, [rsi + 0x18020a8]
nop dword [rax]
mov eax, dword [rcx - 4]
lea rdx, [rdx + 0x20]
sub eax, 0x8000
lea rcx, [rcx + 0x10]
movd xmm0, eax
mov eax, dword [rcx - 0x10]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x28], xmm0
movd xmm0, eax
mov eax, dword [rcx - 0xc]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x20], xmm0
movd xmm0, eax
mov eax, dword [rcx - 8]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x18], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm6
movsd qword [rdx - 0x10], xmm0
sub r8, 1
jne 0x140002930
jmp 0x140003cd7
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2348]
test al, 0x10
je 0x140002a32
and eax, 0xffffffef
lea rcx, [rbx + 0x24ccae0]
lea rdx, str.EEENWR_0_1_1_r
mov dword [rbx + 0x1db2348], eax
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140002a26
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140002a26
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002a00
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2344]
bt eax, 0x18
jae 0x140002bee
btr eax, 0x18
mov dword [rbx + 0x1db2344], eax
mov eax, dword [rbx + 0x2637f44]
cmp eax, 0xe100
jg 0x140002a8d
je 0x140002a85
cmp eax, 0x2580
je 0x140002a80
cmp eax, 0x4b00
je 0x140002a78
cmp eax, 0x9600
jne 0x140002aa2
mov r8d, 2
jmp 0x140002ac0
mov r8d, 1
jmp 0x140002ac0
mov r8d, r14d
jmp 0x140002ac0
mov r8d, 3
jmp 0x140002ac0
cmp eax, 0x1c200
je 0x140002aba
cmp eax, 0x38400
je 0x140002ab2
cmp eax, 0x70800
je 0x140002aaa
mov r8d, 7
jmp 0x140002ac0
mov r8d, 6
jmp 0x140002ac0
mov r8d, 5
jmp 0x140002ac0
mov r8d, 4
lea rcx, [rbx + 0x24ccae0]
mov dword [rsp + 0x20], 0xa
mov r9d, InitCommonControls
lea rdx, str.H_0__d_0_c_c
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140002b36
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140002b36
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002b10
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.14000b130
movsxd r8, eax
test eax, eax
jle 0x140002bc6
mov r10, qword [0x14003ffb8]
mov edx, r14d
mov rcx, qword [r10 + 0x2637f48]
mov r9d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x140002b88
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140002b81
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, r8d
jl 0x140002b60
mov byte [r8 + r10 + 0x1db2ae0], r14b
lea rcx, [r10 + 0x1db2244]
lea r8, [r10 + 0x1db2ae0]
lea rdx, [0x140037cb8]
call fcn.1400010b0
mov rbx, qword [0x14003ffb8]
or dword [rbx + 0x1db2344], 0x10
mov eax, dword [rbx + 0x2637f44]
mov dword [rbx + 0x2637f40], eax
jmp 0x140002bee
mov rcx, qword [0x14003ffb8]
lea rdx, [0x140037ce0]
add rcx, 0x1db2244
call fcn.1400010b0
mov rbx, qword [0x14003ffb8]
or dword [rbx + 0x1db2344], 0x10
mov ecx, dword [rbx + 0x1db2348]
bt ecx, 0xa
jae 0x140002d93
mov eax, ecx
btr eax, 0xa
mov dword [rbx + 0x1db2348], eax
bt ecx, 0xa
jae 0x140002d93
xorps xmm0, xmm0
lea rcx, [rbx + 0x1db26e0]
xor eax, eax
xor edx, edx
mov r8d, 0x200
mov qword [rbp + 0x1a0], rax
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
call fcn.1400126f0
xor edx, edx
lea rcx, [rbx + 0x24b2ae0]
mov r8d, 0x18000
call fcn.1400126f0
lea rdx, [rbx + 0x1db24e0]
lea r8, [rbx + 0x24b2ae0]
sub r8, rdx
nop dword [rax + rax]
movzx eax, byte [rdx]
mov byte [r8 + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140002ca0
lea rcx, [rbx + 0x24b2ae0]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov rax, qword [sym.imp.mr12e.dll_class_CLocalGuiUtils_CLGU]
mov dword [rbp + 0x110], 0x98
mov rcx, qword [rax + 0x10]
mov qword [rbp + 0x118], rcx
mov rcx, qword [0x14003ffb8]
mov dword [rbp + 0x148], 0x104
mov qword [rbp + 0x128], rsi
mov dword [rbp + 0x170], 0x1000
lea rax, [rcx + 0x24b2ae0]
mov qword [rbp + 0x160], rax
lea rax, [rcx + 0x1db26e0]
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x110]
lea rax, [0x140038b40]
mov qword [rbp + 0x168], rax
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
mov rbx, qword [0x14003ffb8]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax + 0x1db26e0], r14b
jne 0x140002d40
test eax, eax
jle 0x140002d93
xor edx, edx
lea rcx, [rbx + 0x1db28e0]
mov r8d, 0x200
call fcn.1400126f0
lea rdx, [rbx + 0x1db26e0]
lea rcx, [rbx + 0x1db28e0]
call fcn.1400010b0
mov rcx, qword [0x14003ffb8]
add rcx, 0x1db28e0
call qword [sym.imp.SHLWAPI.dll_PathStripPathA]
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2344]
bt eax, 0x19
jae 0x140002e41
mov r9d, 0xa
lea rcx, [rbx + 0x24ccae0]
btr eax, 0x19
lea rdx, str.V_0_0_0_c_c
mov dword [rbx + 0x1db2344], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdi, qword [0x14003ffb8]
mov rbx, 0xffffffffffffffff
lea rdx, [rdi + 0x24ccae0]
nop
inc rbx
cmp byte [rdx + rbx], r14b
jne 0x140002de0
cmp dword [rdi + 0x24cdb10], 1
jne 0x140002e1f
mov rdi, qword [rdi + 0x2637f48]
cmp dword [rdi + 8], 1
je 0x140002e1f
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.14000bbd0
mov rdx, qword [0x14003ffb8]
mov r8d, ebx
add rdx, 0x1db2ae0
call fcn.140009dc0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2344]
bt eax, 0x11
jae 0x140002f42
btr eax, 0x11
mov dword [rsp + 0x48], 0xa
mov dword [rbx + 0x1db2344], eax
lea rcx, [rbx + 0x24ccae0]
mov edx, dword [rbx + 0x2637eb4]
movsd xmm0, qword [rbx + 0x98]
mov r9d, dword [rbx + 0x24cdb34]
mov r8d, dword [rbx + 0x2637fb4]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], edx
movsd qword [rbx + 0x90], xmm0
mulsd xmm0, xmm8
mov dword [rbx + 0x2637eb0], 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 [rbx + 0x24cdbc0]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x2637fbc]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140002f26
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140002f26
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002f00
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.14000bbd0
mov rbx, qword [0x14003ffb8]
test eax, eax
jne 0x140002f42
mov eax, dword [rbx + 0x2637fb0]
mov dword [rbx + 0x2637fac], eax
mov eax, dword [rbx + 0x1db2344]
bt eax, 0x12
jae 0x140002fe3
btr eax, 0x12
mov dword [rbx + 0x1db2344], eax
call fcn.1400096c0
test eax, eax
jne 0x140002fbb
mov rax, qword [0x14003ffb8]
lea rdx, [0x140037e18]
lea rcx, [rbp + 0x100]
cmp dword [rax + 0x24cdbc0], 1
lea rax, [0x140037e1c]
cmovne rdx, rax
call fcn.1400010b0
mov rcx, qword [0x14003ffb8]
lea r9, [rbp + 0x100]
lea rdx, str._s__RAW_data_support___s
lea r8, [rcx + 0x1db2ae0]
add rcx, 0x1db2244
call fcn.1400010b0
jmp 0x140002fd5
mov rcx, qword [0x14003ffb8]
lea rdx, [0x140037ce0]
add rcx, 0x1db2244
call fcn.1400010b0
mov rbx, qword [0x14003ffb8]
or dword [rbx + 0x1db2344], 0x10
mov eax, dword [rbx + 0x1db2344]
bt eax, 0x13
jae 0x140003077
mov r9d, 0xa
lea rcx, [rbx + 0x24ccae0]
btr eax, 0x13
lea rdx, str.S_0_3_c_c
mov dword [rbx + 0x1db2344], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x14000306b
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x14000306b
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003045
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2344]
bt eax, 0x14
jae 0x140003152
btr eax, 0x14
mov dword [rsp + 0x50], 0xa
mov dword [rbx + 0x1db2344], eax
lea rcx, [rbx + 0x24ccae0]
mov eax, dword [rbx + 0x24cdbfc]
lea rdx, str.DECIM_DIST_0_1__d__d__d__d__d__d__d_c_c
mov r9d, dword [rbx + 0x24cdbe8]
mov r8d, dword [rbx + 0x24cdbe4]
mov dword [rsp + 0x48], InitCommonControls
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0x24cdbf8]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 0x24cdbf4]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0x24cdbf0]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x24cdbec]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140003146
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140003146
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003120
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2344]
bt eax, 0x15
jae 0x140003374
mov r9d, 0xa
lea rcx, [rbx + 0x24ccae0]
btr eax, 0x15
lea rdx, str.DECIM_DIST_0_0_c_c
mov dword [rbx + 0x1db2344], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x1400031da
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x1400031da
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400031b4
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
mov r8d, 0x1f4
call fcn.14000b130
movsxd rdi, eax
test eax, eax
jle 0x14000334c
mov rdx, qword [0x14003ffb8]
mov byte [rdi + rdx + 0x1db2ae0], r14b
lea r8, [rdx + 0x1db2ae0]
lea rcx, [rdx + 0x1db2244]
lea rdx, [0x140037cb8]
call fcn.1400010b0
mov rbx, qword [0x14003ffb8]
mov edx, r14d
or dword [rbx + 0x1db2344], 0x10
mov rcx, qword [rbx + 0x2637f48]
mov r8d, dword [rcx + 0xe00018]
nop dword [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140003267
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140003261
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, edi
jl 0x140003240
xorps xmm0, xmm0
lea r10, [rbx + 0x1db2aef]
movups xmmword [rbp], xmm0
mov r11, 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 0x1400032b9
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x1400032c4
cmp cl, 0x2d
jne 0x1400032cf
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x1400032a0
jmp 0x1400032d7
cmp cl, 0x2c
jne 0x1400032d7
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 0x1400032ff
sub cl, 0x2c
cmp cl, 1
ja 0x14000330b
inc r11
cmp r11, 0x1000
jl 0x140003290
mov eax, dword [rbp]
mov dword [rbx + 0x24cdbe4], eax
mov eax, dword [rbp + 4]
mov dword [rbx + 0x24cdbe8], eax
mov eax, dword [rbp + 8]
mov dword [rbx + 0x24cdbec], eax
mov eax, dword [rbp + 0xc]
mov dword [rbx + 0x24cdbf0], eax
mov eax, dword [rbp + 0x10]
mov dword [rbx + 0x24cdbf4], eax
mov eax, dword [rbp + 0x14]
mov dword [rbx + 0x24cdbf8], eax
mov eax, dword [rbp + 0x18]
mov dword [rbx + 0x24cdbfc], eax
jmp 0x140003374
mov rcx, qword [0x14003ffb8]
lea rdx, [0x140037ce0]
add rcx, 0x1db2244
call fcn.1400010b0
mov rbx, qword [0x14003ffb8]
or dword [rbx + 0x1db2344], 0x10
mov eax, dword [rbx + 0x1db2348]
bt eax, 0xb
jae 0x140003408
mov r9d, 0xa
lea rcx, [rbx + 0x24ccae0]
btr eax, 0xb
lea rdx, str.TEMP_c_c
mov dword [rbx + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x1400033fc
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x1400033fc
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400033d6
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2344]
bt eax, 0x17
jae 0x14000342a
btr eax, 0x17
mov dword [rbx + 0x1db2344], eax
call fcn.140009bd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2344]
bt eax, 0x16
jae 0x1400035c9
btr eax, 0x16
mov dword [rsp + 0x20], 0xa
mov dword [rbx + 0x1db2344], eax
lea rcx, [rbx + 0x24ccae0]
mov r8d, dword [rbx + 0x24cdbd4]
lea rdx, str.DELSAMPLE_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x1400034bd
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x1400034bd
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003497
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.14000bbd0
test eax, eax
jne 0x1400035c2
mov rcx, qword [0x14003ffb8]
mov edx, r14d
add rcx, 0x1db2ae0
nop dword [rax + rax]
movzx eax, byte [rcx]
cmp al, 0x2c
ja 0x1400034ed
bt r15, rax
jb 0x1400034fa
inc rcx
inc edx
cmp edx, 0x100
jl 0x1400034e0
lea rdx, [rbp]
mov r8d, r14d
lea rbx, [rcx + 1]
movzx ecx, byte [rbx]
cmp cl, 0x2c
ja 0x140003513
bt r15, rcx
jb 0x140003529
mov byte [rdx], cl
inc rbx
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x140003505
jmp 0x14000352c
mov byte [rdx], r14b
lea rcx, [rbp]
call fcn.140019910
lea rdx, [rbp]
inc rbx
mov r8d, r14d
nop
movzx ecx, byte [rbx]
cmp cl, 0x2c
ja 0x14000354e
bt r15, rcx
jb 0x140003564
mov byte [rdx], cl
inc rbx
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x140003540
jmp 0x140003567
mov byte [rdx], r14b
lea rcx, [rbp]
call fcn.140019910
lea rax, [rbp + 0x210]
mov r8d, r14d
sub rbx, rax
lea rdx, [rbp + 0x210]
movzx ecx, byte [rbx + rdx + 1]
cmp cl, 0x2c
ja 0x140003594
bt r15, rcx
jb 0x1400035a7
mov byte [rdx], cl
inc r8d
inc rdx
cmp r8d, 0x100
jl 0x140003584
jmp 0x1400035aa
mov byte [rdx], r14b
lea rcx, [rbp + 0x210]
call fcn.140019910
mov rbx, qword [0x14003ffb8]
mov dword [rbx + 0x6c], eax
jmp 0x1400035c9
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2348]
bt eax, 0xc
jae 0x140003699
btr eax, 0xc
mov dword [rsp + 0x48], 0xa
mov dword [rbx + 0x1db2348], eax
lea rcx, [rbx + 0x24ccae0]
mov eax, dword [rbx + 0x1db223c]
lea rdx, str.LRA_0_1__d__d__d__d__d__d_c_c
mov r9d, dword [rbx + 0x1db222c]
mov r8d, dword [rbx + 0x1db2228]
mov dword [rsp + 0x40], InitCommonControls
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 0x1db2238]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0x1db2234]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x1db2230]
mov dword [rsp + 0x20], eax
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x14000368d
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x14000368d
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003667
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2348]
bt eax, 0xd
jae 0x140003732
mov r9d, 0xa
lea rcx, [rbx + 0x24ccae0]
btr eax, 0xd
lea rdx, str.LRA_0_0_c_c
mov dword [rbx + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140003726
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140003726
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003700
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2348]
bt eax, 0xe
jae 0x1400037c6
mov r9d, 0xa
lea rcx, [rbx + 0x24ccae0]
btr eax, 0xe
lea rdx, str.LRA_0_1_0_0_0_0_0_0_c_c
mov dword [rbx + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x1400037ba
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x1400037ba
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003794
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2348]
bt eax, 0xf
jae 0x140003865
btr eax, 0xf
mov dword [rsp + 0x20], 0xa
mov dword [rbx + 0x1db2348], eax
lea rcx, [rbx + 0x24ccae0]
mov r8d, dword [rbx + 0x1db2240]
lea rdx, str.STC_0_1__d_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x140003859
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x140003859
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140003833
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.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2348]
bt eax, 0x10
jae 0x1400038f9
mov r9d, 0xa
lea rcx, [rbx + 0x24ccae0]
btr eax, 0x10
lea rdx, str.STC_0_0_c_c
mov dword [rbx + 0x1db2348], eax
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
cmp dword [rdx + 0x24cdb10], 1
jne 0x1400038ed
mov rbx, qword [rdx + 0x2637f48]
cmp dword [rbx + 8], 1
je 0x1400038ed
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400038c7
mov rcx, qword [rbx + 0xe00028]
lea r9, [rbp - 8]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], r14d
call fcn.14000bbd0
mov rbx, qword [0x14003ffb8]
mov eax, dword [rbx + 0x1db2348]
bt eax, 0x11
jae 0x14000391b
btr eax, 0x11
mov dword [rbx + 0x1db2348], eax
call fcn.140009e70
mov rbx, qword [0x14003ffb8]
lea rcx, [rbx + 0x1db2ae0]
xor edx, edx
mov r8d, 0x700000
call fcn.1400126f0
xor r8d, r8d
call fcn.14000b130
movsxd rdi, eax
cmp edi, 1
jle 0x140003cd0
mov rcx, qword [0x14003ffb8]
test dword [rcx + 0x1db2344], 0x400
jne 0x140003c88
cmp dword [rcx + 0x2637f0c], 1
je 0x140003c6d
lea rax, [rcx + 0x1db2ae0]
mov edx, edi
lea r8, [rbp - 0x80]
mov qword [rbp - 0x80], rax
call fcn.140008640
test eax, eax
jne 0x140003a36
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rdx, qword [0x14003ffb8]
mov r9d, eax
sub r9d, dword [rdx + 0x24cdb94]
lea rcx, [rdx + 0x1db2244]
mov dword [rdx + 0x24cdb94], eax
or dword [rdx + 0x1db2344], 4
movd xmm0, dword [rdx + 0x1db2350]
mov eax, dword [rdx + 0x1db235c]
mov r8d, dword [rdx + 0x24cdb8c]
mov dword [rsp + 0x48], eax
inc r8d
mov eax, dword [rdx + 0x1db2354]
cvtdq2pd xmm0, xmm0
mov dword [rsp + 0x40], eax
divsd xmm0, xmm8
movsd qword [rsp + 0x38], xmm0
movups xmm0, xmmword [rdx + 0x80]
lea rdx, str.Read_map_data_No._d__dBytes__dmsec__max_.3lfm___.3lfm_bin__peak_pos_.3lf_Angle_d__ddB
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], r9d
mov r9d, edi
call fcn.1400010b0
mov rax, qword [0x14003ffb8]
or dword [rax + 0x1db2344], 0x10
inc dword [rax + 0x24cdb8c]
call fcn.14000a7a0
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rsi, qword [0x14003ffb8]
mov dword [rsi + 0x24cdb90], eax
jmp 0x140003cd7
cmp eax, 0xfffffffe
je 0x140003cd0
mov rax, qword [0x14003ffb8]
lea r8, [rbp - 0x80]
add rax, 0x1db2ae0
mov edx, edi
mov qword [rbp - 0x80], rax
call fcn.140008490
test eax, eax
jne 0x140003ad7
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x14003ffb8]
mov r9d, edi
mov edx, eax
sub edx, dword [rcx + 0x24cdb94]
mov dword [rcx + 0x24cdb94], eax
lea rax, [rcx + 0x1db2ae0]
or dword [rcx + 0x1db2344], 4
mov byte [rdi + rcx + 0x1db2ae0], r14b
mov r8d, dword [rcx + 0x24cdb8c]
add rcx, 0x1db2244
mov qword [rsp + 0x28], rax
inc r8d
mov dword [rsp + 0x20], edx
lea rdx, str.Read_PPI_No._d__dBytes__dmsec___s
call fcn.1400010b0
mov rax, qword [0x14003ffb8]
or dword [rax + 0x1db2344], 0x10
inc dword [rax + 0x24cdb8c]
call fcn.14000aaa0
jmp 0x140003a1e
cmp eax, 0xfffffffe
je 0x140003cd0
mov rsi, qword [0x14003ffb8]
lea r8, [rbp - 0x80]
mov edx, edi
lea rbx, [rsi + 0x1db2ae0]
mov qword [rbp - 0x80], rbx
call fcn.140008210
test eax, eax
jne 0x140003b0d
mov edx, edi
call fcn.140004040
jmp 0x140003a1e
cmp eax, 0xfffffffe
je 0x140003cd7
mov r9, rbx
cmp qword [rbx], r13
jne 0x140003bf3
cmp word [rbx + 8], 0x3057
jne 0x140003bf3
add rbx, 0xa
lea rdx, [rsi + 0xa0]
mov r8d, r14d
nop dword [rax]
movzx eax, byte [rbx]
movzx ecx, byte [rbx + 1]
add rbx, 2
shl ax, 8
or ax, cx
cwde
movd xmm0, eax
mov eax, ebx
cvtdq2pd xmm0, xmm0
sub eax, r9d
movsd qword [rdx], xmm0
cmp edi, eax
jl 0x140003cd7
cmp qword [rbx], r12
je 0x140003b86
inc r8d
add rdx, 8
cmp r8d, 0x300400
jb 0x140003b40
jmp 0x140003cd7
add rbx, 8
cmp byte [rbx], 0xd
jne 0x140003b99
cmp byte [rbx + 1], 0xa
jne 0x140003b99
add rbx, 2
mov rcx, qword [rsi + 0x2637f48]
lea eax, [r8 + 1]
sub ebx, r9d
mov dword [rsi + 0x24cdae0], eax
mov edx, r14d
test ebx, ebx
jle 0x140003be7
mov r8d, dword [rcx + 0xe00018]
nop dword [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140003be7
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140003be1
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, ebx
jl 0x140003bc0
mov edx, edi
call fcn.140004040
jmp 0x140003a1e
mov r8d, edi
mov rdx, rbx
call fcn.140007fe0
mov rcx, qword [0x14003ffb8]
lea rdx, str.Received__d_byte
add rcx, 0x1db2244
mov r8d, edi
call fcn.1400010b0
mov rsi, qword [0x14003ffb8]
mov edx, r14d
or dword [rsi + 0x1db2344], 0x10
mov rcx, qword [rsi + 0x2637f48]
mov r8d, dword [rcx + 0xe00018]
nop word [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140003cd7
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140003c65
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, edi
jl 0x140003c40
jmp 0x140003cd7
mov dword [rcx + 0x2637f0c], r14d
or dword [rcx + 0x1db2344], 0x400
or dword [rcx + 0x1db2348], 0x80000
mov rcx, qword [rcx + 0x2637f48]
mov edx, r14d
mov r8d, dword [rcx + 0xe00018]
nop dword [rax]
mov eax, dword [rcx + 0xe0001c]
cmp r8d, eax
je 0x140003a1e
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140003cc5
mov dword [rcx + 0xe0001c], r14d
inc edx
cmp edx, edi
jl 0x140003ca0
jmp 0x140003a1e
mov rsi, qword [0x14003ffb8]
cmp dword [rsi + 0x2637f54], r14d
je 0x140003e54
test byte [rsi + 0x1db2344], 4
jne 0x140003e54
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rdx, qword [0x14003ffb8]
mov ecx, eax
sub ecx, dword [0x14003ffa0]
cmp ecx, dword [rdx + 0x24cdb20]
jb 0x140003e54
mov dword [0x14003ffa0], eax
mov eax, dword [rdx + 0x24cdbb8]
test eax, eax
jne 0x140003e43
cmp dword [rdx + 0x2637f60], 1
jne 0x140003d39
call fcn.14000c2d0
jmp 0x140003e54
lea rcx, [rdx + 0x1db26e0]
lea rdx, [0x140038b54]
call fcn.140015014
mov rdi, rax
test rax, rax
jne 0x140003d67
mov rax, qword [0x14003ffb8]
mov dword [rax + 0x2637f54], r14d
jmp 0x140003e54
mov rcx, qword [0x14003ffb8]
mov r8, rdi
add rcx, 0x24b2ae0
mov edx, 0x18000
call fcn.140018598
mov rax, qword [0x14003ffb8]
mov ebx, r14d
cmp dword [rax + 0x24cdb8c], r14d
jle 0x140003dc5
nop word [rax + rax]
lea rcx, [rax + 0x24b2ae0]
mov r8, rdi
mov edx, 0x18000
call fcn.140018598
mov rax, qword [0x14003ffb8]
inc ebx
cmp ebx, dword [rax + 0x24cdb8c]
jl 0x140003da0
lea rbx, [rax + 0x24b2ae0]
xor edx, edx
mov rcx, rbx
mov r8d, 0x18000
call fcn.1400126f0
mov r8, rdi
mov edx, 0x18000
mov rcx, rbx
call fcn.140018598
mov rcx, rdi
test rax, rax
jne 0x140003e1d
call fcn.140015594
mov rax, qword [0x14003ffb8]
mov dword [rax + 0x2637f54], r14d
or dword [rax + 0x1db2344], 0x400
or dword [rax + 0x1db2348], 0x80000
jmp 0x140003e54
call fcn.140015594
mov rdx, qword [0x14003ffb8]
lea r8, [rdx + 0xa0]
add rdx, 0x24b2ae0
call fcn.14000b880
call fcn.14000c550
jmp 0x140003e54
cmp eax, 3
jne 0x140003e4f
call fcn.14000bd80
jmp 0x140003e54
call fcn.14000c0c0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [0x14003ffb8]
lea rsi, [0x140038b08]
mov edi, InitCommonControls
test dword [rbx + 0x1db2348], 0x100000
je 0x140001370
movaps xmm8, xmmword [rsp + 0x3e0]
movaps xmm7, xmmword [rsp + 0x3f0]
movaps xmm6, xmmword [rsp + 0x400]
mov r15, qword [rsp + 0x458]
mov r13, qword [rsp + 0x450]
mov r12, qword [rsp + 0x448]
mov eax, dword [rbx + 0x2637f2c]
lea rdx, [rbp + 0x110]
mov r8d, 0x100
mov dword [rbx + 0x2637f28], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x110]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea r9, str.mr12e.ini
lea r8, [rbp + 0x110]
lea rdx, str._s_s
lea rcx, [rbp]
call fcn.1400010b0
mov rax, qword [0x14003ffb8]
mov r14d, dword [rax + 0x263a7c8]
lea rsi, [rax + 0x2637fc8]
test r14d, r14d
jle 0x140004006
lea rbx, [rsi + 4]
cmp dword [rsi], 0
jne 0x140003f3e
mov r8, qword [rbx + 0x44]
lea r9, [rbp]
mov rdx, rbx
lea rcx, str.MR12E_LOCAL_PARAMS
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [rsi], 1
jne 0x140003f78
mov r8, qword [rbx + 0x44]
lea rdx, [0x140038938]
lea rcx, [rbp + 0x110]
mov r8d, dword [r8]
call fcn.1400010b0
lea r9, [rbp]
mov rdx, rbx
lea r8, [rbp + 0x110]
lea rcx, str.MR12E_LOCAL_PARAMS
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [rsi], 2
jne 0x140003fb2
mov r8, qword [rbx + 0x44]
lea rdx, [0x140038a0c]
lea rcx, [rbp + 0x110]
mov r8d, dword [r8]
call fcn.1400010b0
lea r9, [rbp]
mov rdx, rbx
lea r8, [rbp + 0x110]
lea rcx, str.MR12E_LOCAL_PARAMS
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [rsi], 3
jne 0x140003ff2
mov rax, qword [rbx + 0x44]
lea rdx, [0x140038a10]
lea rcx, [rbp + 0x110]
movsd xmm2, qword [rax]
movq r8, xmm2
call fcn.1400010b0
lea r9, [rbp]
mov rdx, rbx
lea r8, [rbp + 0x110]
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 0x140003f21
call fcn.14000b050
mov rax, qword [0x14003ffb8]
and dword [rax + 0x1db2348], 0xffefffff
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140010cc0
add rsp, 0x410
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret