Function at 0x140041720
Capabilities:
Access peb ldr_data
Create thread
Get kernel32 base address

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14013c080]
xor rax, rsp
mov qword [rbp + 0x47], rax
call fcn.140002620
mov ecx, 1
call fcn.1400a6810
mov qword [rbp + 0x17], rax
mov ecx, 1
call fcn.1400a6810
mov qword [rbp + 0x1f], rax
mov ecx, 1
call fcn.1400a6810
mov qword [rbp + 0x27], rax
mov ecx, 1
call fcn.1400a6810
mov qword [rbp + 0xf], rax
mov ecx, 1
call fcn.1400a6810
mov qword [rbp + 7], rax
mov ecx, 1
call fcn.1400a6810
mov qword [rbp + 0x2f], rax
call fcn.14003fb90
call fcn.14003fd60
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx + 0x10]
mov eax, dword [rdx + 0x30]
add eax, 0x100000
mov dword [rdx + 0x40], eax
mov ecx, Ordinal_60
call fcn.1400a6810
movups xmm0, xmmword [rbp + 7]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x27]
movups xmmword [rax + 0x20], xmm0
lea rcx, [0x140041200]
mov qword [rax + 0x30], rcx
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140042050]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 9], rax
test rax, rax
je 0x140041d87
cmp dword [rbp - 1], r14d
jne 0x14004183d
lea ecx, [r14 + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x19]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14004185d
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
mov ecx, 0x98
call fcn.1400a6810
mov rcx, rax
xor eax, eax
mov word [rcx + 9], ax
mov byte [rcx + 0xb], al
xorps xmm0, xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
movups xmmword [rcx + 0x70], xmm0
movups xmmword [rcx + 0x80], xmm0
mov qword [rcx + 0x90], rax
mov dword [rbp - 0x29], 0x17201f4
mov eax, dword [rbp - 0x29]
mov dword [rcx], eax
mov dword [rcx + 4], r14d
mov byte [rcx + 8], 1
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], r14
mov qword [rcx + 0x20], r14
mov qword [rcx + 0x28], r14
mov dword [rcx + 0xc], r14d
mov qword [0x14022f590], rcx
call fcn.1400412d0
mov ecx, 0x88
call fcn.1400a6810
mov rsi, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x40], xmm0
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x60], xmm0
movups xmmword [rsi + 0x70], xmm0
mov qword [rsi + 0x80], rax
mov rcx, qword [0x14022f590]
mov rdi, qword [rcx + 0x10]
mov qword [rsi + 0x48], 0xffffffffffffffff
mov qword [rsi + 0x50], 0xffffffffffffffff
mov qword [rsi + 0x58], 0xffffffffffffffff
mov qword [rsi + 0x60], 0xffffffffffffffff
mov dword [rsi + 0x68], 0xffffffff
mov qword [rsi + 0x6c], 0xfffffffffffffffd
mov dword [rsi + 0x74], 0xffffffff
mov qword [rsi + 0x78], r14
mov qword [rsi + 0x80], r14
lea rax, [rsi + 0x10]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsi + 0x48]
mov r8d, 0x1335b
lea rdx, [0x14019b5a0]
mov rcx, rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rsi
mov rax, qword [rsi + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsi + 0x48]
mov r8d, 0x103a3
lea rdx, [0x1401821d0]
mov rcx, rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
lea rax, [rsi + 8]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsi + 0x48]
mov r8d, 0x11aae
lea rdx, [0x140170720]
mov rcx, rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsi + 0x48]
mov r8d, 0x901a
lea rdx, [0x140192580]
mov rcx, rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
lea rax, [rsi + 0x20]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsi + 0x48]
mov r8d, 0x6c4b
lea rdx, [0x14015e620]
mov rcx, rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
lea rax, [rsi + 0x28]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsi + 0x48]
mov r8d, 0xb4ab
lea rdx, [0x140165270]
mov rcx, rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
lea rax, [rsi + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsi + 0x48]
mov r8d, 0x1612b
lea rdx, [0x14013c120]
mov rcx, rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
lea rax, [rsi + 0x38]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsi + 0x48]
mov r8d, 0x7fda9
lea rdx, [0x1401ae900]
mov rcx, rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
lea rax, [rsi + 0x40]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsi + 0x48]
mov r8d, 0xc3cd
lea rdx, [0x140152250]
mov rcx, rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
mov qword [0x14022f568], rsi
mov ecx, 0x218
call fcn.1400a6810
mov rbx, rax
xor edx, edx
mov r8d, 0x218
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call fcn.140002950
mov rsi, rax
mov qword [0x14022f560], rax
mov rbx, qword [0x14022f590]
cmp byte [rbx + 8], r14b
je 0x140041c74
nop dword [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140041bd3
nop
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp + 0xf], 0x12
jne 0x140041bb5
mov rax, qword [0x14022f590]
mov byte [rax + 8], r14b
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140041b90
mov rdx, qword [0x14022f590]
add rdx, 8
mov rcx, qword [0x14022f560]
call fcn.1400033d0
mov rdi, qword [0x14022f590]
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rdi + 0x28]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
lea r8, [rbp + 0x37]
mov rdx, qword [rdi + 0x28]
call qword [rax + 0x190]
mov rax, qword [0x14022f578]
mov rax, qword [rax + 0x4860]
mov rcx, qword [rax]
add rcx, 0x48
mov rax, r14
cmp byte [rcx], r14b
cmovne rax, rcx
mov rcx, rax
call fcn.14000ba70
mov rcx, qword [rdi + 0x20]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, dword [rdi + 0xc]
call qword [rax + 0x40]
mov rbx, qword [0x14022f590]
cmp byte [rbx + 8], r14b
jne 0x140041b70
mov rsi, qword [0x14022f560]
mov rdi, qword [0x14022f568]
test rdi, rdi
je 0x140041cf8
mov rax, qword [rdi + 0x40]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 0x20]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov edx, 0x88
mov rcx, rdi
call fcn.1400a6aa4
mov rbx, qword [0x14022f590]
mov rsi, qword [0x14022f560]
test rsi, rsi
je 0x140041d19
mov rcx, rsi
call fcn.140003200
mov edx, 0x218
mov rcx, rsi
call fcn.1400a6aa4
mov rbx, qword [0x14022f590]
test rbx, rbx
je 0x140041d4f
mov rcx, rbx
call fcn.140041da0
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rbx + 0x88]
call qword [sym.imp.USER32.dll_UnregisterClassW]
nop
mov edx, 0x98
mov rcx, rbx
call fcn.1400a6aa4
cmp dword [rbp - 1], 0
je 0x140041d5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400a67f0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rbp - 1], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3