Function at 0x1800220a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, qword [0x180037f28]
lea rdx, [0x180037f90]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
js 0x1800223eb
mov rcx, qword [0x180037f90]
lea rdx, [0x180038018]
xor edi, edi
mov qword [rsp + 0x38], rdx
lea rdx, [0x180037fb0]
mov qword [0x180037fbc], rdi
mov qword [0x180037fc8], 1
mov r9, rbx
mov qword [0x180037fe4], rdi
mov dword [0x180037fec], edi
lea r8d, [rdi + 1]
mov dword [0x180037fd8], 1
mov qword [0x180037fd0], rbx
mov dword [0x180037fc4], edi
mov dword [0x180037fb8], 0x15
mov dword [0x180037fb0], 0x320
mov dword [0x180037fb4], 0x258
mov dword [0x180037fdc], 1
mov dword [0x180037fe0], 0x50
mov rax, qword [rcx]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
js 0x1800223eb
cmp qword [0x180038030], rdi
jne 0x180022198
mov rcx, qword [0x180038018]
lea rdx, [0x180038030]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateLine]
mov rcx, qword [0x180038018]
lea rax, [0x180038008]
mov qword [rsp + 0x58], rax
lea rbx, str.arial
mov qword [rsp + 0x50], rbx
xor r9d, r9d
mov dword [rsp + 0x48], edi
xor r8d, r8d
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
lea edx, [r9 + 0xf]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.d3dx9_43.dll_D3DXCreateFontW]
mov rcx, qword [0x180038018]
lea rax, [0x180037fa0]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
cmp dword [0x180037f88], 0x5dc
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
lea edx, [r9 + 0x12]
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
jg 0x180022239
lea edx, [r9 + 0x10]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateFontW]
mov rcx, qword [0x180038018]
lea rax, [0x180038010]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
cmp dword [0x180037f88], 0x5dc
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
lea edx, [r9 + 0x1e]
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
jg 0x180022291
lea edx, [r9 + 0x19]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateFontW]
mov rcx, qword [0x180038018]
lea rax, [0x180037f20]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
cmp dword [0x180037f88], 0x5dc
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
lea edx, [r9 + 0xf]
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
jg 0x1800222e9
lea edx, [r9 + 0xd]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateFontW]
mov rcx, qword [0x180038018]
lea rax, [0x180038028]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], 2
lea edx, [r9 + 0x16]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.d3dx9_43.dll_D3DXCreateFontW]
mov rcx, qword [0x180038018]
lea rax, [0x180038020]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], 2
lea edx, [r9 + 8]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.d3dx9_43.dll_D3DXCreateFontW]
mov rcx, qword [0x180038018]
lea rax, [0x180037f18]
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea rax, str.Gabriola
xor r8d, r8d
cmp dword [0x180037f88], 0x5dc
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
lea edx, [r9 + 0x23]
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
jg 0x1800223d8
lea edx, [r9 + 0x1e]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateFontW]
mov rbx, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x60
pop rdi
ret
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3