Function at 0x140006350
Capabilities:
Access pe header
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14008f080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r13, rcx
mov qword [rbp - 0x31], rcx
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, r13
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov ecx, 0x64
mov r14, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov qword [rbp - 0x29], rdi
call fcn.140006270
lea rdx, [rbp - 0x29]
mov dword [rbp - 0x21], eax
lea rcx, [0x140006200]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x1400063d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x1400063d6
mov rbx, qword [rbp - 0x29]
test rbx, rbx
jne 0x1400063d9
mov rbx, rdi
mov dword [rbp - 0x19], edi
nop dword [rax]
lea rdx, [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, reloc.WS2_32.dll_sendto
mov dword [rbp - 0x39], eax
mov esi, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbp - 0x19], edi
je 0x1400063e0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbp - 0x19], edi
je 0x1400068cf
test esi, esi
je 0x1400068cf
mov rax, qword gs:[0x58]
mov ecx, dword [0x1400b3a88]
mov qword [rsp + 0xe8], r12
mov r12d, 4
add r12, qword [rax]
mov qword [rsp + 0xf0], r15
cmp ecx, dword [r12]
jle 0x140006493
lea rcx, [0x1400b3a88]
call fcn.14006ff3c
mov ecx, dword [0x1400b3a88]
cmp ecx, 0xffffffff
jne 0x140006493
lea rcx, [0x140072400]
mov qword [0x1400b3a90], rdi
mov qword [0x1400b3a98], 0xffffffffffffffff
call fcn.1400701dc
lea rcx, [0x1400b3a88]
call fcn.14006fed0
mov ecx, dword [0x1400b3a88]
mov eax, dword [rbp - 0x19]
mov dword [0x1400b3a90], eax
cmp ecx, dword [r12]
jle 0x1400064e1
lea rcx, [0x1400b3a88]
call fcn.14006ff3c
cmp dword [0x1400b3a88], 0xffffffff
jne 0x1400064e1
lea rcx, [0x140072400]
mov qword [0x1400b3a90], rdi
mov qword [0x1400b3a98], 0xffffffffffffffff
call fcn.1400701dc
lea rcx, [0x1400b3a88]
call fcn.14006fed0
mov eax, dword [0x1400b3a90]
mov r15, rdi
mov rcx, qword [0x1400b3a98]
mov dword [rbp + 0xf], eax
lea rax, [rbp - 0x29]
mov qword [rbp + 0x17], rax
mov eax, dword [r14 + 0x50]
mov qword [rbp + 0x1f], rax
mov qword [rbp - 0x29], rdi
mov dword [rbp + 0x13], edi
mov qword [rbp + 0x27], 0x40
cmp rcx, 0xffffffffffffffff
je 0x140006545
mov qword [rsp + 0x38], rdi
lea r8, [rbp + 0xf]
mov qword [rsp + 0x30], rdi
mov r9d, reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x28], edi
mov edx, 0x3009d220
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r15, qword [rbp - 0x29]
mov r8, r14
mov rdx, r13
mov rcx, r15
call fcn.140005e20
test eax, eax
jne 0x1400065eb
mov eax, dword [r12]
cmp dword [0x1400b3a88], eax
jle 0x1400065a6
lea rcx, [0x1400b3a88]
call fcn.14006ff3c
cmp dword [0x1400b3a88], 0xffffffff
jne 0x1400065a6
lea rcx, [0x140072400]
mov qword [0x1400b3a90], rdi
mov qword [0x1400b3a98], 0xffffffffffffffff
call fcn.1400701dc
lea rcx, [0x1400b3a88]
call fcn.14006fed0
mov rcx, qword [0x1400b3a98]
mov eax, dword [0x1400b3a90]
mov dword [rbp - 0xd], edi
mov dword [rbp - 0x11], eax
mov qword [rbp - 9], r15
cmp rcx, 0xffffffffffffffff
je 0x1400065eb
mov qword [rsp + 0x38], rdi
lea r8, [rbp - 0x11]
mov qword [rsp + 0x30], rdi
mov r9d, reloc.WS2_32.dll_recv
mov dword [rsp + 0x28], edi
mov edx, 0x3009d4e0
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r8, r14
mov rdx, r13
mov ecx, esi
call fcn.140005fb0
test eax, eax
jne 0x140006690
mov eax, dword [r12]
cmp dword [0x1400b3a88], eax
jle 0x14000664b
lea rcx, [0x1400b3a88]
call fcn.14006ff3c
cmp dword [0x1400b3a88], 0xffffffff
jne 0x14000664b
lea rcx, [0x140072400]
mov qword [0x1400b3a90], rdi
mov qword [0x1400b3a98], 0xffffffffffffffff
call fcn.1400701dc
lea rcx, [0x1400b3a88]
call fcn.14006fed0
mov rcx, qword [0x1400b3a98]
mov eax, dword [0x1400b3a90]
mov dword [rbp - 0xd], edi
mov dword [rbp - 0x11], eax
mov qword [rbp - 9], r15
cmp rcx, 0xffffffffffffffff
je 0x140006690
mov qword [rsp + 0x38], rdi
lea r8, [rbp - 0x11]
mov qword [rsp + 0x30], rdi
mov r9d, reloc.WS2_32.dll_recv
mov dword [rsp + 0x28], edi
mov edx, 0x3009d4e0
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movzx ebx, word [r14 + 0x14]
xor eax, eax
add rbx, 0x2c
cmp ax, word [r14 + 6]
jae 0x140006774
add rbx, r14
xor esi, esi
nop dword [rax + rax]
mov eax, dword [r12]
cmp dword [0x1400b3a88], eax
jle 0x1400066fb
lea rcx, [0x1400b3a88]
call fcn.14006ff3c
cmp dword [0x1400b3a88], 0xffffffff
jne 0x1400066fb
lea rcx, [0x140072400]
mov qword [0x1400b3a90], rsi
mov qword [0x1400b3a98], 0xffffffffffffffff
call fcn.1400701dc
lea rcx, [0x1400b3a88]
call fcn.14006fed0
mov eax, dword [0x1400b3a90]
mov rcx, qword [0x1400b3a98]
mov dword [rbp + 7], eax
mov eax, dword [rbx - 8]
add rax, r15
mov word [rbp + 0xc], si
mov qword [rbp - 9], rax
mov eax, dword [rbx]
add rax, r13
mov byte [rbp + 0xe], sil
mov qword [rbp - 0x11], rax
mov eax, dword [rbx - 4]
mov qword [rbp - 1], rax
mov byte [rbp + 0xb], 1
cmp rcx, 0xffffffffffffffff
je 0x14000675f
mov qword [rsp + 0x38], rsi
lea r8, [rbp - 0x11]
mov qword [rsp + 0x30], rsi
mov r9d, reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x28], esi
mov edx, 0x3009ce20
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
inc di
add rbx, 0x28
cmp di, word [r14 + 6]
jb 0x1400066b0
mov esi, dword [rbp - 0x39]
mov r8, r14
mov rdx, r15
mov ecx, esi
call fcn.140005890
movzx ebx, word [r14 + 0x14]
xor eax, eax
add rbx, 0x28
movzx edi, ax
cmp ax, word [r14 + 6]
jae 0x1400068a0
add rbx, r14
xor r13d, r13d
mov eax, dword [rbx]
test eax, eax
je 0x14000688a
test dword [rbx + 0x14], 0x2000000
je 0x14000688a
xor ecx, ecx
mov edx, eax
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [r12]
mov rsi, rax
cmp dword [0x1400b3a88], ecx
jle 0x140006819
lea rcx, [0x1400b3a88]
call fcn.14006ff3c
cmp dword [0x1400b3a88], 0xffffffff
jne 0x140006819
lea rcx, [0x140072400]
mov qword [0x1400b3a90], r13
mov qword [0x1400b3a98], 0xffffffffffffffff
call fcn.1400701dc
lea rcx, [0x1400b3a88]
call fcn.14006fed0
mov eax, dword [0x1400b3a90]
mov rcx, qword [0x1400b3a98]
mov dword [rbp + 7], eax
mov eax, dword [rbx - 4]
add rax, r15
mov word [rbp + 0xc], r13w
mov qword [rbp - 9], rax
mov eax, dword [rbx]
mov qword [rbp - 1], rax
mov byte [rbp + 0xe], r13b
mov qword [rbp - 0x11], rsi
mov byte [rbp + 0xb], 1
cmp rcx, 0xffffffffffffffff
je 0x140006879
mov qword [rsp + 0x38], r13
lea r8, [rbp - 0x11]
mov qword [rsp + 0x30], r13
mov r9d, reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x28], r13d
mov edx, 0x3009ce20
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
inc di
add rbx, 0x28
cmp di, word [r14 + 6]
jb 0x1400067a0
mov r13, qword [rbp - 0x31]
xor edx, edx
mov r8d, 0x8000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, 0x1f4
lea ecx, [rdx + 0x17]
call qword [sym.imp.KERNEL32.dll_Beep]
mov r15, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xe8]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14006feb0
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret