joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001143d
Capabilities:
Terminate process

Disassembly:
jmp 0x14001b480
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011550
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001c7d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001c7f0
xor al, al
jmp 0x14001c871
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001c803
xor al, al
jmp 0x14001c871
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001c82d
xor al, al
jmp 0x14001c871
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001c841
xor al, al
jmp 0x14001c871
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001c853
xor al, al
jmp 0x14001c871
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001c86f
xor al, al
jmp 0x14001c871
mov al, 1
add rsp, 0x38
ret
Function at 0x180009bf0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x1800ff278]
xor rax, rsp
mov qword [rbp + 0x27], rax
movzx r14d, dx
mov rbx, rcx
mov edi, 0xffff
cmp di, dx
jne 0x180009c41
xor eax, eax
cmp dx, di
cmovne ax, dx
jmp 0x180009e13
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x180009c7e
mov rax, qword [rcx + 0x58]
movsxd r9, dword [rax]
lea rdx, [r8 + r9*2]
cmp r8, rdx
jae 0x180009c7e
lea ecx, [r9 - 1]
mov dword [rax], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], r14w
movzx eax, r14w
jmp 0x180009e13
cmp qword [rcx + 0x80], 0
je 0x180009e10
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x180009cbd
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
sub rdx, rcx
sar rdx, 1
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp qword [rbx + 0x68], 0
jne 0x180009ce6
mov rdx, qword [rbx + 0x80]
movzx ecx, r14w
call fcn.18009b52c
cmp ax, di
je 0x180009e10
movzx edi, r14w
jmp 0x180009e10
mov word [rbp - 1], r14w
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp + 7]
call fcn.180009160
nop
mov r10, qword [rbp + 7]
mov r9, qword [rbp + 0x1f]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp + 7]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp + 7]
cmovae r8, r10
mov rcx, qword [rbx + 0x68]
mov r10, qword [rcx]
add rdx, qword [rbp + 0x17]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r8
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 1]
lea r8, [rbp - 1]
lea rdx, [rbx + 0x74]
call qword [r10 + gethostname]
test eax, eax
js 0x180009e02
cmp eax, 1
jg 0x180009de4
lea rax, [rbp + 7]
mov r10, qword [rbp + 7]
mov r9, qword [rbp + 0x1f]
cmp r9, 0x10
cmovae rax, r10
mov rsi, qword [rbp - 0x11]
sub rsi, rax
je 0x180009db2
lea rcx, [rbp + 7]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
call fcn.18009da5c
cmp rsi, rax
jne 0x180009e02
mov r9, qword [rbp + 0x1f]
mov r10, qword [rbp + 7]
mov byte [rbx + 0x72], 1
lea rax, [rbp - 1]
cmp qword [rbp - 9], rax
jne 0x180009dfe
test rsi, rsi
jne 0x180009d10
cmp qword [rbp + 0x17], 0x20
jae 0x180009e02
xor r8d, r8d
lea edx, [rsi + 8]
lea rcx, [rbp + 7]
call fcn.18000ad90
jmp 0x180009cfc
cmp eax, 3
jne 0x180009e02
mov rdx, qword [rbx + 0x80]
movzx ecx, word [rbp - 1]
call fcn.18009b52c
cmp ax, di
je 0x180009e02
movzx edi, r14w
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 7]
call fcn.180004390
movzx eax, di
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180077fb0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000af30
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800ff278]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x18000b08a
cmp byte [rcx + 0x72], 0
je 0x18000b08a
mov rax, qword [rcx]
mov ebx, 0xffff
mov edx, ebx
call qword [rax + Ordinal_26]
cmp bx, ax
jne 0x18000af88
xor al, al
jmp 0x18000b08c
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rsp + 0x40]
call fcn.180009160
nop
mov r10, qword [rsp + 0x40]
mov r9, qword [rsp + 0x58]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x40]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rsp + 0x40]
cmovae r8, r10
mov rcx, qword [rdi + 0x68]
mov r10, qword [rcx]
mov r9, qword [rsp + 0x50]
add r9, rdx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x74]
call qword [r10 + 0x40]
test eax, eax
je 0x18000aff2
sub eax, 1
jne 0x18000b06b
jmp 0x18000aff6
mov byte [rdi + 0x72], 0
lea rax, [rsp + 0x40]
mov r10, qword [rsp + 0x40]
mov r9, qword [rsp + 0x58]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rsp + 0x38]
sub rbx, rax
je 0x18000b047
lea rcx, [rsp + 0x40]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
call fcn.18009da5c
cmp rbx, rax
jne 0x18000b070
mov r9, qword [rsp + 0x58]
mov r10, qword [rsp + 0x40]
cmp byte [rdi + 0x72], 0
je 0x18000b074
test rbx, rbx
jne 0x18000afb0
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rsp + 0x40]
call fcn.18000ad90
jmp 0x18000af9a
sub eax, 2
je 0x18000b074
xor bl, bl
jmp 0x18000b076
mov bl, 1
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.180004390
movzx eax, bl
jmp 0x18000b08c
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180077fb0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18000f400
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800ff278]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov esi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18000f446
xor eax, eax
cmp edx, edx
cmovne eax, edx
jmp 0x18000f60e
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18000f480
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18000f480
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
mov eax, esi
jmp 0x18000f60e
cmp qword [rbx + 0x80], 0
jne 0x18000f492
or eax, 0xffffffff
jmp 0x18000f60e
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000f4bf
mov rdx, qword [rbx + 0x90]
mov rcx, qword [rbx + 0x88]
mov qword [r8], rcx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp qword [rbx + 0x68], 0
jne 0x18000f4e3
mov rdx, qword [rbx + 0x80]
movzx ecx, sil
call fcn.180010b10
or ebx, 0xffffffff
test al, al
cmovne ebx, esi
jmp 0x18000f60c
mov byte [rbp + 0xf], sil
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp + 0x17]
call fcn.180009160
nop
mov r10, qword [rbp + 0x17]
mov r9, qword [rbp + 0x2f]
lea rdx, [rbp + 0x17]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp + 0x17]
cmovae r8, r10
mov rcx, qword [rbx + 0x68]
mov r10, qword [rcx]
add rdx, qword [rbp + 0x27]
lea rax, [rbp - 1]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r8
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x10]
lea r8, [rbp + 0xf]
lea rdx, [rbx + 0x74]
call qword [r10 + gethostname]
test eax, eax
js 0x18000f5fb
cmp eax, 1
jg 0x18000f5dc
lea rax, [rbp + 0x17]
mov r10, qword [rbp + 0x17]
mov r9, qword [rbp + 0x2f]
cmp r9, 0x10
cmovae rax, r10
mov rdi, qword [rbp - 1]
sub rdi, rax
je 0x18000f5a6
lea rcx, [rbp + 0x17]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rbx + 0x80]
mov r8, rdi
mov edx, 1
call fcn.18009da5c
cmp rdi, rax
jne 0x18000f5fb
mov r9, qword [rbp + 0x2f]
mov r10, qword [rbp + 0x17]
mov byte [rbx + 0x71], 1
lea rax, [rbp + 0xf]
cmp qword [rbp + 7], rax
jne 0x18000f5d8
test rdi, rdi
jne 0x18000f500
cmp qword [rbp + 0x27], 0x20
jae 0x18000f5fb
xor r8d, r8d
lea edx, [rdi + 8]
lea rcx, [rbp + 0x17]
call fcn.18000ad90
jmp 0x18000f4f8
mov ebx, esi
jmp 0x18000f5fe
cmp eax, 3
jne 0x18000f5fb
mov rdx, qword [rbx + 0x80]
movzx ecx, byte [rbp + 0xf]
call fcn.180010b10
or ebx, 0xffffffff
test al, al
cmovne ebx, esi
jmp 0x18000f5fe
or ebx, 0xffffffff
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x17]
call fcn.180004390
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180077fb0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x18000fe70
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800ff278]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x18000ffba
cmp byte [rcx + 0x71], 0
je 0x18000ffba
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
jne 0x18000fec4
xor al, al
jmp 0x18000ffbc
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rsp + 0x40]
call fcn.180009160
nop
mov r10, qword [rsp + 0x40]
mov r9, qword [rsp + 0x58]
lea rdx, [rsp + 0x40]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rsp + 0x40]
cmovae r8, r10
mov rcx, qword [rdi + 0x68]
mov r10, qword [rcx]
mov r9, qword [rsp + 0x50]
add r9, rdx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x74]
call qword [r10 + 0x40]
test eax, eax
je 0x18000ff22
sub eax, 1
jne 0x18000ff9b
jmp 0x18000ff26
mov byte [rdi + 0x71], 0
lea rax, [rsp + 0x40]
mov r10, qword [rsp + 0x40]
mov r9, qword [rsp + 0x58]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rsp + 0x38]
sub rbx, rax
je 0x18000ff77
lea rcx, [rsp + 0x40]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
call fcn.18009da5c
cmp rbx, rax
jne 0x18000ffa0
mov r9, qword [rsp + 0x58]
mov r10, qword [rsp + 0x40]
cmp byte [rdi + 0x71], 0
je 0x18000ffa4
test rbx, rbx
jne 0x18000fee0
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rsp + 0x40]
call fcn.18000ad90
jmp 0x18000fed6
sub eax, 2
je 0x18000ffa4
xor bl, bl
jmp 0x18000ffa6
mov bl, 1
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.180004390
movzx eax, bl
jmp 0x18000ffbc
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180077fb0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x180010b10
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800ff278]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r9, rdx
mov byte [rsp + 0x20], cl
mov edx, 1
lea rcx, [rsp + 0x20]
mov r8d, edx
call fcn.18009da5c
cmp rax, 1
sete al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180077fb0
add rsp, 0x38
ret
Function at 0x180016f00
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1800ff278]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x30], 0
mov rbx, rcx
mov rdi, qword [rcx]
mov esi, 5
je 0x180016f37
sub rdi, rsi
mov esi, 7
lea r9, [rsp + 0x2c]
mov r8d, 0x40
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180016f59
mov eax, 0xa
jmp 0x180016faf
mov eax, dword [rbx + 0x18]
sub eax, edi
mov byte [rsp + 0x24], 0xe9
sub eax, 5
mov dword [rsp + 0x25], eax
mov eax, dword [rsp + 0x24]
mov dword [rdi], eax
movzx eax, byte [rsp + 0x28]
mov byte [rdi + 4], al
cmp byte [rbx + 0x30], 0
je 0x180016f91
mov r8, qword [rbx]
mov word [rsp + 0x20], 0xf9eb
movzx eax, word [rsp + 0x20]
mov word [r8], ax
mov r8d, dword [rsp + 0x2c]
lea r9, [rsp + 0x2c]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov word [rbx + 0x31], 0x101
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180077fb0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x180018310
Capabilities:
Enumerate threads

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rax, qword [0x1800ff278]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x1800183b7
mov dword [rsp + 0x28], Ordinal_30
xor eax, eax
mov qword [rsp + 0x2c], rax
mov qword [rsp + 0x34], rax
mov qword [rsp + 0x3c], rax
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800183b7
nop word [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x34], eax
jne 0x1800183a5
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x30], eax
je 0x1800183a5
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1800185a0
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180018380
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180077fb0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1800183e0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x500
mov rax, qword [0x1800ff278]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rsi, qword [rcx + 8]
xor edi, edi
sub rsi, qword [rcx]
mov r15, r8
sar rsi, 2
mov r14, rdx
mov rbp, rcx
test rsi, rsi
je 0x1800184f0
mov qword [rsp + 0x528], rbx
nop
mov rax, qword [rbp]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x4d0
call fcn.180098a80
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x50], 0x100001
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1800184df
mov rax, qword [r14]
xor ecx, ecx
mov rdx, qword [r14 + 8]
sub rdx, rax
sar rdx, 3
test rdx, rdx
je 0x1800184c8
mov r8, qword [rsp + 0x118]
cmp r8, qword [rax]
je 0x1800184ab
inc rcx
add rax, 8
cmp rcx, rdx
jb 0x180018498
jmp 0x1800184c8
mov rax, qword [r15]
lea rdx, [rsp + 0x20]
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x118], rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc rdi
cmp rdi, rsi
jb 0x180018430
jmp 0x1800184e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x528]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.180077fb0
lea r11, [rsp + 0x500]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x180018520
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, qword [rcx + 8]
xor edi, edi
sub rsi, qword [rcx]
mov r14, rcx
sar rsi, 2
test rsi, rsi
je 0x180018584
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rax, qword [r14]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc rdi
cmp rdi, rsi
jb 0x180018550
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180019a60
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1800ff278]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp + 0x17], rdx
xor esi, esi
mov dword [rbp - 5], esi
mov qword [r11 - 0x78], rsi
lea rax, [rbp + 0xf]
mov qword [r11 - 0x80], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWARESoapboxRotationsWoW
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x180019b01
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.180004390
xor r8d, r8d
lea rdx, [0x1800e2695]
mov rcx, rdi
call fcn.1800044e0
jmp 0x180019bfa
mov dword [rbp + 0x1f], esi
mov dword [rbp + 7], 0xffffffff
cmp qword [rbx + 0x18], 0x10
jb 0x180019b17
mov rdx, qword [rbx]
jmp 0x180019b1a
mov rdx, rbx
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x1f]
xor r8d, r8d
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x180019b5b
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x1800e2695]
mov rcx, rdi
call fcn.1800034b0
jmp 0x180019bfa
mov eax, dword [rbp + 7]
cmp dword [rbp + 0x1f], 1
je 0x180019b68
test eax, eax
jne 0x180019b3d
xor ecx, ecx
mov qword [rbp + 0x27], rcx
mov qword [rbp + 0x2f], rcx
mov qword [rbp + 0x37], rcx
lea edx, [rax + 1]
lea rcx, [rbp + 0x27]
call fcn.180019f90
nop
cmp qword [rbx + 0x18], 0x10
jb 0x180019b8f
mov rdx, qword [rbx]
jmp 0x180019b92
mov rdx, rbx
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x27]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1f]
xor r8d, r8d
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0xf]
test eax, eax
je 0x180019bcc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x1800e2695]
jmp 0x180019be7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rbp - 9], 0
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x27]
call fcn.180019f00
mov rdx, qword [rbp + 0x27]
mov rcx, rdi
call fcn.1800034b0
nop
lea rcx, [rbp + 0x27]
call fcn.18000cf10
nop
xor r8d, r8d
mov dl, 1
mov rcx, rbx
call fcn.180004390
mov rax, rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.180077fb0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x180019c30
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xa0
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rdi
mov rax, qword [0x1800ff278]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rdx
mov qword [rbp + 0x27], rdx
xor edi, edi
mov dword [rbp + 0xb], edi
mov qword [r11 - 0x68], rdi
lea rax, [rbp + 0x1f]
mov qword [r11 - 0x70], rax
mov qword [r11 - 0x78], rdi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWARESoapboxRotationsLauncher
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x180019cdd
mov qword [0x180473a48], rdi
mov qword [0x180473a50], rdi
xor r8d, r8d
xor edx, edx
lea rcx, [0x180473a38]
call fcn.180004390
xor r8d, r8d
lea rdx, [0x1800e2695]
lea rcx, [0x180473a38]
call fcn.1800044e0
jmp 0x180019dde
mov dword [rbp + 0x2f], edi
mov dword [rbp + 0x17], 0xffffffff
cmp qword [rbx + 0x18], 0x10
jb 0x180019cf3
mov rdx, qword [rbx]
jmp 0x180019cf6
mov rdx, rbx
lea rax, [rbp + 0x17]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x2f]
xor r8d, r8d
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x180019d3b
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x1800e2695]
lea rcx, [0x180473a38]
call fcn.1800034b0
jmp 0x180019dde
mov eax, dword [rbp + 0x17]
cmp dword [rbp + 0x2f], 1
je 0x180019d48
test eax, eax
jne 0x180019d19
xor ecx, ecx
mov qword [rbp + 0x37], rcx
mov qword [rbp + 0x3f], rcx
mov qword [rbp + 0x47], rcx
lea edx, [rax + 1]
lea rcx, [rbp + 0x37]
call fcn.180019f90
nop
cmp qword [rbx + 0x18], 0x10
jb 0x180019d6f
mov rdx, qword [rbx]
jmp 0x180019d72
mov rdx, rbx
lea rax, [rbp + 0x17]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x37]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x2f]
xor r8d, r8d
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x1f]
test eax, eax
je 0x180019dac
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x1800e2695]
jmp 0x180019dc7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rbp + 7], 0
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x37]
call fcn.180019f00
mov rdx, qword [rbp + 0x37]
lea rcx, [0x180473a38]
call fcn.1800034b0
nop
lea rcx, [rbp + 0x37]
call fcn.18000cf10
nop
xor r8d, r8d
mov dl, 1
mov rcx, rbx
call fcn.180004390
lea rax, [0x180473a38]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.180077fb0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180019e20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1800ff278]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
lea rax, [rsp + 0x50]
xor ecx, ecx
mov rbx, rdx
mov qword [rsp + 0x40], rcx
lea rdx, str.SOFTWARESoapboxRotationsWoW
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x180019ec9
cmp qword [rbx + 0x18], 0x10
mov rcx, qword [rbx + 0x10]
jb 0x180019e8f
mov rax, qword [rbx]
jmp 0x180019e92
mov rax, rbx
cmp qword [rdi + 0x18], 0x10
jb 0x180019e9e
mov rdx, qword [rdi]
jmp 0x180019ea1
mov rdx, rdi
mov dword [rsp + 0x28], ecx
mov r9d, 1
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r8d, r8d
mov dl, 1
mov rcx, rdi
call fcn.180004390
xor r8d, r8d
mov dl, 1
mov rcx, rbx
call fcn.180004390
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180077fb0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x18001a4d0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x1800ff278]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x18001a531
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x18001a52b
shr ax, 8
cmp al, 2
jne 0x18001a52b
call fcn.18001f800
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.180077fb0
add rsp, 0x1d8
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.180077fb0
add rsp, 0x1d8
ret

Function at 0x1800206f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [rcx + 4], 2
mov rax, rdx
je 0x1800206fc
xor eax, eax
ret
mov rdx, qword [rcx + 0x20]
mov r9, r8
add rdx, 4
mov r8, rax
mov ecx, 2
jmp fcn.180034ed0

Function at 0x180021450
Capabilities:
Generate random numbers via winapi

Disassembly:
mov rcx, rdx
mov rdx, r8
jmp 0x180035090
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov qword [rsp + 0x50], 0
mov rdi, rcx
mov dword [rsp + 0x20], 0xf0000040
xor edx, edx
lea rcx, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1800350ec
mov rcx, qword [rsp + 0x50]
mov r8, rdi
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x50]
xor edx, edx
test eax, eax
jne 0x1800350fc
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret