Function at 0x140046850
Capabilities:
Execute command
Read file on windows
Set console window title

Disassembly:
mov r11, rsp
push rbp
push r12
lea rbp, [r11 - 0x248]
sub rsp, 0x338
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x18], r13
call qword [sym.imp.KERNEL32.dll_AllocConsole]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov esi, 1
xor r12d, r12d
mov ecx, esi
mov qword [rbp], r12
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x140056488]
lea rdx, str.CONOUT_
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea ecx, [rsi + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x140056488]
lea rdx, str.CONOUT_
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x140056498]
lea rdx, str.CONIN_
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rbp + 0x70]
mov dword [rbp + 0x70], r12d
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rbp + 0x70]
mov rcx, rbx
and edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea edx, [rsi - 0x11]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongA]
lea edx, [rsi - 0x11]
mov rcx, rdi
and eax, 0xfffaffff
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongA]
lea rcx, str.color_0d__mode_con:_cols64_lines26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea r8, [0x1400564d0]
mov qword [rbp + 0x160], 0x54
lea edx, [rsi + 0x1f]
mov qword [rbp + 0x168], 0xe0000
lea rcx, [rbp + 0x174]
mov dword [rbp + 0x170], 0x2bc
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r8, [rbp + 0x160]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentConsoleFontEx]
mov eax, dword [str.Shade]
lea rcx, [rbp + 0x80]
movdqa xmm1, xmmword [0x140056be0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov dword [rbp + 0x80], eax
movzx eax, byte [0x1400564d8]
mov byte [rbp + 0x84], al
movdqu xmmword [rbp + 0x90], xmm1
mov byte [rbp + 0x85], r12b
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea edx, [rsi + 4]
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.140046340
call fcn.14004c010
call fcn.14004c4d0
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, [0x1400564dc]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [0x1400475f0]
mov dword [rbp + 0x20], 0x50
xor ecx, ecx
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x24], 0x40
mov qword [rbp + 0x30], r12
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp + 0x68], r12
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x40], xmm0
lea rbx, [0x1400560e8]
movdqa xmmword [rbp + 0x50], xmm1
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x60], rbx
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp + 0x38]
mov r9d, 0xcf0000
mov rdx, qword [rbp + 0x60]
mov r8, rbx
mov qword [rsp + 0x58], r12
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 0x32
mov dword [rsp + 0x30], 0x32
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [rsi + 0x1f]
mov r13, rax
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x140060f90], rax
mov rcx, rax
test rax, rax
je 0x140047523
lea rdx, [0x140060f98]
mov qword [0x140060fa0], r12
mov qword [rsp + 0x30], rdx
mov r9, r13
lea rdx, [0x140060fa0]
mov qword [0x140060fac], r12
mov qword [rsp + 0x28], rdx
mov r8d, esi
mov dword [0x140060fb4], r12d
xor edx, edx
mov qword [0x140060fbc], r12
mov dword [0x140060fc4], r12d
mov qword [0x140060fd4], r12
mov dword [0x140060fc8], esi
mov dword [0x140060fb8], esi
mov dword [0x140060fa8], r12d
mov dword [0x140060fcc], esi
mov dword [0x140060fd0], 0x50
mov dword [0x140060fdc], esi
mov rax, qword [rax]
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
test eax, eax
js 0x14004751c
mov qword [rsp + 0x328], r14
xor edx, edx
mov qword [rsp + 0x320], r15
mov rcx, r13
movaps xmmword [rsp + 0x2d0], xmm10
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r13
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x140060d50]
test rax, rax
je 0x140046bd2
inc dword [rax + 0x3ac]
mov ecx, 0x4180
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140046bee
xor edx, edx
mov rcx, rax
call fcn.140001360
jmp 0x140046bf1
mov rax, r12
cmp qword [0x140060d50], r12
jne 0x140046c01
mov qword [0x140060d50], rax
mov rcx, rax
call fcn.140008520
mov r15, qword [0x140060d50]
lea rdx, [0x140051abc]
lea rcx, str.C:WindowsAppReadinessRoboto_Medium.ttf
mov qword [rsp + 0x60], r15
mov r14, qword [r15 + 0xa8]
call fcn.140002930
movss xmm10, dword [0x140056aa8]
mov rbx, rax
test rax, rax
je 0x140046ef3
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140046eea
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140046eea
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140046eea
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140046eea
cmp rdi, 0xffffffffffffffff
je 0x140046eea
mov rax, qword [0x140060d50]
test rax, rax
je 0x140046cb6
inc dword [rax + 0x3ac]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140046eea
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140046d0d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140060d50]
test rax, rax
je 0x140046cff
dec dword [rax + 0x3ac]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140046ef3
movaps xmmword [rsp + 0x310], xmm6
movaps xmmword [rsp + 0x300], xmm7
movaps xmmword [rsp + 0x2f0], xmm8
movaps xmmword [rsp + 0x2e0], xmm9
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm1, xmm1
xor eax, eax
mov qword [rbp - 0x10], rax
xorps xmm5, xmm5
movsd xmm9, qword [rbp - 0x10]
mov eax, 0xffff
movups xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x3c], ax
movups xmmword [rbp - 0x80], xmm1
mov dword [rbp - 0x40], 0x3f800000
movaps xmm2, xmmword [rbp - 0x40]
xorps xmm7, xmm7
movups xmmword [rsp + 0x70], xmm1
mov byte [rsp + 0x7c], 1
movaps xmm3, xmmword [rsp + 0x70]
movdqa xmm0, xmm2
movups xmmword [rbp - 0x50], xmm1
mov dword [rbp - 0x78], 3
psrldq xmm0, 6
xorps xmm8, xmm8
movd eax, xmm0
mov dword [rbp - 0x74], 1
movaps xmm4, xmmword [rbp - 0x80]
mov dword [rbp - 0x4c], 0x7f7fffff
movaps xmm6, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0xa0], xmm3
movaps xmmword [rbp + 0xb0], xmm4
movaps xmmword [rbp + 0xc0], xmm1
movaps xmmword [rbp + 0xd0], xmm5
movaps xmmword [rbp + 0xe0], xmm6
movaps xmmword [rbp + 0xf0], xmm2
movaps xmmword [rbp + 0x100], xmm7
movaps xmmword [rbp + 0x110], xmm8
movsd qword [rbp + 0x120], xmm9
test al, al
jne 0x140046e81
lea r9, [0x140056461]
lea rdx, str.C:WindowsAppReadinessRoboto_Medium.ttf
nop
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x140046e19
cmp al, 0x5c
je 0x140046e19
mov r9, rcx
cmp rcx, rdx
ja 0x140046e00
movsd xmm0, qword [0x140056ae0]
lea r8, str._s___.0fpx
mov edx, 0x28
movsd qword [rsp + 0x20], xmm0
lea rcx, [rbp + 0xf6]
call fcn.140002800
movaps xmm2, xmmword [rbp + 0xf0]
movaps xmm5, xmmword [rbp + 0xd0]
movaps xmm1, xmmword [rbp + 0xc0]
movaps xmm4, xmmword [rbp + 0xb0]
movaps xmm3, xmmword [rbp + 0xa0]
movsd xmm9, qword [rbp + 0x120]
movaps xmm8, xmmword [rbp + 0x110]
movaps xmm7, xmmword [rbp + 0x100]
movaps xmm6, xmmword [rbp + 0xe0]
movaps xmmword [rsp + 0x70], xmm3
lea rdx, [rsp + 0x70]
movaps xmmword [rbp - 0x80], xmm4
mov rcx, r14
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], edi
mov dword [rbp - 0x7c], 0x41a00000
movaps xmmword [rbp - 0x70], xmm1
movaps xmmword [rbp - 0x60], xmm5
movaps xmmword [rbp - 0x50], xmm6
movaps xmmword [rbp - 0x40], xmm2
movaps xmmword [rbp - 0x30], xmm7
movaps xmmword [rbp - 0x20], xmm8
movsd qword [rbp - 0x10], xmm9
call fcn.140030500
movaps xmm9, xmmword [rsp + 0x2e0]
movaps xmm8, xmmword [rsp + 0x2f0]
movaps xmm7, xmmword [rsp + 0x300]
movaps xmm6, xmmword [rsp + 0x310]
jmp 0x140046ef3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
or dword [r15 + 8], 0x401
xor ecx, ecx
call fcn.14002bbe0
test dword [r15 + 8], 0x400
mov rax, qword [0x140060d50]
je 0x140046f59
mov dword [rax + 0x1660], 0x40800000
mov dword [rax + 0x1744], 0x3f800000
mov dword [rax + 0x1698], 0x3f800000
mov dword [rax + 0x1768], 0x3e008081
mov dword [rax + 0x176c], 0x3e008081
mov dword [rax + 0x1770], 0x3e008081
mov dword [rax + 0x1774], 0x3f800000
mov rcx, r13
call fcn.140036650
mov rbx, qword [0x140060d50]
mov rdi, qword [0x140060f98]
test rbx, rbx
je 0x140046f7a
inc dword [rbx + 0x3ac]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140046fa9
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x140046fac
mov rax, r12
or dword [rbx + 0xc], 0x1008
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rcx
mov rcx, rdi
mov qword [rbx + 0xf8], rax
mov qword [rax], rdi
mov rax, qword [rdi]
call qword [rax + 8]
test dword [rbx + 8], 0x400
je 0x14004702a
mov rax, qword [0x140060d50]
lea rcx, [fcn.1400362f0]
mov qword [rax + 0x1608], rcx
lea rcx, [fcn.1400363d0]
mov qword [rax + 0x1610], rcx
lea rcx, [0x140036450]
mov qword [rax + 0x1618], rcx
lea rcx, [0x1400364c0]
mov qword [rax + 0x1620], rcx
lea rcx, [0x140036620]
mov qword [rax + 0x1628], rcx
xor sil, sil
mov r14d, 1
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rcx, [rbp + 0x130]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400470a1
lea rcx, [rbp + 0x130]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x130]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp + 0x138], 0x12
lea rcx, [rbp + 0x130]
movzx esi, sil
cmove esi, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140047051
test sil, sil
jne 0x1400473ab
mov rbx, qword [0x140060d50]
test rbx, rbx
je 0x1400470b6
mov rax, qword [rbx + 0xf8]
jmp 0x1400470b9
mov rax, r12
cmp qword [rax + 0x18], r12
jne 0x1400470cb
call fcn.140036150
mov rbx, qword [0x140060d50]
test rbx, rbx
je 0x1400470d9
mov rdi, qword [rbx + 0xf0]
jmp 0x1400470dc
mov rdi, r12
xorps xmm0, xmm0
lea rdx, [rbp + 8]
movdqu xmmword [rbp + 8], xmm0
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x10]
sub eax, dword [rbp + 8]
movd xmm1, eax
mov eax, dword [rbp + 0x14]
sub eax, dword [rbp + 0xc]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
cmp byte [rdi + 0x2e], r12b
je 0x140047120
call fcn.1400372e0
lea rcx, [rbp + 0x78]
mov qword [rbp + 0x78], r12
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x78]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [rdi + 0x18]
cvtsi2ss xmm0, qword [rdi + 0x20]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [rdi + 0x18], rcx
call fcn.140036c30
cmp byte [rbx + 0xd0], r12b
je 0x14004716c
mov eax, 0xffffffff
jmp 0x140047179
mov rax, qword [0x140060d50]
mov eax, dword [rax + 0x2128]
cmp dword [rdi + 0x28], eax
je 0x140047186
mov dword [rdi + 0x28], eax
call fcn.140036ab0
call fcn.140036ee0
call fcn.140007020
call fcn.140047f20
call fcn.140009a40
mov rcx, qword [0x140060f98]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x140060f98]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x140060f98]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140060f98]
mov r9d, 3
mov dword [rsp + 0x30], r12d
xor r8d, r8d
movss dword [rsp + 0x28], xmm10
xor edx, edx
mov dword [rsp + 0x20], r12d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140060f98]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14004725b
call fcn.140009f60
mov rax, qword [0x140060d50]
mov rcx, qword [rax + 0x1f40]
mov rax, qword [rcx]
mov rcx, r12
add rax, 0xa8
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.140035940
mov rcx, qword [0x140060f98]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r15 + 8], 0x400
je 0x140047345
call fcn.140019e80
mov rbx, qword [0x140060d50]
mov r15d, r14d
mov eax, dword [rbx + 0x1640]
cmp eax, 1
jle 0x1400472e2
mov r14d, 8
nop dword [rax]
mov rax, qword [rbx + 0x1648]
mov rdi, qword [r14 + rax]
test dword [rdi + 4], 0x400
jne 0x1400472ca
mov rax, qword [rbx + 0x15d8]
test rax, rax
je 0x1400472b7
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1620]
test rax, rax
je 0x1400472ca
xor edx, edx
mov rcx, rdi
call rax
mov eax, dword [rbx + 0x1640]
inc r15d
add r14, 8
cmp r15d, eax
jl 0x140047290
mov r14d, 1
mov r15d, r14d
cmp eax, 1
jle 0x140047340
mov r14d, 8
mov rax, qword [rbx + 0x1648]
mov rdi, qword [r14 + rax]
test dword [rdi + 4], 0x400
jne 0x14004732a
mov rax, qword [rbx + 0x15e0]
test rax, rax
je 0x140047317
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1628]
test rax, rax
je 0x14004732a
xor edx, edx
mov rcx, rdi
call rax
inc r15d
add r14, 8
cmp r15d, dword [rbx + 0x1640]
jl 0x1400472f0
mov r14d, 1
mov r15, qword [rsp + 0x60]
mov rcx, qword [0x140060f98]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r12
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140047033
mov rcx, qword [0x140060f98]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140047033
call fcn.140036200
mov rcx, qword [0x140060f98]
lea rdx, [0x140060fa0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140036150
jmp 0x140047033
mov rbx, qword [0x140060d50]
movaps xmm10, xmmword [rsp + 0x2d0]
mov r15, qword [rsp + 0x320]
mov r14, qword [rsp + 0x328]
test rbx, rbx
je 0x1400473d9
mov rdi, qword [rbx + 0xf8]
jmp 0x1400473dc
mov rdi, r12
call fcn.14001a460
call fcn.140036200
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400473f4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140060d50]
mov qword [rbx + 0xe8], r12
mov qword [rbx + 0xf8], r12
test rax, rax
je 0x140047414
dec dword [rax + 0x3ac]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140060d50]
test rbx, rbx
je 0x140047432
mov rdi, qword [rbx + 0xf0]
jmp 0x140047435
mov rdi, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.14001a460
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140047461
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140060d50]
mov qword [rbx + 0xe0], r12
mov qword [rbx + 0xf0], r12
test rax, rax
je 0x140047481
dec dword [rax + 0x3ac]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140060d50]
mov rcx, rbx
call fcn.140008880
cmp qword [0x140060d50], rbx
jne 0x1400474a9
mov qword [0x140060d50], r12
test rbx, rbx
je 0x1400474d1
mov rcx, rbx
call fcn.140024730
mov rax, qword [0x140060d50]
test rax, rax
je 0x1400474c8
dec dword [rax + 0x3ac]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140060f98]
test rcx, rcx
je 0x1400474ea
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140060f98], r12
mov rcx, qword [0x140060f90]
test rcx, rcx
je 0x140047503
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140060f90], r12
mov rcx, r13
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.USER32.dll_UnregisterClassA]
jmp 0x140047569
mov rcx, qword [0x140060f90]
mov rdx, qword [0x140060f98]
test rdx, rdx
je 0x140047546
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140060f90]
mov qword [0x140060f98], r12
test rcx, rcx
je 0x140047558
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140060f90], r12
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov r12d, esi
mov rdx, qword [rbp + 0x98]
mov r13, qword [rsp + 0x330]
mov rdi, qword [rsp + 0x360]
mov rsi, qword [rsp + 0x358]
mov rbx, qword [rsp + 0x350]
cmp rdx, 0xf
jbe 0x1400475cd
mov rcx, qword [rbp + 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400475c8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400475c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004f2e0
mov eax, r12d
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14004ee90
add rsp, 0x338
pop r12
pop rbp
ret