joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002c84
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140126a60
jmp 0x1400f554c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140002261
mov rdx, rbx
mov rcx, rdi
lea r8, [rax + 0x30]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14000234c
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14016fb98]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r10d, r10d
mov rdi, r8
mov eax, r10d
mov r11, rdx
cmp rax, 0x20
mov r9, rcx
jae 0x140126b79
mov byte [rsp + rax + 0x20], r10b
inc rax
cmp rax, 0x20
jl 0x140126a8c
movzx r8d, byte [r11]
inc r11
mov edx, r8d
mov eax, r8d
shr rdx, 3
and eax, 7
movzx ecx, byte [rsp + rdx + 0x20]
bts ecx, eax
mov byte [rsp + rdx + 0x20], cl
test r8b, r8b
jne 0x140126aa0
test r9, r9
jne 0x140126acd
mov r9, qword [rdi]
movzx r8d, byte [r9]
mov edx, 1
mov ecx, r8d
mov rbx, r9
and ecx, 7
shr r8, 3
shl edx, cl
test byte [rsp + r8 + 0x20], dl
je 0x140126b1d
mov r11, r9
mov rbx, r11
cmp byte [r9], r10b
je 0x140126b1d
lea r9, [r11 + 1]
mov edx, 1
movzx r8d, byte [r9]
mov r11, r9
mov ecx, r8d
mov rbx, r9
and ecx, 7
shr r8, 3
shl edx, cl
test byte [rsp + r8 + 0x20], dl
jne 0x140126aef
mov r11, rbx
cmp byte [r9], r10b
je 0x140126b54
movzx r8d, byte [r11]
mov edx, 1
mov ecx, r8d
inc r11
and ecx, 7
shr r8, 3
shl edx, cl
test byte [rsp + r8 + 0x20], dl
jne 0x140126b4e
mov r9, r11
cmp byte [r11], r10b
jne 0x140126b25
jmp 0x140126b54
mov byte [r9], r10b
mov r9, r11
cmp r11, rbx
mov qword [rdi], r9
cmovne r10, rbx
mov rax, r10
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140003bcf
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.140001c4e
int3
Function at 0x140002d8d
Capabilities:
Terminate process

Disassembly:
jmp 0x1400d7670
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140002e3c
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400d9ff4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x140152890]
mov ecx, 4
lea r8, [0x140152888]
lea rdx, [0x140152898]
call fcn.1400d98ac
mov rbx, rax
test rax, rax
je 0x1400da037
mov rcx, rax
call fcn.1400025b3
mov rcx, rdi
call rbx
jmp 0x1400da03d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140002eb4
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400beb70
push rdi
sub rsp, 0x150
xor edi, edi
mov rax, qword [0x14016fb98]
mov edx, 0x100
xor rax, rsp
pxor xmm0, xmm0
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x140], edi
mov byte [rsp + 0x144], dil
movups xmmword [rsp + rdx + 0x30], xmm0
movups xmmword [rsp + rdx + 0x20], xmm0
movups xmmword [rsp + rdx + 0x10], xmm0
movups xmmword [rsp + rdx], xmm0
sub rdx, 0x40
jne 0x1400bebad
cmp qword [0x14018f720], 0
je 0x1400beda2
lea rcx, [0x14018f720]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x14016fbe0], 0xffffffffffffffff
je 0x1400bed72
lea rcx, str.SYSTEMROOT
lea rdx, [rsp + 0x40]
mov r8d, 0x105
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1400bec21
mov edx, 0x105
lea rcx, [rsp + 0x40]
lea r8, str._system32_
call fcn.140003305
mov edx, 0x105
lea rcx, [rsp + 0x40]
lea r8, str.msvcrt.dll
call fcn.140003305
mov ecx, 1
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
cmp qword [rsp + 0x38], 0
je 0x1400bed4a
mov edx, 1
mov eax, 0x10
mov qword [rsp + 0x30], rbx
mov rbx, rax
mov qword [rsp + 0x28], rsi
mov rsi, rdx
mov qword [rsp + 0x20], r12
lea r12, [0x140000000]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [r12 + rbx + 0x16fbe8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400becf7
mov qword [r12 + rbx + 0x16fbe0], rax
inc rsi
add rbx, 0x10
cmp rsi, 0x32
jl 0x1400bec7e
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov r12, qword [rsp + 0x20]
lea rcx, [0x14018f720]
mov qword [0x14016fbe0], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
cmp rcx, qword [0x14016fb98]
jne 0x1400becf1
mov eax, edi
add rsp, 0x150
pop rdi
ret
call fcn.140003bcf
nop
mov rcx, qword [r12 + rbx + 0x16fbe0]
test rcx, rcx
je 0x1400bed22
cmp rcx, rsi
jge 0x1400bec9e
shl rcx, 4
mov rcx, qword [r12 + rcx + 0x16fbe0]
mov qword [r12 + rbx + 0x16fbe0], rcx
jmp 0x1400bec9e
mov r8, qword [0x14016fbf0]
test r8, r8
je 0x1400bec9e
lea rcx, str.Warning:_Missing__s_function_during_Intel_Library_Wrapper_initialization._n
mov rdx, qword [r12 + rbx + 0x16fbe8]
call r8
nop
jmp 0x1400bec9e
xor edx, edx
lea rcx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400bec58
mov edi, 0xffffffff
jmp 0x1400becba
lea rcx, [0x14018f720]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
cmp rcx, qword [0x14016fb98]
jne 0x1400becf1
xor eax, eax
add rsp, 0x150
pop rdi
ret
lea rcx, [0x14018f720]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
jmp 0x1400bebd4
Function at 0x140003274
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140115f4c
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140154b28]
mov ecx, 5
lea r8, [0x140154b20]
lea rdx, str.FlsGetValue
call fcn.140115544
mov ecx, ebx
test rax, rax
je 0x140115f86
add rsp, 0x20
pop rbx
jmp qword [0x1401a0010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

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

Disassembly:
jmp 0x140015140
push r14
push r15
push rbp
sub rsp, 0x30
mov rbp, rcx
mov qword [rsp + 0x28], 0
mov r15d, 1
xor r14d, r14d
lea rdx, [0x1401719d0]
mov eax, 1
xchg dword [rdx], eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x1400151a8
mov eax, 0x66666667
imul r15d
sar edx, 2
lea r8d, [rdx + rdx*4]
add r8d, r8d
cmp r8d, r15d
jne 0x1400151a8
mov eax, 1
cmp r15d, 0x2710
cmovg r14d, eax
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x1400151bc
inc r15d
cmp r15d, 0x7ffffff
jl 0x14001515e
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x1400151d6
mov dword [rsp + 0x20], 0x98
lea rcx, [rsp + 0x20]
call fcn.140001974
mov eax, dword [0x1401719d4]
test eax, eax
jne 0x140015209
cmp dword [0x14016d170], 1
je 0x140015339
call fcn.1400150c0
mov dword [0x1401719d4], 1
cmp dword [0x14016d170], 1
je 0x14001531a
mov ecx, dword [0x1401719cc]
mov dword [0x1401719d0], 0
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov qword [rsp + 0x28], r14
test r14, r14
je 0x14001526d
mov qword [rbp], r14
cmp dword [0x14016d170], 1
je 0x140015245
xor eax, eax
add rsp, 0x30
pop rbp
pop r15
pop r14
ret
mov ecx, 2
mov edx, 1
call fcn.1400028ba
mov ecx, 0x16
mov edx, 1
mov qword [r14 + 0x68], rax
call fcn.1400028ba
mov qword [r14 + 0x70], rax
jmp 0x140015239
mov ecx, 0x88
xor edx, edx
lea r8, [rsp + 0x28]
call fcn.140003fc1
test eax, eax
je 0x140015294
mov qword [rbp], 0
add rsp, 0x30
pop rbp
pop r15
pop r14
ret
mov r10, qword [rsp + 0x28]
mov r9d, 0x80
mov rax, qword [0x14016d120]
mov qword [r10 + 0x80], rax
lea rax, [0x140000000]
mov rdx, rax
mov rcx, rax
mov r8, rax
movups xmm0, xmmword [rax + r9 + 0x16d090]
movups xmmword [r10 + r9 - 0x10], xmm0
movups xmm1, xmmword [rdx + r9 + 0x16d080]
movups xmmword [r10 + r9 - 0x20], xmm1
movups xmm2, xmmword [rcx + r9 + 0x16d070]
movups xmmword [r10 + r9 - 0x30], xmm2
movups xmm3, xmmword [r8 + r9 + 0x16d060]
movups xmmword [r10 + r9 - 0x40], xmm3
sub r9, 0x40
jne 0x1400152ad
mov rdx, qword [rsp + 0x28]
mov ecx, dword [0x1401719cc]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov r14, qword [rsp + 0x28]
jmp 0x14001522c
mov ecx, 2
mov rdx, r14
call fcn.1400028ba
mov ecx, 0x16
mov rdx, r15
call fcn.1400028ba
jmp 0x140015209
mov ecx, 2
mov edx, 1
call fcn.1400028ba
mov r14, rax
mov ecx, 0x16
mov edx, 1
call fcn.1400028ba
mov r15, rax
jmp 0x1400151ed
Function at 0x140003521
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140115fa4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140154b48]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x140154b40]
call fcn.140115544
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140115fe4
call qword [0x1401a0010]
jmp 0x140115fea
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140003666
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140115e98
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x140154ae8]
mov ecx, 3
lea r8, [0x140154ae0]
lea rdx, str.FlsAlloc
call fcn.140115544
test rax, rax
je 0x140115ed4
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1401a0010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x14000371f
Capabilities:
Set environment variable

Disassembly:
jmp 0x14012b004
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140003cab
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14012b08e
cmp byte [rbp - 0x21], r15b
je 0x14012b089
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, ebx
jmp 0x14012b0c4
call fcn.140001c08
test eax, eax
jne 0x14012b0b0
cmp byte [rbp - 0x21], r15b
je 0x14012b0a8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, 1
jmp 0x14012b0c4
cmp byte [rbp - 0x21], r15b
je 0x14012b0c1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, r15d
lea rdx, [rbp + 0x17]
mov rcx, rsi
call fcn.1400027bb
test eax, eax
jne 0x14012b15c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140003cab
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14012b0ff
cmp byte [rbp - 0x21], r15b
je 0x14012b134
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14012b134
call fcn.140001c08
test eax, eax
jne 0x14012b120
cmp byte [rbp - 0x21], r15b
je 0x14012b119
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14012b134
cmp byte [rbp - 0x21], r15b
je 0x14012b131
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r8d, ebx
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400027bb
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14012b15c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14012b15f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14012b16d
mov rcx, rdi
call fcn.140003f7b
cmp byte [rbp + 0x3f], r15b
je 0x14012b17c
mov rcx, qword [rbp + 0x27]
call fcn.140003f7b
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140003765
Capabilities:
Query environment variable

Disassembly:
jmp 0x140087530
push rsi
push rdi
sub rsp, 0x48
mov edx, 0xfffffffc
mov rax, qword [0x14016fb98]
lea r8, [0x14018d9e0]
xor rax, rsp
mov r9d, 0xfffffffd
mov qword [rsp + 0x40], rax
lea r11, [0x14018dc80]
mov cl, byte [0x14018dc59]
mov eax, 0xffffffff
mov dword [0x14018dbb0], edx
and cl, 0xe7
mov dword [0x14018da20], edx
add cl, 8
mov r10b, byte [0x14018def9]
mov esi, 0xfffffffe
mov dl, byte [0x14018e199]
and r10b, 0xe7
mov dil, byte [0x14018e439]
and dl, 0xe7
and dil, 0xe7
add r10b, 8
add dl, 8
add dil, 8
mov byte [0x14018dc59], cl
lea rcx, [0x14018df20]
mov qword [0x14017ba18], r8
mov qword [0x140191b50], r8
lea r8, [0x14018e1c0]
mov dword [0x14018de50], r9d
mov dword [0x14018dcc0], r9d
mov byte [0x14018def9], r10b
mov qword [0x14017ba50], r11
mov qword [0x140191b58], r11
mov dword [0x14018e0f0], eax
mov dword [0x14018df60], eax
mov byte [0x14018e199], dl
mov qword [0x14017bac0], rcx
mov qword [0x140191b68], rcx
mov dword [0x14018e390], esi
mov dword [0x14018e200], esi
mov byte [0x14018e439], dil
mov qword [0x14017ba88], r8
mov qword [0x140191b60], r8
cmp qword [0x14016fbe0], 0
je 0x1400877cc
lea rdi, [0x14016fcc0]
mov rax, qword [rdi]
lea rdx, str.FORT_d
lea rcx, [rsp + 0x20]
xor r8d, r8d
call rax
xor eax, eax
lea rcx, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
mov dword [0x14018e630], eax
mov dword [0x14018e4a0], eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, 8
test eax, eax
mov eax, 0x10
lea rcx, [0x14018e460]
movzx edx, byte [0x14018e6d9]
cmove eax, esi
and edx, 0xffffffe7
or edx, eax
mov byte [0x14018e6d9], dl
mov qword [0x14017baf8], rcx
mov qword [0x140191b70], rcx
cmp qword [0x14016fbe0], 0
je 0x1400877c2
mov rax, qword [rdi]
lea rdx, str.FORT_d
lea rcx, [rsp + 0x20]
mov r8d, 5
call rax
xor edx, edx
lea rcx, [rsp + 0x20]
xor r8d, r8d
mov eax, 5
mov dword [0x14018e8d0], eax
mov dword [0x14018e740], eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
mov eax, 0x10
movzx edx, byte [0x14018e979]
lea rcx, [0x14018e700]
cmove eax, esi
and edx, 0xffffffe7
or edx, eax
mov byte [0x14018e979], dl
mov qword [0x14017bc10], rcx
mov qword [0x140191b98], rcx
cmp qword [0x14016fbe0], 0
je 0x1400877b8
mov rax, qword [rdi]
lea rdx, str.FORT_d
lea rcx, [rsp + 0x20]
mov r8d, 6
call rax
xor edx, edx
lea rcx, [rsp + 0x20]
xor r8d, r8d
mov eax, 6
mov dword [0x14018eb70], eax
mov dword [0x14018e9e0], eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
mov eax, 0x10
movzx edx, byte [0x14018ec19]
lea rcx, [0x14018e9a0]
cmove eax, esi
and edx, 0xffffffe7
or edx, eax
mov byte [0x14018ec19], dl
mov qword [0x14017bc48], rcx
mov qword [0x140191ba0], rcx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x14016fb98]
jne 0x1400877b3
add rsp, 0x48
pop rdi
pop rsi
ret
call fcn.140003bcf
call fcn.140002eb4
jmp 0x140087732
call fcn.140002eb4
jmp 0x1400876bb
call fcn.140002eb4
jmp 0x14008763e
Function at 0x140003814
Capabilities:
Read file on windows

Disassembly:
jmp 0x14008fe80
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x38
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
xor r13b, r13b
mov qword [rdi], 0
call fcn.14000434f
cmp eax, 1
jle 0x14008fec2
mov rax, qword [rsp + 0xb8]
cmp dword [rax + 0x40], 0xfffffffc
je 0x140090117
cmp dword [0x140191994], 0
je 0x14008ffa0
mov rax, qword [rsp + 0xb0]
lea r8, [rax - 1]
cmp r8, 1
ja 0x14008fef4
xor eax, eax
add rsp, 0x38
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov r15d, dword [rsp + 0xa0]
test r15d, r15d
je 0x14008ff91
cmp qword [rsp + 0xb0], 0xfffffffffffffffa
je 0x1400900fb
cmp qword [rsp + 0xb0], 0
je 0x1400900c4
cmp dword [rsp + 0xa8], 0
je 0x14008ffa0
mov r12d, r14d
mov ecx, r12d
call fcn.1400041a6
mov ecx, r12d
call fcn.1400026bc
test r13b, r13b
je 0x14008ffa0
mov rcx, rbp
mov edx, esi
mov r8d, r12d
call fcn.140002018
movsxd rbx, eax
mov qword [rdi], rbx
cmp eax, 0xffffffff
je 0x14008fee1
lea rcx, [0x14014e280]
mov edx, 2
mov r8d, r12d
xor r9d, r9d
call fcn.14000213a
mov byte [rbx + rbp], 0xa
mov eax, 1
inc qword [rdi]
add rsp, 0x38
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
cmp qword [rsp + 0xb0], 0
je 0x1400900c4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0xb8]
mov qword [rdi], 0
test rax, rax
je 0x14008ffd0
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x230]
test rax, rax
jne 0x14008ffd5
mov eax, 0x20000
cmp rsi, rax
jbe 0x140090082
cmp qword [rsp + 0xb0], 0
je 0x140090082
mov rax, qword [rsp + 0xb8]
test rax, rax
je 0x14009000e
mov rax, qword [rsp + 0xb8]
mov r12, qword [rax + 0x230]
test r12, r12
jne 0x140090014
mov r12d, 0x20000
mov rax, rsp
mov r13, r12
mov rcx, rbx
mov rdx, rbp
mov r8d, r12d
lea r9, [rsp + 0x30]
mov qword [rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400900a9
movsxd r9, dword [rsp + 0x30]
add rbp, r9
add qword [rdi], r9
sub rsi, r9
mov r8, qword [rsp + 0xb8]
test r8, r8
je 0x140090069
mov r8, qword [rsp + 0xb8]
mov r8, qword [r8 + 0x230]
test r8, r8
jne 0x14009006f
mov r8d, 0x20000
cmp rsi, r8
cmovbe r12, rsi
test rsi, rsi
je 0x1400900a9
cmp r9, r13
je 0x140090014
jmp 0x1400900a9
mov rax, rsp
mov rcx, rbx
mov rdx, rbp
mov r8d, esi
lea r9, [rsp + 0x30]
mov qword [rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rdx, dword [rsp + 0x30]
mov qword [rdi], rdx
mov edx, 1
test eax, eax
cmovne eax, edx
add rsp, 0x38
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov r13b, 1
call fcn.1400019fb
mov r12d, eax
movsxd r14, r12d
cmp dword [0x140191994], 0
je 0x14008ff45
test r15d, r15d
je 0x14008ff45
cmp dword [rsp + 0xa8], 0
jne 0x14008ff2d
jmp 0x14008ff45
mov r13b, 1
mov r14, rbx
cmp dword [rsp + 0xa8], 0
jne 0x14008ff2d
mov r12d, ebx
jmp 0x14008ff45
mov eax, 1
add rsp, 0x38
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400038a5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400bf410
push rbx
sub rsp, 0x30
mov r10, rax
mov r9, r10
mov r8, rdx
and r9, 0xfff
and r8, 0xfff
movdqu xmm4, xmmword [0x140152540]
neg r9d
neg r8d
add r9d, 0x1000
add r8d, 0x1000
movdqu xmm3, xmmword [0x140152550]
cmp r9d, 0x10
jl 0x1400bf45c
cmp r8d, 0x10
jge 0x1400bf4b0
movzx eax, byte [r10]
lea ecx, [rax - 0x41]
cmp ecx, 0x19
lea ebx, [rax + 0x20]
movzx ecx, byte [rdx]
cmovbe eax, ebx
lea r11d, [rcx - 0x41]
cmp r11d, 0x19
lea ebx, [rcx + 0x20]
cmovbe ecx, ebx
cmp eax, ecx
jne 0x1400bf5d3
test eax, eax
je 0x1400bf599
inc r10
inc rdx
dec r8d
dec r9d
jne 0x1400bf554
mov r9d, 0x1000
test r8d, r8d
jne 0x1400bf456
mov r8d, 0x1000
movups xmmword [rsp + 0x20], xmm6
movdqu xmm1, xmmword [r10]
movdqu xmm2, xmmword [rdx]
movdqu xmm0, xmmword [0x140152560]
movdqa xmm5, xmm1
pcmpgtb xmm5, xmm3
pcmpgtb xmm0, xmm1
pand xmm5, xmm0
pand xmm5, xmm4
pxor xmm0, xmm0
movdqu xmm6, xmmword [0x140152560]
paddb xmm1, xmm5
movdqa xmm5, xmm2
pcmpgtb xmm6, xmm2
pcmpgtb xmm5, xmm3
pcmpeqb xmm0, xmm1
pand xmm5, xmm6
pand xmm5, xmm4
paddb xmm2, xmm5
pcmpeqb xmm1, xmm2
pmovmskb eax, xmm1
xor eax, 0xffff
jne 0x1400bf57d
pmovmskb eax, xmm0
test eax, eax
jne 0x1400bf5db
add r9d, 0xfffffff0
add r10, 0x10
add rdx, 0x10
add r8d, 0xfffffff0
cmp r9d, 0x10
jl 0x1400bf541
cmp r8d, 0x10
jge 0x1400bf4b5
nop word [rax + rax]
movups xmm6, xmmword [rsp + 0x20]
jmp 0x1400bf45c
test r8d, r8d
jne 0x1400bf56e
mov r8d, 0x1000
cmp r9d, 0x10
jge 0x1400bf4aa
jmp 0x1400bf45c
cmp r9d, 0x10
jl 0x1400bf45c
jmp 0x1400bf456
bsf r8d, eax
pmovmskb eax, xmm0
movups xmm6, xmmword [rsp + 0x20]
mov ecx, r8d
test eax, eax
je 0x1400bf5a1
bsf eax, eax
cmp eax, r8d
jae 0x1400bf5a1
xor eax, eax
add rsp, 0x30
pop rbx
ret
movzx eax, byte [rcx + r10]
movzx r10d, byte [rcx + rdx]
lea r8d, [rax - 0x41]
cmp r8d, 0x19
lea r9d, [rax + 0x20]
lea edx, [r10 - 0x41]
cmovbe eax, r9d
cmp edx, 0x19
lea ecx, [r10 + 0x20]
cmovbe r10d, ecx
sub eax, r10d
add rsp, 0x30
pop rbx
ret
sub eax, ecx
add rsp, 0x30
pop rbx
ret
movups xmm6, xmmword [rsp + 0x20]
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x140003a2b
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400e4888
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400e45dc
Function at 0x140003d19
Capabilities:
Print debug messages

Disassembly:
jmp 0x14011ca10
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbp, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne sil
test eax, eax
je 0x14011ca5c
test rbx, rbx
je 0x14011ca4b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.1400012fd
cmp eax, 1
je 0x14011ca5c
mov eax, 4
jmp 0x14011ca9f
call fcn.140002b08
cmp eax, 2
jne 0x14011ca98
call fcn.1400014a1
test al, al
je 0x14011ca98
call fcn.140003bd4
test al, al
jne 0x14011ca8e
bts edi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, edi
call fcn.14000311b
jmp 0x14011ca9f
call fcn.140001e06
mov rcx, rax
jmp 0x14011ca7e
movzx eax, sil
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140003fee
Capabilities:
Print debug messages

Disassembly:
jmp 0x14012a0e8
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rbx
mov rax, qword [0x14016fb98]
xor rax, rbp
mov qword [rbp + 8], rax
mov r9, rcx
test rcx, rcx
je 0x14012a16e
or r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], 0
jne 0x14012a111
add r8, 1
je 0x14012a16e
lea rax, [r8 + r8]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14012a138
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14000329c
sub rsp, rcx
lea rax, [r8 - 1]
lea rcx, [rbp]
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rdx, rbx
call fcn.14000391d
test eax, eax
jne 0x14012a16e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.140003bcf
mov rbx, qword [rbp + 0x20]
lea rsp, [rbp + 0x10]
pop rbp
ret