Function at 0x140048d90
Capabilities:
Terminate process

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 - 0x68]
sub rsp, 0x140
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140059040]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov dword [rbp - 0x80], 0x50
mov dword [rbp - 0x7c], 0x40
lea rax, [0x140049760]
mov qword [rbp - 0x78], rax
xor r14d, r14d
mov qword [rbp - 0x70], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm1
lea rbx, str.Shade
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], r14
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], r14
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], 0x32
mov dword [rsp + 0x30], 0x32
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov r9d, 0xcf0000
mov r8, rbx
mov rdx, qword [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rsi, rax
mov qword [rsp + 0x68], rax
lea ecx, [r14 + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x1400598e8], rax
lea r15d, [r14 + 1]
test rax, rax
je 0x1400496d5
mov qword [0x140059900], r14
mov qword [0x14005990c], r14
mov dword [0x140059914], r14d
mov qword [0x14005991c], r14
mov dword [0x140059924], r14d
mov qword [0x140059934], r14
mov dword [0x140059928], r15d
mov dword [0x140059918], r15d
mov dword [0x140059908], r14d
mov dword [0x14005992c], r15d
mov dword [0x140059930], 0x50
mov dword [0x14005993c], r15d
mov rax, qword [rax]
lea rdx, [0x1400598f0]
mov qword [rsp + 0x30], rdx
lea rdx, [0x140059900]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, rsi
mov r8d, r15d
xor edx, edx
call qword [rax + 0x80]
test eax, eax
js 0x1400496ce
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x1400598b0]
test rax, rax
je 0x140048f44
inc dword [rax + 0x3ac]
mov ecx, 0x4180
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x30], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x28], rax
test rax, rax
je 0x140048f72
xor edx, edx
mov rcx, rax
call fcn.140001330
jmp 0x140048f75
mov rax, r14
cmp qword [0x1400598b0], 0
jne 0x140048f86
mov qword [0x1400598b0], rax
mov rcx, rax
call fcn.140008520
mov r13, qword [0x1400598b0]
or dword [r13 + 8], 0x401
xor ecx, ecx
call fcn.14002c2a0
mov rax, qword [0x1400598b0]
test dword [r13 + 8], 0x400
je 0x140048fc9
mov dword [rax + 0x1660], 0x40800000
mov dword [rax + 0x1744], 0x3f800000
mov rcx, rsi
call fcn.140036cb0
mov rdi, qword [0x1400598f0]
mov rbx, qword [0x1400598b0]
test rbx, rbx
je 0x140048fea
inc dword [rbx + 0x3ac]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140049019
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x14004901c
mov rax, r14
mov qword [rbx + 0xf8], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rcx
or dword [rbx + 0xc], 0x1008
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
test dword [rbx + 8], 0x400
je 0x14004909a
mov rax, qword [0x1400598b0]
lea rcx, [fcn.140036950]
mov qword [rax + 0x1608], rcx
lea rcx, [fcn.140036a30]
mov qword [rax + 0x1610], rcx
lea rcx, [0x140036ab0]
mov qword [rax + 0x1618], rcx
lea rcx, [0x140036b20]
mov qword [rax + 0x1620], rcx
lea rcx, [0x140036c80]
mov qword [rax + 0x1628], rcx
xor r12b, r12b
movss xmm6, dword [0x1400513c0]
movss xmm7, dword [0x140051300]
nop dword [rax]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140049114
nop dword [rax + rax]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx r12d, r12b
cmp dword [rbp - 0x18], 0x12
cmove r12d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x1400490d0
test r12b, r12b
jne 0x140049569
mov rbx, qword [0x1400598b0]
test rbx, rbx
je 0x140049129
mov rax, qword [rbx + 0xf8]
jmp 0x14004912c
mov rax, r14
cmp qword [rax + 0x18], 0
jne 0x14004913f
call fcn.1400367b0
mov rbx, qword [0x1400598b0]
test rbx, rbx
je 0x14004914d
mov rdi, qword [rbx + 0xf0]
jmp 0x140049150
mov rdi, r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x78]
sub eax, dword [rsp + 0x70]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rsp + 0x7c]
sub eax, dword [rsp + 0x74]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
cmp byte [rdi + 0x2e], 0
je 0x14004919a
call fcn.140037940
mov qword [rbp - 0x30], r14
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
sub rax, qword [rdi + 0x18]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rdi + 0x20]
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [rdi + 0x18], rcx
call fcn.140037290
cmp byte [rbx + 0xd0], 0
je 0x1400491e6
mov eax, 0xffffffff
jmp 0x1400491f3
mov rax, qword [0x1400598b0]
mov eax, dword [rax + 0x2128]
cmp dword [rdi + 0x28], eax
je 0x140049200
mov dword [rdi + 0x28], eax
call fcn.140037110
call fcn.140037540
call fcn.140007040
cmp byte [0x1400590c4], 0
je 0x1400496c5
mov rcx, qword [0x1400598b0]
mov eax, dword [rcx + 0x1e28]
or eax, 2
mov dword [rcx + 0x1e28], eax
movsd xmm0, qword [0x140059280]
movsd qword [rcx + 0x1e4c], xmm0
mov dword [rcx + 0x1e30], r15d
or eax, 0x40
mov dword [rcx + 0x1e28], eax
mov dword [rcx + 0x1e88], 0x3f800000
mov r8d, dword [0x140059288]
lea rdx, [0x1400590c4]
mov rcx, qword [str.Shade]
call fcn.14000dad0
mov dword [rbp - 0x28], 0x40e00000
mov dword [rsp + 0x70], 0x40400000
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
call fcn.14003dd70
test al, al
je 0x140049306
movss xmm1, dword [0x1400590cc]
movss xmm0, dword [0x1400598c0]
ucomiss xmm0, xmm1
jp 0x1400492ae
je 0x140049306
movss dword [0x1400598c0], xmm1
movss dword [0x1400590c0], xmm1
movss xmm0, dword [0x1400590c8]
comiss xmm1, xmm0
jbe 0x1400492d5
movss dword [0x1400590c8], xmm1
jmp 0x1400492e4
comiss xmm0, xmm1
jbe 0x1400492e4
mov dword [0x1400590c8], 0x40b66666
cmp byte [0x1400598a9], 0
je 0x140049301
call fcn.140049ce0
movss xmm0, dword [0x1400590c8]
call fcn.1400498b0
jmp 0x140049306
call fcn.140049ce0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.140011720
lea rcx, str.Reach
call fcn.14003a850
call fcn.14003c4a0
test al, al
je 0x140049346
cmp byte [0x1400598a9], 0
je 0x140049339
movss xmm0, dword [0x1400590c8]
jmp 0x140049341
movss xmm0, dword [0x14005134c]
call fcn.1400498b0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140010960
call fcn.140009a40
mov rcx, qword [0x1400598f0]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400598f0]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400598f0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x1400598f0]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r14d
movss dword [rsp + 0x28], xmm7
mov dword [rsp + 0x20], r14d
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x1400598f0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140049419
call fcn.140009f60
mov rax, qword [0x1400598b0]
mov rcx, qword [rax + 0x1f40]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r14
cmp byte [rax], 0
cmovne rcx, rax
call fcn.140035fa0
mov rcx, qword [0x1400598f0]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r13 + 8], 0x400
je 0x140049503
call fcn.14001a390
mov rbx, qword [0x1400598b0]
mov r14d, r15d
mov eax, dword [rbx + 0x1640]
cmp eax, 1
jle 0x14004949c
mov esi, 8
nop word [rax + rax]
mov rax, qword [rbx + 0x1648]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14004948a
mov rax, qword [rbx + 0x15d8]
test rax, rax
je 0x140049477
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1620]
test rax, rax
je 0x14004948a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
mov eax, dword [rbx + 0x1640]
cmp r14d, eax
jl 0x140049450
mov r14d, 1
cmp eax, r14d
jle 0x1400494fa
mov esi, 8
nop dword [rax]
mov rax, qword [rbx + 0x1648]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x1400494ea
mov rax, qword [rbx + 0x15e0]
test rax, rax
je 0x1400494d7
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1628]
test rax, rax
je 0x1400494ea
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
cmp r14d, dword [rbx + 0x1640]
jl 0x1400494b0
mov r15d, 1
xor r14d, r14d
mov rcx, qword [0x1400598f0]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x1400490b0
mov rcx, qword [0x1400598f0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400490b0
call fcn.140036860
mov rcx, qword [0x1400598f0]
mov rax, qword [rcx]
lea rdx, [0x140059900]
call qword [rax + 0x80]
call fcn.1400367b0
jmp 0x1400490b0
mov rbx, qword [0x1400598b0]
test rbx, rbx
je 0x14004957e
mov rdi, qword [rbx + 0xf8]
jmp 0x140049581
mov rdi, r14
call fcn.14001a970
call fcn.140036860
mov rcx, qword [rdi]
test rcx, rcx
je 0x140049599
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0xe8], r14
mov qword [rbx + 0xf8], r14
mov rax, qword [0x1400598b0]
test rax, rax
je 0x1400495b9
dec dword [rax + 0x3ac]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400598b0]
test rbx, rbx
je 0x1400495d7
mov rdi, qword [rbx + 0xf0]
jmp 0x1400495da
mov rdi, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.14001a970
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140049606
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0xe0], r14
mov qword [rbx + 0xf0], r14
mov rax, qword [0x1400598b0]
test rax, rax
je 0x140049626
dec dword [rax + 0x3ac]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400598b0]
mov rcx, rbx
call fcn.140008880
cmp qword [0x1400598b0], rbx
jne 0x14004964e
mov qword [0x1400598b0], r14
test rbx, rbx
je 0x140049676
mov rcx, rbx
call fcn.140024df0
mov rax, qword [0x1400598b0]
test rax, rax
je 0x14004966d
dec dword [rax + 0x3ac]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400598f0]
test rcx, rcx
je 0x14004968f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400598f0], r14
mov rcx, qword [0x1400598e8]
test rcx, rcx
je 0x1400496a8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400598e8], r14
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
jmp 0x14004971b
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x1400598e8]
mov rdx, qword [0x1400598f0]
test rdx, rdx
je 0x1400496f8
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [0x1400598f0], r14
mov rcx, qword [0x1400598e8]
test rcx, rcx
je 0x14004970a
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [0x1400598e8], r14
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, r15d
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14004a040
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret