joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180033690
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x180049c78], ebp
je 0x1800336e7
cmp rbx, 0x20
jae 0x1800336d0
xor ecx, ecx
jmp 0x1800336d2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180049c78], ebp
jne 0x1800336c6
cmp qword [0x180049c80], r15
je 0x1800337e3
test rdi, rdi
jne 0x180033707
mov ecx, esi
call fcn.180033200
mov ebp, eax
jmp 0x1800337e8
mov ecx, dword [0x180049f2c]
mov ebx, r15d
test ecx, ecx
je 0x18003372f
mov r8, qword [0x180049f20]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180033739
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180033720
mov ebp, 4
jmp 0x1800337e8
cmp ebx, 0xffffffff
je 0x18003372f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x1800337da
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180032f20
mov edx, esi
mov ecx, ebx
call fcn.1800330d0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x1800337e8
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800337c4
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800337ba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180033790
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180049c80]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800337e8
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x1800337e8
mov ebp, 2
xchg dword [0x180049c78], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x180034870
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
test edx, edx
je 0x1800348a6
cmp edx, 1
jne 0x1800348d0
xor eax, eax
lea r8, [0x180034700]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
cmp dword [0x180049da8], 0
je 0x1800348d0
call fcn.180033810
mov rcx, qword [0x180049da0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov qword [0x180049da0], rax
mov dword [0x180049da8], eax
mov eax, 1
add rsp, 0x38
ret
Function at 0x1400016c0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 0xf
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
lea r14d, [rbp - 6]
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14000171d
mov rcx, qword [rdx]
mov r8, rcx
jmp 0x140001720
mov r8, rdx
mov r15, rcx
mov rax, qword [rdx + 0x10]
add rax, r8
mov qword [rsp + 0x28], rax
cmp rcx, rax
je 0x140001840
lea r13, [0x14000ab08]
nop
shl ebp, 8
movzx eax, byte [r15]
add ebp, eax
add r14d, 8
js 0x1400017d2
movsxd r12, ebp
movsxd rdi, r14d
lea ecx, [r14 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov esi, edx
imul eax, edx, 0xfffffffa
add r14d, eax
nop
mov rdx, r13
cmp qword [0x14000ab20], 0xf
cmova rdx, qword [0x14000ab08]
mov rax, r12
mov rcx, rdi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + rdx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400017c0
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400017b5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400017c8
mov rcx, rbx
call fcn.140003f80
sub rdi, 6
sub rsi, 1
jne 0x140001770
mov ecx, r14d
inc r15
cmp r15, qword [rsp + 0x28]
jne 0x140001740
cmp ecx, 0xfffffffa
jle 0x140001840
cmp qword [0x14000ab20], 0xf
cmova r13, qword [0x14000ab08]
shl ebp, 8
movsxd rax, ebp
add cl, 8
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r13]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140001838
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14000182d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001840
mov rcx, rbx
call fcn.140003f80
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x140001889
nop dword [rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140001875
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14000186d
mov rax, qword [rbx]
mov word [rcx + rax], 0x3d
jmp 0x140001880
mov r9b, 0x3d
mov rcx, rbx
call fcn.140003f80
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x140001850
mov rax, rbx
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400018b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov dword [rsp + 0x24], esi
movabs rax, 0x20c49ba5e353f7cf
imul rdx
mov rbx, rdx
sar rbx, 7
mov rax, rbx
shr rax, 0x3f
add rbx, rax
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x50]
call fcn.140003190
nop
mov dword [rsp + 0x20], 0xe2ebd6
mov eax, esi
nop dword [rax]
movsxd rcx, eax
lea rdx, [rsp + 0x20]
add rdx, rcx
lea ecx, [rax - 0x7c]
xor byte [rdx], cl
inc eax
cmp eax, 3
jb 0x140001930
mov byte [rsp + 0x23], 0
movabs rax, 0x346dc5d63886594b
imul rbx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x2710
sub rbx, rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140003990
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_long___int64_____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x24], 4
mov rcx, qword [rbp - 0x28]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400019d4
mov rax, qword [rbp - 0x58]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400019d4
mov rax, qword [rbp - 0x78]
mov r9, qword [rax]
cmp rbx, qword [rbp - 0x30]
cmovb rbx, qword [rbp - 0x30]
jmp 0x1400019f6
test cl, 4
jne 0x140001a28
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x140001a28
mov rax, qword [rbp - 0x80]
mov r9, qword [rax]
mov rax, qword [rbp - 0x48]
movsxd rbx, dword [rax]
add rbx, rcx
mov rax, r9
sub rbx, r9
test rax, rax
je 0x140001a28
mov rcx, rdi
cmp rbx, 0xf
ja 0x140001a1f
mov qword [rdi + 0x10], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x140001a28
mov rdx, rbx
call fcn.1400040e0
nop
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rdx + 0x50], rax
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x4c], r8d
lea rcx, [rsp + 0x68]
call fcn.1400030d0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rdi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140004870
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000528c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400052d6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400052d6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400052d6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400052d6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400052d6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400052d8
xor al, al
add rsp, 0x28
ret
Function at 0x140001670
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400db3e4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1401773b8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 7
lea r8, [0x1401773b0]
call fcn.1400dab58
mov rsi, rax
test rax, rax
je 0x1400db430
mov rcx, rax
call fcn.1400090f0
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x1400db43b
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140001750
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401312f8
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 r14d, r14d
mov rbx, rax
test rax, rax
je 0x1401313cc
mov rsi, rax
cmp word [rax], r14w
je 0x14013134b
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x140131333
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x14013132f
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
test eax, eax
je 0x1401313cc
mov rcx, rbp
call fcn.140006220
mov rdi, rax
test rax, rax
je 0x1401313bf
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1401313bf
mov rsi, rdi
mov rdi, r14
jmp 0x1401313c2
mov rsi, r14
mov rcx, rdi
call fcn.140012110
jmp 0x1401313cf
mov rsi, r14
test rbx, rbx
je 0x1401313dd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400024d0
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400db378
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1401773a8]
mov ecx, 6
lea r8, [0x1401773a0]
lea rdx, str.FlsGetValue
call fcn.1400dab58
mov rdi, rax
test rax, rax
je 0x1400db3b9
mov rcx, rax
call fcn.1400090f0
mov ecx, ebx
call rdi
jmp 0x1400db3c1
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140004970
Capabilities:
Query environment variable

Disassembly:
jmp 0x14013143c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
je 0x1401314bb
jmp 0x140131477
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x140131466
lea rax, [rax + rcx*2]
add rax, 2
cmp word [rax], si
jne 0x140131462
sub rax, rbx
add rax, 2
sar rax, 1
lea rbp, [rax + rax]
mov rcx, rbp
call fcn.140006220
mov rdi, rax
test rax, rax
je 0x1401314ab
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.14000bb70
mov rsi, rdi
xor ecx, ecx
call fcn.140012110
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400049d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400d532c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400d53ba
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400d53ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d53ba
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400d53a1
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400d539b
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400d53a3
add rdx, 0x28
jmp 0x1400d5380
xor edx, edx
test rdx, rdx
jne 0x1400d53ac
xor al, al
jmp 0x1400d53c0
cmp dword [rdx + 0x24], 0
jge 0x1400d53b6
xor al, al
jmp 0x1400d53c0
mov al, 1
jmp 0x1400d53c0
xor al, al
jmp 0x1400d53c0
add rsp, 0x18
ret

Function at 0x140005030
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140141b10
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x140141b51
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x140141b45
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x140141b53
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x140141b33
xor eax, eax
ret

Function at 0x1400054d0
Capabilities:
Get geographical location

Disassembly:
jmp 0x140124940
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x14017d9f8]
mov rbp, rcx
lea r8, [0x14017d9f0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xb
call fcn.140123d4c
mov rcx, rbp
test rax, rax
je 0x140124996
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x1401cc010]
jmp 0x1401249ad
xor edx, edx
call fcn.140009730
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140006080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140108170
sub rsp, 0x58
mov rax, qword [0x1401b40a0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov r8, rdx
mov eax, r9d
mov r10, rcx
cmp rax, 0x20
lea r11d, [r9 + 1]
jae 0x14010820a
mov byte [rsp + rax + 0x20], r9b
add rax, r11
cmp rax, 0x20
jl 0x140108197
mov al, byte [rdx]
jmp 0x1401081ca
movzx edx, al
shr rdx, 3
movzx eax, al
and eax, 7
movzx ecx, byte [rsp + rdx + 0x20]
bts ecx, eax
add r8, r11
mov byte [rsp + rdx + 0x20], cl
mov al, byte [r8]
test al, al
jne 0x1401081ab
or byte [rsp + 0x20], r11b
jmp 0x1401081db
add r9d, r11d
add r10, r11
movzx r8d, byte [r10]
mov edx, r11d
mov ecx, r8d
shr r8, 3
and ecx, 7
shl edx, cl
test byte [rsp + r8 + 0x20], dl
je 0x1401081d5
movsxd rax, r9d
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140010c40
add rsp, 0x58
ret
call fcn.140005d50
int3

Function at 0x1400060e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14013e948
sub rsp, 0x58
mov rax, qword [0x1401b40a0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov r9, rdx
cmp rax, 0x20
mov r8, rcx
jae 0x14013e9e0
mov byte [rsp + rax + 0x20], 0
inc rax
cmp rax, 0x20
jl 0x14013e967
mov al, byte [rdx]
jmp 0x14013e99a
movzx edx, al
shr rdx, 3
movzx eax, al
and eax, 7
movzx ecx, byte [rsp + rdx + 0x20]
bts ecx, eax
inc r9
mov byte [rsp + rdx + 0x20], cl
mov al, byte [r9]
test al, al
jne 0x14013e97b
jmp 0x14013e9bf
movzx eax, r9b
mov edx, 1
movzx ecx, r9b
and ecx, 7
shr rax, 3
shl edx, cl
test byte [rsp + rax + 0x20], dl
jne 0x14013e9db
inc r8
mov r9b, byte [r8]
test r9b, r9b
jne 0x14013e9a0
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140010c40
add rsp, 0x58
ret
mov rax, r8
jmp 0x14013e9c9
call fcn.140005d50
int3
Function at 0x140007770
Capabilities:
Clear file content

Disassembly:
jmp 0x140140664
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov ebp, 1
mov r8d, ebp
xor edx, edx
mov esi, ecx
call fcn.140013c60
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1401406a5
call fcn.14000a490
mov eax, dword [rax]
jmp 0x14014074b
xor edx, edx
mov ecx, esi
lea r8d, [rdx + 2]
call fcn.140013c60
cmp rax, 0xffffffffffffffff
je 0x140140699
mov rdi, rbx
sub rdi, rax
test rdi, rdi
jle 0x14014078c
mov r15d, 0x1000
mov rdx, rbp
mov ecx, r15d
call fcn.14000cfc0
mov rbx, rax
test rax, rax
jne 0x1401406f0
call fcn.14000a490
mov dword [rax], 0xc
jmp 0x140140779
mov edx, 0x8000
mov ecx, esi
call fcn.1400051d0
mov ebp, eax
mov r8d, edi
cmp rdi, r15
mov rdx, rbx
mov ecx, esi
cmovge r8d, r15d
call fcn.140007df0
cmp eax, 0xffffffff
je 0x140140764
cdqe
sub rdi, rax
test rdi, rdi
jg 0x1401406fe
mov edx, ebp
mov ecx, esi
call fcn.1400051d0
mov rcx, rbx
call fcn.140012110
xor r8d, r8d
mov rdx, r14
mov ecx, esi
call fcn.140013c60
cmp rax, 0xffffffffffffffff
je 0x140140699
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
call fcn.140011180
cmp dword [rax], 5
jne 0x140140779
call fcn.14000a490
mov dword [rax], 0xd
call fcn.14000a490
mov rcx, rbx
mov edi, dword [rax]
call fcn.140012110
mov eax, edi
jmp 0x14014074b
jns 0x140140732
xor r8d, r8d
mov rdx, rbx
mov ecx, esi
call fcn.140013c60
cmp rax, 0xffffffffffffffff
je 0x140140699
mov ecx, esi
call fcn.140007890
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140140732
call fcn.14000a490
mov dword [rax], 0xd
call fcn.140011180
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
jmp 0x140140699
Function at 0x140008580
Capabilities:
Parse pe header

Disassembly:
jmp 0x140141bd0
mov rax, rcx
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x140141be0
xor eax, eax
ret
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
xor eax, eax
cmp dword [rcx], 0x4550
jne 0x140141bfd
mov edx, 0x20b
cmp word [rcx + 0x18], dx
sete al
ret

Function at 0x140008ae0
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400a77dc
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, 0x20
mov rbx, qword [0x1401b7060]
mov edi, r9d
xor rbx, qword [0x1401b40a0]
mov rsi, r8
mov ebp, edx
mov r14, rcx
je 0x1400a7827
mov rcx, rbx
call fcn.1400090f0
mov r9d, edi
mov r8, rsi
mov edx, ebp
mov rcx, r14
call rbx
jmp 0x1400a783c
call fcn.14000e650
mov ecx, eax
mov r9d, edi
mov r8, rsi
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140008b70
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400e5a80
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400e57c7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e57c7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400e57c7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400e57c7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e57c7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400e57c7
cmp dword [rcx + 0xf8], 0
je 0x1400e57c7
mov ecx, ebx
call fcn.1400e5958
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400064f0
cmp dword [rbp + 0x20], 0
je 0x1400e5814
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400e584c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400e5760
Function at 0x140009d50
Capabilities:
Parse pe header

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

Function at 0x14000a550
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400e59fc
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400e5760

Function at 0x14000ab60
Capabilities:
Terminate process

Disassembly:
jmp 0x1400e514c
sub rsp, 0x28
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x1400e5165
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400046d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14000b5b0
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400ea200
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x60
test rdx, rdx
je 0x1400ea23a
test r8, r8
je 0x1400ea23a
test r9, r9
jne 0x1400ea242
call fcn.14000a490
mov dword [rax], 0x16
call fcn.14000fad0
xor eax, eax
add rsp, 0x60
pop rbp
ret
lea rax, [rbp + 0x28]
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x28], rax
lea r8, [rbp - 0x28]
lea rax, [rbp + 0x10]
mov qword [rbp - 0x30], r9
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x38]
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x30]
lea rax, [rbp + 0x20]
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x10], rax
call fcn.140009270
jmp 0x1400ea23c

Function at 0x14000b6e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140079b20
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1401b40a0]
xor rax, rsp
mov qword [rsp + 0x68], rax
movsd xmm0, qword [str.KMGTPEZY]
xor ebx, ebx
movzx eax, byte [0x14016c528]
mov rdi, rcx
movsd qword [rsp + 0x38], xmm0
or ecx, 0xffffffff
mov dword [rsp + 0x34], ebx
xorps xmm0, xmm0
mov byte [rsp + 0x40], al
cvtsi2sd xmm0, rdx
test rdx, rdx
jns 0x140079b73
addsd xmm0, qword [0x14016d878]
movsd xmm1, qword [0x14016d858]
comisd xmm0, xmm1
jbe 0x140079ba1
movsd xmm2, qword [0x14016d848]
nop dword [rax]
cmp ecx, 7
jge 0x140079ba1
mulsd xmm0, xmm2
inc ecx
comisd xmm0, xmm1
ja 0x140079b90
movzx eax, word [0x14016c52c]
mov word [rsp + 0x30], ax
movzx eax, byte [0x14016c52e]
mov byte [rsp + 0x32], al
test ecx, ecx
js 0x140079bc8
movsxd rax, ecx
movzx ecx, byte [rsp + rax + 0x38]
mov byte [rsp + 0x30], cl
lea rax, [rsp + 0x30]
mov edx, 0x20
mov qword [rsp + 0x28], rax
lea r9, str._.2f__sB
mov r8d, edx
movsd qword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x48]
call fcn.14000b610
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rbx
mov byte [rdi], bl
cmp byte [rsp + 0x48], bl
je 0x140079c19
lea rax, [rsp + 0x48]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140079c10
mov r8, rbx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140001f50
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140010c40
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret

Function at 0x14000bf80
Capabilities:
Terminate process

Disassembly:
jmp 0x1400d6618
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 0x14000c330
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400db2a0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x140177388]
mov ecx, 4
lea r8, [0x140177380]
lea rdx, str.FlsAlloc
call fcn.1400dab58
mov rbx, rax
test rax, rax
je 0x1400db2e3
mov rcx, rax
call fcn.1400090f0
mov rcx, rdi
call rbx
jmp 0x1400db2e9
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret