joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180017bd0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x180017c2d
lea rbx, [0x1801a7950]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180017c14
cmp r10, 2
jb 0x180017c14
cmp byte [r9], r8b
jne 0x180017c14
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180017bf0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180017c6f
lea rbx, [0x1801a7950]
cmp r8b, 0x23
jne 0x180017c53
cmp byte [r9], r8b
jne 0x180017c53
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180017c40
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180017db0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180017dca
mov qword [r8], 0
lea rdx, [0x1801a74dc]
call fcn.180017c80
mov rbx, rax
test rax, rax
jne 0x180017dea
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.18015b4a0
mov esi, eax
cmp eax, 0xffffffff
je 0x180017eca
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.18015bee4
test eax, eax
jne 0x180017eca
mov rcx, rbx
call fcn.18015b4a0
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180017eca
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.18015bee4
test eax, eax
jne 0x180017eca
cmp rdi, 0xffffffffffffffff
je 0x180017eca
mov rax, qword [0x1801eab28]
test rax, rax
je 0x180017e5e
inc dword [rax + 0xf4]
mov rdx, qword [0x1801eab30]
mov rcx, rdi
call fcn.180017000
mov rsi, rax
test rax, rax
je 0x180017eca
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.180162f68
mov rcx, rbx
cmp rax, rdi
je 0x180017eb8
call fcn.18015bbec
mov rax, qword [0x1801eab28]
test rax, rax
je 0x180017ea7
dec dword [rax + 0xf4]
mov rdx, qword [0x1801eab30]
mov rcx, rsi
call fcn.180017010
jmp 0x180017ed2
call fcn.18015bbec
test r14, r14
je 0x180017ec5
mov qword [r14], rdi
mov rax, rsi
jmp 0x180017ed4
mov rcx, rbx
call fcn.18015bbec
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18001a7b0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1801a7950]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1801eab28]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ef8], ebx
jne 0x18001a846
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.18002e300
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x18001a850
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf0]
lea r9, [0x1801a7950]
movss xmm2, dword [rcx + 0x108]
movss xmm3, dword [rcx + 0x10c]
movsxd rcx, dword [rcx + 0xe8]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x1800277c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1801d01d0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1801eab28]
mov edi, ecx
cmp byte [rbx + 0x4a3d], 0
jne 0x180027821
cmp byte [rbx + 0x4a3e], 0
jne 0x180027821
movsx r9d, word [rbx + 0x5b3a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.180017a60
test dil, 1
je 0x180027948
jmp 0x1800278aa
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b3a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1801b20c0]
mulss xmm1, dword [0x1801b209c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47a0], rax
mov dword [rbx + 0x478c], 1
movss dword [rbx + 0x4798], xmm0
movss dword [rbx + 0x479c], xmm1
movss xmm0, dword [rbx + 0x3904]
mulss xmm0, dword [0x1801b1f60]
or dword [rbx + 0x4788], 0x41
movss dword [rbx + 0x47e8], xmm0
call fcn.180017a60
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180027900
lea r11, [0x1801a7950]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1800278e3
cmp byte [r8], r9b
jne 0x1800278e3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1800278d0
not ecx
call fcn.18001e670
test rax, rax
je 0x180027948
cmp byte [rax + 0xae], 0
je 0x180027948
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b3a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b3a]
call fcn.180017a60
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180020ea0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1801455c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18002d230
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1801eab28]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18002d293
mov qword [rsp], rbx
lea rbx, [0x1801a7950]
nop dword [rax]
cmp r9b, 0x23
jne 0x18002d273
cmp byte [r8], r9b
jne 0x18002d273
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18002d260
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b98]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18002d2c7
mov r10, qword [r10 + 0x5ba0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18002d2ce
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18002d2b4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x18003f9a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.180024070
cmp byte [rax], 0
je 0x18003fa0f
xor edx, edx
mov ecx, 0x210
call fcn.1800263f0
test al, al
je 0x18003fa0f
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18003fa0f
mov rbx, qword [0x1801eab28]
cmp byte [rbx + 0x37a9], 0
je 0x18003f9fb
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.1800175b0
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov ecx, 0x214
call fcn.180024070
cmp byte [rax], 0
je 0x18003fa78
xor edx, edx
mov ecx, 0x214
call fcn.1800263f0
test al, al
je 0x18003fa78
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18003fa78
mov rbx, qword [0x1801eab28]
cmp byte [rbx + 0x37a9], 0
je 0x18003fa64
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.1800175b0
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov ecx, 0x212
call fcn.180024070
cmp byte [rax], 0
je 0x18003fae1
xor edx, edx
mov ecx, 0x212
call fcn.1800263f0
test al, al
je 0x18003fae1
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18003fae1
mov rbx, qword [0x1801eab28]
cmp byte [rbx + 0x37a9], 0
je 0x18003facd
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.1800175b0
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov ecx, 0x216
call fcn.180024070
cmp byte [rax], 0
je 0x18003fb4a
xor edx, edx
mov ecx, 0x216
call fcn.1800263f0
test al, al
je 0x18003fb4a
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18003fb4a
mov rbx, qword [0x1801eab28]
cmp byte [rbx + 0x37a9], 0
je 0x18003fb36
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.1800175b0
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x180052180
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1801d01d0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
cmp rdi, 0x40000000
jbe 0x1800521cd
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1801f3980]
lea r15, [rdi + 0x40000000]
cmp qword [rsp + 0x60], r15
cmovbe r15, qword [rsp + 0x60]
sub r15, 0xfff
test rsi, rsi
je 0x18005220f
cmp rsi, r14
jb 0x180052207
cmp rsi, r15
jae 0x180052207
cmp qword [rsi + 8], 0
jne 0x1800523cd
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800521f2
mov qword [rsp + 0xb8], rbx
mov rbx, rdi
mov qword [rsp + 0xc0], rbp
cmp rdi, r14
jb 0x180052292
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180052289
nop word [rax + rax]
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180052289
cmp dword [rsp + 0x40], 0x10000
je 0x18005230b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180052289
sub rbx, rbp
cmp rbx, r14
jae 0x180052250
test rsi, rsi
jne 0x180052376
cmp rdi, r15
ja 0x1800523bd
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800523bd
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800523bd
cmp dword [rsp + 0x40], 0x10000
je 0x180052344
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800522c2
jmp 0x1800523bd
test rbx, rbx
je 0x180052289
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180052376
cmp rbx, r14
jae 0x180052230
jmp 0x180052292
test rdi, rdi
je 0x1800523bd
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180052376
cmp rdi, r15
jbe 0x1800522a0
jmp 0x1800523bd
xor eax, eax
lea rcx, [rsi + 0x40]
mov rdx, rcx
mov qword [rsi + 8], rax
sub rdx, rsi
mov dword [rsi + 0x10], eax
nop dword [rax]
mov rax, qword [rsi + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rsi + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x180052390
mov rax, qword [0x1801f3980]
mov qword [rsi], rax
mov qword [0x1801f3980], rsi
mov rbp, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1801455c0
mov rsi, qword [rsp + 0xc8]
add rsp, 0x90
pop r15
pop r14
pop rdi
ret
Function at 0x180052e30
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1801d01d0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180052f5b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_33
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180052f52
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180052f34
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180052f34
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180052f34
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180052ef2
mov rcx, qword [0x1801eab48]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180052f52
jmp 0x180052f27
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180052f27
mov rcx, qword [0x1801eab48]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180052f52
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_33
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180052ea0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180052fb3
cmp dword [rbx + 0xc], esi
jbe 0x180052fb3
nop word [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180052fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180052c80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180052f70
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1801455c0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180052fe0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1801d01d0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x1801f3970]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180053049
mov eax, 0xa
jmp 0x180053096
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180053065
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1801455c0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1800530c0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x1801f397c]
xor edi, edi
mov ebx, edi
test eax, eax
je 0x1800531d0
mov rcx, qword [0x1801f3970]
add rcx, 0x20
test byte [rcx], 2
je 0x180053103
inc ebx
add rcx, 0x38
cmp ebx, eax
jb 0x1800530e7
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x1800531d0
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.180052e30
mov edx, dword [0x1801f397c]
cmp ebx, edx
jae 0x18005315d
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1801f3970]
test byte [rcx + rax + 0x20], 2
jne 0x180053157
mov ecx, ebx
call fcn.180052fe0
mov edi, eax
test eax, eax
jne 0x18005315d
mov edx, dword [0x1801f397c]
inc ebx
cmp ebx, edx
jb 0x180053130
cmp qword [rsp + 0x20], 0
je 0x1800531d0
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800531bc
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800531a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180053180
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801eab48]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x180054e60
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180054f07
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180054f07
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180054f02
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180054ee0
cmp r8d, 0xe463da3c
je 0x180054f0c
test r9d, r9d
jne 0x180054ec0
mov rax, qword [rax]
jmp 0x180054e90
mov ecx, dword [rbx + 0x24]
mov edx, dword [rbx + 0x1c]
add rcx, r10
add rdx, r10
movzx r8d, word [rcx + r9*2]
xor ecx, ecx
mov r9d, dword [rdx + r8*4]
add r9, r10
call r9
mov rbx, qword [rsp + 0x38]
mov qword [rsi], rax
mov qword [rsi + 8], 0
movsxd rcx, dword [rax + 0x3c]
mov edx, dword [rcx + rax + 0x50]
mov rax, rsi
mov qword [rsi + 8], rdx
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180058dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1801d01d0]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rdi, rcx
mov dword [rbp - 0x70], 0x1a8
lea rcx, [rbp - 0x6c]
xor edx, edx
mov r8d, 0x1a4
call fcn.180148220
movdqa xmm0, xmmword [0x1801b2b10]
lea rcx, [rsp + 0x68]
xor esi, esi
mov dword [rsp + 0x40], 0x48093b2d
mov r9d, reloc.WS2_32.dll_sendto
mov qword [rsp + 0x68], rsi
mov edx, r9d
mov qword [rsp + 0x78], rsi
xor r8d, r8d
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], sil
call fcn.180015ec0
mov eax, esi
mov qword [rsp + 0x268], rbx
cmp rax, 0x14
jae 0x180058fd1
movzx edx, byte [rsp + rax + 0x30]
xor dl, 0x48
cmp qword [rsp + 0x78], rax
jbe 0x180058fcb
cmp qword [rbp - 0x80], 0x10
lea rcx, [rsp + 0x68]
cmovae rcx, qword [rsp + 0x68]
mov byte [rax + rcx], dl
inc rax
cmp rax, 0x14
jl 0x180058e59
cmp qword [rbp - 0x80], 0x10
lea rbx, [rsp + 0x68]
mov r9d, reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x30], 0x3a2d3b3d
cmovae rbx, qword [rsp + 0x68]
mov eax, ntohl
xor r8d, r8d
mov dword [rsp + 0x34], 0x2c667a7b
mov qword [rsp + 0x48], r8
mov rcx, rsi
mov dword [rsp + 0x50], r8d
mov word [rsp + 0x38], 0x2424
mov byte [rsp + 0x3a], 0x48
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x58], rax
nop
cmp rcx, 0xb
jae 0x180058fd7
movzx edx, byte [rsp + rcx + 0x30]
xor dl, 0x48
cmp rax, rcx
jbe 0x180058fcb
cmp r9, 0x10
lea rax, [rsp + 0x48]
cmovae rax, r8
mov byte [rax + rcx], dl
inc rcx
cmp rcx, 0xb
jge 0x180058f25
mov r9, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
mov r8, qword [rsp + 0x48]
jmp 0x180058ee0
cmp qword [rsp + 0x60], 0x10
lea rcx, [rsp + 0x48]
cmovae rcx, qword [rsp + 0x48]
call fcn.180056d40
mov rdx, rbx
mov rcx, rax
call fcn.180056eb0
lea rcx, [rsp + 0x48]
mov rbx, rax
call fcn.18000d1d0
lea rcx, [rsp + 0x68]
call fcn.18000d1d0
mov r9d, 1
lea r8, [rbp - 0x70]
xor edx, edx
xor ecx, ecx
call rbx
lea rax, [rbp - 0x4c]
mov qword [rdi], rsi
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
inc r8
cmp byte [rax + r8], sil
jne 0x180058f87
lea rdx, [rbp - 0x4c]
mov rcx, rdi
call fcn.18000d230
mov rbx, qword [rsp + 0x268]
mov rax, rdi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1801455c0
lea r11, [rsp + 0x250]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800c1f60
int3
call fcn.1800c1b00
int3
call fcn.1800c1b00
int3