Function at 0x14000c870
Capabilities:
Access pe header
Enumerate gui resources
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1400b3098]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, rcx
mov qword [rsp + 0x48], rdx
mov ecx, 0x64
mov r13, rdx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, r13
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov ecx, 0x64
mov r12, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
xor edx, edx
mov esi, eax
lea ecx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000c93e
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x50], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000c93e
nop dword [rax]
lea r8, [rbp - 0x24]
mov rax, rdi
sub r8, rdi
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000c924
add rax, 2
test ecx, ecx
jne 0x14000c910
test edx, edx
je 0x14000c93b
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000c900
jmp 0x14000c93e
mov esi, dword [rbp - 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [rsp + 0x58], esi
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], rdi
lea rcx, [0x140006330]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x14000c97d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x14000c97d
mov rbx, qword [rsp + 0x50]
test rbx, rbx
jne 0x14000c980
mov rbx, rdi
mov dword [rsp + 0x60], edi
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, reloc.WS2_32.dll_sendto
mov dword [rsp + 0x40], eax
mov esi, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x60], edi
je 0x14000c990
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x60], edi
je 0x14000ce96
test esi, esi
je 0x14000ce96
mov rax, qword gs:[0x58]
mov ecx, dword [0x1400f885c]
mov qword [rsp + 0x330], r14
mov qword [rsp + 0x340], r15
mov r15d, 4
add r15, qword [rax]
cmp ecx, dword [r15]
jle 0x14000ca46
lea rcx, [0x1400f885c]
call fcn.1400733a8
mov ecx, dword [0x1400f885c]
cmp ecx, 0xffffffff
jne 0x14000ca46
lea rcx, [0x140075f80]
mov qword [0x1400f8860], rdi
mov qword [0x1400f8868], 0xffffffffffffffff
call fcn.1400736f0
lea rcx, [0x1400f885c]
call fcn.140073348
mov ecx, dword [0x1400f885c]
mov eax, dword [rsp + 0x60]
mov dword [0x1400f8860], eax
cmp ecx, dword [r15]
jle 0x14000ca94
lea rcx, [0x1400f885c]
call fcn.1400733a8
cmp dword [0x1400f885c], 0xffffffff
jne 0x14000ca94
lea rcx, [0x140075f80]
mov qword [0x1400f8860], rdi
mov qword [0x1400f8868], 0xffffffffffffffff
call fcn.1400736f0
lea rcx, [0x1400f885c]
call fcn.140073348
mov eax, dword [0x1400f8860]
mov r14, rdi
mov rcx, qword [0x1400f8868]
mov dword [rbp - 0x78], eax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x70], rax
mov eax, dword [r12 + 0x50]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x50], rdi
mov dword [rbp - 0x74], edi
mov qword [rbp - 0x60], 0x40
cmp rcx, 0xffffffffffffffff
je 0x14000cafc
mov qword [rsp + 0x38], rdi
lea r8, [rbp - 0x78]
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 r14, qword [rsp + 0x50]
mov r8, r12
mov rdx, r13
mov rcx, r14
call fcn.140005f50
test eax, eax
jne 0x14000cba5
mov eax, dword [r15]
cmp dword [0x1400f885c], eax
jle 0x14000cb5c
lea rcx, [0x1400f885c]
call fcn.1400733a8
cmp dword [0x1400f885c], 0xffffffff
jne 0x14000cb5c
lea rcx, [0x140075f80]
mov qword [0x1400f8860], rdi
mov qword [0x1400f8868], 0xffffffffffffffff
call fcn.1400736f0
lea rcx, [0x1400f885c]
call fcn.140073348
mov rcx, qword [0x1400f8868]
mov eax, dword [0x1400f8860]
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], r14
cmp rcx, 0xffffffffffffffff
je 0x14000cba5
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x68]
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, r12
mov rdx, r13
mov ecx, esi
call fcn.1400060e0
test eax, eax
jne 0x14000cc4d
mov eax, dword [r15]
cmp dword [0x1400f885c], eax
jle 0x14000cc04
lea rcx, [0x1400f885c]
call fcn.1400733a8
cmp dword [0x1400f885c], 0xffffffff
jne 0x14000cc04
lea rcx, [0x140075f80]
mov qword [0x1400f8860], rdi
mov qword [0x1400f8868], 0xffffffffffffffff
call fcn.1400736f0
lea rcx, [0x1400f885c]
call fcn.140073348
mov rcx, qword [0x1400f8868]
mov eax, dword [0x1400f8860]
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], r14
cmp rcx, 0xffffffffffffffff
je 0x14000cc4d
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x68]
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 [r12 + 0x14]
xor eax, eax
add rbx, 0x2c
cmp ax, word [r12 + 6]
jae 0x14000cd39
add rbx, r12
xor esi, esi
nop word [rax + rax]
mov eax, dword [r15]
cmp dword [0x1400f885c], eax
jle 0x14000ccba
lea rcx, [0x1400f885c]
call fcn.1400733a8
cmp dword [0x1400f885c], 0xffffffff
jne 0x14000ccba
lea rcx, [0x140075f80]
mov qword [0x1400f8860], rsi
mov qword [0x1400f8868], 0xffffffffffffffff
call fcn.1400736f0
lea rcx, [0x1400f885c]
call fcn.140073348
mov eax, dword [0x1400f8860]
mov rcx, qword [0x1400f8868]
mov dword [rbp - 0x80], eax
mov eax, dword [rbx - 8]
add rax, r14
mov word [rbp - 0x7b], si
mov qword [rsp + 0x70], rax
mov eax, dword [rbx]
add rax, r13
mov byte [rbp - 0x79], sil
mov qword [rsp + 0x68], rax
mov eax, dword [rbx - 4]
mov qword [rsp + 0x78], rax
mov byte [rbp - 0x7c], 1
cmp rcx, 0xffffffffffffffff
je 0x14000cd22
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x68]
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 [r12 + 6]
jb 0x14000cc70
mov esi, dword [rsp + 0x40]
mov r8, r12
mov rdx, r14
mov ecx, esi
call fcn.1400059c0
movzx ebx, word [r12 + 0x14]
xor eax, eax
add rbx, 0x28
movzx edi, ax
cmp ax, word [r12 + 6]
jae 0x14000ce75
add rbx, r12
xor r13d, r13d
nop word [rax + rax]
mov eax, dword [rbx]
test eax, eax
je 0x14000ce5d
test dword [rbx + 0x14], 0x2000000
je 0x14000ce5d
xor ecx, ecx
mov edx, eax
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [r15]
mov rsi, rax
cmp dword [0x1400f885c], ecx
jle 0x14000cde8
lea rcx, [0x1400f885c]
call fcn.1400733a8
cmp dword [0x1400f885c], 0xffffffff
jne 0x14000cde8
lea rcx, [0x140075f80]
mov qword [0x1400f8860], r13
mov qword [0x1400f8868], 0xffffffffffffffff
call fcn.1400736f0
lea rcx, [0x1400f885c]
call fcn.140073348
mov eax, dword [0x1400f8860]
mov rcx, qword [0x1400f8868]
mov dword [rbp - 0x80], eax
mov eax, dword [rbx - 4]
add rax, r14
mov word [rbp - 0x7b], r13w
mov qword [rsp + 0x70], rax
mov eax, dword [rbx]
mov qword [rsp + 0x78], rax
mov byte [rbp - 0x79], r13b
mov qword [rsp + 0x68], rsi
mov byte [rbp - 0x7c], 1
cmp rcx, 0xffffffffffffffff
je 0x14000ce4c
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x68]
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 [r12 + 6]
jb 0x14000cd70
mov r13, qword [rsp + 0x48]
xor edx, edx
mov r8d, 0x8000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r15, qword [rsp + 0x340]
mov r14, qword [rsp + 0x330]
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140073230
mov rbx, qword [rsp + 0x348]
add rsp, 0x300
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret