Function at 0x14002b740
Capabilities:
Create thread
Read .ini file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x220
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r15, rcx
lea rcx, str.RICHED20.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [r15 + 0x100], rax
xor r12d, r12d
mov rax, qword [0x14003bbe8]
lea r8, [0x140032aea]
mov qword [rsp + 0x58], r12
lea rdx, str.RICHEDIT20A
mov r9d, 0x50301104
mov rcx, qword [rax + 8]
mov rax, qword [r15 + 0x60]
mov qword [rsp + 0x50], rcx
xor ecx, ecx
mov qword [rsp + 0x48], 0xa028
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x80
mov dword [rsp + 0x30], 0x80
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x30
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [r15 + 0x108], rax
test rax, rax
je 0x14002b99f
mov r9d, 0x100000
xor r8d, r8d
mov edx, 0x435
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [r15 + 0x108]
lea r8d, [r12 + 1]
xor r9d, r9d
mov edx, 0x432
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [r15 + 0x108]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x30], eax
mov eax, dword [r15 + 0x370]
movups xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x80], 0x54
movups xmmword [rbp - 0x60], xmm0
lea ecx, [rax + rax*4]
mov dword [rbp - 0x70], r12d
mov eax, dword [0x1400340b0]
shl ecx, 2
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x74], ecx
mov rcx, qword [r15 + 0x108]
mov dword [rbp - 0x5e], eax
movzx eax, word [0x1400340b4]
mov dword [rbp - 0x40], r12d
mov dword [rbp - 0x6c], 0xffffff
mov word [rbp - 0x5a], ax
mov byte [rbp - 0x67], InitCommonControls
mov dword [rbp - 0x7c], 0xfc000000
movups xmmword [rbp - 0x50], xmm0
movsd xmm0, qword [0x1400340a8]
movsd qword [rbp - 0x66], xmm0
test rcx, rcx
je 0x14002b91d
lea r9, [rbp - 0x80]
mov edx, 0x444
lea r8d, [r12 + 4]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [r15 + 0x108]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x443
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [r15 + 0x108]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x479
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [r15 + 0x108]
xor r8d, r8d
btr rax, 7
mov edx, 0x478
mov r9, rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov ecx, 0x20
call fcn.14002e9e0
mov rdi, rax
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rdx, qword [r15 + 0x60]
lea rax, vtable.SubWindowBase.0
mov rbx, qword [r15 + 0x108]
mov qword [rdi + 0x10], rdx
mov rcx, rbx
mov edx, 0xfffffffc
mov qword [rdi], rax
mov qword [rdi + 8], rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
lea r8, [0x14002e950]
mov edx, 0xfffffffc
mov rcx, rbx
mov qword [rdi + 0x18], rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov r8, rdi
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
lea rax, vtable.EditSub.0
mov qword [rdi], rax
mov qword [r15 + 0x348], rdi
mov r8, qword [r15 + 0x60]
lea rdx, [0x140032aea]
mov r9d, 0x64
mov ecx, 0x50000803
call qword [sym.imp.COMCTL32.dll_CreateStatusWindowA]
mov rcx, qword [r15 + 0x60]
mov edx, 1
mov qword [r15 + 0x110], rax
call qword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov rcx, qword [r15 + 0x60]
lea rdx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetWindowRect]
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x14003bbe8]
lea rdx, [rbp - 0x20]
mov r8d, 0x104
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp - 0x20]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r12b
jne 0x14002ba17
dec rax
cmp byte [rbp + rax - 0x20], 0x2e
je 0x14002ba3a
nop word [rax + rax]
dec rax
cmp byte [rbp + rax - 0x20], 0x2e
jne 0x14002ba30
mov r8d, dword [rsp + 0x70]
lea r9, [rbp - 0x20]
mov r14d, dword [rsp + 0x68]
lea rdx, str.WIDTH
mov edi, dword [rsp + 0x74]
lea rcx, str.mmldrv
mov esi, dword [rsp + 0x6c]
sub r8d, r14d
mov dword [rbp + rax - 0x1f], 0x696e69
sub edi, esi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea r9, [rbp - 0x20]
mov r8d, edi
lea rdx, str.HEIGHT
mov ebx, eax
lea rcx, str.mmldrv
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov rcx, qword [r15 + 0x60]
mov r9d, ebx
mov r8d, esi
mov dword [rsp + 0x28], r12d
mov edx, r14d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov r8d, dword [r15 + 0x358]
lea r9, [rbp - 0x20]
lea rdx, str.KEYDISP
lea rcx, str.mmldrv
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r8d, dword [r15 + 0x35c]
lea r9, [rbp - 0x20]
lea rdx, str.TICKDRAW
mov dword [r15 + 0x358], eax
lea rcx, str.mmldrv
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r8d, dword [r15 + 0x360]
lea r9, [rbp - 0x20]
lea rdx, str.REGDISP
mov dword [r15 + 0x35c], eax
lea rcx, str.mmldrv
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov rcx, qword [r15 + 0x60]
mov dword [r15 + 0x360], eax
call qword [sym.imp.USER32.dll_GetMenu]
mov ecx, dword [r15 + 0x358]
mov edx, 0x9c56
neg ecx
mov rdi, rax
mov rcx, rax
sbb r8d, r8d
and r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov ecx, dword [r15 + 0x35c]
mov edx, 0x9c57
neg ecx
mov rcx, rdi
sbb r8d, r8d
and r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [r15 + 0x360]
mov edx, 0x9c5c
neg eax
mov rcx, rdi
sbb r8d, r8d
and r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov ecx, 0x5b0
call fcn.14002e9e0
xor edx, edx
mov qword [rsp + 0x60], rax
mov r8d, 0x5b0
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, vtable.WindowBase.0
mov dword [rbx + 8], r12d
mov qword [rbx], rax
lea rax, vtable.DriveEvent.0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x100], rax
mov qword [rbx + 0x108], r12
lea rcx, [rbx + 0x138]
mov qword [rbx + 0x110], r12
mov qword [rbx + 0x118], r12
mov qword [rbx + 0x120], r12
mov qword [rbx + 0x128], r12
mov dword [rbx + 0x130], r12d
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rax, vtable.CDispWindow.0
mov qword [rbx + 0x160], r12
mov qword [rbx], rax
lea rcx, [rbx + 0x194]
lea rax, vtable.CDispWindow.1.0
mov qword [rbx + 0x170], r12
xor edx, edx
mov qword [rbx + 0x100], rax
mov r8d, 0x400
mov qword [rbx + 0x178], r12
mov qword [rbx + 0x180], r12
mov qword [rbx + 0x188], r12
mov dword [rbx + 0x190], r12d
mov dword [rbx + 0x594], r12d
mov qword [rbx + 0x598], 1
mov qword [rbx + 0x5a0], r12
mov dword [rbx + 0x5a8], 0x180
mov qword [rbx + 0x168], r12
call sub.VCRUNTIME140.dll_memset
mov r8, qword [r15 + 0x110]
mov rcx, rbx
mov rdx, qword [r15 + 0x60]
mov qword [r15 + 0x350], rbx
call fcn.140029390
mov rcx, qword [r15 + 0x350]
mov edx, dword [r15 + 0x358]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [r15 + 0x350]
mov edx, dword [r15 + 0x358]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [r15 + 0x350]
mov edx, dword [r15 + 0x35c]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [r15 + 0x350]
mov edx, dword [r15 + 0x360]
mov rax, qword [rcx]
call qword [rax + 0x30]
lea r9, [rbp - 0x20]
xor r8d, r8d
lea rdx, str.KEYDISP_SIZE
lea rcx, str.mmldrv
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r8, qword [r15 + 0x350]
mov dword [r8 + 0x5a0], eax
mov rcx, qword [r15 + 0x350]
call fcn.14002ad10
lea r9, [rbp - 0x20]
xor r8d, r8d
lea rdx, str.KEYDISP_SIZE
lea rcx, str.mmldrv
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, 0x9c5b
mov rcx, rdi
neg eax
sbb r8d, r8d
and r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov ecx, 0x1a8
call fcn.14002e9e0
xor edx, edx
mov qword [rsp + 0x60], rax
mov r8d, 0x1a8
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 0x40], r12
mov qword [rdi + 0x48], r12
mov qword [rdi + 0x50], r12
mov qword [rdi + 0x58], r12
mov qword [rdi + 0x60], r12
mov qword [rdi + 0x68], r12
movsd xmm6, qword [0x140034380]
lea rsi, [rdi + 0xd0]
movsd xmm7, qword [0x140034400]
xorps xmm0, xmm0
mov qword [rdi + 0x70], r12
mov ebx, r12d
mov qword [rdi + 0x78], r12
mov qword [rdi + 0x80], r12
mov qword [rdi + 0x88], r12
mov qword [rdi + 0x90], r12
mov qword [rdi + 0x98], r12
movups xmmword [rdi + 0x150], xmm0
mov qword [rdi + 0x160], r12
mov qword [rdi + 0x168], InitCommonControls
mov byte [rdi + 0x150], r12b
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x20], r12
mov qword [rdi + 0x28], r12
mov dword [rdi + 0x30], r12d
mov dword [rdi + 0x34], r12d
mov dword [rdi + 0x38], r12d
mov dword [rdi + 0xa0], 0xea60
mov dword [rdi + 0xa4], 0xea60
nop
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm0, xmm7
lea rsi, [rsi + 4]
inc ebx
cvttsd2si eax, xmm0
mov dword [rsi - 4], eax
cmp ebx, 0x20
jl 0x14002be20
mov dword [rdi + 0x170], r12d
mov r8d, 0x3e8
mov qword [rdi + 0x178], r12
mov dword [rdi + 0x180], r12d
mov dword [rdi + 0x184], r12d
mov qword [rdi + 0x188], 0x7f
mov qword [rdi + 0x190], r12
mov qword [rdi + 0x19c], r12
mov rcx, qword [r15 + 0x350]
test rcx, rcx
mov qword [r15 + 0x340], rdi
lea rax, [rcx + 0x100]
cmove rax, r12
xor r9d, r9d
mov qword [rdi + 0x178], rax
mov rcx, qword [r15 + 0x60]
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetTimer]
mov rbx, qword [r15 + 0x340]
lea rcx, [rbx + 0xa8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, str.scci2.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 8], rax
test rax, rax
je 0x14002bf03
lea rdx, str.getSoundInterfaceManager
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14002bf0b
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 8], r12
mov eax, r12d
jmp 0x14002bfae
call rax
mov qword [rbx + 0x10], rax
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x68]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov eax, dword [rbx + 0x30]
cmp eax, 1
je 0x14002bfa9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x18], rax
mov r9, rbx
lea r8, [0x140018930]
mov edx, 0x400000
lea rax, [rbx + 0x28]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x14002bfa9
mov edx, InitCommonControls
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov edx, 1
mov dword [rsp + 0x20], 1
mov ecx, edx
lea r8, [0x1400189b0]
mov r9, rbx
call qword [sym.imp.WINMM.dll_timeSetEvent]
mov dword [rbx + 0x2c], eax
mov eax, 1
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14002e9c0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret