Function at 0x14003e850
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
mov r10, rcx
test edx, edx
jne 0x14003e9e8
cmp r8d, 0xe
ja case.default.0x14003e882
lea rcx, [0x140000000]
movsxd rax, r8d
mov edx, dword [rcx + rax*4 + 0x3ea7c]
add rdx, rcx
jmp rdx
lea rdx, [0x14146f450]
xor r9d, r9d
xor r8d, r8d
mov rcx, r10
add rsp, 0x20
pop rbx
jmp fcn.140053010
mov rax, qword [r9 + 8]
mov rcx, r10
mov edx, dword [rax]
add rsp, 0x20
pop rbx
jmp 0x1400402e0
mov rcx, qword [r9 + 8]
mov rax, qword [r9 + 0x10]
mov edx, dword [rcx]
mov r8d, dword [rax]
mov rcx, r10
add rsp, 0x20
pop rbx
jmp fcn.140040320
mov rax, qword [r9 + 8]
mov rcx, r10
mov edx, dword [rax]
add rsp, 0x20
pop rbx
jmp fcn.140040120
mov rax, qword [r9 + 8]
xor ecx, ecx
mov edx, dword [rax]
movzx r8d, cl
mov rcx, r10
add rsp, 0x20
pop rbx
jmp 0x1400410e0
xor r9d, r9d
lea rdx, [0x14146f450]
mov rcx, r10
lea r8d, [r9 + 5]
add rsp, 0x20
pop rbx
jmp fcn.140053010
xor r9d, r9d
lea rdx, [0x14146f450]
mov rcx, r10
lea r8d, [r9 + 6]
add rsp, 0x20
pop rbx
jmp fcn.140053010
mov rcx, qword [r10 + 8]
add rsp, 0x20
pop rbx
jmp 0x14007e3e0
mov rcx, qword [r10 + 8]
add rsp, 0x20
pop rbx
jmp fcn.14007c980
mov rcx, qword [r10 + 8]
call fcn.14003f510
mov rcx, qword [rbx]
test rcx, rcx
je case.default.0x14003e882
mov byte [rcx], al
add rsp, 0x20
pop rbx
ret
mov rcx, qword [r10 + 8]
call fcn.14003f360
mov rcx, qword [rbx]
test rcx, rcx
je case.default.0x14003e882
mov byte [rcx], al
add rsp, 0x20
pop rbx
ret
mov rcx, qword [r10 + 8]
call fcn.14003f6c0
mov rcx, qword [rbx]
test rcx, rcx
je case.default.0x14003e882
mov byte [rcx], al
add rsp, 0x20
pop rbx
ret
mov rcx, qword [r10 + 8]
call fcn.14003fa20
mov rcx, qword [rbx]
test rcx, rcx
je case.default.0x14003e882
mov byte [rcx], al
add rsp, 0x20
pop rbx
ret
mov rcx, qword [r10 + 8]
call fcn.14003f880
mov rcx, qword [rbx]
test rcx, rcx
je case.default.0x14003e882
mov byte [rcx], al
add rsp, 0x20
pop rbx
ret
mov rcx, qword [r10 + 8]
add rsp, 0x20
pop rbx
jmp 0x14007bf70
cmp edx, 0xa
jne case.default.0x14003e882
mov rcx, qword [r9 + 8]
mov rax, qword [r9]
lea rdx, [0x1400410c0]
cmp qword [rcx], rdx
jne 0x14003ea0a
mov dword [rax], 0
lea rdx, [0x1400402e0]
cmp qword [rcx], rdx
jne 0x14003ea1c
mov dword [rax], 1
lea rdx, [fcn.140040320]
cmp qword [rcx], rdx
jne 0x14003ea2e
mov dword [rax], 2
lea rdx, [fcn.140040120]
cmp qword [rcx], rdx
jne 0x14003ea40
mov dword [rax], 3
lea rdx, [0x1400410e0]
cmp qword [rcx], rdx
jne 0x14003ea52
mov dword [rax], 4
lea rdx, [0x140040b60]
cmp qword [rcx], rdx
jne 0x14003ea64
mov dword [rax], 5
lea rdx, [0x140040b40]
cmp qword [rcx], rdx
jne case.default.0x14003e882
mov dword [rax], 6
add rsp, 0x20
pop rbx
ret
mov dword [rsp + 0x10], edx
sub rsp, 0x38
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x20]
lea rdx, [0x14146f450]
mov r8d, 1
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], rax
call fcn.140053010
add rsp, 0x38
ret
mov dword [rsp + 0x10], edx
sub rsp, 0x38
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x20]
lea rdx, [0x14146f450]
mov r8d, 4
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], rax
call fcn.140053010
add rsp, 0x38
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x240]
call fcn.1400b26c0
cmp dword [rbx + 0x200], 0
jne 0x14007bf97
cmp dword [rbx + 0x1fc], 0
je 0x14007bfb6
mov rcx, qword [rbx + 0x258]
test rcx, rcx
je 0x14007bfae
xor edx, edx
call fcn.1400b3430
test al, al
je 0x14007bfb6
mov rcx, rbx
call fcn.14003f6c0
cmp dword [rbx + 0xe0], 0
je 0x14007bfd5
mov rcx, qword [rbx + 0x240]
mov edx, WSAAsyncSelect
add rsp, 0x20
pop rbx
jmp fcn.1400b2600
add rsp, 0x20
pop rbx
ret
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
mov rbx, rcx
test rax, rax
je 0x14007e425
mov edx, dword [rax + 0x10]
lea rcx, [0x14007dbf0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbx + 0xf0]
xor r9d, r9d
mov ecx, dword [rax + 0x14]
lea edx, [r9 + 0x10]
xor r8d, r8d
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_PostThreadMessageW]
add rsp, 0x20
pop rbx
ret