Function at 0x14008d020
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x200
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14025d030]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r15, rcx
xor esi, esi
mov dword [rbp + 0x30], esi
mov qword [0x14025f100], rcx
mov qword [rbp + 0x98], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xa4], xmm0
movdqa xmm1, xmmword [0x14023d190]
movdqu xmmword [rbp + 0x88], xmm1
mov dword [rbp + 0xa0], 8
mov qword [rbp + 0xb4], rsi
mov rax, qword [0x14025ef68]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx]
lea r8, [0x14025f248]
lea rdx, [rbp + 0x88]
call qword [rax + 0xb8]
mov rax, qword [0x14025efa0]
test rax, rax
je 0x14008d0da
inc dword [rax + 0xec]
mov ecx, 0x69d8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x50], rax
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x38], rax
test rax, rax
je 0x14008d10a
xor edx, edx
mov rcx, rax
call fcn.1400a65e0
mov rdi, rax
jmp 0x14008d10d
mov rdi, rsi
cmp qword [0x14025efa0], 0
jne 0x14008d11e
mov qword [0x14025efa0], rdi
mov rcx, rdi
call fcn.1400acb10
mov qword [rdi + 0x20], rsi
mov dword [rdi + 0x58], 0x3f000000
lea rcx, str.SYSTEMROOT
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rcx, rax
mov qword [rbp + 0x50], rax
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14008d150
mov qword [rbp + 0x58], rax
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x68]
call fcn.140066f70
nop
lea rax, str.Fonts
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 5
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140066f70
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x68]
call fcn.1400485a0
nop
lea rcx, [rsp + 0x38]
call fcn.140055ab0
mov rbx, qword [rdi + 0x50]
lea rax, str.tahoma.ttf
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0xa
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140066f70
mov dword [rbp + 0x30], 7
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.140048cb0
mov dword [rbp + 0x30], reloc.WS2_32.dll_ntohs
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.1400485a0
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400487f0
cmp qword [rax + 0x18], 0x10
jb 0x14008d20f
mov rax, qword [rax]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
movss xmm2, dword [0x14023d030]
mov rdx, rax
mov rcx, rbx
call fcn.1400a0190
mov qword [r15], rax
lea rcx, [rsp + 0x78]
call fcn.140057660
nop
lea rcx, [rsp + 0x38]
call fcn.140055ab0
nop
lea rcx, [rsp + 0x58]
call fcn.140055ab0
mov ecx, 8
mov rax, qword gs:[0x58]
mov r12, qword [rax]
mov eax, dword [rcx + r12]
cmp dword [0x14025f378], eax
jle 0x14008d310
lea rcx, [0x14025f378]
call fcn.14013eae8
cmp dword [0x14025f378], 0xffffffff
jne 0x14008d310
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x14025f260], xmm0
movups xmmword [0x14025f270], xmm0
movups xmmword [0x14025f280], xmm0
movups xmmword [0x14025f290], xmm0
movups xmmword [0x14025f2a0], xmm0
movups xmmword [0x14025f2b0], xmm0
movups xmmword [0x14025f2c0], xmm0
movups xmmword [0x14025f2d0], xmm0
mov qword [0x14025f2e0], rax
mov byte [0x14025f26c], 1
mov dword [0x14025f278], 3
mov dword [0x14025f27c], 1
mov dword [0x14025f2a4], 0x7f7fffff
mov dword [0x14025f2b0], 0x3f800000
mov dword [0x14025f2b4], 0xffffffff
lea rcx, [0x14025f378]
call fcn.14013ea7c
mov byte [0x14025f2a8], 1
mov byte [0x14025f280], 1
mov dword [0x14025f2a0], 0x41aaaaab
mov r13, qword [rdi + 0x50]
mov rax, qword [0x14025efa0]
test rax, rax
je 0x14008d33e
inc dword [rax + 0xec]
mov ecx, 0x605ac
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
lea rax, [0x1401f62e0]
mov qword [0x14025efc8], rax
lea rsi, [r14 + 0x605ac]
mov qword [0x14025efd0], rsi
mov qword [0x14025efd8], r14
mov qword [0x14025efe0], r14
lea rbx, [0x1401f62f0]
mov rcx, rbx
call fcn.1400a2d00
cmp rax, rbx
je 0x14008d3a9
nop word [rax + rax]
cmp qword [0x14025efe0], rsi
ja 0x14008d3a9
mov rbx, rax
mov rcx, rax
call fcn.1400a2d00
cmp rax, rbx
jne 0x14008d390
movaps xmm0, xmmword [0x14025f260]
movaps xmmword [rbp - 0x60], xmm0
movaps xmm2, xmmword [0x14025f270]
movaps xmm3, xmmword [0x14025f280]
movaps xmm4, xmmword [0x14025f290]
movaps xmm5, xmmword [0x14025f2a0]
movaps xmm6, xmmword [0x14025f2b0]
movaps xmm7, xmmword [0x14025f2c0]
movaps xmm8, xmmword [0x14025f2d0]
movsd xmm1, qword [0x14025f2e0]
mov byte [rbp - 0x54], 1
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm2
movaps xmmword [rbp - 0x40], xmm3
movaps xmmword [rbp - 0x30], xmm4
movaps xmmword [rbp - 0x20], xmm5
movaps xmmword [rbp - 0x10], xmm6
movaps xmmword [rbp], xmm7
movaps xmmword [rbp + 0x10], xmm8
movsd qword [rbp + 0x20], xmm1
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x58], 0x605ac
mov dword [rbp - 0x4c], 0x41aaaaab
lea rax, [0x1401f62c8]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x60]
mov rcx, r13
call fcn.14009ff20
mov ecx, 8
mov eax, dword [rcx + r12]
cmp dword [0x14025f250], eax
jle 0x14008d4fc
lea rcx, [0x14025f250]
call fcn.14013eae8
cmp dword [0x14025f250], 0xffffffff
jne 0x14008d4fc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x14025f2f0], xmm0
movups xmmword [0x14025f300], xmm0
movups xmmword [0x14025f310], xmm0
movups xmmword [0x14025f320], xmm0
movups xmmword [0x14025f330], xmm0
movups xmmword [0x14025f340], xmm0
movups xmmword [0x14025f350], xmm0
movups xmmword [0x14025f360], xmm0
mov qword [0x14025f370], rax
mov byte [0x14025f2fc], 1
mov dword [0x14025f308], 3
mov dword [0x14025f30c], 1
mov dword [0x14025f334], 0x7f7fffff
mov dword [0x14025f340], 0x3f800000
mov dword [0x14025f344], 0xffffffff
lea rcx, [0x14025f250]
call fcn.14013ea7c
mov byte [0x14025f338], 1
mov byte [0x14025f310], 0
or dword [0x14025f33c], 0x100
mov rbx, qword [rdi + 0x50]
lea rax, str.seguiemj.ttf
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], recv
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140066f70
mov dword [rbp + 0x30], reloc.WS2_32.dll_socket
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x58]
call fcn.140048cb0
mov dword [rbp + 0x30], gethostname
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.1400485a0
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.1400487f0
cmp qword [rax + 0x18], 0x10
jb 0x14008d57d
mov rax, qword [rax]
lea rcx, [0x1401f62b8]
mov qword [rsp + 0x20], rcx
lea r9, [0x14025f2f0]
movss xmm2, dword [0x14023d030]
mov rdx, rax
mov rcx, rbx
call fcn.1400a0190
lea rcx, [rsp + 0x78]
call fcn.140057660
nop
lea rcx, [rsp + 0x58]
call fcn.140055ab0
nop
lea rcx, [rsp + 0x38]
call fcn.140055ab0
mov rax, qword [0x14025efa0]
mov dword [rax + 0x3838], 0x3f800000
mov dword [rax + 0x383c], 0x3c23d70a
xor ecx, ecx
call fcn.14009aac0
mov rcx, r15
call fcn.14008dad0
mov rax, qword [0x14025ef68]
mov rsi, qword [rax]
mov rbx, qword [0x14025efa0]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14008d73a
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14008d73a
mov rax, qword [0x14025efa0]
test rax, rax
je 0x14008d634
inc dword [rax + 0xec]
mov ecx, Ordinal_73
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14008d661
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
mov qword [rdi + 0x40], rax
jmp 0x14008d663
xor edi, edi
mov qword [rbx + 0x90], rdi
lea rax, str.imgui_impl_win32
mov qword [rbx + 0x80], rax
or dword [rbx + 0xc], 6
mov qword [rdi], rsi
mov byte [rdi + 0x2d], 1
mov rax, qword [rbp + 0x60]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0x50]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rax, qword [0x14025efa0]
mov rcx, qword [rax + 0x4030]
mov rax, qword [rcx]
mov qword [rax + 0x28], rsi
lea rax, [0x140230160]
mov qword [rsp + 0x78], rax
lea rax, str.xinput1_3.dll
mov qword [rbp - 0x80], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp - 0x78], rax
lea rax, str.xinput1_2.dll
mov qword [rbp - 0x70], rax
lea rax, str.xinput1_1.dll
mov qword [rbp - 0x68], rax
xor ebx, ebx
nop dword [rax]
mov rcx, qword [rsp + rbx*8 + 0x78]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14008d70e
inc rbx
cmp rbx, 5
jl 0x14008d6f0
jmp 0x14008d73a
mov qword [rdi + 0x30], rsi
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov rax, qword [0x14025ef68]
mov r14, qword [rax + 0x68]
mov rsi, qword [rax + 0x60]
mov rdi, qword [0x14025efa0]
test rdi, rdi
je 0x14008d75b
inc dword [rdi + 0xec]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rbp + 0x38], rax
test rax, rax
je 0x14008d7a6
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x70], 0x1388
mov dword [rbx + 0x74], 0x2710
jmp 0x14008d7a8
xor ebx, ebx
mov qword [rdi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
or dword [rdi + 0xc], 8
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov rax, qword [rsi]
lea r8, [rbp + 0x30]
lea rdx, [0x140230130]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x14008d831
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
lea r8, [rbp + 0x40]
lea rdx, [0x140230140]
call qword [rax + 0x30]
test eax, eax
jne 0x14008d831
mov rcx, qword [rbp + 0x40]
mov rax, qword [rcx]
lea r8, [rbp + 0x38]
lea rdx, [0x140230150]
call qword [rax + 0x30]
test eax, eax
jne 0x14008d831
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp + 0x38]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14008d840
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14008d84f
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0x68]
call fcn.140055ab0
mov rax, r15
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14013ea20
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret