Function at 0x14009da40
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x1402cf868]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r14, rax
mov rdx, qword [rax]
xor r12d, r12d
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], 7
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14009dab0
lea rcx, [rbp + 0x38]
call fcn.140008810
lea rbx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
setae r15b
mov rsi, qword [rbp + 0x38]
cmovae rbx, rsi
mov rdi, qword [rbp + 0x48]
test rdi, rdi
je 0x14009dbc1
mov r13d, 0x100
mov r8d, r13d
xor edx, edx
lea rcx, [rbp + 0x1a0]
call fcn.1401cc260
lea rcx, [0x1402a18c0]
lea rdx, [0x1402a18c4]
nop dword [rax + rax]
movzx eax, word [rcx]
cmp ax, r13w
jae 0x14009db61
movzx eax, al
mov byte [rbp + rax + 0x1a0], 1
add rcx, 2
cmp rcx, rdx
jne 0x14009db10
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rdx, [rbx + rax*2]
movzx eax, word [rdx]
cmp ax, r13w
jae 0x14009db56
cmp byte [rbp + rax + 0x1a0], 0
jne 0x14009dbb9
cmp rdx, rbx
je 0x14009dbc1
sub rdx, 2
jmp 0x14009db43
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rdx, [rbx + rax*2]
mov r9d, 0x2f
nop dword [rax]
mov ecx, 2
movzx r8d, word [rdx]
lea rax, [0x1402a18c0]
cmp r9w, r8w
je 0x14009dbb9
cmp rcx, 1
je 0x14009dbae
dec rcx
add rax, 2
cmp word [rax], r8w
jne 0x14009db96
test rax, rax
jne 0x14009dbb9
cmp rdx, rbx
je 0x14009dbc1
sub rdx, 2
jmp 0x14009db80
sub rdx, rbx
sar rdx, 1
jmp 0x14009dbc8
mov rdx, 0xffffffffffffffff
inc rdx
mov qword [rbp + 0x100], r12
movdqa xmm0, xmmword [0x1402a1fb0]
movdqu xmmword [rbp + 0x110], xmm0
cmp rdi, rdx
jb 0x14009e7fe
sub rdi, rdx
mov r8, 0xffffffffffffffff
cmp rdi, r8
cmovb r8, rdi
lea rax, [rbp + 0x38]
test r15b, r15b
cmovne rax, rsi
lea rdx, [rax + rdx*2]
lea rcx, [rbp + 0x100]
call fcn.140008810
cmp dword [rbp - 0x20], 1
jle 0x14009e234
mov rdx, qword [r14 + 8]
mov qword [rsp + 0x68], r12
movdqa xmm0, xmmword [0x1402a1fb0]
movdqu xmmword [rsp + 0x78], xmm0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x14009dc40
lea rcx, [rsp + 0x68]
call fcn.140008810
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x18]
call fcn.1400a52a0
lea rcx, [rsp + 0x68]
call fcn.140008780
mov rax, r12
mov qword [rbp - 0x18], rax
mov rdx, r12
mov qword [rbp - 8], rdx
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp], rdi
mov esi, 2
cmp dword [rbp - 0x20], esi
jle 0x14009de76
lea rbx, [r14 + 0x10]
lea r14, vtable.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
nop dword [rax]
mov rdx, qword [rbx]
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 7
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14009dcc0
lea rcx, [rbp - 0x78]
call fcn.140008810
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], rax
lea rcx, [rbp + 0x120]
call fcn.1400a7590
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r8, qword [rbp - 0x78]
mov rax, qword [rbp - 0x68]
lea r9, [r8 + rax*2]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x120]
call fcn.1400a79d0
mov qword [rbp + 0x120], r14
lea rcx, [rbp + 0x160]
call fcn.140008780
lea rcx, [rbp + 0x140]
call fcn.140008940
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x14009dd8a
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14009dd8a
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov r9d, 1
lea r8, [0x14029ad78]
xor edx, edx
lea rcx, [rbp - 0x58]
call fcn.14000b910
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rdi
mov byte [rax], 0
mov r8d, 2
lea rdx, [0x1402a18c8]
lea rcx, [rsp + 0x68]
call fcn.140008a20
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe0], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rdi
mov byte [rax], 0
lea rdx, [rbp + 0xd0]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x18]
call fcn.140008a20
lea rcx, [rbp + 0xd0]
call fcn.140008940
lea rcx, [rsp + 0x68]
call fcn.140008940
lea rcx, [rbp - 0x58]
call fcn.140008940
lea rcx, [rbp - 0x78]
call fcn.140008780
inc esi
add rbx, 8
cmp esi, dword [rbp - 0x20]
jl 0x14009dca0
mov rdi, qword [rbp]
mov rdx, qword [rbp - 8]
mov rax, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
cmp rdi, 0x10
cmovae rcx, rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_send
lea r9, str.___no_proxy_server_
xor r8d, r8d
call fcn.140050320
mov qword [rsp + 0x20], r12
lea r9, [0x1402781f3]
mov r8d, reloc.WS2_32.dll_send
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.14004c370
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call fcn.1401d6554
mov r9, rax
lea r8, [0x140278ed4]
lea rdx, str.CONOUT_
lea rcx, [rbp + 8]
call fcn.1401deb8c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x64], xmm0
movups xmmword [rbp + 0x74], xmm0
movups xmmword [rbp + 0x84], xmm0
movups xmmword [rbp + 0x94], xmm0
movups xmmword [rbp + 0xa4], xmm0
movups xmmword [rbp + 0xb4], xmm0
mov dword [rbp + 0xc4], eax
mov dword [rbp + 0x60], 0x68
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
mov edi, 4
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov eax, dword [rdi + rbx]
cmp dword [0x1402f7aa8], eax
jle 0x14009df71
lea rcx, [0x1402f7aa8]
call fcn.1401c9670
cmp dword [0x1402f7aa8], 0xffffffff
jne 0x14009df71
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1402f7aa0], rax
lea rcx, [0x1402f7aa8]
call fcn.1401c9610
mov eax, dword [rdi + rbx]
cmp dword [0x1402f7a70], eax
jle 0x14009dfb8
lea rcx, [0x1402f7a70]
call fcn.1401c9670
cmp dword [0x1402f7a70], 0xffffffff
jne 0x14009dfb8
lea rdx, str.CreateProcessA
mov rcx, qword [0x1402f7aa0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f7a88], rax
lea rcx, [0x1402f7a70]
call fcn.1401c9610
lea rdx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rdx, qword [rbp - 0x18]
lea rcx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0x10
cmovae rcx, qword [rbp + 0x18]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
call qword [0x1402f7a88]
test eax, eax
je 0x14009e21d
lea rdx, str.App:
lea rcx, [0x1402d3be0]
call fcn.14004d6d0
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0x10
cmovae rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x28]
mov rcx, rax
call fcn.1400512b0
mov rcx, rax
call fcn.14004d9b0
lea rdx, str.PID:
lea rcx, [0x1402d3be0]
call fcn.14004d6d0
mov edx, dword [rbp - 0x28]
mov rcx, rax
call fcn.14009e940
mov rcx, rax
call fcn.14004d9b0
lea rdx, str.Args:
lea rcx, [0x1402d3be0]
call fcn.14004d6d0
lea rdx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
mov rcx, rax
call fcn.1400512b0
mov rcx, rax
call fcn.14004d9b0
mov eax, dword [rdi + rbx]
cmp dword [0x1402f7a90], eax
jle 0x14009e0e8
lea rcx, [0x1402f7a90]
call fcn.1401c9670
cmp dword [0x1402f7a90], 0xffffffff
jne 0x14009e0e8
lea rdx, str.DebugActiveProcessStop
mov rcx, qword [0x1402f7aa0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f7a98], rax
lea rcx, [0x1402f7a90]
call fcn.1401c9610
mov ecx, dword [rbp - 0x28]
call qword [0x1402f7a98]
test eax, eax
jne 0x14009e10e
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14009e20e
mov eax, dword [rdi + rbx]
cmp dword [0x1402f7a94], eax
jle 0x14009e155
lea rcx, [0x1402f7a94]
call fcn.1401c9670
cmp dword [0x1402f7a94], 0xffffffff
jne 0x14009e155
lea rdx, [0x1402a1930]
mov rcx, qword [0x1402f7aa0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f7a78], rax
lea rcx, [0x1402f7a94]
call fcn.1401c9610
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x38]
call qword [0x1402f7a78]
lea rdx, str.Exited
lea rcx, [0x1402d3be0]
call fcn.14004d6d0
mov rcx, rax
call fcn.14004d9b0
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1401a6fc4
mov rbx, rax
call fcn.1401a6fa8
mov r8, rax
cmp rbx, 0x989680
jne 0x14009e1b2
imul rcx, r8, 0x64
jmp 0x14009e1d8
cqo
idiv rbx
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rcx, rax
mov rax, r8
cqo
idiv rbx
imul rdx, rax, 0x3b9aca00
add rcx, rdx
movabs rax, 0x7fffffffc46535fe
cmp rcx, rax
jg 0x14009e1f5
add rcx, 0x3b9aca00
mov qword [rsp + 0x60], rcx
jmp 0x14009e204
movabs r14, 0x7fffffffffffffff
mov qword [rsp + 0x60], r14
lea rcx, [rsp + 0x60]
call fcn.1400517b0
mov rcx, qword [rbp + 8]
call fcn.1401d1c80
call qword [sym.imp.KERNEL32.dll_FreeConsole]
lea rcx, [rbp - 0x18]
call fcn.140008940
lea rcx, [rbp + 0x18]
call fcn.140008940
jmp 0x14009e7b7
call fcn.14009c780
mov dword [rbp + 8], 0x2e80
mov dword [rbp + 0xc], 0xfffff
mov edx, 0xa
lea ecx, [rdx - 5]
call fcn.1400a4eb0
movsxd rdx, eax
mov r8, qword [rbp + 8]
lea rcx, [rbp - 0x18]
call fcn.1400a5780
lea rbx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rbx, qword [rbp - 0x18]
mov dword [rbp + 0x60], 0x50
mov dword [rbp + 0x64], 0x40
lea rax, [0x14009e810]
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x78], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x90], xmm1
lea rax, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rax, qword [rbp - 0x18]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], r12
cmp byte [0x1402d5c10], 0
je 0x14009e2f7
lea rcx, [rbp - 0x58]
call fcn.1400a5a60
mov rdx, rax
lea rcx, [0x1402d5b98]
call fcn.140008340
lea rcx, [rbp - 0x58]
call fcn.140008940
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, dword [0x1402d5c44]
mov r9d, dword [0x1402d5c40]
lea rdx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rdx, qword [rbp - 0x18]
mov qword [rsp + 0x58], r12
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0xe0000
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x1402d5b90], rax
test rax, rax
jne 0x14009e395
mov rdx, qword [rbp + 0x78]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea rdx, str.Couldnt_create_window
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14009e7ae
mov rcx, rax
cmp byte [0x1402d5c3c], 0
je 0x14009e3a8
mov edx, reloc.WS2_32.dll_recvfrom
jmp 0x14009e3aa
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov rdx, qword [0x1402d5b90]
lea rcx, [0x1402d1680]
call fcn.140046df0
test al, al
jne 0x14009e3f7
call fcn.140047500
mov rdx, qword [rbp + 0x78]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea rdx, str.Couldnt_initialize_DirectX
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14009e7ae
mov edx, 0xa
mov rcx, qword [0x1402d5b90]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1402d5b90]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.1400a1f60
call fcn.1400a1d30
test al, al
jne 0x14009e429
call fcn.1400a1740
xor sil, sil
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movabs r14, 0x7fffffffffffffff
movabs r15, 0x7ffffffffff0bdbe
nop dword [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14009e4aa
lea rcx, [rbp + 0xd0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp + 0xd8], 0x12
je 0x14009e67c
jmp 0x14009e460
mov rax, qword [0x1402d5b40]
test rax, rax
je 0x14009e4bf
mov rcx, qword [rax + 0x98]
jmp 0x14009e4c2
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x14009e4ce
call fcn.140083fe0
call fcn.140084e70
call fcn.140065b70
lea rcx, [0x1402d1680]
call fcn.140047080
movaps xmm0, xmmword [0x1402a2370]
movups xmmword [rbp + 8], xmm0
call fcn.140067500
call fcn.140067890
mov rcx, qword [0x1402d5b18]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1402d5b20]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x1402d5b18]
mov rax, qword [rcx]
lea r8, [rbp + 8]
mov rdx, qword [0x1402d5b20]
call qword [rax + 0x190]
mov rax, qword [0x1402d5b40]
mov rcx, qword [rax + 0x1bc8]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r12
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.140083360
mov rcx, qword [0x1402d5a08]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [rax + 0x40]
lea rdx, str.League_of_Legends
lea rcx, str.RCLIENT
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x14009e5f2
mov byte [0x1402d16a0], 1
mov sil, 1
mov rbx, qword [0x1402d1588]
mov rdi, qword [0x1402d1590]
cmp rbx, rdi
je 0x14009e5c0
lea rcx, [rbx + 8]
call fcn.140008940
add rbx, 0x28
cmp rbx, rdi
jne 0x14009e5a0
mov rax, qword [0x1402d1588]
mov qword [0x1402d1590], rax
lea rdx, str.Riot_Client
lea rcx, str.RCLIENT
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x14009e5e9
cmp dword [0x1402d1500], 0
jne 0x14009e60b
call fcn.1400a1740
jmp 0x14009e60b
mov dword [0x1402d1500], r12d
jmp 0x14009e60b
test sil, sil
je 0x14009e60b
call fcn.1400a1f60
call fcn.1400a1d30
mov byte [0x1402d16a0], 0
xor sil, sil
call fcn.1401a6fc4
mov rbx, rax
call fcn.1401a6fa8
mov r8, rax
cmp rbx, 0x989680
jne 0x14009e62a
imul rcx, r8, 0x64
jmp 0x14009e650
cqo
idiv rbx
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rcx, rax
mov rax, r8
cqo
idiv rbx
imul rdx, rax, 0x3b9aca00
add rcx, rdx
cmp rcx, r15
jg 0x14009e662
add rcx, 0xf4240
mov qword [rbp + 8], rcx
jmp 0x14009e666
mov qword [rbp + 8], r14
lea rcx, [rbp + 8]
call fcn.1400517b0
cmp dword [rbp + 0xd8], 0x12
jne 0x14009e460
call fcn.14001f740
mov rbx, qword [0x1402d5b40]
test rbx, rbx
je 0x14009e696
mov rdi, qword [rbx + 0x98]
jmp 0x14009e699
mov rdi, r12
call fcn.1400843e0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14009e6ad
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14009e6bb
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14009e6ca
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x98], r12
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x1402d5b40]
test rax, rax
je 0x14009e6ee
dec dword [rax + 0xf0]
mov rcx, rdi
call fcn.1401d14a4
mov rax, qword [0x1402d5b40]
test rax, rax
je 0x14009e70b
mov rdi, qword [rax + 0x90]
jmp 0x14009e70e
mov rdi, r12
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14009e728
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1402d5b40]
mov qword [rbx + 0x78], r12
mov qword [rbx + 0x88], r12
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x14009e742
dec dword [rax + 0xf0]
mov rcx, rdi
call fcn.1401d14a4
mov rbx, qword [0x1402d5b40]
mov qword [0x1402d5b40], rbx
call fcn.140063a60
mov qword [0x1402d5b40], r12
test rbx, rbx
je 0x14009e78b
mov rcx, rbx
call fcn.140078430
mov rax, qword [0x1402d5b40]
test rax, rax
je 0x14009e783
dec dword [rax + 0xf0]
mov rcx, rbx
call fcn.1401d14a4
call fcn.140047500
mov rcx, qword [0x1402d5b90]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x78]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea rcx, [rbp - 0x18]
call fcn.140008780
lea rcx, [rbp + 0x100]
call fcn.140008780
lea rcx, [rbp + 0x38]
call fcn.140008780
xor eax, eax
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1401c94c0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140008c20
int3