joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007ad4d
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, r8
mov rdi, rdx
mov rsi, rcx
lea r15, [rsp + 0x58]
mov r8d, 0xb
mov rcx, r15
mov rdx, rax
call fcn.14007ae90
lea r12, [rsp + 0x38]
mov dword [r12], 0x800
lea rbx, [rsp + 0x3c]
and dword [rbx], 0
mov ecx, 0x800
call fcn.140030f60
lea r14, [rsp + 0x40]
mov qword [r14], rax
mov qword [r14 + 8], rdx
and qword [r14 + 0x10], 0
mov r15, qword [r15 + 8]
mov r13, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdx
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
mov r9, rbx
call r13
cmp eax, 0xea
jne 0x14007ade9
mov edx, dword [rsp + 0x38]
mov rcx, r14
call fcn.1400a00b2
mov rdx, qword [rsp + 0x48]
jmp 0x14007adb6
test eax, eax
jne 0x14007ae0b
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x14007ae35
movabs rax, 0xde00000002
jmp 0x14007ae13
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
call fcn.140030fc9
jmp 0x14007ae49
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
call fcn.1400623d5
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14007f7f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14000a570
cmp rax, rcx
je 0x14007f815
cmp rdx, 4
jae 0x14007f818
xor eax, eax
xor r8d, r8d
jmp 0x14007f8b0
xor eax, eax
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400ad660]
movdqa xmm3, xmmword [0x1400ad670]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14007f840
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14007f8c7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14007f8b0
ret
Function at 0x14008330c
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x68], 4
mov dword [rsp + 0xb0], 0x400010
movabs rax, 0x8000000000000000
cmp qword [rcx + 0x18], rax
je 0x14008337a
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x90], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x98], rdx
cmp qword [rcx + 0x30], rax
je 0x1400833b5
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x1400833ac
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x14010f430]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x140083399
jmp 0x1400833ae
xor edx, edx
mov dword [rsp + 0xa0], edx
mov r15, qword [rcx + 0x10]
lea rsi, [r15*8]
test r15, r15
je 0x140083407
mov rax, r15
shr rax, 0x3c
jne 0x1400834c9
mov rbx, qword [rcx + 8]
mov ecx, 8
mov rdx, rsi
call fcn.140094874
test rax, rax
je 0x1400834ce
mov rdi, rax
xor eax, eax
mov rcx, qword [rbx + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp r15, rax
jne 0x1400833f2
mov eax, r15d
jmp 0x14008340e
xor eax, eax
mov edi, 8
lea rcx, [rsp + 0x68]
mov dword [rcx + 4], eax
mov qword [rcx + 8], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
ror byte [rdi], 0x11
and al, 0x28
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x1400e2343]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x140083465
mov ebx, eax
shl rbx, 0x20
or rbx, 2
add al, byte [rcx - 0x42]
add dword [rax], eax
add byte [rax], al
jmp 0x14008349d
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov ecx, 8
mov edx, 0x20
call fcn.140094874
test rax, rax
je 0x1400834db
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov dword [rbx], eax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r12
xor r14d, r14d
test r15, r15
je 0x1400834b2
invalid
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.14000225a
mov rax, r14
mov rdx, rbx
add rsp, 0xb8
add esp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140007750
mov ecx, 8
mov rdx, rsi
call fcn.1400a84f0
mov ecx, 8
mov edx, 0x20
call fcn.1400a84f0
invalid
push rax
add al, byte [rax]
int3

Function at 0x140083b48
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
lea eax, [rsp + 0x20]
and al, 0x20
and qword [r8], 0
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
ror byte [rdi], cl
xchg ebp, eax
invalid
jne case.0x1400601f8.361
invalid
mov rdx, qword [rsp + 0x20]
jmp 0x140083b7a
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140085a3e
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140085a6b
xor eax, eax
jmp 0x140085a70
call fcn.1400318e1
nop
add rsp, 0x38
ret
Function at 0x14008b2f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
in al, dx
and byte [rdi + rcx - 0x4a], al
cmp byte [rdi], cl
mov dh, 0x42
invalid
test al, al

Function at 0x14008c320
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push rsi
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x60]
call fcn.140088120
mov rax, qword [rbp - 0x60]
movabs rdi, 0x8000000000000000
cmp rax, rdi
jne 0x14008c376
lea rcx, [rbp - 0x58]
call fcn.1400873a0
mov al, 0xff
dec dword [rax - 0x77]
notrack jmp 0x14008c5b8
mov qword [rbp + 0x3f8], rsi
mov qword [rbp + 0x3f0], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x400], rax
mov dword [rbp + 0x400], eax
mov qword [rbp + 0x408], 0
mov qword [rbp + 0x410], 2
mov qword [rbp + 0x418], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r14d, r14d
cmp r8, 0x201
jae 0x14008c400
jmp 0x14008c3ef
jae 0x14008c4c6
cmp r8, 0x201
jae 0x14008c400
mov r15d, 0x200
lea r12, [rbp - 0x60]
mov r13, r8
jmp 0x14008c458
sub r8, r14
sub rbx, r14
cmp rbx, r8
cmp ebx, eax
jae case.0x140041dc3.1041
lea rcx, [rbp + 0x408]
mov rdx, r14
call fcn.1400aaf80
jmp 0x14008c41a
add byte [rax - 0x75], cl
mov ebp, 0x408
mov rax, qword [rbp + 0x410]
test dword [rax], edx
add al, 0
add byte [rax - 0x77], cl
test eax, ebp
add eax, dword [rax]
invalid
mov eax, 0xffffffff
cmp rdi, rax
mov r14d, 0xffffffff
invalid
dec dword [rdi + rcx + 0x42]
test dword [rcx + rcx*4 - 0x4b], 0x418
mov rbx, rdi
mov r15, r14
mov r12, qword [rbp + 0x3e8]
mov r13, r14
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, qword [rbp + 0x400]
mov rdx, r12
mov edx, esp
mov r8d, r13d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x14008c487
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14008c546
mov r8d, esi
cmp r13, r8
jne 0x14008c3e0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14008c5cd
add r13, r13
mov eax, 0xffffffff
cmp r13, rax
cmovae r13, rax
mov r8, r13
cmp r8, 0x201
jb 0x14008c3ef
jmp 0x14008c400
cmp r15, r8
jb 0x14008c5e7
sbb byte [rcx], al
add byte [rax], al
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3c8], rax
enter 3, 0
movabs rsi, 0x8000000000000000
mov qword [rbp + 0x3c0], rsi
add byte [rax - 0x7d], cl
mov ebp, 0x408
add al, 0
add byte [rax], al
je 0x14008c587
mov rcx, qword [rbp + 0x410]
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.1400a8850
jmp 0x14008c5fc
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r15
cli
mov r8, rax
call fcn.1400a8840
invalid
ud2
Function at 0x140090350
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1401172e0]
mov edx, 0x10
xor ecx, ecx
call fcn.1400909c0
test rax, rax
je 0x140090424
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400904c0]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140090416
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x1400903f3
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.140007680
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.140007680
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400a84f0
ud2

Function at 0x1400905f0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x140090633
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.14008ced0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syspalwindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1400a8770
ud2

Function at 0x140093860
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
sub dword [rsp + 0x20], eax
and al, 0x20
and al, 0x20
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov eax, 0x10
add byte [rax], al
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x140093895
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14009389a
call fcn.1400905f0
nop
add rsp, 0x38
add esp, 0x38
invalid
ret

Function at 0x140099823
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14009982a
test al, 1
je 0x140099849
test al, 2
jne 0x140099861
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1400e95a8]
mov edx, 0x23
call fcn.1400a8850
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1400e95e8]
mov edx, 0x25
call fcn.1400a8850
int3
Function at 0x14009a27e
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1400990dc
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14009a2ba
xor eax, eax
jmp 0x14009a2c8
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret
Function at 0x14009a52f
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, r9
mov rbx, r8
mov r14, rdx
invalid
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xd0]
lea r15, [rsp + 0x3a]
lea r13, [rsp + 0x52]
mov rbp, qword [rdx + 0x10]
mov r12, qword [rdx + 0x18]
mov ecx, 0x7fffffff
cmp rax, rcx
cmovb rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x58], rax
lea rsi, [rsp + 0x30]
mov qword [rsp + 0x40], rbp
Function at 0x1400a78c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a790a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a790a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a790a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a790a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a790a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400a790c
xor al, al
add rsp, 0x28
ret
Function at 0x140002230
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x12c
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0x130
cmp rdi, 0xffffffffffffffff
je 0x1400022f2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400022f2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x1400022e9
cmp qword [rbx + 0x18], 0xf
mov r8, rbx
jbe 0x1400022b1
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400022d3
inc rax
test ecx, ecx
jne 0x1400022c0
mov rcx, rdi
test edx, edx
je 0x140002315
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400022a4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400046d0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x1400022f4
Function at 0x1400024e0
Capabilities:
Enumerate gui resources

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 + 8], rbp
lea rdx, [r11 - 0x48]
mov qword [r11 + 0x10], rsi
xorps xmm0, xmm0
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov r13, rcx
mov qword [r11 - 0x20], r14
lea rcx, [0x140002330]
movdqu xmmword [rsp + 0x20], xmm0
mov qword [r11 - 0x28], r15
mov qword [r11 - 0x38], 0
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov rdi, rcx
cmp rcx, rax
je 0x140002605
mov rbp, qword [r13 + 0x10]
cmp qword [r13 + 0x18], 0xf
mov rsi, r13
jbe 0x140002560
mov rsi, qword [r13]
cmp qword [rdi + 0x18], 0xf
mov r14, rdi
jbe 0x14000256d
mov r14, qword [rdi]
mov rax, qword [rdi + 0x10]
cmp rbp, rax
ja 0x1400025ee
sub rax, rbp
test rbp, rbp
je 0x140002673
movsx r12d, byte [rsi]
lea r15, [rax + r14]
lea r8, [r15 + 1]
mov edx, r12d
sub r8, r14
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400025ee
nop dword [rax]
nop dword [rax + rax]
mov r8, rbp
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400025e1
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov rcx, rbx
mov edx, r12d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400025b0
jmp 0x1400025ee
sub rbx, r14
cmp rbx, 0xffffffffffffffff
jne 0x140002673
mov rax, qword [rsp + 0x28]
add rdi, 0x20
cmp rdi, rax
jne 0x140002552
mov rcx, qword [rsp + 0x20]
xor bl, bl
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
test rcx, rcx
je 0x140002686
mov rdx, rax
call fcn.140004210
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov rax, rcx
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x140002681
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002681
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rsp + 0x28]
mov bl, 1
mov rcx, qword [rsp + 0x20]
jmp 0x140002607
call fcn.14000472c
movzx eax, bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400046d0
add rsp, 0x60
pop rbx
ret
Function at 0x140003d50
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
call fcn.1400026a0
mov rdx, qword [rbx + 8]
test rdx, rdx
jne 0x140003d70
lea eax, [rdx + 1]
add rsp, 0x50
pop rbx
ret
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x60], rdi
call fcn.140003f70
lea rcx, [rsp + 0x30]
call fcn.140002230
mov rdx, qword [rsp + 0x48]
mov edi, eax
cmp rdx, 0xf
jbe 0x140003dc4
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003dbf
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e2b
call fcn.14000472c
test edi, edi
je 0x140003e8d
mov rdx, qword [rbx + 8]
lea rcx, [rsp + 0x30]
call fcn.140003f70
lea rcx, [rsp + 0x30]
call fcn.140002230
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdx, qword [rsp + 0x48]
mov rbx, rax
cmp rdx, 0xf
jbe 0x140003e37
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e32
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000472c
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140003e8d
xor eax, eax
lea r8, [0x140003d30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rbx
call section..text
test al, al
je 0x140003e80
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x50
pop rbx
ret
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdi, qword [rsp + 0x60]
mov eax, 1
add rsp, 0x50
pop rbx
ret

Function at 0x140005050
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000509a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000509a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000509a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000509a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000509a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000509c
xor al, al
add rsp, 0x28
ret
Function at 0x140015434
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001547e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001547e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001547e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001547e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001547e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140015480
xor al, al
add rsp, 0x28
ret
Function at 0x4010a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov byte [rsp], 0x50
mov byte [rsp + 1], 0x7c
mov byte [rsp + 2], 0x79
mov byte [rsp + 3], 0x69
mov byte [rsp + 4], 0x5d
mov byte [rsp + 5], 0x71
mov byte [rsp + 6], 0x70
mov byte [rsp + 7], 0x72
mov byte [rsp + 8], 0x7b
mov byte [rsp + 9], 0x19
mov byte [rsp + 0xa], 0x18
mov byte [rsp + 0xb], 0x19
mov byte [rsp + 0xc], 0x18
mov byte [rsp + 0xd], 0x19
mov byte [rsp + 0xe], 0x1c
mov byte [rsp + 0xf], 0x1d
mov byte [rsp + 0x10], 0x1c
mov byte [rsp + 0x11], 0x1d
mov byte [rsp + 0x12], 0x18
mov byte [rsp + 0x13], 0x19
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, 0x14
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x401210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov byte [rsp], 0x5a
mov byte [rsp + 1], 0x78
mov byte [rsp + 2], 0x69
mov byte [rsp + 3], 0x4d
mov byte [rsp + 4], 0x6f
mov byte [rsp + 5], 0x72
mov byte [rsp + 6], 0x7e
mov byte [rsp + 7], 0x78
mov byte [rsp + 8], 0x6e
mov byte [rsp + 9], 0x6e
mov byte [rsp + 0xa], 0x55
mov byte [rsp + 0xb], 0x78
mov byte [rsp + 0xc], 0x7c
mov byte [rsp + 0xd], 0x6d
mov byte [rsp + 0xe], 0x1d
mov byte [rsp + 0xf], 0x1d
mov byte [rsp + 0x10], 0x1d
mov byte [rsp + 0x11], 0x1d
mov byte [rsp + 0x12], 0x1d
mov byte [rsp + 0x13], 0x1d
mov byte [rsp + 0x14], 0x1d
mov byte [rsp + 0x15], 0x1d
mov byte [rsp + 0x16], 0x1d
mov byte [rsp + 0x17], 0x1d
mov byte [rsp + 0x18], 0x1d
mov byte [rsp + 0x19], 0x1d
mov byte [rsp + 0x1a], 0x1d
mov byte [rsp + 0x1b], 0x1d
mov byte [rsp + 0x1c], 0x1d
mov byte [rsp + 0x1d], 0x1d
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, 0x1e
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x4016d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xa6]
lea rcx, [rsp + 0x20]
call fcn.004018b0
mov rcx, rax
call fcn.00406310
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.00401640
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x40172b
xor eax, eax
jmp 0x40189b
cmp qword [rsp + 0xe0], 0
je 0x401746
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x21]
call fcn.00401990
mov rcx, rax
call fcn.00401320
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x24], 0
jmp 0x40181a
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x24], eax
jae 0x401899
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.00406b00
movzx eax, al
test eax, eax
je 0x401894
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
jmp 0x40189b
jmp 0x401810
xor eax, eax
add rsp, 0xd0
pop rdi
ret