joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140030dc0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x1400a8378]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x40]
call fcn.140055870
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x140030e13
mov rcx, qword [r15]
mov r8d, 0x104
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r13d, eax
xor r14d, r14d
test eax, eax
je 0x140030f78
cmp eax, 0x104
ja 0x140030e69
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
mov word [rsi], r14w
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x140030e55
lea rdx, [rsp + 0x40]
jmp 0x140030f92
inc eax
mov r12d, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov rbp, r14
mov qword [rsp + 0x30], r14
test eax, eax
je 0x140030ef0
lea rdi, [rax + rax]
cmp rdi, 0x1000
jb 0x140030eb9
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140030fce
call fcn.140036954
test rax, rax
je 0x140030fc8
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140030ece
test rdi, rdi
je 0x140030ecb
mov rcx, rdi
call fcn.140036954
mov rbx, rax
jmp 0x140030ece
mov rbx, r14
mov qword [rsp + 0x20], rbx
lea rbp, [rdi + rbx]
mov qword [rsp + 0x30], rbp
movzx eax, r14w
mov rdi, rbx
mov rcx, r12
rep stosw word [rdi], ax
mov qword [rsp + 0x28], rbp
jmp 0x140030ef5
mov rbx, qword [rsp + 0x20]
cmp qword [r15 + 0x18], 8
jb 0x140030eff
mov r15, qword [r15]
mov r8d, r13d
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
mov word [rsi], r14w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140030f25
mov rdx, rbx
mov rcx, rsi
call fcn.14000b390
nop
test rbx, rbx
je 0x140030f9a
sub rbp, rbx
sar rbp, 1
add rbp, rbp
mov rax, rbx
cmp rbp, 0x1000
jb 0x140030f6b
add rbp, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030fc8
mov rdx, rbp
mov rcx, rbx
call fcn.140036990
jmp 0x140030f9a
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
mov word [rsi], r14w
xor r8d, r8d
lea rdx, [0x14007dd18]
mov rcx, rsi
call fcn.14000b390
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140036fa0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140059e3c
int3
call fcn.14000aea0
int3
Function at 0x140032200
Capabilities:
Compare security identifiers

Disassembly:
push rdi
push r15
sub rsp, 0x48
xor r15d, r15d
mov rdi, rcx
mov qword [rsp + 0x60], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rcx, rax
lea edx, [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x140032433
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x140032433
mov rcx, rdi
mov qword [rsp + 0x38], rsi
call fcn.140032d80
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140032423
mov qword [rsp + 0x68], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x68]
mov edx, 0x20008
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140032409
mov qword [rsp + 0x70], rbx
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x30], r14
test rsi, rsi
je 0x1400323ee
test rbx, rbx
je 0x1400323ee
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r15 + 1]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1400322e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400323ee
mov ecx, dword [rsp + 0x60]
call fcn.140036998
mov r9d, dword [rsp + 0x60]
mov r14, rax
lea rax, [rsp + 0x60]
mov r8, r14
mov edx, 1
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400323e6
mov rbp, qword [r14]
test rbp, rbp
je 0x1400323e6
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x1400323e6
xor r9d, r9d
mov dword [rsp + 0x60], r15d
lea rax, [rsp + 0x60]
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x14003236c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400323ee
mov ecx, dword [rsp + 0x60]
call fcn.140036998
mov r9d, dword [rsp + 0x60]
mov r15, rax
lea rax, [rsp + 0x60]
mov r8, r15
mov edx, 1
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400323d9
mov rbx, qword [r15]
test rbx, rbx
je 0x1400323d9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x1400323d9
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_EqualSid]
cmp eax, 1
mov rcx, r14
sete bl
call fcn.140036990
mov rcx, r15
call fcn.140036990
test bl, bl
jne 0x1400323fa
jmp 0x1400323ee
mov rcx, r14
call fcn.140036990
mov rcx, r15
jmp 0x1400323e9
mov rcx, r14
call fcn.140036990
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov byte [rdi], 1
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140032423
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x48
pop r15
pop rdi
ret
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
add rsp, 0x48
pop r15
pop rdi
ret
Function at 0x1400328f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x280
mov rax, qword [0x1400a8378]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov ebp, edx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov edi, r14d
mov dword [rsp + 0x34], r14d
lea rcx, [rsp + 0x30]
call fcn.140032200
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140055870
cmp byte [0x1400ac0ec], r14b
jne 0x140032994
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
lea rdx, str.Support_GetWinSpecialFoldersFromReg
lea rcx, [rsp + 0x40]
call fcn.1400041d0
nop
mov edi, 1
mov dword [rsp + 0x34], edi
lea rcx, [rsp + 0x40]
call fcn.14002ad70
test al, al
jne 0x140032994
xor sil, sil
jmp 0x140032997
mov sil, 1
test dil, 1
je 0x1400329df
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400329df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400329da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032a70
call fcn.140036990
lea rdx, [rsp + 0x60]
test sil, sil
je 0x140032a0c
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], 0xffffffffffffffff
xor r9d, r9d
mov r8d, 0x104
mov ecx, ebp
call fcn.140032460
jmp 0x140032a1a
xor r9d, r9d
mov r8d, ebp
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400041d0
nop
cmp byte [rsp + 0x30], 0
je 0x140032a45
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140036fa0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140059e3c
nop
int3
Function at 0x140032d80
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400a8378]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov qword [rsp + 0x28], 0xffffffffffffffff
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x140032f75
cmp dword [rsp + 0x20], 0xffffffff
je 0x140032f75
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor esi, esi
mov qword [rsp + 0x40], rsi
xor edx, edx
lea ecx, [rsi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140032f2e
mov dword [rsp + 0x50], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x54]
call fcn.140055870
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.KERNEL32.dll_Process32FirstW
mov rdi, qword [rsp + 0x38]
test eax, eax
je 0x140032e9a
lea rdx, str.explorer.exe
lea rcx, [rsp + 0x7c]
call fcn.1400634cc
test eax, eax
jne 0x140032e89
cmp rdi, rsi
je 0x140032e6d
mov eax, dword [rsp + 0x58]
mov dword [rdi], eax
add rdi, 4
mov qword [rsp + 0x38], rdi
jmp 0x140032e89
lea r8, [rsp + 0x58]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140032070
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140032e42
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x30]
cmp r15, rdi
je 0x140032f33
mov rbx, r15
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x24], 0xffffffff
lea rdx, [rsp + 0x24]
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x140032f1b
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jne 0x140032f1b
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x100400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x140032f1b
lea r8, [rsp + 0x28]
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rcx, r14
test eax, eax
jne 0x140032f26
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
cmp rbx, rdi
je 0x140032f33
jmp 0x140032ec0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140032f33
mov r15, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
test r15, r15
je 0x140032f70
sub rsi, r15
and rsi, 0xfffffffffffffffc
mov rax, r15
cmp rsi, 0x1000
jb 0x140032f65
add rsi, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032fa6
mov rdx, rsi
mov rcx, r15
call fcn.140036990
mov rax, rbx
jmp 0x140032f7a
mov rax, qword [rsp + 0x28]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140036fa0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140059e3c
int3
Function at 0x1400334f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 7
mov word [rcx], bp
mov dword [rsp + 0x20], 1
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x140033539
mov rcx, qword [rdx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test eax, eax
je 0x1400335d1
mov edx, esi
mov rcx, qword [rbx + 0x10]
cmp rsi, rcx
ja 0x140033570
mov qword [rbx + 0x10], rdx
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14003356a
mov rcx, qword [rbx]
mov word [rcx + rsi*2], bp
jmp 0x14003357e
xor r8d, r8d
sub rdx, rcx
mov rcx, rbx
call fcn.14002fbf0
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14003358b
mov rdx, qword [rbx]
cmp qword [rdi + 0x18], 8
jb 0x140033595
mov rdi, qword [rdi]
mov r8d, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, eax
mov rax, qword [rbx + 0x10]
cmp rdx, rax
ja 0x1400335c3
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400335bd
mov rax, qword [rbx]
mov word [rax + rdx*2], bp
jmp 0x1400335d1
xor r8d, r8d
sub rdx, rax
mov rcx, rbx
call fcn.14002fbf0
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140038f1c
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140038f2f
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140039530
lea rdx, [0x1400a5f00]
lea rcx, [rsp + 0x20]
call fcn.1400546e4
int3

Function at 0x140044c80
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1400acd58]
xor edx, edx
jmp fcn.140038f1c

Function at 0x140045614
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1400acd58]
jmp fcn.140038f1c
Function at 0x140051184
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140051240]
mov r9, qword [r9 + 8]
jmp fcn.1400411dc

Function at 0x140051218
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140051250]
mov r9, qword [r9 + 8]
jmp fcn.1400411dc

Function at 0x140064fb8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140064de4
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x1400138b0
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]
nop
add rsp, 0x28
ret

Function at 0x14001126c
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x140011f30
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400230a4]
call fcn.140011393
nop
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x140012081
lea rdx, str.NtWriteVirtualMemory
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001e950], rax
cmp qword [0x14001e950], 0
jne 0x140011fa1
lea rcx, str.____NtWriteVirtualMemory_not_loaded_n
call fcn.1400111ae
nop
mov eax, 1
jmp 0x140012097
lea rdx, str.NtQuerySystemInformation
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001e948], rax
cmp qword [0x14001e948], 0
jne 0x140011fda
lea rcx, str.____NtWriteVirtualMemory_not_loaded_n
call fcn.1400111ae
nop
mov eax, 1
jmp 0x140012097
lea rdx, str.RtlInitUnicodeString
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001e940], rax
cmp qword [0x14001e940], 0
jne 0x140012013
lea rcx, str.____NtWriteVirtualMemory_not_loaded_n
call fcn.1400111ae
nop
mov eax, 1
jmp 0x140012097
lea rdx, str.NtFsControlFile
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001e938], rax
cmp qword [0x14001e938], 0
jne 0x140012049
lea rcx, str.____NtWriteVirtualMemory_not_loaded_n
call fcn.1400111ae
nop
mov eax, 1
jmp 0x140012097
lea rdx, str.NtCreateFile
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001e930], rax
cmp qword [0x14001e930], 0
jne 0x14001207f
lea rcx, str.____NtWriteVirtualMemory_not_loaded_n
call fcn.1400111ae
nop
mov eax, 1
jmp 0x140012097
jmp 0x140012095
lea rcx, str.____NTDLL_not_loaded_n
call fcn.1400111ae
nop
mov eax, 1
jmp 0x140012097
xor eax, eax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140011299
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014c00
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014c20
xor al, al
jmp 0x140014ca1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014c33
xor al, al
jmp 0x140014ca1
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 0x140014c5d
xor al, al
jmp 0x140014ca1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014c71
xor al, al
jmp 0x140014ca1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014c83
xor al, al
jmp 0x140014ca1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014c9f
xor al, al
jmp 0x140014ca1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012af0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113bb
movzx eax, al
test eax, eax
jne 0x140012b10
mov ecx, 7
call fcn.140011339
nop
mov byte [rsp + 0x20], 0
call fcn.14001134d
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x140012b34
mov ecx, 7
call fcn.140011339
nop
jmp 0x140012b8c
cmp dword [0x14001e868], 0
jne 0x140012b87
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111b3
test eax, eax
je 0x140012b68
mov eax, 0xff
jmp 0x140012c91
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011343
mov dword [0x14001e868], 2
jmp 0x140012b8c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011325
call fcn.1400112bc
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012be9
mov rcx, qword [rsp + 0x30]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x140012be9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112ee
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012c1d
mov rcx, qword [rsp + 0x38]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x140012c1d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001137a
nop
call fcn.140012d40
mov dword [rsp + 0x28], eax
call fcn.140011299
movzx eax, al
test eax, eax
jne 0x140012c3c
mov ecx, dword [rsp + 0x28]
call fcn.14001105a
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012c4b
call fcn.140011384
nop
xor edx, edx
mov cl, 1
call fcn.14001114f
mov eax, dword [rsp + 0x28]
jmp 0x140012c91
add rsp, 0x68
ret
Function at 0x140001d60
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r9, qword [rcx + 8]
mov byte [rsp + 0x20], 0
test r9, r9
je 0x140001daa
mov edx, 1
lea rcx, [rsp + 0x20]
mov r8d, edx
call fcn.140022a5c
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140017150
add rsp, 0x38
ret
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140017150
add rsp, 0x38
ret

Function at 0x140001dc0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r9, qword [rcx + 8]
xor eax, eax
mov word [rsp + 0x20], ax
test r9, r9
je 0x140001dfd
mov edx, 1
lea rcx, [rsp + 0x20]
mov r8d, 2
call fcn.140022a5c
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140017150
add rsp, 0x38
ret

Function at 0x140007270
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor edi, edi
mov byte [rsp + 0x20], 0
mov rbx, rcx
cmp byte [rcx + 0x40], dil
jne 0x140007315
cmp dword [rcx + 0x48], 0x100
jl 0x1400072b6
inc dword [rcx + 0x44]
call fcn.140006f80
mov rcx, rbx
call fcn.140007190
test al, al
je 0x140007311
mov r9, qword [rbx + 8]
test r9, r9
je 0x1400072ec
mov edx, 1
lea rcx, [rsp + 0x20]
mov r8d, edx
call fcn.140022a5c
cmp rax, 1
jne 0x140007311
inc dword [rbx + 0x48]
movzx edx, byte [rsp + 0x20]
cmp dl, 0x1a
jne 0x140007307
mov byte [rbx + 0x40], al
mov edi, 0x1a
movzx eax, di
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140017150
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call fcn.140002620
movzx edi, ax
jmp 0x1400072ec
mov byte [rbx + 0x40], 1
mov eax, 0x1a
jmp 0x1400072ef

Function at 0x140007e20
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r9, qword [rcx + 8]
mov byte [rsp + 0x20], 0
test r9, r9
je 0x140007e6f
mov edx, 1
lea rcx, [rsp + 0x20]
mov r8d, edx
call fcn.140022a5c
movzx edx, byte [rsp + 0x20]
call fcn.140002620
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140017150
add rsp, 0x38
ret
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140017150
add rsp, 0x38
ret

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

Disassembly:
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000cae0
lea r9, [rdx + rdx]
xor r8d, r8d
movabs rax, 0xcbf29ce484222325
test r9, r9
je 0x14000cb14
movabs r10, 0x100000001b3
movzx edx, byte [rcx + r8]
inc r8
xor rax, rdx
imul rax, r10
cmp r8, r9
jb 0x14000cb00
ret
Function at 0x14000e0e0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x14000e29c
cmp ecx, 0x7c
je 0x14000e29c
cmp ecx, 0x29
jne 0x14000e128
cmp dword [rbx + 0x1c], 0
jne 0x14000e29c
test dword [rbx + 0x80], 0x10000000
je 0x14000e2b2
jmp 0x14000e26c
cmp ecx, 0x2e
jne 0x14000e13b
lea rcx, [rbx + 0x40]
call fcn.14000faf0
jmp 0x14000e279
cmp ecx, 0x5c
jne 0x14000e1a3
mov rcx, rbx
call fcn.14000e0a0
test byte [rbx + 0x80], 0x80
je 0x14000e196
movzx eax, word [rbx + 0x78]
cmp ax, 0x62
jne 0x14000e171
lea rcx, [rbx + 0x40]
call fcn.14000fae0
mov rcx, rbx
call fcn.14000e0a0
jmp 0x14000e289
cmp ax, 0x42
jne 0x14000e196
lea rcx, [rbx + 0x40]
call fcn.14000fae0
lea rcx, [rbx + 0x40]
call fcn.14000fbc0
mov rcx, rbx
call fcn.14000e0a0
jmp 0x14000e289
mov rcx, rbx
call fcn.14000f790
jmp 0x14000e281
cmp ecx, 0x5b
jne 0x14000e1d0
mov rcx, rbx
call fcn.14000e0a0
mov rcx, rbx
call fcn.14000f720
mov edx, 0x5d
mov r8d, 4
mov rcx, rbx
call fcn.14000f700
jmp 0x14000e281
cmp ecx, 0x28
jne 0x14000e206
mov rcx, rbx
call fcn.14000e0a0
mov rcx, rbx
call fcn.14000f8a0
mov edx, 0x29
mov r8d, 5
mov rcx, rbx
movzx edi, al
call fcn.14000f700
test dil, dil
je 0x14000e289
jmp 0x14000e281
cmp ecx, 0x5e
jne 0x14000e21e
lea rcx, [rbx + 0x40]
call fcn.14000fac0
mov rcx, rbx
call fcn.14000e0a0
jmp 0x14000e289
cmp ecx, 0x24
jne 0x14000e236
lea rcx, [rbx + 0x40]
call fcn.14000fad0
mov rcx, rbx
call fcn.14000e0a0
jmp 0x14000e289
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14000e2a7
cmp ecx, 0x3f
je 0x14000e2a7
cmp ecx, 0x7b
je 0x14000e2a7
cmp ecx, 0x7d
jne 0x14000e25b
test dword [rbx + 0x80], 0x10000000
je 0x14000e2bd
jmp 0x14000e26c
cmp ecx, 0x5d
jne 0x14000e26c
test dword [rbx + 0x80], 0x10000000
je 0x14000e2c8
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14000fb00
mov rcx, rbx
call fcn.14000e0a0
mov rcx, rbx
call fcn.14000f970
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x14000e29c
cmp ecx, 0x7c
jne 0x14000e104
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
call fcn.14000d250
int3
mov edx, 5
call fcn.14000d250
int3
mov edx, 6
call fcn.14000d250
int3
mov edx, 4
call fcn.14000d250
int3