Function at 0x18002dda0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1800ad010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, qword [0x1800b6948]
lea rcx, [0x1800a2180]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1800b6bb8], rax
test rax, rax
je 0x18002e118
lea rdx, [0x1800a2190]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x18002dd60]
mov qword [0x1800b6bc8], rax
call fcn.180046630
xor edi, edi
lea rbp, [0x180000000]
mov ebx, edi
nop word [rax + rax]
mov rcx, qword [rbx + rbp + 0xa0aa0]
call fcn.18002dd70
mov qword [rbx + rbp + 0xb6960], rax
add rbx, 8
cmp rbx, 0x1d8
jb 0x18002de20
mov rax, qword [0x1800b6a70]
test rax, rax
je 0x18002e118
lea rdx, [0x1800b6bc0]
mov ecx, 0x821b
call rax
lea rdx, [0x1800b6bc4]
mov ecx, 0x821c
call qword [0x1800b6a70]
cmp dword [0x1800b6bc0], edi
jne 0x18002deb6
cmp dword [0x1800b6bc4], edi
jne 0x18002e118
mov rax, qword [0x1800b6a98]
mov ecx, 0x1f02
call rax
test rax, rax
je 0x18002deb6
lea r9, [0x1800b6bc4]
mov rcx, rax
lea r8, [0x1800b6bc0]
lea rdx, str._d._d
call fcn.180003510
cmp dword [0x1800b6bc0], 2
jl 0x18002e118
mov rdx, qword [0x1800b6940]
mov ecx, 0x68
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, qword [0x1800b6948]
mov rbx, rax
test r8, r8
je 0x18002df42
movsx rdx, word [r8 + 0x60e0]
lea rax, [r8 + 0x60e4]
mov r9d, dword [r8 + 0x3f68]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x18002df37
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 [r8 + 0x60e0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60e4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], edi
inc word [rax + 4]
inc dword [r8 + 0x60d8]
test rbx, rbx
je 0x18002df69
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
mov qword [rbx + 0x60], rax
jmp 0x18002df6c
mov rbx, rdi
lea rax, str.imgui_impl_opengl3
mov qword [rsi + 0x98], rbx
mov qword [rsi + 0x88], rax
mov ecx, 0x1f02
mov rax, qword [0x1800b6a98]
call rax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], edi
mov ecx, 0x821b
mov dword [rsp + 0x34], edi
mov rbp, rax
call qword [0x1800b6a70]
lea rdx, [rsp + 0x34]
mov ecx, 0x821c
call qword [0x1800b6a70]
mov ecx, dword [rsp + 0x30]
test ecx, ecx
jne 0x18002dfe5
cmp dword [rsp + 0x34], edi
jne 0x18002dfe5
lea r9, [rsp + 0x34]
mov rcx, rbp
lea r8, [rsp + 0x30]
lea rdx, str._d._d
call fcn.180003510
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
lea ecx, [rcx + rcx*4]
lea ecx, [rax + rcx*2]
lea eax, [rcx + rcx*4]
add eax, eax
mov dword [rbx], eax
cmp eax, 0x140
jb 0x18002e00c
lea rdx, [rbx + 0x28]
mov ecx, 0x9126
call qword [0x1800b6a70]
mov eax, dword [rbx + 0x28]
lea rdx, str.OpenGL_ES_3
shr eax, 1
mov r8d, 0xb
and al, 1
mov rcx, rbp
mov byte [rbx + 0x26], al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x18002e034
mov byte [rbx + 0x25], 1
cmp dword [rbx], 0x140
mov byte [rbx + 0x62], dil
jb 0x18002e044
or dword [rsi + 0xc], 8
lea rdx, [rbx + 4]
mov r8, rdx
lea rcx, str.version_130
sub r8, rcx
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x18002e060
dec rdx
cmp byte [rdx + 1], dil
lea rdx, [rdx + 1]
jne 0x18002e072
movzx eax, word [0x1800a1f28]
mov ecx, 0x8069
mov word [rdx], ax
lea rdx, [rsp + 0x3c]
call qword [0x1800b6a70]
cmp byte [rbx + 0x24], dil
jne 0x18002e0a6
cmp byte [rbx + 0x25], dil
jne 0x18002e0a6
mov al, 1
jmp 0x18002e0a8
xor al, al
cmp dword [rbx], 0x1c2
lea rdx, [rsp + 0x38]
mov byte [rbx + 0x60], al
mov ecx, 0x821d
setae al
mov byte [rbx + 0x61], al
mov dword [rsp + 0x38], edi
call qword [0x1800b6a70]
cmp dword [rsp + 0x38], edi
jle 0x18002e114
nop dword [rax]
nop word [rax + rax]
mov rax, qword [0x1800b6aa0]
mov edx, edi
mov ecx, 0x1f03
call rax
test rax, rax
je 0x18002e10c
lea rdx, str.GL_ARB_clip_control
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x18002e10c
mov byte [rbx + 0x61], 1
inc edi
cmp edi, dword [rsp + 0x38]
jl 0x18002e0e0
mov al, 1
jmp 0x18002e134
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Failed_to_initialize_OpenGL_loader__n
call fcn.18002dd10
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180046230
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret