joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400086a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14005d0d0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400086cd
xor eax, eax
jmp 0x14000881b
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140008707
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140008707
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14000881b
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000880e
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000874a
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140008759
movsx ecx, dil
jmp 0x1400087ad
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x1400087c7
sub eax, 1
je 0x1400087c7
cmp eax, 2
jne 0x14000880e
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.140024fd0
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140008813
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400087f4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.14002c91c
cmp rsi, rax
jne 0x14000880e
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140008813
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001eb80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x14001d8b0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14001d934
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140047460]
cmp byte [rcx + rax], 0
je 0x14001d934
dec r8
sub rdx, 1
jne 0x14001d91a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14001f7f0
Capabilities:
Parse pe header

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

Function at 0x14002f0fc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002ef28
Function at 0x140005e50
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov r12d, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x100000
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
cmp r12d, 2
jl 0x140005f1c
lea ebp, [r12 - 1]
cmp r12d, 2
je 0x140005ef3
add r12d, 0xfffffffe
mov ebx, 1
lea r13, str.__full
mov rdi, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
lea r15, [0x140095dd0]
movsxd r14, ebx
mov rcx, qword [rsi + r14*8]
mov rdx, r13
call rdi
test eax, eax
je 0x140005ee6
mov rcx, qword [rsi + r14*8]
lea rdx, str.__force_use_module
call rdi
cmp r14d, r12d
jge 0x140005f1c
test eax, eax
jne 0x140005f1c
lea ebx, [r14 + 1]
mov rdx, qword [rsi + r14*8 + 8]
mov rcx, r15
call fcn.14000b290
jmp 0x140005eed
mov byte [0x140095dc8], 1
inc ebx
cmp ebx, ebp
jl 0x140005ead
mov eax, ebp
mov rdx, qword [rsi + rax*8]
lea rcx, [0x140095e10]
call fcn.14000b290
mov cl, byte [0x140095dc8]
call fcn.140003040
test al, al
je 0x140005f1c
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140009d40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x140063010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x140009dfe
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x140009dfe
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xffffffff
call qword [case.0x14004ab96.0]
cmp eax, 0xffffffff
je 0x140009dfc
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [case.0x14004ab96.0]
cmp eax, 3
je 0x140009e15
cmp eax, 1
je 0x140009dc9
test eax, eax
jne 0x140009dfc
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x140009df2
mov r9, qword [rsi + 0x80]
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x140009dfc
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x140009dfe
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004b7a0
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
jmp 0x140009dfe
Function at 0x14004a3b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov r14, r9
mov rdi, r8
mov r15, rdx
mov rbx, rcx
mov rax, qword [0x140063010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, qword [rcx]
mov rcx, qword [rbp + 8]
cmp byte [rcx + 0x19], 0
je 0x14004a45a
mov qword [rsp + 0x30], rbp
mov rax, rbp
cmp rbp, qword [rax]
je 0x14004a493
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.140049ca0
mov r12b, 1
mov rsi, qword [rsi]
lea rcx, [rsi + 0x20]
mov rdx, rdi
call fcn.1400444a0
test al, al
je 0x14004a4b9
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, r15
mov r8d, r12d
mov r9, rbp
call fcn.14004a160
mov sil, 1
mov byte [r15 + 8], sil
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004b7a0
mov rax, r15
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rsi, rcx
lea rdx, [rcx + 0x20]
mov rcx, rdi
call fcn.1400444a0
mov ecx, eax
xor cl, 1
movzx ecx, cl
shl rcx, 4
mov rcx, qword [rsi + rcx]
cmp byte [rcx + 0x19], 0
je 0x14004a45a
mov qword [rsp + 0x30], rsi
test al, al
je 0x14004a4ae
mov rax, qword [rbx]
mov rbp, rsi
jmp 0x14004a3ee
mov qword [rsp + 0x20], r14
mov sil, 1
mov rcx, rbx
mov rdx, r15
mov r8b, 1
mov r9, rbp
call fcn.14004a160
jmp 0x14004a437
xor r12d, r12d
mov rbp, rsi
jmp 0x14004a40a
mov rcx, r14
call fcn.14004a4d0
mov qword [r15], rsi
xor esi, esi
jmp 0x14004a437
Function at 0x140001db0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov ebx, edx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r9d, r9d
movzx r8d, bx
lea rdx, str.String
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rbp, rax
test rax, rax
je 0x140001e29
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test eax, eax
je 0x140001e2d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140001e2d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
jmp 0x140001e54
mov ebx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x140001e41
movzx eax, ax
or eax, 0x80070000
test eax, eax
je 0x140001ed7
test eax, eax
js 0x140001ed7
mov rdx, qword [rsp + 0x28]
lea r8d, [rbx - 3]
add rdx, 3
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x20]
call fcn.140005370
nop
lea rdx, [rsp + 0x20]
mov rcx, rdi
call 0x14000a140
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140001efd
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ec2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001f0d
call fcn.14000afec
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], ax
xor r8d, r8d
lea rdx, [0x1400179a8]
mov rcx, rdi
call fcn.1400051f0
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
call fcn.14000ed30
int3
Function at 0x14002efe0
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.140067a6c
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x14002f050]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.140076c24
mov qword [rbx], rax
test rax, rax
je 0x14002f037
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [0x1400d8de0]
Function at 0x140030890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x1400e3028]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx eax, byte [0x1400f07b8]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x140030a37
mov qword [rsp + 0x40], rdx
mov rbx, qword [rcx]
mov qword [rsp + 0x38], rcx
mov rdi, qword [rcx + 8]
xor r13d, r13d
lea r12, str.__r_
movabs rcx, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1400cf9d0]
lea rsi, [rsp + 0x60]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x48], rbx
mov rbx, qword [rsp + 0x48]
mov rax, r13
shl rax, 4
mov qword [rsp + 0x70], rcx
movaps xmmword [rsp + 0x60], xmm6
mov rdx, qword [rax + r12]
mov rbp, qword [rax + r12 + 8]
mov byte [rsp + 0x77], bpl
mov r8, rbp
add r8, rbp
mov r15, rsi
mov rcx, rsi
call fcn.14006a8c0
mov word [rsp + rbp*2 + 0x60], 0
movzx eax, byte [rsp + 0x77]
mov rcx, rax
test al, al
jns 0x140030959
mov rcx, qword [rsp + 0x68]
cmp rcx, rdi
ja 0x140030a91
mov r14b, 1
test rcx, rcx
mov rsi, r15
je 0x140030a9c
mov rdx, rsi
test al, al
jns 0x14003097d
mov rdx, qword [rsp + 0x60]
xor ebp, ebp
movzx edi, word [rbx + rbp*2]
cmp di, word [rdx + rbp*2]
jne 0x1400309ce
inc rbp
cmp rcx, rbp
jne 0x14003097f
mov rbp, rcx
test al, al
js 0x140030aa3
test r14b, r14b
jne 0x1400309d8
mov qword [rsp + 0x28], rbp
inc r13
movzx eax, byte [0x1400f07b8]
xor rax, 3
cmp r13, rax
mov rdi, qword [rsp + 0x30]
movabs rcx, 0xaaaaaaaaaaaaaaaa
jb 0x140030911
jmp 0x140030a37
xor r14d, r14d
mov rbp, qword [rsp + 0x28]
jmp 0x140030994
test rbp, rbp
je 0x140030a37
mov rsi, qword [rsp + 0x38]
cmp rbp, qword [rsi + 8]
mov rdi, qword [rsp + 0x40]
je 0x140030a37
lea rax, [0x1400d2980]
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], 1
movups xmm0, xmmword [rsi]
lea rcx, [rsp + 0x50]
movaps xmmword [rcx], xmm0
xor r8d, r8d
call fcn.140057970
mov rdx, qword [rsi + 8]
sub rdx, rbp
jb 0x140030ab5
mov rcx, qword [rdi + 8]
sub rax, rbp
cmp rdx, rax
cmovb rax, rdx
cmp rax, rcx
je 0x140030a64
xor ebx, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140068e50
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov bl, 1
test rcx, rcx
je 0x140030a39
mov rax, qword [rdi]
add rbp, rbp
add rbp, qword [rsi]
xor edx, edx
mov rdi, rbp
movzx ebp, word [rbp + rdx*2]
cmp bp, word [rax + rdx*2]
jne 0x140030a37
inc rdx
cmp rcx, rdx
mov rbp, rdi
jne 0x140030a76
jmp 0x140030a39
xor r14d, r14d
mov rsi, r15
jmp 0x1400309d1
xor ebp, ebp
jmp 0x140030994
mov rcx, qword [rsp + 0x60]
call fcn.140067aa8
mov rsi, r15
jmp 0x14003099c
int3
Function at 0x140038440
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x1400cf938]
mov qword [rcx], rax
add rcx, 8
call fcn.1400588e0
lea rcx, [rsi + 0x10]
call fcn.1400588e0
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.1400588e0
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
movups xmmword [rsi + 0xd0], xmm6
mov qword [rsi + 0xe0], rbx
mov ebp, 0x3f800000
mov dword [rsi + 0xe8], ebp
mov dword [rsi + 0xf0], ebx
movups xmmword [rsi + 0xf8], xmm6
movups xmmword [rsi + 0x108], xmm6
mov dword [rsi + 0x118], ebp
movups xmmword [rsi + 0x120], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x140], ebp
movups xmmword [rsi + 0x148], xmm6
movups xmmword [rsi + 0x158], xmm6
mov dword [rsi + 0x168], ebp
movups xmmword [rsi + 0x170], xmm6
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebp
mov qword [rsi + 0x1b0], rbx
movups xmmword [rsi + 0x198], xmm6
mov dword [rsi + 0x1a8], ebx
mov eax, dword [0x1400d4b4c]
mov dword [rsi + 0x1b8], eax
lea rcx, [rsi + 0x1c0]
call fcn.14003d8d0
lea rcx, [rsi + 0x310]
movups xmmword [rsi + 0x2f8], xmm6
mov qword [rsi + 0x308], rbx
xor edx, edx
call fcn.14003c510
lea rcx, [rsi + 0x318]
xor edx, edx
call fcn.14003c510
lea rcx, [rsi + 0x320]
xor edx, edx
call fcn.14003c510
movups xmmword [rsi + 0x328], xmm6
movups xmmword [rsi + 0x338], xmm6
mov dword [rsi + 0x348], ebp
movups xmmword [rsi + 0x350], xmm6
movups xmmword [rsi + 0x360], xmm6
movups xmmword [rsi + 0x370], xmm6
mov byte [rsi + 0x380], bl
mov dword [rsi + 0x384], edi
mov byte [rsi + 0x388], bl
movups xmmword [rsi + 0x390], xmm6
movups xmmword [rsi + 0x3a0], xmm6
call fcn.140019e90
call fcn.140038110
mov dword [rsi + 0x1a8], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x1a0], rax
mov rcx, rsi
call fcn.140038670
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14003865b
call fcn.14003d010
lea r8, [0x1400d42aa]
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.14003d0c0
mov qword [0x1400f2c88], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1400fc008]
jmp 0x140038629
Function at 0x140059160
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x1400e3028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.140054050
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [0x1400d8f50]
movsd xmm0, qword [0x1400f2838]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400591bd
jnp 0x140059222
ucomisd xmm0, xmm6
jne 0x1400591c9
jnp 0x14005934c
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1400cfc60]
subpd xmm1, xmmword [0x1400cfc70]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1400d4128]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140068e50
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rbx, qword [0x1400d8d90]
call rbx
mov rcx, rax
call qword [0x1400d8e88]
mov r12d, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [0x1400d8fe8]
mov eax, dword [0x1400f2848]
mov ecx, dword [0x1400ec470]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140059353
mov eax, dword [0x1400f2858]
mov ecx, dword [0x1400ec470]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005938d
rdtsc
mov r14, rax
mov r15, rdx
xor edi, edi
lea rbx, [rsp + 0x30]
mov qword [rbx], rdi
mov rcx, rbx
call qword [0x1400d8f40]
mov rbp, qword [rbx]
call qword [0x1400d8d90]
mov rcx, rax
mov edx, r12d
call qword [0x1400d8fe8]
mov qword [rbx], rdi
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [0x1400d8f48]
sub rbp, qword [0x1400f2850]
movq xmm1, rbp
punpckldq xmm1, xmmword [0x1400cfc60]
subpd xmm1, xmmword [0x1400cfc70]
haddpd xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1400d4120]
ucomisd xmm2, xmm1
ja 0x1400591bd
shl r15, 0x20
or r14, r15
sub r14, qword [0x1400f2840]
movq xmm0, r14
punpckldq xmm0, xmmword [0x1400cfc60]
subpd xmm0, xmmword [0x1400cfc70]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1400f2838], xmm0
jmp 0x1400591bd
xor eax, eax
jmp 0x1400591fb
lea rcx, [0x1400f2848]
call fcn.140067bc0
cmp dword [0x1400f2848], 0xffffffff
jne 0x14005926c
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1400f2840], rdx
lea rcx, [0x1400f2848]
call fcn.140067c58
jmp 0x14005926c
lea rcx, [0x1400f2858]
call fcn.140067bc0
cmp dword [0x1400f2858], 0xffffffff
jne 0x140059291
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [0x1400d8f40]
mov rax, qword [rbx]
mov qword [0x1400f2850], rax
lea rcx, [0x1400f2858]
call fcn.140067c58
jmp 0x140059291
Function at 0x14005d4d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
movzx eax, byte [rcx + 0x4f]
test al, al
js 0x14005d5b3
test rax, rax
jne 0x14005d5a2
cmp dword [rsi + 0x50], 0
jne 0x14005d5a2
mov byte [rsi + 0x54], 0
mov rax, qword [rsi + 0x10]
mov qword [rsi + 8], rax
cmp rax, qword [rsi + 0x18]
je 0x14005d5f3
lea rdi, [rsi + 0x20]
lea rcx, [rax + 1]
mov qword [rsi + 0x10], rcx
movzx edx, byte [rax]
mov rcx, rdi
xor r8d, r8d
call fcn.14004fdb0
cmp rax, 0xffffffffffffffff
jne 0x14005d5e1
cmp dword [rsi + 0x58], 1
je 0x14005d5bc
mov rax, qword [rsi + 0x10]
mov bl, 1
cmp rax, qword [rsi + 0x18]
je 0x14005d5f9
movabs r14, 0x100003600
nop dword [rax]
movzx edx, byte [rax]
mov rcx, rdi
xor r8d, r8d
call fcn.14004fdb0
cmp rax, 0xffffffffffffffff
jne 0x14005d5f9
cmp dword [rsi + 0x58], 1
mov rax, qword [rsi + 0x10]
je 0x14005d591
inc rax
mov qword [rsi + 0x10], rax
cmp rax, qword [rsi + 0x18]
jne 0x14005d560
jmp 0x14005d5f9
movzx ecx, byte [rax]
cmp rcx, 0x20
ja 0x14005d582
bt r14, rcx
jae 0x14005d582
jmp 0x14005d5f9
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400bc9e0
mov rax, qword [rsi + 0x40]
jmp 0x14005d4e8
mov rax, qword [rsi + 8]
movzx eax, byte [rax]
cmp rax, 0x20
ja 0x14005d53f
movabs rcx, 0x100003600
bt rcx, rax
jae 0x14005d53f
mov rax, qword [rsi + 0x10]
mov qword [rsi + 8], rax
cmp rax, qword [rsi + 0x18]
jne 0x14005d515
mov byte [rsi + 0x54], 1
xor ebx, ebx
mov eax, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140076e44
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140076f98

Function at 0x1400b2db0
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rcx
mov edi, 2
cmp rdx, 1
jne 0x1400b2dea
mov rsi, qword [r14 + 8]
cmp rdi, rsi
ja 0x1400b2ee5
jae 0x1400b2edb
mov rax, qword [r14 + 0x18]
test rax, rax
js 0x1400b2e05
cvtsi2ss xmm0, rax
jmp 0x1400b2e1a
lea rax, [rdx - 1]
test rdx, rax
jne 0x1400b2df8
mov rdi, rdx
jmp 0x1400b2dc7
mov rcx, rdx
call fcn.14004e1c0
mov rdi, rax
jmp 0x1400b2dc7
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [r14 + 0x20]
call fcn.140094d60
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1400d0320]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rsi, 3
jb 0x1400b2ec7
mov rcx, rsi
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rbx, rsi
sub rbx, rdx
movabs rdx, 0x3333333333333333
mov rcx, rbx
shr rcx, 2
and rbx, rdx
and rcx, rdx
add rcx, rbx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rdx
movabs rdx, 0x101010101010101
imul rdx, rcx
shr rdx, 0x38
cmp edx, 1
ja 0x1400b2ec7
cmp rax, 2
jb 0x1400b2ecf
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x1400b2ecf
mov rcx, rax
call fcn.14004e1c0
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rsi
jb 0x1400b2ee5
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, r14
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x140099c20
Function at 0x1400113c5
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140019e30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140019e50
xor al, al
jmp 0x140019ed1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140019e63
xor al, al
jmp 0x140019ed1
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 0x140019e8d
xor al, al
jmp 0x140019ed1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019ea1
xor al, al
jmp 0x140019ed1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019eb3
xor al, al
jmp 0x140019ed1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140019ecf
xor al, al
jmp 0x140019ed1
mov al, 1
add rsp, 0x38
ret