Function at 0x1400847b0
Capabilities:
Link many functions at runtime

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x140d5c040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [0x1410cd9d8], 0
je 0x1400847e7
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140093920
add rsp, 0x50
pop rdi
ret
lea rcx, [0x140d46540]
call sub.KERNEL32.dll_LoadLibraryA
mov qword [0x1410cd9d8], rax
test rax, rax
jne 0x140084825
lea rdx, [0x1400b2580]
mov ecx, 0x10008
call fcn.140082470
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140093920
add rsp, 0x50
pop rdi
ret
lea rdx, [0x1400b25a8]
mov qword [rsp + 0x70], rsi
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1410cd9d8]
lea rdx, [0x1400b25c0]
mov qword [0x1410cd9e0], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1410cd9d8]
lea rdx, [0x140d46550]
mov qword [0x1410cd9e8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1410cd9d8]
lea rdx, [0x1400b25d8]
mov qword [0x1410cd9f0], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1410cd9d8]
lea rdx, [0x1400b25e8]
mov qword [0x1410cd9f8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1410cd9d8]
lea rdx, [0x1400b2600]
mov qword [0x1410cda00], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1410cd9d8]
lea rdx, [0x1400b2610]
mov qword [0x1410cda08], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1410cc8c0]
mov qword [0x1410cda10], rax
call qword [sym.imp.USER32.dll_GetDC]
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
mov rsi, rax
mov dword [rsp + 0x20], 0x10028
xor eax, eax
mov dword [rsp + 0x24], 0x25
mov rcx, rsi
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x28], 0x1800
lea edi, [rax + 1]
call qword [sym.imp.GDI32.dll_ChoosePixelFormat]
lea r8, [rsp + 0x20]
mov rcx, rsi
mov edx, eax
call qword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
jne 0x140084954
lea rdx, [0x1400b2620]
mov ecx, 0x10008
call fcn.140082470
xor eax, eax
jmp 0x140084b3d
mov rcx, rsi
mov qword [rsp + 0x60], rbx
call qword [0x1410cd9e0]
mov rbx, rax
test rax, rax
jne 0x140084982
lea rdx, [0x1400b2658]
mov ecx, 0x10008
call fcn.140082470
xor eax, eax
jmp 0x140084b38
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x78], r14
call qword [0x1410cd9f8]
mov rbp, rax
call qword [0x1410cda00]
mov rdx, rbx
mov rcx, rsi
mov r14, rax
call qword [0x1410cda08]
test eax, eax
jne 0x1400849db
lea rdx, [0x1400b2680]
mov ecx, 0x10008
call fcn.140082470
mov rdx, r14
mov rcx, rbp
call qword [0x1410cda08]
mov rcx, rbx
call qword [0x1410cd9e8]
xor eax, eax
jmp 0x140084b2e
lea rcx, [0x1400b26b0]
call qword [0x1410cd9f0]
lea rcx, [0x1400b26d0]
mov qword [0x1410cda28], rax
call qword [0x1410cd9f0]
lea rcx, [0x1400b26f0]
mov qword [0x1410cda30], rax
call qword [0x1410cd9f0]
lea rcx, [0x1400b2710]
mov qword [0x1410cda38], rax
call qword [0x1410cd9f0]
lea rcx, [0x1400b2728]
mov qword [0x1410cda18], rax
call qword [0x1410cd9f0]
lea rcx, [0x1400b2748]
mov qword [0x1410cda20], rax
call fcn.1400854c0
lea rcx, [0x1400b2760]
mov dword [0x1410cda48], eax
call fcn.1400854c0
lea rcx, [0x1400b2780]
mov dword [0x1410cda4c], eax
call fcn.1400854c0
lea rcx, [0x1400b27a0]
mov dword [0x1410cda50], eax
call fcn.1400854c0
lea rcx, [0x1400b27b8]
mov dword [0x1410cda58], eax
call fcn.1400854c0
lea rcx, [0x1400b27d8]
mov dword [0x1410cda5c], eax
call fcn.1400854c0
lea rcx, [0x1400b2800]
mov dword [0x1410cda60], eax
call fcn.1400854c0
lea rcx, [0x1400b2828]
mov dword [0x1410cda64], eax
call fcn.1400854c0
lea rcx, [0x1400b2848]
mov dword [0x1410cda68], eax
call fcn.1400854c0
lea rcx, [0x1400b2860]
mov dword [0x1410cda40], eax
call fcn.1400854c0
lea rcx, [0x1400b2878]
mov dword [0x1410cda44], eax
call fcn.1400854c0
lea rcx, [0x1400b2890]
mov dword [0x1410cda54], eax
call fcn.1400854c0
mov rdx, r14
mov dword [0x1410cda6c], eax
mov rcx, rbp
call qword [0x1410cda08]
mov rcx, rbx
call qword [0x1410cd9e8]
mov eax, edi
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140093920
add rsp, 0x50
pop rdi
ret