joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140074fc0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [str.Fc_a_]
mov rdi, rax
test rax, rax
jne 0x140075002
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140075049
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400750a2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140075060
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400750e3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400862ba]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400862bb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400750b0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400760a8
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor esi, esi
mov r8, rcx
test rcx, rcx
je 0x1800042e8
cmp qword [rcx], rsi
je 0x1800042d1
cmp word [rdx + 0x58], si
je 0x1800042e8
movzx r11d, word [rdx + 0x58]
lea r9d, [rsi + 1]
shr r11, 1
movabs r10, 0xcbf29ce484222325
mov rdi, qword [rdx + 0x60]
mov ebx, esi
je 0x1800042bb
movzx eax, word [rdi + rbx*2]
movzx ecx, word [rdi + rbx*2]
sub ax, 0x41
add cx, 0x20
cmp ax, 0x19
cmova cx, word [rdi + rbx*2]
add rbx, r9
movzx eax, cx
movabs rcx, 0x100000001b3
imul r10, rcx
xor r10, rax
cmp rbx, r11
jb 0x180004286
cmp r10, qword [r8]
jne 0x1800042e8
mov rax, qword [rdx + 0x30]
mov qword [r8 + 8], rax
mov eax, dword [rdx + 0x40]
mov qword [r8 + 0x10], rax
jmp 0x1800042eb
mov rax, qword [rdx + 0x30]
mov r9d, 1
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x40]
mov qword [rcx + 0x10], rax
jmp 0x1800042eb
mov r9b, sil
mov rbx, qword [rsp + 8]
mov al, r9b
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x180004300
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movzx esi, r8w
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
je 0x180004390
xor r10d, r10d
lea r11d, [r10 + 1]
cmp byte [r9], r10b
je 0x180004338
add r10, r11
cmp byte [r10 + r9], 0
jne 0x18000432e
xor edi, edi
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x180004381
mov al, byte [rdi + r9]
mov dl, byte [rdi + r9]
add al, 0x20
movzx ecx, al
sub dl, 0x41
movzx eax, byte [rdi + r9]
cmp dl, 0x19
cmova ecx, eax
add rdi, r11
movsx rax, cl
movabs rcx, 0x100000001b3
imul r8, rcx
xor r8, rax
cmp rdi, r10
jb 0x180004349
cmp r8, qword [rbx]
jne 0x180004390
mov qword [rbx + 0x10], rbp
mov word [rbx + 8], si
jmp 0x180004393
xor r11b, r11b
mov rbx, qword [rsp + 8]
mov al, r11b
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x180019cb4
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180019ce4
xor eax, eax
jmp 0x180019da7
mov rbp, rbx
cmp word [rax], si
je 0x180019d09
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180019cf0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180019cec
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180019bd4
movsxd r14, eax
test eax, eax
jne 0x180019d47
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180019cdd
mov rcx, r14
call fcn.180018018
mov rdi, rax
test rax, rax
jne 0x180019d60
xor ecx, ecx
call fcn.180017f24
jmp 0x180019d3c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180019bd4
test eax, eax
jne 0x180019d91
mov rcx, rdi
call fcn.180017f24
jmp 0x180019d9b
xor ecx, ecx
call fcn.180017f24
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18001f360
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18001f388
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18001f388
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x2fc4c605c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c60da
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c60d1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c60d1
mov rax, qword [rbp - 8]
jmp 0x2fc4c60ef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c60a4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140009170
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140009192
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000920c
mov rdi, r14
mov rcx, rbx
call fcn.14000cc10
test rax, rax
jle 0x1400091e4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400e0e50
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400091fc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140009204
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400091a6
sub r14, rdi
jmp 0x1400092ef
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140009223
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140009225
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140009257
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400e0e50
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400092ec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140009292
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x1400092cd
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14005956c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400092ec
cmp rbp, rax
ja 0x1400092a0
test rbp, rbp
je 0x1400092ec
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14005956c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140024550
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14022b0c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x12c
call fcn.1400e15d0
xor edx, edx
mov dword [rsp + 0x20], 0x130
xor sil, sil
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400245ac
xor al, al
jmp 0x14002460b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400245fe
nop
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400245e3
inc rax
test ecx, ecx
jne 0x1400245d0
test edx, edx
je 0x1400245fb
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400245c0
jmp 0x1400245fe
mov sil, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140046990
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140027780
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400277b4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400277a0
ret

Function at 0x140027b70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140027bb4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140027ba0
ret
Function at 0x14002f070
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14002f153
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002f153
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14002f171
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14002f143
cmp word [rax], 0x5c
jne 0x14002f13c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14002f13c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002f127
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x14002f139
test r8b, 0x10
jne 0x14002f13c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14002f13c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400287d0
test edi, edi
jne 0x14002f0a0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400287c0
int3

Function at 0x14002fdc0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14002fe8c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002fe8c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14002fea5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14002fe7c
cmp byte [rax], 0x5c
jne 0x14002fe76
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14002fe76
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002fe62
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14002fe73
test r8b, 0x10
jne 0x14002fe76
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14002fe76
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140028d90
test edi, edi
jne 0x14002fde0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400287c0
int3
Function at 0x140033ac0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x140033b21
lea r8, [r9 + 8]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140033ae0
mov ecx, dword [r9]
jmp 0x140033c08
cmp ecx, 0x4e0
jb 0x140033c08
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140033b40
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140033b90
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140037420
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [0x14027ae98]
mov rbx, qword [0x14027ae90]
cmp rbx, rdi
je 0x140037454
nop dword [rax]
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
add rbx, 0x10
cmp rbx, rdi
jne 0x140037440
lea rcx, [rsp + 0x30]
call fcn.140021dd0
mov rax, qword [rsp + 0x30]
movabs rcx, 0x7ffffffffa0a1efe
cmp rax, rcx
jg 0x14003747a
add rax, 0x5f5e100
jmp 0x140037484
movabs rax, 0x7fffffffffffffff
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.140028280
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140040810
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x14022b0c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
movaps xmm6, xmm2
mov ebx, edx
test al, al
je 0x140040857
nop
cmp al, 0x25
jne 0x14004084c
cmp byte [rcx + 1], al
jne 0x140040857
inc rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x140040840
cmp byte [rcx], 0x25
jne 0x140040939
cmp byte [rcx + 1], 0x25
je 0x140040939
lea rdx, [rsp + 0x20]
call fcn.1400d2940
xorps xmm3, xmm3
lea r8, [rsp + 0x20]
cvtss2sd xmm3, xmm6
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.1400a8330
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400408a8
inc rcx
cmp byte [rcx], 0x20
je 0x1400408a0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140040928
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400408c3
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x1400408d9
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x140040916
movss xmm2, dword [0x1402102dc]
cmp al, 0x39
ja 0x140040916
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x1400408f0
cmp r9b, 0x2d
jne 0x140040934
xorps xmm1, xmmword [0x140210560]
movaps xmm0, xmm1
jmp 0x14004093c
call fcn.14005f608
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14004093c
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140046990
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret
Function at 0x140040a50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x14022b0c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
movaps xmm6, xmm2
mov ebx, edx
test al, al
je 0x140040a97
nop
cmp al, 0x25
jne 0x140040a8c
cmp byte [rcx + 1], al
jne 0x140040a97
inc rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x140040a80
cmp byte [rcx], 0x25
jne 0x140040b73
cmp byte [rcx + 1], 0x25
je 0x140040b73
lea rdx, [rsp + 0x20]
call fcn.1400d2940
movaps xmm3, xmm6
lea r8, [rsp + 0x20]
movq r9, xmm6
lea rcx, [rsp + 0x40]
mov edx, 0x40
call fcn.1400a8330
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140040ae8
nop dword [rax]
inc rcx
cmp byte [rcx], 0x20
je 0x140040ae0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140040b66
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x140040b03
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x140040b19
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x140040b54
movsd xmm2, qword [0x140210298]
cmp al, 0x39
ja 0x140040b54
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x140040b30
cmp r9b, 0x2d
jne 0x140040b6e
xorps xmm1, xmmword [0x140210550]
movaps xmm0, xmm1
jmp 0x140040b76
call fcn.14005f608
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140040b76
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140046990
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret

Function at 0x140043bc0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140043bfa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140043bff
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140043c48
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400e7a00]
cmp byte [rcx + rax], 0
je 0x140043c48
dec r8
sub rdx, 1
jne 0x140043c2e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140047880
Capabilities:
Parse pe header

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

Function at 0x14005bb00
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14005b8fc
Function at 0x14005bff8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14005c02f
call fcn.140058d84
mov dword [rax], 0x16
call fcn.14005a5d0
xor eax, eax
jmp 0x14005c0bd
mov rdx, r9
mov rcx, r8
call fcn.14005bf94
mov rbx, rax
test rax, rax
je 0x14005c0ba
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14005bec0]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14005c0a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140058cf8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14005c08e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14005c09d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400651c0
jmp 0x14005c0ba
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14005c0b7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14005c7a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140047690
sub rsp, rax
mov rax, qword [0x14022b0c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140063384
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14005c7ef
mov rax, rbp
jmp 0x14005c8f7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x27d0f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140069498
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x27d0f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14005c8f3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005c8f3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140069498
test rax, rax
js 0x14005c8f3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14005c8f3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14005c8e5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14005c8e5
cmp byte [rcx], 0xd
jne 0x14005c8cb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14005c8da
cmp byte [rcx + 1], 0xa
jne 0x14005c8da
inc rcx
jmp 0x14005c8da
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x22b500]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14005c8ad
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14005c8f7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140046990
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret