joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004c440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test edx, edx
je 0x18004c241
mov ecx, edx
jmp 0x18004c28a
mov ecx, 1
call fcn.18004c340
mov rcx, rax
call fcn.18004c2b0
mov rcx, rax
mov rdx, rbx
call 0x18004c440
test rax, rax
jne 0x18004c2a7
mov ecx, 3
call fcn.18004c340
mov rcx, rax
call fcn.18004c2b0
mov rcx, rax
mov rdx, rbx
call 0x18004c440
test rax, rax
jne 0x18004c2a7
mov ecx, 2
call fcn.18004c340
mov rcx, rax
call fcn.18004c2b0
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x18004c440
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rbp, rdx
mov rsi, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r12d, dword [rdi + 0x1c]
mov r13d, dword [rdi + 0x24]
add r12, rcx
add r13, rcx
cmp rdx, 0xffff
ja 0x18004c49f
sub bp, word [rdi + 0x10]
movzx eax, bp
cmp eax, dword [rdi + 0x14]
jae 0x18004c4ca
movzx eax, bp
mov eax, dword [r12 + rax*4]
add rax, rcx
jmp 0x18004c4cc
mov r15d, dword [rdi + 0x20]
xor ebx, ebx
add r15, rsi
cmp dword [rdi + 0x18], ebx
jbe 0x18004c4ca
nop dword [rax]
mov edx, dword [r15 + rbx*4]
mov rcx, rbp
add rdx, rsi
call 0x18005b7d0
test eax, eax
je 0x18004c4e9
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x18004c4b0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, word [r13 + rbx*2]
mov eax, dword [r12 + rax*4]
add rax, rsi
jmp 0x18004c4cc

Function at 0x18004c500
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rax, qword [rax + 0x10]
test rax, rax
je 0x18004c544
nop word [rax + rax]
cmp qword [rax + 0x30], rcx
je 0x18004c52f
mov rax, qword [rax]
test rax, rax
jne 0x18004c520
ret
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
mov qword [rdx], rcx
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
ret

Function at 0x18004e020
Capabilities:
Check for software breakpoints

Disassembly:
sub rsp, 8
movzx r11d, byte [rcx]
xor r10d, r10d
mov r8d, r10d
mov r9d, r10d
cmp r11b, 0xcc
je 0x18004e064
mov qword [rsp], rbx
mov ebx, r10d
nop
cmp r11b, byte [rbx + rdx]
lea eax, [r8 + 1]
cmovne eax, r8d
inc r9d
mov r8d, eax
mov ebx, r9d
movzx r11d, byte [r9 + rcx]
cmp r11b, 0xcc
jne 0x18004e040
mov rbx, qword [rsp]
cmp r8d, r9d
sete r10b
mov eax, r10d
add rsp, 8
ret

Function at 0x180053cb0
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, dl
xor eax, ecx
imul eax, eax, 0x1000193
ret
Function at 0x180085870
Capabilities:
Check for time delay via queryperformancecounter
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov edx, dword [0x1800b9350]
mov rax, qword gs:[0x58]
mov esi, 0x28
mov rbx, qword [rax + rdx*8]
mov eax, dword [rbx + rsi]
cmp dword [0x1800ba508], eax
jg 0x180085970
mov eax, dword [rbx + rsi]
cmp dword [0x1800ba510], eax
jg 0x1800859c3
cmp byte [0x1800ba50c], 0
je 0x1800858f4
mov eax, dword [rbx + rsi]
cmp dword [0x1800ba520], eax
jg 0x180085931
lea rdx, [0x1800ba518]
lea rcx, [rsp + 0x38]
call fcn.180030160
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x38]
call fcn.180030180
jmp 0x1800858ff
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x30]
mulsd xmm0, qword [0x1800ba500]
cvttsd2si rdx, xmm0
mov rcx, rdi
call fcn.180008c80
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1800ba520]
call fcn.18005c1e4
cmp dword [0x1800ba520], 0xffffffff
jne 0x1800858cc
lea rcx, [0x1800ba518]
call fcn.1800300d0
lea rcx, [0x180089120]
call fcn.18005c124
nop
lea rcx, [0x1800ba520]
call fcn.18005c178
jmp 0x1800858cc
lea rcx, [0x1800ba508]
call fcn.18005c1e4
cmp dword [0x1800ba508], 0xffffffff
jne 0x1800858a9
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x38]
movsd xmm1, qword [0x1800a2788]
divsd xmm1, xmm0
movsd qword [0x1800ba500], xmm1
lea rcx, [0x1800ba508]
call fcn.18005c178
jmp 0x1800858a9
lea rcx, [0x1800ba510]
call fcn.18005c1e4
cmp dword [0x1800ba510], 0xffffffff
jne 0x1800858b8
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
setb byte [0x1800ba50c]
lea rcx, [0x1800ba510]
call fcn.18005c178
jmp 0x1800858b8

Function at 0x180085b40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180085b68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180085b68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001c50
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x48
cmp dword [0x1400106d0], 0
je 0x140001c67
mov eax, 1
add rsp, 0x48
ret
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x140001e6a
nop word [rax + rax]
mov r10, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
test ecx, ecx
je 0x140001ccd
lea rdx, [r10 + rcx]
mov ecx, dword [r10 + rcx + 0xc]
mov eax, dword [rcx + r10]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x140001ccd
mov eax, dword [rcx + r10 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x140001cd9
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x140001c90
test rdx, rdx
je 0x140001e6a
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov ebp, dword [rdx + 0x20]
mov qword [rsp + 0x60], rsi
add rbp, r10
mov esi, dword [rdx + 0x18]
mov qword [rsp + 0x38], r12
lea r12, [0x1400106d0]
mov qword [rsp + 0x30], r13
mov r13d, 0x775a
mov qword [rsp + 0x28], r14
mov r14d, dword [rdx + 0x1c]
mov qword [rsp + 0x20], r15
add r14, r10
mov r15d, dword [rdx + 0x24]
add r15, r10
mov qword [rsp + 0x40], rdi
xor ebx, ebx
lea eax, [rsi - 1]
mov r9d, dword [rbp + rax*4]
mov esi, eax
add r9, r10
mov r11d, eax
cmp word [r9], r13w
jne 0x140001e18
xor r8d, r8d
mov edx, 0xace890f3
mov rax, r9
nop word [rax + rax]
movzx eax, word [rax]
mov ecx, edx
ror ecx, 8
inc r8d
add ecx, eax
mov eax, r8d
add rax, r9
xor edx, ecx
cmp byte [rax], 0
jne 0x140001d60
mov edi, ebx
add rdi, rdi
mov dword [r12 + rdi*8 + 8], edx
movzx eax, word [r15 + r11*2]
mov ecx, dword [r14 + rax*4]
mov dword [r12 + rdi*8 + 0xc], ecx
add rcx, r10
movzx r9d, byte [rcx + 0x12]
lea rax, [rcx + 0x12]
cmp r9b, 0xf
jne 0x140001db0
cmp byte [rax + 1], 5
jne 0x140001db0
cmp byte [rax + 2], 0xc3
je 0x140001e09
mov edx, 1
nop word [rax + rax]
mov eax, edx
shl eax, 5
mov r8d, eax
add rax, 0x12
add rax, rcx
cmp r9b, 0xf
jne 0x140001de1
cmp byte [rcx + 0x13], 5
jne 0x140001de1
cmp byte [rcx + 0x14], 0xc3
je 0x140001e09
mov rax, rcx
sub rax, r8
add rax, 0x12
cmp r9b, 0xf
jne 0x140001dfd
cmp byte [rcx + 0x13], 5
jne 0x140001dfd
cmp byte [rcx + 0x14], 0xc3
je 0x140001e09
inc edx
cmp edx, 0x200
jb 0x140001dc0
xor eax, eax
inc ebx
mov qword [r12 + rdi*8 + 0x10], rax
cmp ebx, 0x258
je 0x140001e20
test esi, esi
jne 0x140001d30
lea r8d, [rbx - 1]
mov dword [0x1400106d0], ebx
xor edx, edx
lea rcx, [0x1400106d8]
call fcn.140001b60
mov r15, qword [rsp + 0x20]
mov eax, 1
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x48
ret
xor eax, eax
add rsp, 0x48
ret
Function at 0x14000d20c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d256
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d256
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d256
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d256
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d256
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000d258
xor al, al
add rsp, 0x28
ret
Function at 0x140011082
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140011990
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x1d8], rax
lea rcx, [0x140028012]
call fcn.140011456
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x208]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x208]
movzx ecx, byte [rdx + rcx]
add eax, ecx
mov dword [rbp + 4], eax
mov eax, 4
imul rax, rax, 0
mov dword [rbp + rax + 0x28], 3
mov eax, 4
imul rax, rax, 1
mov ecx, dword [rbp + 4]
mov dword [rbp + rax + 0x28], ecx
mov dword [rbp + 0x44], 0xffffffff
mov dword [rbp + 0x64], 0
jmp 0x140011a4e
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 2
jge 0x140011ae8
movsxd rax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x208]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x140011ae3
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
imul eax, dword [rbp + 0x64], 3
cdqe
imul ecx, dword [rbp + 0x44], 3
movsxd rcx, ecx
mov rdx, qword [rbp + 0x200]
movsd xmm0, qword [rdx + rax*8]
movsd qword [rbp + rcx*8 + 0x88], xmm0
imul eax, dword [rbp + 0x64], 3
inc eax
cdqe
imul ecx, dword [rbp + 0x44], 3
inc ecx
movsxd rcx, ecx
mov rdx, qword [rbp + 0x200]
movsd xmm0, qword [rdx + rax*8]
movsd qword [rbp + rcx*8 + 0x88], xmm0
imul eax, dword [rbp + 0x64], 3
add eax, 2
cdqe
imul ecx, dword [rbp + 0x44], 3
add ecx, 2
movsxd rcx, ecx
mov rdx, qword [rbp + 0x200]
movsd xmm0, qword [rdx + rax*8]
movsd qword [rbp + rcx*8 + 0x88], xmm0
jmp 0x140011a46
cmp dword [rbp + 4], 0
je 0x140011b18
lea rax, [rbp + 0x104]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xd8]
mov r8, qword [rbp + 0x210]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x88]
call fcn.1400112c1
mov dword [rbp + 4], 0xffffffff
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x208]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x140011b67
mov dword [rbp + 4], 0
mov eax, 8
imul rax, rax, 0
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x218]
movsd xmm0, qword [rbp + rax + 0xd8]
movsd qword [rdx + rcx], xmm0
jmp 0x140011b7f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x218]
xorps xmm0, xmm0
movsd qword [rcx + rax], xmm0
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x208]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x140011bc3
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
movsxd rax, dword [rbp + 4]
mov ecx, 8
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x218]
movsd xmm0, qword [rbp + rax*8 + 0xd8]
movsd qword [rdx + rcx], xmm0
jmp 0x140011bdb
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x218]
xorps xmm0, xmm0
movsd qword [rcx + rax], xmm0
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ecf0]
call fcn.1400113e3
mov rcx, qword [rbp + 0x1d8]
xor rcx, rbp
call fcn.140011230
lea rsp, [rbp + 0x1e8]
pop rdi
pop rbp
ret
Function at 0x140011285
Capabilities:
Terminate process

Disassembly:
jmp 0x1400166d0
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 0x140011334
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400189e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018a00
xor al, al
jmp 0x140018a81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018a13
xor al, al
jmp 0x140018a81
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 0x140018a3d
xor al, al
jmp 0x140018a81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018a51
xor al, al
jmp 0x140018a81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018a63
xor al, al
jmp 0x140018a81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140018a7f
xor al, al
jmp 0x140018a81
mov al, 1
add rsp, 0x38
ret
Function at 0x7ff78c5dce14
Capabilities:
Encode data using xor

Disassembly:
movabs rax, 0x8000000000000
or rcx, rax
mov qword [rsp + 8], rcx
movsd xmm0, qword [rsp + 8]
ret
mov eax, 0xdeac
cmp ecx, eax
ja 0x7ff78c5dce6c
je 0x7ff78c5dce63
mov eax, 0xc433
cmp ecx, eax
ja 0x7ff78c5dce47
je 0x7ff78c5dce63
mov eax, ecx
sub eax, 0x2a
je 0x7ff78c5dce63
sub eax, 0xc402
je 0x7ff78c5dce63
sub eax, 1
je 0x7ff78c5dce63
sub eax, 1
je 0x7ff78c5dce63
cmp eax, 3
jmp 0x7ff78c5dce61
mov eax, ecx
sub eax, 0xc435
je 0x7ff78c5dce63
sub eax, 0x1263
je 0x7ff78c5dce9f
sub eax, 0x812
je 0x7ff78c5dce63
cmp eax, 1
jne 0x7ff78c5dce65
xor edx, edx
call 0x7ff78c7dfadd
jne 0x7ff78c5dcdf8
mov eax, ecx
sub eax, 0xdead
je 0x7ff78c5dce63
shr dword [0x7ff78c5ead21], 0x74
out dx, al
sub eax, 1
je 0x7ff78c5dce63
sub eax, 1
je 0x7ff78c5dce63
sub eax, 1
je 0x7ff78c5dce63
sub eax, 1
je 0x7ff78c5dce63
sub eax, 1
je 0x7ff78c5dce63
sub eax, 1
je 0x7ff78c5dce63
sub eax, 0x1f35
je 0x7ff78c5dce63
cmp eax, 1
jne 0x7ff78c5dce65
and edx, 8
jmp 0x7ff78c5dce65

Function at 0x7ff78c5e4570
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x7ff78c5e4598
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x7ff78c5e4598
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140029b84
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.14001d124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029cd4
cmp rax, 0xffffffffffffffff
je 0x140029cd4
xor edi, edi
test rbp, rbp
jle 0x140029c7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fda4
mov rbx, rax
test rax, rax
jne 0x140029c0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c75
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aac0
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.14001de00
cmp eax, 0xffffffff
je 0x140029c55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c1c
mov edx, r15d
mov ecx, r14d
call fcn.14001aac0
jmp 0x140029c75
cmp byte [rsi + 0x38], dil
je 0x140029c6c
cmp dword [rsi + 0x34], 5
jne 0x140029c6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b404
jmp 0x140029ce8
jns 0x140029ce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d124
cmp rax, 0xffffffffffffffff
jne 0x140029ca0
cmp byte [rsi + 0x30], dil
je 0x140029ce8
mov edi, dword [rsi + 0x2c]
jmp 0x140029ce8
mov ecx, r14d
call fcn.1400195f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029ce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ce1
mov eax, dword [rsi + 0x2c]
jmp 0x140029ce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d124
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 0x14002ade0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ae08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ae08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140002550
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000259a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000259a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000259a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000259a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000259a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000259c
xor al, al
add rsp, 0x28
ret
Function at 0x18000d1a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov r10, qword [rcx]
test r10, r10
je 0x18000d221
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x18000d221
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x18000d23a
cmp eax, 0x42
jne 0x18000d221
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
cmp rsi, r11
jae 0x18000d2ec
cmp byte [r10 + rsi], 0x5f
jne 0x18000d2ec
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x18000d36b
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x18000d3c8
mov sil, 1
xor r9d, r9d
jmp 0x18000d370
xor edx, edx
call fcn.180008a60
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.180008a60
test al, al
jne 0x18000d3ae
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18000d279
lea rdx, [0x180053f74]
mov r8d, 1
call fcn.180003930
mov rdx, rbx
test al, al
jne 0x18000d3ae
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x18000d22d
xor r14d, r14d
lea rdi, [0x1800542c9]
nop
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x18000d2a4
cmp byte [rax + rcx], 0x45
je 0x18000d401
sub r14, 1
jb 0x18000d2cc
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x18000d2cc
mov r8d, 2
mov rdx, rdi
call fcn.180003930
mov rdx, rbx
test al, al
jne 0x18000d3ae
mov rcx, rdx
call fcn.18000a270
test al, al
jne 0x18000d3ae
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x18000d290
jmp 0x18000d22d
xor eax, eax
mov edi, 0x3e
nop word cs:[rax + rax]
mov r9b, 1
cmp rsi, r11
jae 0x18000d36e
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x18000d352
lea r14d, [rdx - 0x30]
cmp r14b, 0xa
jb 0x18000d33b
lea r14d, [rdx - 0x61]
cmp r14b, 0x1a
jae 0x18000d32b
add dl, 0xa9
jmp 0x18000d338
lea r14d, [rdx - 0x41]
cmp r14b, 0x1a
jae 0x18000d36e
add dl, 0xe3
mov r14d, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul rdi
jo 0x18000d36e
movzx edx, r14b
add rax, rdx
jae 0x18000d300
jmp 0x18000d36e
inc rsi
mov qword [rcx + 0x10], rsi
cmp rax, 0xffffffffffffffff
je 0x18000d36e
inc rax
cmp rax, r8
jb 0x18000d205
mov r9b, 1
xor esi, esi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x18000d3b6
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x1800542a8]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.180003930
mov rcx, rbx
test al, al
je 0x18000d3b6
mov sil, 2
jmp 0x18000d22d
mov qword [rcx], 0
mov byte [rcx + 8], sil
xor esi, esi
jmp 0x18000d22d
cmp qword [rcx + 0x20], 0
je 0x18000d3c1
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
call fcn.18000d1a0
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x18000d22f
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x18000d22d
Function at 0x180010930
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [0x180036070]
test esi, esi
je 0x1800109d3
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1800109ca
je 0x180010979
test rdi, rdi
je 0x18001097d
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x18001097f
mov rbx, qword [rdi + 8]
jmp 0x18001097f
xor eax, eax
jmp 0x1800109ca
xor ebx, ebx
movzx eax, byte [0x18005c020]
mov ecx, 0x10
call fcn.180031070
test rax, rax
je 0x1800109e6
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x1800109c7
mov edx, 8
mov rcx, rdi
call fcn.1800069a0
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x180036058]
call fcn.180010c50
mov esi, eax
jmp 0x180010950
mov ecx, 8
mov edx, 0x10
call fcn.180002bc0
int3

Function at 0x180010a00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov esi, dword [0x180036090]
test esi, esi
je 0x180010a9e
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x180010a95
je 0x180010a93
movzx eax, byte [0x18005c020]
mov ecx, 0x10
call fcn.180031070
test rax, rax
je 0x180010ab1
mov qword [rax], 0
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x180010a8e
mov rax, qword [rdi]
test rax, rax
je 0x180010a81
lock dec qword [rax]
jne 0x180010a81
mov rcx, qword [rdi]
call fcn.18000fb50
mov edx, 8
mov rcx, rdi
call fcn.1800069a0
mov rax, rsi
jmp 0x180010a95
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x180036078]
call fcn.180010c50
mov esi, eax
jmp 0x180010a1d
mov ecx, 8
mov edx, 0x10
call fcn.180002bc0
int3