Function at 0x14004c730
Capabilities:
Execute command
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140064008]
xor rax, rsp
mov qword [rbp + 0x188], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x14004c806
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x14005a2e4]
lea rdx, str.CONIN_
lea rcx, [rbp + 0x18]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x14005a2f0]
lea rdx, str.CONOUT_
lea rcx, [rbp + 0x18]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x14005a2f0]
lea rdx, str.CONOUT_
lea rcx, [rbp + 0x18]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004e8d0
lea rdx, [0x14004ea80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14004c822
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed_to_create_the_console_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rbp + 0x28]
call fcn.14004f700
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x50]
call fcn.14004e210
cmp qword [rbp + 0xd8], 0
je 0x14004c896
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rdx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x38]
lea rcx, [rbp + 0x50]
call fcn.14004ef30
lea rcx, [rbp + 0x58]
call fcn.14004e6c0
test rax, rax
jne 0x14004c8b2
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
jmp 0x14004c8b2
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed_to_open_or_create_key.txt_file_for_writing.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rbp + 0x28]
call fcn.14004f930
xor esi, esi
test al, al
jne 0x14004c9c4
mov dword [rbp + 0x10], esi
mov dword [rbp + 0x180], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareVotreNomDeSocieteVotreProduits
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14004c935
lea rax, [rbp + 0x180]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.TrialStartTime
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
test edi, edi
jne 0x14004cba7
mov dword [rbp + 0x18], eax
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x160]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareVotreNomDeSocieteVotreProduits
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14004c9c4
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, str.TrialStartTime
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 0x40], 0x50
mov dword [rbp - 0x3c], 3
lea rax, [0x140001e20]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm1
lea rdi, str.Bluelock_V0.1__BETA_
mov qword [rbp], rdi
mov qword [rbp + 8], rsi
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rsi
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0x12c
mov dword [rsp + 0x30], 0x1f4
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0x80000000
mov r8, rdi
mov rdx, qword [rbp]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r12, rax
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x7c], rsi
mov qword [rbp - 0x68], 2
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x70], rsi
mov dword [rbp - 0x80], 0x1c
mov dword [rsp + 0x78], 0x3c
mov dword [rsp + 0x7c], 1
mov dword [rbp - 0x6c], 0x20
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x74], 1
mov qword [rbp - 0x58], 1
mov dword [rbp + 0x180], 0xb000
mov dword [rbp + 0x184], 0xa000
lea rdi, [0x140064ab8]
mov qword [rsp + 0x58], rdi
lea rax, [rbp + 0x18]
mov qword [rsp + 0x50], rax
lea rbx, [0x140064ac0]
mov qword [rsp + 0x48], rbx
lea r14, [0x140064ac8]
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x180]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x14004cb86
mov qword [rsp + 0x58], rdi
lea rax, [rbp + 0x18]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x180]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x14004cbd1
call fcn.140001da0
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov esi, 1
jmp 0x14004d54e
sub rax, rdi
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
comisd xmm0, xmmword [0x14005a798]
seta al
test al, al
je 0x14004c9c4
lea rdx, str.Your_trial_period_has_expired._Please_purchase_a_license.
jmp 0x14004d539
mov rcx, qword [0x140064ac8]
mov rax, qword [rcx]
lea r9, [rbp + 0x160]
lea r8, [0x140053c78]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140064ac0]
mov rax, qword [rcx]
lea r9, [0x140064ad0]
xor r8d, r8d
mov rdx, qword [rbp + 0x160]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x160]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov edx, 0xa
mov rcx, r12
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140064ae8]
mov ecx, 0x6180
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, rax
mov rdi, qword [0x140064ae8]
test rdi, rdi
je 0x14004ccc3
mov r8d, dword [rdi + 0x3f60]
movsx r9, word [rdi + 0x6030]
lea rdx, [rdi + 0x6034]
lea rdx, [rdx + r9*8]
cmp dword [rdx], r8d
je 0x14004ccb9
lea ecx, [r9 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [rdi + 0x6030], cx
movsx rax, cx
lea rdx, [rdi + 0x6034]
lea rdx, [rdx + rax*8]
mov dword [rdx], r8d
mov dword [rdx + 4], esi
inc word [rdx + 4]
inc dword [rdi + 0x6028]
test r10, r10
je 0x14004ccd4
xor edx, edx
mov rcx, r10
call fcn.140006560
jmp 0x14004ccd7
mov rax, rsi
mov qword [0x140064ae8], rax
call fcn.14000b440
mov rdi, qword [0x140064ae8]
test rbx, rbx
cmovne rdi, rbx
mov qword [0x140064ae8], rdi
or dword [rdi + 8], 1
xor ecx, ecx
call fcn.14002abe0
mov qword [rdi + 0x20], rsi
mov rcx, r12
call fcn.140004180
call fcn.140003fb0
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14004d532
lea rdx, str.NtUserSetGestureConfig
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140064aa0], rax
test rax, rax
je 0x14004d532
lea rcx, str.kdu.exe__prv_39__map_.BlueLock_Driver.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dil, 1
cmp dword [0x140064aac], esi
jne 0x14004ce13
test dil, dil
je 0x14004d54e
mov qword [rbp + 0x160], rsi
mov qword [rbp + 0x170], rsi
mov qword [rbp + 0x178], 7
lea r9, str.FC24.exe
mov edx, 8
lea rcx, [rbp + 0x160]
call fcn.14004ebd0
lea rcx, [rbp + 0x160]
call fcn.14004f460
mov dword [0x140064aac], eax
mov r9d, 1
lea r8, str.Error
lea rdx, str.Waiting_for_FIFA_to_start__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
movzx edi, dil
cmp eax, 2
cmove edi, esi
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x140064aac], 0
je 0x14004cd80
test dil, dil
je 0x14004d54e
call fcn.140001750
test rax, rax
jne 0x14004ce2a
lea rcx, str.kdu.exe__prv_39__map_.BlueLock_Driver.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140001750
mov ebx, dword [0x140064aa8]
mov r15, qword [0x140064ab0]
mov r14, qword [0x140064b10]
mov rdx, qword [0x140064b08]
mov rcx, r14
sub rcx, rdx
cmp rbx, rcx
jae 0x14004ce5b
lea rax, [rbx + rdx]
jmp 0x14004ce8d
jbe 0x14004ce94
mov rax, qword [0x140064b18]
sub rax, rdx
cmp rbx, rax
jbe 0x14004ce76
mov rdx, rbx
call fcn.14004f260
jmp 0x14004ce94
mov rdi, rbx
sub rdi, rcx
mov r8, rdi
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
lea rax, [rdi + r14]
mov qword [0x140064b10], rax
mov byte [rsp + 0x70], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
mov dword [rsp + 0x74], 0xdeadbeef
mov eax, dword [0x140064aac]
mov dword [rbp - 0x6c], eax
mov dword [rsp + 0x78], esi
mov rax, qword [0x140064b08]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], ebx
lea rdi, [rsp + 0x70]
xor eax, eax
xor ecx, ecx
rep stosb byte [rdi], al
lea rcx, [rsp + 0x70]
call qword [0x140064aa0]
cmp byte [rsp + 0x70], 0
je 0x14004d54e
mov qword [rbp + 0x160], rsi
mov qword [rbp + 0x170], rsi
mov qword [rbp + 0x178], 0xf
mov r8d, 0x3e
lea rdx, str.41_0F_____48_8D_____________48_89_____________E8_________F3_0F
lea rcx, [rbp + 0x160]
call fcn.14004e770
lea r9, [rbp + 0x160]
call fcn.14004c4a0
mov rdi, rax
mov rdx, qword [rbp + 0x178]
cmp rdx, 0x10
jb 0x14004cf7c
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cf77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cf77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400508a8
sub rdi, qword [0x140064ab0]
add rdi, 3
mov qword [0x140064b00], rdi
mov qword [rbp + 0x160], rsi
mov qword [rbp + 0x170], rsi
mov qword [rbp + 0x178], 0xf
mov r8d, 0x4a
lea rdx, str.E8_____________48_85_C0_74_4F_48_8D_0D_____________E8_____________C7_44_24
lea rcx, [rbp + 0x160]
call fcn.14004e770
lea r9, [rbp + 0x160]
call fcn.14004c4a0
mov rdi, rax
mov rdx, qword [rbp + 0x178]
cmp rdx, 0x10
jb 0x14004d013
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d00e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d00e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400508a8
sub rdi, qword [0x140064ab0]
add rdi, 7
mov qword [0x140064af8], rdi
mov rdx, qword [0x140064b00]
lea rcx, str._llx_n
call fcn.140001860
cmp byte [0x140064058], 0
je 0x14004d301
movabs r14, 0x7fffffffff67697e
movabs r12, 0x7fffffffffffffff
movabs r15, 0x311cdad160000
movabs r13, 0x112e0be826d694b3
movsd xmm6, qword [0x14005a7e8]
nop word [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004d0ea
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx eax, byte [0x140064058]
cmp dword [rsp + 0x78], 0x12
cmove eax, esi
mov byte [0x140064058], al
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14004d0a0
mov rax, qword [0x140064ae8]
test rax, rax
je 0x14004d0ff
mov rcx, qword [rax + 0x98]
jmp 0x14004d102
mov rcx, rsi
cmp qword [rcx + 0x48], 0
jne 0x14004d10e
call fcn.140003a90
call fcn.140004b80
call fcn.14000dc90
call fcn.140001f70
call fcn.14000fc60
movss xmm2, dword [0x140064054]
movaps xmm0, xmm2
mulss xmm0, dword [0x140064048]
movss dword [rbp + 0x160], xmm0
movss xmm1, dword [0x14006404c]
mulss xmm1, xmm2
movss dword [rbp + 0x164], xmm1
movss xmm0, dword [0x140064050]
mulss xmm0, xmm2
movss dword [rbp + 0x168], xmm0
movss dword [rbp + 0x16c], xmm2
mov rcx, qword [0x140064ab8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140064ad0]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x140064ab8]
mov rax, qword [rcx]
lea r8, [rbp + 0x160]
mov rdx, qword [0x140064ad0]
call qword [rax + 0x190]
mov rax, qword [0x140064ae8]
mov rcx, qword [rax + 0x4ad0]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, rsi
cmp byte [rax], sil
cmovne rcx, rax
call fcn.140002cc0
mov rcx, qword [0x140064ac8]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [rax + 0x40]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rdi, rax
cmp rbx, 0x989680
jne 0x14004d202
imul rcx, rdi, 0x64
jmp 0x14004d228
cqo
idiv rbx
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rcx, rax
mov rax, rdi
cqo
idiv rbx
imul rdx, rax, 0x3b9aca00
add rcx, rdx
cmp rcx, r14
lea r14, [rcx + 0x989680]
jle 0x14004d237
mov r14, r12
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rbx, 0x989680
jne 0x14004d258
imul rdi, rcx, 0x64
jmp 0x14004d27e
cqo
idiv rbx
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rdi, rax
mov rax, rcx
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
add rdi, rcx
cmp r14, rdi
je 0x14004d2e5
jl 0x14004d2e5
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul rcx, rax, 0x64
mov rax, r14
sub rax, rdi
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
comisd xmm0, xmm6
jbe 0x14004d2ac
mov rax, r15
lea rdi, [rcx + r15]
jmp 0x14004d2b0
lea rdi, [rcx + rax]
add rcx, rax
mov rax, r13
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp + 0x18], rdx
imul eax, edx, 0x3b9aca00
sub edi, eax
mov dword [rbp + 0x20], edi
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll__Thrd_sleep]
jmp 0x14004d237
cmp byte [0x140064058], 0
movabs r14, 0x7fffffffff67697e
jne 0x14004d080
mov r12, qword [rsp + 0x60]
mov rdi, qword [0x140064ae8]
test rdi, rdi
je 0x14004d316
mov rbx, qword [rdi + 0x98]
jmp 0x14004d319
mov rbx, rsi
call fcn.140003e90
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004d32d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004d33b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004d34a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x88], rsi
mov qword [rdi + 0x98], rsi
and dword [rdi + 0xc], 0xfffffff7
mov rdi, qword [0x140064ae8]
test rdi, rdi
je 0x14004d3c5
mov r8d, dword [rdi + 0x3f60]
movsx rdx, word [rdi + 0x6030]
lea rcx, [rdi + 0x6034]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r8d
je 0x14004d3bb
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [rdi + 0x6030], cx
movsx rax, cx
lea rcx, [rdi + 0x6034]
lea rcx, [rcx + rax*8]
mov dword [rcx], r8d
mov dword [rcx + 4], esi
inc word [rcx + 6]
inc dword [rdi + 0x602c]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [0x140064ae8]
test rdi, rdi
je 0x14004d3e3
mov r14, qword [rdi + 0x90]
jmp 0x14004d3e6
mov r14, rsi
lea rbx, [rdi + 8]
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x14004d400
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [0x140064ae8]
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x88], rsi
and dword [rbx + 4], 0xfffffff8
test rdi, rdi
je 0x14004d471
mov r8d, dword [rdi + 0x3f60]
movsx rdx, word [rdi + 0x6030]
lea rcx, [rdx*8 + 0x6034]
add rcx, rdi
cmp dword [rcx], r8d
je 0x14004d467
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [rdi + 0x6030], cx
movsx rax, cx
lea rcx, [rax*8 + 0x6034]
add rcx, rdi
mov dword [rcx], r8d
mov dword [rcx + 4], esi
inc word [rcx + 6]
inc dword [rdi + 0x602c]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140064ae8]
mov qword [0x140064ae8], rbx
call fcn.14000b8c0
mov qword [0x140064ae8], rsi
test rbx, rbx
je 0x14004d514
mov rcx, rbx
call fcn.140022e20
mov rdi, qword [0x140064ae8]
test rdi, rdi
je 0x14004d50b
mov r8d, dword [rdi + 0x3f60]
movsx r9, word [rdi + 0x6030]
lea rdx, [rdi + 0x6034]
lea rdx, [rdx + r9*8]
cmp dword [rdx], r8d
je 0x14004d501
lea ecx, [r9 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [rdi + 0x6030], cx
movsx rax, cx
lea rdx, [rdi + 0x6034]
lea rdx, [rdx + rax*8]
mov dword [rdx], r8d
mov dword [rdx + 4], esi
inc word [rdx + 6]
inc dword [rdi + 0x602c]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140001da0
mov rcx, r12
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x14004d54e
lea rdx, str.Driver_setup_failed_
mov r9d, 0x10
lea r8, str.Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x4c], edx
lea rcx, [rbp + 0x58]
call fcn.14004e1a0
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xf8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x14004d5d2
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d5cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d5cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400508a8
mov eax, esi
mov rcx, qword [rbp + 0x188]
xor rcx, rsp
call fcn.140050630
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret