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

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14023f915
test al, 1
je 0x14023f934
test al, 2
jne 0x14023f94c
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1402fb4f8]
mov edx, 0x23
call fcn.14015d2f0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402fb538]
mov edx, 0x25
call fcn.14015d2f0
int3

Function at 0x140240626
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
cmp rcx, 0xffffffffffffffff
je 0x14024066e
movzx eax, dl
lea r9, [rsp + 0x34]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14024065c
xor eax, eax
jmp 0x140240669
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
lea rcx, str.C:Usersdelph.cargo_registry_srcmirrors.tuna.tsinghua.edu.cn_2eab394af869c8a2_tokio_1.38.0_srciopoll_evented.rs
call fcn.140163aa0
int3
Function at 0x14024067b
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
lea r14, [rsp + 0x2a]
lea r15, [rsp + 0x42]
mov r12, qword [rcx + 0x10]
mov r13d, 0x7fffffff
cmp r9, r13
cmovb r13, r9
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x48], rax
lea rbp, [rsp + 0x20]
mov qword [rsp + 0x30], r13
mov rcx, rbp
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.14024036d
mov al, byte [rsp + 0x29]
cmp al, 3
je 0x1402407f0
mov rbp, qword [rsp + 0x20]
cmp al, 2
je 0x1402407e9
mov cl, byte [rsp + 0x28]
movzx edx, word [r14 + 4]
mov word [r15 + 4], dx
mov edx, dword [r14]
mov dword [r15], edx
mov qword [rsp + 0x38], rbp
mov byte [rsp + 0x40], cl
mov byte [rsp + 0x41], al
mov rcx, qword [rsp + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x140240810
mov rdx, rsi
mov r8d, r13d
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x1402407f7
call sub.ws2_32.dll_WSAGetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rbp
call fcn.14017cc8e
cmp al, 0xd
jne 0x1402407b9
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1402407b9
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x14024081c
mov r13, r12
mov r12, rbx
mov rbx, r14
mov r14, rdi
mov rdi, rsi
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.1401a3c47
mov rsi, rax
test rax, rax
je 0x1402407a5
mov rcx, rbp
call fcn.1401a1d6f
mov rbp, rsi
mov rsi, rdi
mov rdi, r14
mov r14, rbx
mov rbx, r12
mov r12, r13
mov r13, qword [rsp + 0x30]
mov rcx, rbp
call fcn.14017cc8e
cmp al, 0xd
jne 0x1402407e9
mov qword [rsp + 0x20], rbp
mov rcx, rbx
lea rdx, [rsp + 0x38]
call fcn.1402405c3
lea rbp, [rsp + 0x20]
mov rcx, rbp
call fcn.1402375bd
jmp 0x1402406cb
mov eax, 1
jmp 0x1402407fc
mov eax, 2
jmp 0x1402407fc
movsxd rbp, eax
xor eax, eax
mov rdx, rbp
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.C:Usersdelph.cargo_registry_srcmirrors.tuna.tsinghua.edu.cn_2eab394af869c8a2_tokio_1.38.0_srciopoll_evented.rs
call fcn.140163aa0
ud2
Function at 0x140271082
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
sub rsp, 0x98
mov rsi, rcx
xorps xmm0, xmm0
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x1402710d0
mov edi, eax
lea rcx, [rsp + 0x40]
mov edx, 0x10
call sub.advapi32.dll_SystemFunction036
test al, al
jne 0x1402710d0
and edi, 0x7fffffff
jne 0x140271130
movdqa xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm0
mov al, byte [rsp + 0x26]
mov cl, byte [rsp + 0x27]
mov dl, byte [rsp + 0x28]
mov r8b, byte [rsp + 0x2f]
pextrw r9d, xmm0, 2
movd dword [rsi], xmm0
psrldq xmm0, 9
and dl, 0x3f
or dl, 0x80
and al, 0xf
or al, 0x40
mov word [rsi + 4], r9w
mov byte [rsi + 6], al
mov byte [rsi + 7], cl
mov byte [rsi + 8], dl
movd dword [rsi + 9], xmm0
mov byte [rsi + 0xf], r8b
pextrw eax, xmm0, 2
mov word [rsi + 0xd], ax
add rsp, 0x98
pop rdi
pop rsi
ret
lea rax, [rsp + 0x3c]
mov dword [rax], edi
lea rdx, [rsp + 0x58]
mov qword [rdx], rax
lea rax, [0x14016b33d]
mov qword [rdx + 8], rax
lea rax, [0x1403233a8]
lea rcx, [rsp + 0x68]
mov qword [rcx], rax
mov eax, 1
mov qword [rcx + 8], rax
mov qword [rcx + 0x20], 0
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
lea rdx, str.C:Usersdelph.cargo_registry_srcmirrors.tuna.tsinghua.edu.cn_2eab394af869c8a2uuid_1.8.0_src_rng.rscould_not_retrieve_random_bytes_for_uuid:_32_
call fcn.14015c040
int3

Function at 0x140274190
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140274f60
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140274f60
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140274200
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140373f04]
mov rbx, rcx
test esi, esi
jle 0x140274330
mov rax, qword [0x140373f08]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14027424b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1402742d5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140274230
mov rcx, rbx
call fcn.140274c80
mov rdi, rax
test rax, rax
je 0x140274352
mov rax, qword [0x140373f08]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140274dc0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140373f08]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140274337
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1402742ce
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1402742e0
add dword [0x140373f04], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140373f08]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1402742ce
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140274190
nop dword [rax]
xor esi, esi
jmp 0x140274258
mov rax, qword [0x140373f08]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140274190
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140274190
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1402748f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140373f60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140373f40]
test rbx, rbx
je 0x14027494c
mov rbp, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rdi, qword [sym.imp.kernel32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140274943
test eax, eax
jne 0x140274943
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140274928
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140274c80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140324bc0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140274ca0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140274ca8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140274ca0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140274cfd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140274cf4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140274ca0
add rax, 0x28
cmp rax, r9
jne 0x140274ce0
xor eax, eax
ret

Function at 0x140274d00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140324bc0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140274d1f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140274d28
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140274d1f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140274dc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140324bc0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140274ddf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140274de8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x180003b90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
mov qword [rbp - 8], rcx
mov dword [rbp - 0x4c], 0
movdqa xmm0, xmmword [str.abcdefghijklmnop_]
movdqu xmmword [rbp - 0x48], xmm0
mov dword [rbp - 0x38], 0x74737271
mov dword [rbp - 0x34], 0x78777675
mov word [rbp - 0x30], 0x7a79
mov qword [rcx], 0
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
xor r8d, r8d
lea rdx, [0x18003f2cb]
call fcn.18000a6d0
mov dword [rbp - 0x4c], 1
xor r12d, r12d
call fcn.1800160e4
mov ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x1a
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rbp + rax - 0x48]
mov byte [rbp - 0x50], al
mov r13, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
cmp r13, rax
je 0x180003dfa
mov r15, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180003c6d
mov r15, qword [rbx]
mov qword [rbp - 0x28], 0
lea r14, [r13 + 1]
mov esi, 0xf
lea rdi, [rbp - 0x28]
cmp r14, rsi
jbe 0x180003d01
mov rsi, r14
or rsi, 0xf
cmp rsi, rax
jbe 0x180003c98
mov rsi, rax
jmp 0x180003ca5
cmp rsi, 0x16
mov eax, 0x16
cmovb rsi, rax
mov rcx, rsi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x180003cec
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180003e00
mov rcx, rax
call fcn.18000dc74
test rax, rax
je 0x180003df4
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180003cfd
test rcx, rcx
je 0x180003cfb
call fcn.18000dc74
mov rdi, rax
jmp 0x180003cfd
xor edi, edi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rsi
mov r8, r13
mov rdx, r15
mov rcx, rdi
call fcn.18000fbd0
movzx eax, byte [rbp - 0x50]
mov byte [rdi + r13], al
mov byte [rdi + r14], 0
or dword [rbp - 0x4c], 2
lea rax, [rbp - 0x28]
cmp rbx, rax
je 0x180003d8f
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180003d6b
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180003d66
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003df4
mov rcx, r8
call fcn.18000dc40
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rbx + 0x10], xmm1
jmp 0x180003dc6
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x180003dc6
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003dc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003df4
call fcn.18000dc40
inc r12d
cmp r12d, 4
jl 0x180003c21
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180015a3c
int3
call fcn.180001290
int3
call fcn.1800011f0
int3
Function at 0x180008940
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180008968
xor eax, eax
lea r8, [0x180002560]
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

Function at 0x180008db0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x180008e48
test r8, r8
jle 0x180008e40
nop word [rax + rax]
mov rcx, rdi
call fcn.18000a4d0
test rax, rax
jle 0x180008e1e
mov rcx, qword [rdi + 0x40]
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov r8, rsi
mov rcx, qword [rcx]
call fcn.18000fbd0
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x180008e38
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180008e40
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x180008de0
sub r14, rbx
mov rax, r14
jmp 0x180008ec6
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x180008e61
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180008e63
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x180008ebb
test ecx, ecx
jle 0x180008e9c
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.18000fbd0
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x180008ebb
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180008ebb
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.1800170a4
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x180008ee0
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 0x180008f02
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 0x180008f7c
mov rdi, r14
mov rcx, rbx
call fcn.18000a4f0
test rax, rax
jle 0x180008f54
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.18000fbd0
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 0x180008f6c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180008f74
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x180008f16
sub r14, rdi
jmp 0x18000905f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x180008f93
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180008f95
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180008fc7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.18000fbd0
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 0x18000905c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180009002
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 0x18000903d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.180017388
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x18000905c
cmp rbp, rax
ja 0x180009010
test rbp, rbp
je 0x18000905c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.180017388
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 0x180009480
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x180045058]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800094ad
xor eax, eax
jmp 0x1800095f3
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1800094e7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1800094e7
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 0x1800095f3
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1800095e6
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000952a
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 0x180009539
movsx ecx, dil
jmp 0x18000958d
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 0x1800095a7
sub eax, 1
je 0x1800095a7
cmp eax, 2
jne 0x1800095e6
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.180015c88
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1800095eb
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1800095d4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.1800170a4
cmp rsi, rax
jne 0x1800095e6
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1800095eb
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18000dc20
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140005671
Capabilities:
Get memory capacity

Disassembly:
push rsi
sub rsp, 0x60
lea rsi, [rsp + 0x20]
mov dword [rsi], 0x40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsi + 8]
shr rax, 0x14
cmp eax, 0xc17
jbe 0x14000569f
add rsp, 0x60
pop rsi
ret
xor ecx, ecx
call fcn.140024820
int3

Function at 0x1400056a7
Capabilities:
Identify system language via api

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0x3ff
cmp ax, 4
jne 0x1400056c1
add rsp, 0x28
ret
lea rcx, [0x14005abb0]
lea rdx, [0x14004f55c]
call fcn.1400056ee
lea rdx, [0x14000589b]
mov rcx, rax
call fcn.1400058cc
mov ecx, 1
call fcn.140024820
int3

Function at 0x14000765b
Capabilities:
Allocate or change rwx memory

Disassembly:
push rsi
push rdi
sub rsp, 0x138
lea rdx, [0x14004c8b0]
lea rsi, [rsp + 0x20]
mov r8d, 0x116
mov rcx, rsi
call fcn.140013410
mov edx, 0x116
mov rcx, rsi
call fcn.140007648
mov edx, 0x116
xor ecx, ecx
mov r8d, 0x1000
mov r9d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, 0x116
mov rcx, rax
mov rdi, rax
mov rdx, rsi
call fcn.140013410
mov rax, rdi
add rsp, 0x138
pop rdi
pop rsi
jmp rax

Function at 0x14000b084
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
test r8, r8
jle 0x14000b0bd
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x14000b0c4
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_64
xor esi, esi
jmp 0x14000b19b
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call fcn.14000a8ea
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14000b117
lea r14, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.1400055bb
mov r15, qword [rax]
mov rcx, rbx
call fcn.14000a900
mov rcx, rdi
mov rdx, rax
mov r8, r15
call fcn.14000536c
add rdi, r15
sub qword [r14], r15
mov rcx, rbx
mov edx, r15d
call fcn.14000a908
cmp qword [rbx + 0x80], 0
je 0x14000b16b
mov rcx, rbx
call fcn.14000a612
mov r8, qword [rsp + 0x20]
cmp r8, 0x1000
jb 0x14000b172
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call fcn.140028c58
add rdi, rax
mov r8, qword [rsp + 0x20]
sub r8, rax
mov qword [rsp + 0x20], r8
cmp rax, 0xfff
je 0x14000b12e
jmp 0x14000b198
mov r8, qword [rsp + 0x20]
jmp 0x14000b198
test r8, r8
je 0x14000b195
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
call fcn.140028c58
mov r8, qword [rsp + 0x20]
sub r8, rax
jmp 0x14000b198
xor r8d, r8d
sub rsi, r8
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14000cda8
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x128
mov rsi, rcx
lea rdi, [rsp + 0x20]
mov ecx, 0x100
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov rcx, rsi
mov rdx, rdi
call fcn.140005072
mov rax, rsi
add rsp, 0x128
pop rdi
pop rsi
ret
Function at 0x140011e4e
Capabilities:
Parse credit card information

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov ebp, edx
mov rsi, rcx
xor ebx, ebx
cmp edx, 0x2e
mov eax, 0xe
cmove eax, ebx
cmp edx, 0x3d
cmove eax, ebx
cmp edx, 0x3a
mov edi, 1
cmovne edi, eax
mov r14, qword [rcx]
movabs r15, 0x4800800000000001
mov eax, dword [rsi + 0x7c]
lea ecx, [rax + 1]
cmp ecx, 0x3e
ja 0x140011e9b
bt r15, rcx
jb 0x140011ea8
mov rcx, rsi
call fcn.140010ace
inc rbx
jmp 0x140011e8a
cmp eax, ebp
jne 0x140011efa
cmp ebp, 0x3a
jne 0x140011f28
mov rbx, qword [rsi + 0x68]
mov ecx, dword [rsi + 0x70]
mov edx, 0x100
call fcn.14000db1a
test eax, eax
setne r9b
mov r8, qword [rsi]
mov rcx, rbx
mov rdx, r14
call fcn.140011f6c
mov ebx, eax
test ax, ax
jne 0x140011eea
mov rcx, rsi
mov edx, 1
call fcn.140010630
lea rcx, [rsi + 0x40]
mov edx, ebx
xor r8d, r8d
call fcn.140012086
jmp 0x140011f04
mov rcx, rsi
mov edx, edi
call fcn.140010630
mov rcx, rsi
call fcn.140010ace
mov rcx, rsi
mov edx, 0x5d
mov r8d, edi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140010fd8
cmp ebp, 0x2e
je 0x140011f4b
cmp ebp, 0x3d
jne 0x140011f04
mov r8, qword [rsi]
cmp r14, r8
je 0x140011f64
lea rcx, [rsi + 0x40]
mov rdx, r14
mov r9, rbx
call fcn.140012096
jmp 0x140011f04
mov r8, qword [rsi]
cmp r14, r8
je 0x140011f64
lea rcx, [rsi + 0x40]
mov rdx, r14
mov r9, rbx
call fcn.14001215e
jmp 0x140011f04
mov rcx, rsi
xor edx, edx
jmp 0x140011eff

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

Disassembly:
mov r8, rdx
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x1400132d4
test r8, r8
je 0x1400132fe
xor r9d, r9d
movabs r10, 0x100000001b3
movzx eax, byte [rdx + r9]
xor rax, rcx
imul rax, r10
inc r9
mov rcx, rax
cmp r8, r9
jne 0x1400132e6
ret
mov rax, rcx
ret

Function at 0x14001c898
Capabilities:
Parse pe header

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