Function at 0x140047ef0
Capabilities:
Get common file path
Resolve function by parsing pe exports

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 - 0x318]
sub rsp, 0x3f0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
mov rax, qword [0x140082010]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rsi, rcx
mov dword [rbp + 0x150], 0x50
mov dword [rbp + 0x154], 0x40
lea rax, [0x140047e30]
mov qword [rbp + 0x158], rax
xor r15d, r15d
mov qword [rbp + 0x160], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x168], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x170], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x180], xmm1
lea rax, [0x140077cdc]
mov qword [rbp + 0x190], rax
mov qword [rbp + 0x198], r15
lea rcx, [rbp + 0x150]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp + 0x168]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x15e
mov dword [rsp + 0x30], 0x226
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0x80000000
lea r8, [0x14004fd13]
mov rdx, qword [rbp + 0x190]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov r14, rax
mov rbx, qword [0x140082f48]
lea ecx, [r15 + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [rbx + 8], rax
test rax, rax
je 0x140048e52
lea rdx, [rbx + 0x18]
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x24], r15
mov dword [rbx + 0x2c], r15d
mov qword [rbx + 0x34], r15
mov dword [rbx + 0x3c], r15d
mov qword [rbx + 0x4c], r15
mov dword [rbx + 0x40], 1
mov dword [rbx + 0x30], 1
mov dword [rbx + 0x20], r15d
mov dword [rbx + 0x44], 1
mov dword [rbx + 0x48], 0x50
mov dword [rbx + 0x54], 1
mov rcx, rax
mov rax, qword [rax]
mov r10, qword [rax + 0x80]
lea rax, [rbx + 0x10]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, r14
xor edx, edx
lea r8d, [r15 + 1]
call r10
test eax, eax
js 0x140048e52
lea edx, [r15 + 0xa]
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x140082e70]
test rax, rax
je 0x1400480d6
inc dword [rax + 0x3b4]
mov rdx, qword [0x140082e60]
mov ecx, 0x3db8
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov qword [rbp + 0x140], rax
test rax, rax
je 0x140048110
xor edx, edx
mov rcx, rax
call fcn.1400081e0
mov rcx, rax
jmp 0x140048113
mov rcx, r15
mov rax, qword [0x140082e70]
test rax, rax
cmove rax, rcx
mov qword [0x140082e70], rax
call fcn.14000e420
mov rbx, qword [0x140082e70]
mov qword [rbp - 0x78], rbx
mov qword [rbx + 0x20], r15
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp + 0xb0], xmm6
movups xmmword [rbp + 0xc0], xmm6
movups xmmword [rbp + 0xd0], xmm6
movups xmmword [rbp + 0xf0], xmm6
movups xmmword [rbp + 0x100], xmm6
mov qword [rbp + 0x130], rax
mov byte [rbp + 0xbc], 1
mov dword [rbp + 0xc8], 3
mov dword [rbp + 0xcc], 1
mov dword [rbp + 0xf4], 0x7f7fffff
movss xmm11, dword [0x140077f44]
mov dword [rbp + 0x100], 0x3f800000
mov eax, 0xffff
mov word [rbp + 0x104], ax
mov byte [rbp + 0xf8], 1
mov byte [rbp + 0xd0], 1
lea r9, [rbp + 0x140]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14004f8b0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x1400486c5
mov rdx, qword [rbp + 0x140]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400481f0
mov qword [rbp + 0x1b0], r15
mov qword [rbp + 0x1b8], 7
mov word [rbp + 0x1a0], r15w
lea rcx, [rbp + 0x1a0]
call fcn.140005d70
nop
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rbx + 0xa8]
mov qword [rbp - 0x80], rax
call fcn.14004b1cc
lea rcx, str.tahoma.ttf
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], 0xa
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp + 0x40]
call fcn.140004d00
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
lea r13, [rbp + 0x1a0]
mov r15, qword [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 8
cmovae r13, r15
mov r12, qword [rbp + 0x1b0]
cmp r12, 8
jae 0x1400482a7
movups xmm0, xmmword [r13]
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x58], 7
jmp 0x1400482e3
mov rbx, r12
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
call fcn.140006c90
mov qword [rbp - 0x70], rax
lea r8, [r12*2 + 2]
mov rdx, r13
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x60], r12
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140005ae0
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140006d10
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140048347
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048342
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048342
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bc84
movdqa xmm0, xmmword [0x1400780b0]
movdqu xmmword [rbp - 0x60], xmm0
xor r13d, r13d
mov word [rbp - 0x70], r13w
lea rax, [rbp + 0x88]
cmp qword [rbp + 0xa0], 8
cmovae rax, qword [rbp + 0x88]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0x98]
mov qword [rsp + 0x78], rax
call fcn.14004b1cc
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp + 0x68]
call fcn.140007d90
nop
lea rbx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0x10
cmovae rbx, qword [rbp + 0x68]
mov qword [rsp + 0x70], r13
lea r8, [rsp + 0x70]
mov rcx, rbx
call fcn.140009780
mov r12, rax
test rax, rax
je 0x140048572
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
mov qword [rbp + 0x30], rax
mov byte [rbp - 0x44], 1
mov dword [rbp - 0x38], 3
mov dword [rbp - 0x34], 1
mov dword [rbp - 0xc], 0x7f7fffff
mov dword [rbp], 0x3f800000
mov eax, 0xffff
mov word [rbp + 4], ax
movaps xmm3, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x1f0], xmm3
movaps xmm4, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x200], xmm4
movaps xmmword [rbp + 0x210], xmm1
xorps xmm5, xmm5
movaps xmmword [rbp + 0x220], xmm5
movaps xmm7, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0x230], xmm7
movaps xmm2, xmmword [rbp]
movaps xmmword [rbp + 0x240], xmm2
xorps xmm8, xmm8
movaps xmmword [rbp + 0x250], xmm8
xorps xmm9, xmm9
movaps xmmword [rbp + 0x260], xmm9
movsd xmm10, qword [rbp + 0x30]
movsd qword [rbp + 0x270], xmm10
movdqa xmm0, xmm2
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x140048524
nop
inc rdi
cmp byte [rbx + rdi], 0
jne 0x140048490
add rdi, rbx
cmp rdi, rbx
jbe 0x1400484b8
lea rcx, [rdi - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x1400484b8
cmp al, 0x5c
je 0x1400484b8
mov rdi, rcx
cmp rcx, rbx
ja 0x1400484a1
movsd xmm0, qword [0x140077f80]
movsd qword [rsp + 0x20], xmm0
mov r9, rdi
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x246]
call fcn.140009490
movsd xmm10, qword [rbp + 0x270]
movaps xmm9, xmmword [rbp + 0x260]
movaps xmm8, xmmword [rbp + 0x250]
movaps xmm2, xmmword [rbp + 0x240]
movaps xmm7, xmmword [rbp + 0x230]
movaps xmm5, xmmword [rbp + 0x220]
movaps xmm1, xmmword [rbp + 0x210]
movaps xmm4, xmmword [rbp + 0x200]
movaps xmm3, xmmword [rbp + 0x1f0]
movaps xmmword [rbp - 0x50], xmm3
movaps xmmword [rbp - 0x40], xmm4
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x20], xmm5
movaps xmmword [rbp - 0x10], xmm7
movaps xmmword [rbp], xmm2
movaps xmmword [rbp + 0x10], xmm8
movaps xmmword [rbp + 0x20], xmm9
movsd qword [rbp + 0x30], xmm10
mov qword [rbp - 0x50], r12
mov eax, dword [rsp + 0x70]
mov dword [rbp - 0x48], eax
movss xmm0, dword [0x140077fc8]
movss dword [rbp - 0x3c], xmm0
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp - 0x80]
call fcn.140028090
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x1400485b3
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400485ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400485ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bc84
mov qword [rbp + 0x78], r13
mov qword [rbp + 0x80], 0xf
mov byte [rbp + 0x68], 0
mov rdx, qword [rbp + 0xa0]
cmp rdx, 8
jb 0x14004860f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004860a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004860a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bc84
movdqa xmm0, xmmword [0x1400780b0]
movdqu xmmword [rbp + 0x98], xmm0
mov word [rbp + 0x88], r13w
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x14004866a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048665
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048665
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bc84
movdqa xmm0, xmmword [0x1400780b0]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r13w
mov rax, qword [rbp + 0x1b8]
cmp rax, 8
jb 0x1400486c1
lea rdx, [rax*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400486b9
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400486b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14004bc84
mov rbx, qword [rbp - 0x78]
mov r12, qword [rbx + 0xa8]
mov rax, qword [0x140082e70]
test rax, rax
je 0x1400486de
inc dword [rax + 0x3b4]
mov rdx, qword [0x140082e60]
mov ecx, 0x31778
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r15, rax
lea rax, [0x140054120]
mov qword [0x140082e80], rax
lea rdi, [r15 + 0x31778]
mov qword [0x140082e88], rdi
mov qword [0x140082e90], r15
mov qword [0x140082e98], r15
lea r13, [0x140054130]
mov rcx, r13
call fcn.14002bfd0
cmp rax, r13
je 0x14004874d
cmp qword [0x140082e98], rdi
ja 0x140048749
mov rbx, rax
mov rcx, rax
call fcn.14002bfd0
cmp rax, rbx
jne 0x140048730
mov rbx, qword [rbp - 0x78]
movaps xmm0, xmmword [rbp + 0xb0]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm2, xmmword [rbp + 0xc0]
movaps xmm3, xmmword [rbp + 0xd0]
movaps xmm4, xmmword [rbp + 0xf0]
movaps xmm5, xmmword [rbp + 0x100]
movsd xmm1, qword [rbp + 0x130]
mov byte [rbp - 0x44], 1
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x40], xmm2
movaps xmmword [rbp - 0x30], xmm3
movaps xmmword [rbp - 0x20], xmm6
movaps xmmword [rbp - 0x10], xmm4
movaps xmmword [rbp], xmm5
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp + 0x20], xmm6
movsd qword [rbp + 0x30], xmm1
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x48], 0x31778
movss xmm0, dword [0x140077fc4]
movss dword [rbp - 0x3c], xmm0
lea rax, [0x140077cd4]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.140028090
mov dword [rbx + 0x15d0], 0x40a00000
mov dword [rbx + 0x1588], 0x3f800000
mov dword [rbx + 0x15a0], 0x40400000
mov dword [rbx + 0x15dc], 0x40400000
mov dword [rbx + 0x156c], 0x40400000
movaps xmm0, xmmword [0x140078450]
movups xmmword [rbx + 0x1624], xmm0
movaps xmm1, xmmword [0x1400783f0]
movups xmmword [rbx + 0x1634], xmm1
movaps xmm0, xmmword [0x1400782c0]
movups xmmword [rbx + 0x1644], xmm0
movaps xmm1, xmmword [0x1400782d0]
movups xmmword [rbx + 0x1664], xmm1
movaps xmm0, xmmword [0x140078400]
movups xmmword [rbx + 0x1674], xmm0
movaps xmm1, xmm0
movups xmmword [rbx + 0x1684], xmm0
movaps xmm0, xmmword [0x1400782e0]
movups xmmword [rbx + 0x1694], xmm0
movaps xmm1, xmmword [0x140078310]
movups xmmword [rbx + 0x16a4], xmm1
movaps xmm0, xmmword [0x140078330]
movups xmmword [rbx + 0x16b4], xmm0
movaps xmm1, xmmword [0x140078400]
movups xmmword [rbx + 0x1774], xmm1
movaps xmm0, xmmword [0x140078420]
movups xmmword [rbx + 0x1784], xmm0
movups xmmword [rbx + 0x1794], xmm1
movaps xmm0, xmmword [0x1400783c0]
movups xmmword [rbx + 0x1714], xmm0
movaps xmm1, xmmword [0x1400782c0]
movups xmmword [rbx + 0x1704], xmm1
movaps xmm0, xmmword [0x140078400]
movups xmmword [rbx + 0x1724], xmm0
movaps xmm1, xmmword [0x1400783c0]
movups xmmword [rbx + 0x1734], xmm1
movaps xmm0, xmmword [0x1400783d0]
movups xmmword [rbx + 0x1754], xmm0
movaps xmm1, xmmword [0x140078400]
movups xmmword [rbx + 0x1764], xmm1
movups xmmword [rbx + 0x1744], xmm0
movups xmmword [rbx + 0x17a4], xmm1
movaps xmm0, xmm1
movups xmmword [rbx + 0x17b4], xmm1
movups xmmword [rbx + 0x17c4], xmm1
movaps xmm0, xmmword [0x1400781e0]
movups xmmword [rbx + 0x17d4], xmm0
movups xmmword [rbx + 0x1834], xmm1
movaps xmm0, xmmword [0x140078420]
movups xmmword [rbx + 0x1844], xmm0
movups xmmword [rbx + 0x1854], xmm1
lea rcx, [0x140082ef0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140048ad5
lea rcx, [0x140082ee8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140048ad5
mov qword [0x140082ee0], r14
mov rax, qword [0x140082e70]
or dword [rax + 0xc], 6
lea rcx, str.imgui_impl_win32
mov qword [rax + 0xd8], rcx
mov qword [rax + 0x120], r14
mov dword [rax + 0x3c], 9
mov dword [rax + 0x40], 0x25
mov dword [rax + 0x44], 0x27
mov dword [rax + 0x48], 0x26
mov dword [rax + 0x4c], 0x28
mov dword [rax + 0x50], 0x21
mov dword [rax + 0x54], 0x22
mov dword [rax + 0x58], 0x24
mov dword [rax + 0x5c], 0x23
mov dword [rax + 0x60], 0x2d
mov dword [rax + 0x64], 0x2e
mov dword [rax + 0x68], 8
mov dword [rax + 0x6c], 0x20
mov dword [rax + 0x70], 0xd
mov dword [rax + 0x74], 0x1b
mov dword [rax + 0x78], 0xd
mov dword [rax + 0x7c], 0x41
mov dword [rax + 0x80], 0x43
mov dword [rax + 0x84], 0x56
mov dword [rax + 0x88], 0x58
mov dword [rax + 0x8c], 0x59
mov dword [rax + 0x90], 0x5a
lea rax, str.xinput1_4.dll
mov qword [rbp + 0x40], rax
lea rax, str.xinput1_3.dll
mov qword [rbp + 0x48], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp + 0x50], rax
lea rax, str.xinput1_2.dll
mov qword [rbp + 0x58], rax
lea rax, str.xinput1_1.dll
mov qword [rbp + 0x60], rax
xor r15d, r15d
mov ebx, r15d
nop dword [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x140048a9e
inc rbx
cmp rbx, 5
jl 0x140048a80
jmp 0x140048ad8
mov qword [0x140082ec8], rdi
lea rdx, str.XInputGetCapabilities
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140082ed0], rax
lea rdx, str.XInputGetState
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140082ed8], rax
jmp 0x140048ad8
xor r15d, r15d
mov rcx, qword [rsi + 0x10]
mov rax, qword [0x140082e70]
lea rdx, str.imgui_impl_dx9
mov qword [rax + 0xe0], rdx
or dword [rax + 0xc], 8
mov qword [0x140082eb0], rcx
mov rax, qword [rcx]
call qword [rax + 8]
movss xmm1, dword [0x140078020]
mov rax, qword [0x140082e70]
divss xmm1, dword [rax + 0x3a0]
movss xmm0, dword [0x140077fcc]
comiss xmm0, xmm1
jbe 0x140048b37
mov qword [rbp - 0x80], 0x10
lea rcx, [rbp - 0x80]
call fcn.140001710
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
nop
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140048b90
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140048cb4
cmp qword [0x140082ea0], 0
jne 0x140048b9f
call fcn.14002d240
call fcn.14002d800
call fcn.14000d290
mov r9d, 0x15e
mov r8d, 0x226
mov rdx, r14
mov rcx, qword [0x140082f48]
call fcn.140046550
call fcn.14000f370
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r15d
movss dword [rsp + 0x28], xmm11
mov dword [rsp + 0x20], r15d
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140048c76
call fcn.14000f6e0
mov rax, qword [0x140082e70]
mov rcx, qword [rax + 0x1c98]
mov rax, qword [rcx]
add rax, 0x40
mov rcx, r15
cmp byte [rax], 0
cmovne rcx, rax
call fcn.14002cc90
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140048cb4
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140048cb4
mov rcx, qword [0x140082f48]
call fcn.140048ef0
cmp dword [rbp + 0x1c8], 0x12
jne 0x140048b50
mov rcx, qword [0x140082eb0]
test rcx, rcx
je 0x140048d5e
mov rdx, qword [0x140082eb8]
test rdx, rdx
je 0x140048cf4
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [0x140082eb8], r15
mov rcx, qword [0x140082eb0]
mov rdx, qword [0x140082ea8]
test rdx, rdx
je 0x140048d17
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [0x140082ea8], r15
mov rcx, qword [0x140082eb0]
mov rdx, qword [0x140082ea0]
test rdx, rdx
je 0x140048d4c
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [0x140082ea0], r15
mov rax, qword [0x140082e70]
mov rcx, qword [rax + 0xa8]
mov qword [rcx + 8], r15
mov rcx, qword [0x140082eb0]
test rcx, rcx
je 0x140048d5e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140082eb0], r15
mov rcx, qword [0x140082ec8]
test rcx, rcx
je 0x140048d70
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x140082ec8], r15
mov qword [0x140082ed0], r15
mov qword [0x140082ed8], r15
mov qword [0x140082ee0], r15
mov qword [0x140082ee8], r15
mov qword [0x140082ef0], r15
mov dword [0x1400822cc], 9
mov byte [0x140082ec0], 0
mov byte [0x1400822c8], 1
mov rbx, qword [0x140082e70]
mov rcx, rbx
call fcn.14000e770
mov rax, qword [0x140082e70]
cmp rax, rbx
cmove rax, r15
mov qword [0x140082e70], rax
test rbx, rbx
je 0x140048e04
mov rcx, rbx
call fcn.14001d2e0
mov rax, qword [0x140082e70]
test rax, rax
je 0x140048df5
dec dword [rax + 0x3b4]
mov rdx, qword [0x140082e60]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rbx, qword [0x140082f48]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140048e1e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140048e31
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], r15
mov rcx, r14
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov al, 1
jmp 0x140048e95
mov rbx, qword [0x140082f48]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140048e6c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140048e7f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], r15
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor al, al
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.14004bc60
lea r11, [rsp + 0x3f0]
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]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret