joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140183e58
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140262570]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140183eaf
cmp word [rdx], r13w
jne 0x140183eaf
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140183eb4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140183fd9
mov r11d, reloc.WS2_32.dll_listen
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140183ffa
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140183eed
mov rdx, r9
mov word [rbx], cx
jmp 0x140183f14
cmp r9, r8
jae 0x140183f24
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140183ece
jmp 0x140183fd9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140183fce
cmp dword [rsp + 0x80], esi
je 0x140183fce
lea r8, [0x140262570]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140183fa6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140183f76
mov word [rbx], r13w
jmp 0x140183fd6
mov ecx, reloc.WS2_32.dll_listen
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140183f83
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140183fd6
cmp word [rsp + 0x70], r13w
jne 0x140183fb3
cmp rbx, r14
je 0x140183f70
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14017d8c4
cmp word [rsp + 0x70], r13w
je 0x140183fd9
mov ecx, reloc.WS2_32.dll_listen
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140262570]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140183fd3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140183fd9
Function at 0x1401861a8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401861be
mov al, 1
jmp 0x14018621e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401861cf
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14018621c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14018d658
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14018621c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14018621c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14018621c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14018621e
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14018bc00
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14018bc20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401746d0
or eax, 0xffffffff
jmp 0x14018bc22
xor eax, eax
add rsp, 0x28
ret
Function at 0x14018d768
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14017d8c4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14017d8c4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14018d8b8
cmp rax, 0xffffffffffffffff
je 0x14018d8b8
xor edi, edi
test rbp, rbp
jle 0x14018d863
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140186d20
mov rbx, rax
test rax, rax
jne 0x14018d7f0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14018d859
mov edx, 0x8000
mov ecx, r14d
call fcn.1401823c0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140185218
cmp eax, 0xffffffff
je 0x14018d839
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14018d800
mov edx, r15d
mov ecx, r14d
call fcn.1401823c0
jmp 0x14018d859
cmp byte [rsi + 0x38], dil
je 0x14018d850
cmp dword [rsi + 0x34], 5
jne 0x14018d850
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x14018d859
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140187018
jmp 0x14018d8cc
jns 0x14018d8cc
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14017d8c4
cmp rax, 0xffffffffffffffff
jne 0x14018d884
cmp byte [rsi + 0x30], dil
je 0x14018d8cc
mov edi, dword [rsi + 0x2c]
jmp 0x14018d8cc
mov ecx, r14d
call fcn.14018d658
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14018d8cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x14018d8cc
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14018d8c5
mov eax, dword [rsi + 0x2c]
jmp 0x14018d8ca
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14017d8c4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140190758
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140190788
xor eax, eax
jmp 0x14019084b
mov rbp, rbx
cmp word [rax], si
je 0x1401907ad
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140190794
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140190790
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14018cc08
movsxd r14, eax
test eax, eax
jne 0x1401907eb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140190781
mov rcx, r14
call fcn.140187880
mov rdi, rax
test rax, rax
jne 0x140190804
xor ecx, ecx
call fcn.140187018
jmp 0x1401907e0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14018cc08
test eax, eax
jne 0x140190835
mov rcx, rdi
call fcn.140187018
jmp 0x14019083f
xor ecx, ecx
call fcn.140187018
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140190868
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1401908ef
mov rsi, rbx
cmp word [rax], bp
je 0x1401908ae
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140190898
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140190894
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140187880
mov rdi, rax
test rax, rax
je 0x1401908dc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140199550
mov rbp, rdi
xor ecx, ecx
call fcn.140187018
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401937a8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140186740
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140193849
cmp ebx, dword [rsp + 0x30]
je 0x140193842
test esi, esi
je 0x140193842
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14019381d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14019382a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140193807
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14019382e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14019384b
mov eax, 1
jmp 0x14019384b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401969f4
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140228980]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x140196a3e
call fcn.14017473c
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.140174760
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.14016ec90
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14015f5d0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140196a49
lea eax, [rbx + 1]
jmp 0x140196a2b
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140196a29
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140196a2b
Function at 0x140196c48
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1401668b8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140196cd2
cmp byte [rbp - 0x21], r15b
je 0x140196ccd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140196d08
call fcn.140189e30
test eax, eax
jne 0x140196cf4
cmp byte [rbp - 0x21], r15b
je 0x140196cec
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140196d08
cmp byte [rbp - 0x21], r15b
je 0x140196d05
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140172cdc
test eax, eax
jne 0x140196da8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1401668b8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140196d47
cmp byte [rbp - 0x21], r15b
je 0x140196d7c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140196d7c
call fcn.140189e30
test eax, eax
jne 0x140196d68
cmp byte [rbp - 0x21], r15b
je 0x140196d61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140196d7c
cmp byte [rbp - 0x21], r15b
je 0x140196d79
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140172cdc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140196da8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140196dab
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140196db9
mov rcx, rdi
call fcn.140187018
cmp byte [rbp + 0x3f], r15b
je 0x140196dc8
mov rcx, qword [rbp + 0x27]
call fcn.140187018
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140197ad0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140197af8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140197af8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002274
Capabilities:
Allocate or change rwx memory

Disassembly:
mov word [rsp + 0x20], r9w
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
movzx eax, word [rsp + 0x60]
test eax, eax
jne 0x1400022ad
movzx eax, word [rsp + 0x68]
cmp eax, 0xffff
je 0x14000232a
cmp qword [rsp + 0x30], 0
jne 0x1400022fe
movzx eax, word [rsp + 0x60]
movzx ecx, word [rsp + 0x68]
lea eax, [rax + rcx + 1]
cdqe
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov rcx, qword [rsp + 0x38]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
mov qword [rsp + 0x30], rax
movzx eax, word [rsp + 0x60]
movzx ecx, word [rsp + 0x68]
add eax, ecx
movzx ecx, word [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x30]
call fcn.140003508
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x140002660
Capabilities:
Allocate or change rwx memory
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x44], 0x800000
mov qword [rsp + 0x50], 0xffffffffffffffff
mov dword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x800000
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x18
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x10], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x14000273e
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x10], 1
mov rax, qword [rsp + 0x48]
jmp 0x1400027cf
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, 0x800000
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140002788
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
add eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov dword [rcx], eax
cmp dword [rsp + 0x40], 0x800000
je 0x14000273e
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400027ca
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x10], 7
mov rax, qword [rsp + 0x48]
jmp 0x1400027cf
mov rax, qword [rsp + 0x48]
add rsp, 0x68
ret

Function at 0x1400027d4
Capabilities:
Get session user name

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x20], 0x101
mov eax, dword [rsp + 0x20]
shl rax, 1
mov r8d, 0x40
mov edx, 0x3000
mov rcx, rax
call fcn.140005044
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140002810
lea rax, [0x140007269]
jmp 0x140002832
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x14000282d
lea rax, [0x140007269]
jmp 0x140002832
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret
Function at 0x1400036c8
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [0x140001910]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp dword [rsp + 0x20], 8
jge 0x14000371a
mov edx, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
call fcn.1400034a4
mov r8d, eax
mov dl, byte [rsp + 0x20]
lea rcx, [0x140008130]
call fcn.140005cbc
movsxd rax, dword [rsp + 0x20]
mov rcx, rax
call fcn.140006af4
mov al, 1
add rsp, 0x38
ret
Function at 0x140003724
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
jmp 0x14000378a
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x38]
add rax, 0x28
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x30], eax
jge 0x140003934
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x10], 0
jne 0x14000385d
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jle 0x140003858
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx + 0x58]
mov qword [rsp + 0x20], rdx
mov r9d, 4
mov r8d, 0x1000
mov rdx, rax
mov rax, qword [rsp + 0x78]
call qword [rax + 0x28]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140003817
xor eax, eax
jmp 0x140003939
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
and rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 8], eax
mov r8d, dword [rsp + 0x34]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140005cbc
jmp 0x140003772
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x38]
add eax, dword [rcx + 0x10]
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x68]
call fcn.140004150
test eax, eax
jne 0x140003886
xor eax, eax
jmp 0x140003939
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx + 0x58]
mov qword [rsp + 0x20], rdx
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
mov rax, qword [rsp + 0x78]
call qword [rax + 0x28]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400038d6
xor eax, eax
jmp 0x140003939
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x38]
mov r8d, dword [rcx + 0x10]
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.140003508
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
and rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 8], eax
jmp 0x140003772
mov eax, 1
add rsp, 0x58
ret
Function at 0x140003940
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x98
mov byte [rsp + 0x60], 0xfb
mov byte [rsp + 0x61], 0xfc
mov byte [rsp + 0x62], 0xfe
mov byte [rsp + 0x63], 0xff
mov byte [rsp + 0x64], 0xaa
mov byte [rsp + 0x65], 0x76
mov byte [rsp + 0x66], 0x75
mov byte [rsp + 0x67], 0x68
mov byte [rsp + 0x68], 0x76
mov byte [rsp + 0x69], 0x38
mov byte [rsp + 0x6a], 0x38
mov byte [rsp + 0x6b], 0
mov byte [rsp + 0x6c], 7
mov byte [rsp + 0x6d], 0x6d
mov byte [rsp + 0x6e], 0x4f
mov byte [rsp + 0x6f], 0x72
mov byte [rsp + 0x70], 0x78
mov byte [rsp + 0x71], 0x78
mov byte [rsp + 0x72], 0x78
mov byte [rsp + 0x73], 0x78
mov byte [rsp + 0x74], 0
lea rcx, [rsp + 0x60]
call fcn.140006af4
mov rcx, rax
call fcn.140003bec
mov qword [rsp + 0x78], rax
cmp qword [0x140008980], 0
jne 0x1400039e6
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x80], rax
jmp 0x1400039f9
mov rcx, qword [rsp + 0x78]
call qword [0x140008980]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov byte [rsp + 0x20], 0xfb
mov byte [rsp + 0x21], 0xfc
mov byte [rsp + 0x22], 0xfe
mov byte [rsp + 0x23], 0xff
mov byte [rsp + 0x24], 0xaa
mov byte [rsp + 0x25], 0x48
mov byte [rsp + 0x26], 0x67
mov byte [rsp + 0x27], 0x77
mov byte [rsp + 0x28], 0x5b
mov byte [rsp + 0x29], 0x6e
mov byte [rsp + 0x2a], 0x74
mov byte [rsp + 0x2b], 0x6b
mov byte [rsp + 0x2c], 0x77
mov byte [rsp + 0x2d], 0x80
mov byte [rsp + 0x2e], 0x5c
mov byte [rsp + 0x2f], 0x70
mov byte [rsp + 0x30], 0x6f
mov byte [rsp + 0x31], 0x81
mov byte [rsp + 0x32], 0
mov byte [rsp + 0x33], 7
mov byte [rsp + 0x34], 0x6d
mov byte [rsp + 0x35], 0x4f
mov byte [rsp + 0x36], 0x72
mov byte [rsp + 0x37], 0x78
mov byte [rsp + 0x38], 0x78
mov byte [rsp + 0x39], 0x78
mov byte [rsp + 0x3a], 0x78
mov byte [rsp + 0x3b], 0
lea rcx, [rsp + 0x20]
call fcn.140006af4
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
call fcn.140003e4c
mov qword [0x1400089b0], rax
mov byte [rsp + 0x40], 0xfb
mov byte [rsp + 0x41], 0xfc
mov byte [rsp + 0x42], 0xfe
mov byte [rsp + 0x43], 0xff
mov byte [rsp + 0x44], 0xaa
mov byte [rsp + 0x45], 0x48
mov byte [rsp + 0x46], 0x67
mov byte [rsp + 0x47], 0x77
mov byte [rsp + 0x48], 0x48
mov byte [rsp + 0x49], 0x6a
mov byte [rsp + 0x4a], 0x79
mov byte [rsp + 0x4b], 0x72
mov byte [rsp + 0x4c], 0x7c
mov byte [rsp + 0x4d], 0x78
mov byte [rsp + 0x4e], 0x7a
mov byte [rsp + 0x4f], 0x62
mov byte [rsp + 0x50], 0x75
mov byte [rsp + 0x51], 0x7b
mov byte [rsp + 0x52], 0x72
mov byte [rsp + 0x53], 0x7e
mov byte [rsp + 0x54], 0x87
mov byte [rsp + 0x55], 0
mov byte [rsp + 0x56], 7
mov byte [rsp + 0x57], 0x6d
mov byte [rsp + 0x58], 0x4f
mov byte [rsp + 0x59], 0x72
mov byte [rsp + 0x5a], 0x78
mov byte [rsp + 0x5b], 0x78
mov byte [rsp + 0x5c], 0x78
mov byte [rsp + 0x5d], 0x78
mov byte [rsp + 0x5e], 0
lea rcx, [rsp + 0x40]
call fcn.140006af4
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
call fcn.140003e4c
mov qword [0x1400089a8], rax
mov eax, 1
add rsp, 0x98
ret
Function at 0x140004a4c
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0xffff
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
call fcn.140004438
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400036c8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400032c8
call fcn.140002d64
movzx eax, al
test eax, eax
jne 0x140004ac5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.140003244
call fcn.140001238
call fcn.140002bb0
call fcn.140004b68
call fcn.140003cf8
xor eax, eax
cmp eax, 1
je 0x140004b25
lea rcx, [rsp + 0x60]
call fcn.140001274
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.1400044c8
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140004ade
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
add rsp, 0x78
ret