Function at 0x14004efd0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r15d, eax
mov eax, 0x92492493
imul r15d
add edx, r15d
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1c
sub r15d, ecx
add r15d, 5
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r14d, eax
mov eax, 0x92492493
imul r14d
add edx, r14d
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1c
sub r14d, ecx
add r14d, 5
lea eax, [r15 + 1]
movsxd rbx, eax
mov eax, 2
mul rbx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.14004f6d0
mov qword [0x140067f70], rax
lea eax, [r14 + 1]
movsxd rsi, eax
mov eax, 2
mul rsi
cmovo rax, rdi
mov rcx, rax
call fcn.14004f6d0
mov rdi, rax
mov qword [0x140067fc8], rax
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, qword [0x140067f70]
call sub.VCRUNTIME140.dll_memset
lea r8, [rsi + rsi]
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
movsxd rdx, r15d
mov rcx, qword [0x140067f70]
call fcn.14004d590
movsxd rdx, r14d
mov rcx, qword [0x140067fc8]
call fcn.14004d590
mov ecx, 0x20
call fcn.14004f080
mov rbx, rax
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
xor esi, esi
mov qword [rax], rsi
mov byte [rax + 8], sil
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
lea rax, [0x1400600c0]
mov qword [rbx + 0x10], rax
movzx eax, byte [0x1400600c0]
mov qword [rbx], 1
mov byte [rbx + 8], al
xor edx, edx
mov rcx, rbx
call fcn.14004d340
mov qword [rbx + 0x18], rax
mov qword [0x140067f48], rbx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x14004efe0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [rbp - 0x20], 0x50
mov dword [rbp - 0x1c], 0x20
lea rax, [0x14004d610]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rsi
mov qword [rbp], rsi
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp + 8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov rax, qword [0x140067f70]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rsi
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x14004e5a7
lea r9d, [rsi + 0x10]
lea r8, str.Loader
lea rdx, str.Failed_to_register_wnd_class.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [rsi + 1]
jmp 0x14004efa2
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
lea ecx, [rax - 0x10b]
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
sub eax, 0x12c
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0x217
mov dword [rsp + 0x30], 0x258
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov r9d, 0xca0000
mov r8, qword [0x140067fc8]
mov rdx, qword [0x140067f70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x140067ff8], rax
test rax, rax
jne 0x14004e659
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov r9d, 0x10
lea r8, str.Loader
lea rdx, str.Failed_to_create_window.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x14004efa2
xorps xmm0, xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
mov qword [rbp - 0x30], 2
mov dword [rbp - 0x48], 2
mov qword [rbp - 0x70], rsi
mov dword [rbp - 0x60], 0x1c
mov dword [rbp - 0x68], 0x3c
mov dword [rbp - 0x64], 1
mov dword [rbp - 0x4c], 0x20
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x54], 1
mov qword [rbp - 0x38], 1
mov dword [rsp + 0x70], 0xb000
mov dword [rsp + 0x74], 0xa000
lea rbx, [0x140067f78]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rsi
lea rdi, [0x140068018]
mov qword [rsp + 0x48], rdi
lea r14, [0x140068000]
mov qword [rsp + 0x40], r14
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
xor r8d, r8d
lea edx, [r9 - 0x1f]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x14004e773
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r14
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
xor r8d, r8d
lea edx, [r9 - 0x1b]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov rcx, qword [0x140067ff8]
test eax, eax
je 0x14004e7b6
call qword [sym.imp.USER32.dll_DestroyWindow]
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov r9d, 0x10
lea r8, str.Loader
lea rdx, str.Failed_to_create_d3d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x14004efa2
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140067ff8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x140068000]
mov rax, qword [rcx]
lea r9, [rsp + 0x78]
lea r8, [0x1400576a8]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140068018]
mov rax, qword [rcx]
lea r9, [0x140068008]
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp qword [0x140068008], 0
jne 0x14004e88f
mov rcx, qword [0x140067ff8]
call qword [sym.imp.USER32.dll_DestroyWindow]
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [0x140068000]
test rcx, rcx
je 0x14004e845
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140067f78]
test rcx, rcx
je 0x14004e857
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140068018]
test rcx, rcx
je 0x14004e869
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r9d, 0x10
lea r8, str.Loader
lea rdx, str.Failed_to_create_render_target.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x14004efa2
mov r15, qword [0x140067f30]
test r15, r15
je 0x14004e8a2
inc dword [r15 + 0xf4]
mov ecx, 0x5700
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14004e8d1
xor edx, edx
mov rcx, rax
call fcn.140002c50
jmp 0x14004e8d4
mov rax, rsi
mov qword [0x140067f30], rax
call fcn.14000abe0
test r15, r15
je 0x14004e8ee
mov qword [0x140067f30], r15
jmp 0x14004e8f5
mov r15, qword [0x140067f30]
xor bl, bl
mov rax, qword [0x140067f48]
mov rcx, qword [rax + 0x18]
mov r8, rsi
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x14004e957
mov r13, qword [rcx + 0x20]
mov r9, r13
lea r11, str.Fonts
nop dword [rax]
mov rax, qword [r9]
mov rcx, rsi
mov rdx, qword [rax]
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x14004e94b
cmp rcx, 6
jne 0x14004e930
mov r13, qword [r13 + r8*8]
jmp 0x14004e95a
inc r8
add r9, 8
cmp r8, r10
jb 0x14004e920
mov r13, rsi
mov rdi, rsi
mov r14, qword [r13 + 0x18]
test r14, r14
je 0x14004e998
mov rsi, qword [r13 + 0x28]
nop word [rax + rax]
mov rcx, qword [rsi]
lea rdx, str.Nuber.otf
mov rcx, qword [rcx]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14004ebae
inc rdi
add rsi, 8
cmp rdi, r14
jb 0x14004e970
xor esi, esi
mov rdi, rsi
mov qword [rsp + 0x70], rsi
test r14, r14
je 0x14004e9d8
mov rsi, qword [r13 + 0x28]
nop dword [rax]
mov rcx, qword [rsi]
lea rdx, str.NuberHeavy.otf
mov rcx, qword [rcx]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14004ebc2
inc rdi
add rsi, 8
cmp rdi, r14
jb 0x14004e9b0
xor esi, esi
mov rdi, rsi
or dword [r15 + 8], 0x20
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x140057cf0]
mov rax, qword [rsp + 0x70]
mov r8d, dword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rcx, qword [r15 + 0x50]
call fcn.140034d20
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x140057cfc]
mov r8d, dword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rcx, qword [r15 + 0x50]
call fcn.140034d20
mov qword [0x140068010], rax
mov dword [r15 + 0x389c], 0x40400000
mov dword [r15 + 0x388c], 0x40000000
mov dword [r15 + 0x3888], esi
mov qword [r15 + 0x38a0], 0x3f800000
mov dword [r15 + 0x38cc], 0x40a00000
mov dword [r15 + 0x38a8], esi
movaps xmm0, xmmword [0x140057ee0]
movups xmmword [r15 + 0x3978], xmm0
movaps xmm1, xmmword [0x140057f10]
movups xmmword [r15 + 0x39c8], xmm1
movaps xmm0, xmmword [0x140057ec0]
movups xmmword [r15 + 0x3a58], xmm0
movaps xmm1, xmmword [0x140057ef0]
movups xmmword [r15 + 0x3a68], xmm1
xorps xmm0, xmm0
movups xmmword [r15 + 0x3a78], xmm0
movaps xmm1, xmmword [0x140057f10]
movups xmmword [r15 + 0x3a98], xmm1
movaps xmm0, xmmword [0x140057f00]
movups xmmword [r15 + 0x3a88], xmm0
movaps xmm1, xmmword [0x140057eb0]
movups xmmword [r15 + 0x3aa8], xmm1
movaps xmm0, xmmword [0x140057f10]
movups xmmword [r15 + 0x3ac8], xmm0
movaps xmm1, xmmword [0x140057f00]
movups xmmword [r15 + 0x3ab8], xmm1
movaps xmm0, xmmword [0x140057ea0]
movups xmmword [r15 + 0x3998], xmm0
movaps xmm1, xmmword [0x140057f10]
movups xmmword [r15 + 0x39b8], xmm1
movaps xmm0, xmmword [0x140057f00]
movups xmmword [r15 + 0x39a8], xmm0
movaps xmm1, xmmword [0x140057ef0]
movups xmmword [r15 + 0x3a48], xmm1
call fcn.14003ac70
mov r15, qword [0x140067f78]
mov r14, qword [0x140068018]
mov rsi, qword [0x140067f30]
test rsi, rsi
je 0x14004eb5f
inc dword [rsi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14004ebd1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x60], xmm0
mov qword [rdi + 0x70], rax
mov dword [rdi + 0x70], 0x1388
mov dword [rdi + 0x74], 0x2710
xor r12d, r12d
jmp 0x14004ebd7
mov rax, qword [r13 + 0x28]
mov rax, qword [rax + rdi*8]
mov qword [rsp + 0x70], rax
xor edi, edi
jmp 0x14004e9a5
mov rax, qword [r13 + 0x28]
mov rdi, qword [rax + rdi*8]
xor esi, esi
jmp 0x14004e9db
xor r12d, r12d
mov edi, r12d
mov qword [rsi + 0xa0], rdi
lea rax, str.imgui_impl_dx11
mov qword [rsi + 0x90], rax
or dword [rsi + 0xc], 0x1008
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov rax, qword [r14]
lea r8, [rsp + 0x70]
lea rdx, [0x140057688]
mov rcx, r14
call qword [rax]
test eax, eax
jne 0x14004ec5d
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
lea rdx, [0x140057698]
call qword [rax + 0x30]
test eax, eax
jne 0x14004ec5d
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp - 0x80]
lea rdx, [0x1400576b8]
call qword [rax + 0x30]
test eax, eax
jne 0x14004ec5d
mov qword [rdi], r14
mov qword [rdi + 8], r15
mov rax, qword [rbp - 0x80]
mov qword [rdi + 0x10], rax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14004ec6d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14004ec7d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 8]
test dword [rsi + 8], 0x400
je 0x14004ece6
mov rax, qword [0x140067f30]
lea rcx, [0x14003a8c0]
mov qword [rax + 0x37f0], rcx
lea rcx, [0x14003aa20]
mov qword [rax + 0x37f8], rcx
lea rcx, [0x14003aab0]
mov qword [rax + 0x3800], rcx
lea rcx, [0x14003aba0]
mov qword [rax + 0x3808], rcx
lea rcx, [0x14003ac50]
mov qword [rax + 0x3810], rcx
mov edi, 1
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14004ed60
nop dword [rax]
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageW]
movzx ebx, bl
cmp dword [rbp - 0x68], 0x12
cmove ebx, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14004ed20
test bl, bl
jne 0x14004ee19
cmp qword [0x140068008], 0
je 0x14004ecf0
mov rcx, qword [0x140067f78]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140068008]
mov edx, edi
call qword [rax + 0x108]
mov rcx, qword [0x140067f78]
mov rax, qword [rcx]
lea r8, [0x140057af0]
mov rdx, qword [0x140068008]
call qword [rax + 0x190]
mov rax, qword [0x140067f30]
test rax, rax
je 0x14004edb9
mov rax, qword [rax + 0xa0]
jmp 0x14004edbc
mov rax, r12
cmp qword [rax + 0x48], 0
jne 0x14004edc8
call fcn.14003a270
call fcn.14003bdb0
call fcn.140009950
call fcn.14004d7d0
call fcn.14000cc30
mov rax, qword [0x140067f30]
mov rcx, qword [rax + 0x4188]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r12
cmp byte [rax], 0
cmovne rcx, rax
call fcn.140039810
mov rcx, qword [0x140068000]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, edi
call qword [rax + 0x40]
jmp 0x14004ecf0
mov rdi, qword [0x140067f30]
test rdi, rdi
je 0x14004ee2e
mov rbx, qword [rdi + 0xa0]
jmp 0x14004ee31
mov rbx, r12
call fcn.14001db60
call fcn.14003a7a0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004ee4a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004ee58
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004ee67
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x90], r12
mov qword [rdi + 0xa0], r12
mov rax, qword [0x140067f30]
test rax, rax
je 0x14004ee87
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140067f30]
test rbx, rbx
je 0x14004eea5
mov rdi, qword [rbx + 0x98]
jmp 0x14004eea8
mov rdi, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassW]
call fcn.14001db60
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14004eed4
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x98], r12
mov rax, qword [0x140067f30]
test rax, rax
je 0x14004eef4
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140067f30]
mov qword [0x140067f30], rbx
call fcn.14000afc0
mov qword [0x140067f30], r12
test rbx, rbx
je 0x14004ef3f
mov rcx, rbx
call fcn.1400287c0
mov rax, qword [0x140067f30]
test rax, rax
je 0x14004ef36
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140067ff8]
call qword [sym.imp.USER32.dll_DestroyWindow]
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [0x140068008]
test rcx, rcx
je 0x14004ef6a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140068000]
test rcx, rcx
je 0x14004ef7c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140067f78]
test rcx, rcx
je 0x14004ef8e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140068018]
test rcx, rcx
je 0x14004efa0
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14004f060
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
jmp 0x14004e390