joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006c5f0
Capabilities:
Set thread local storage value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x47e0
call fcn.180076bc0
sub rsp, rax
mov rax, qword [0x180090f80]
xor rax, rsp
mov qword [rsp + 0x47d0], rax
mov esi, dword [rsp + 0x4840]
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rdi, rcx
lea ebp, [rsi - 4]
cmp esi, ebp
jbe 0x18006c6e2
xor r12d, r12d
nop dword [rax + rax]
mov eax, esi
sub eax, 8
je 0x18006c725
sub eax, 3
je 0x18006c708
sub eax, 1
je 0x18006c6d3
cmp eax, 4
jne 0x18006c6d8
mov r8, rbx
xor edx, edx
mov ecx, 0xce
call fcn.180026a80
test eax, eax
jne 0x18006c6d8
movzx eax, byte [rdi]
xor r9d, r9d
mov byte [rsp + 0x40], al
xor edx, edx
lea rax, [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea r8d, [r9 + 0x18]
mov qword [rsp + 0x20], r12
call fcn.18002cab0
test eax, eax
je 0x18006c6d8
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov qword [rsp + 0x28], r12
mov r8, rbx
mov edx, 0x8f
mov qword [rsp + 0x20], r12
xor ecx, ecx
call fcn.180044950
mov r8, rbx
mov byte [rdi], al
xor edx, edx
mov ecx, 0xce
call fcn.180026a80
test eax, eax
je 0x18006c671
jmp 0x18006c6d8
mov qword [rsp + 0x50], rbx
dec esi
cmp esi, ebp
ja 0x18006c640
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x47d0]
xor rcx, rsp
call fcn.180076c30
add rsp, 0x47e0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rdi
mov r8d, 0xe0
mov rdx, r15
mov rcx, r14
call fcn.180065680
jmp 0x18006c6e6
mov ecx, dword [rbx]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x18006c739
mov eax, r12d
jmp 0x18006c6e6
mov eax, 1
jmp 0x18006c6e6
Function at 0x18006e6c0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
lea r14d, [rcx + 0x37f]
mov rsi, rdx
mov edi, ecx
cmp ecx, r14d
jae 0x18006e82b
mov ebx, dword [rsp + 0x80]
xor r15d, r15d
nop
mov eax, edi
sub eax, 0x99
je 0x18006e813
sub eax, 0x6d
je 0x18006e78b
sub eax, 0x1e
je 0x18006e778
sub eax, 0x95
je 0x18006e728
cmp eax, 0x1e
jne 0x18006e81c
sar ebx, 0x1a
and ebx, 1
mov eax, ebx
jmp 0x18006e832
mov rax, qword [rsp + 0x98]
lea r9, [rsi + 0xa8]
cmp qword [rsp + 0x40], rax
mov rcx, r15
mov edx, 0x111
mov qword [rsp + 0x20], r15
setl cl
xor r8d, r8d
mov qword [rsp + 0x90], rcx
lea rcx, [rsp + 0x90]
call fcn.180034fa0
cmp al, 1
jne 0x18006e81c
lea r9, str.invalid_entry_mode
jmp 0x18006e802
mov edx, 0x112
xor ecx, ecx
call fcn.1800365a0
mov ebx, eax
jmp 0x18006e81c
xor edx, edx
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rbp, [rsi + 0xa8]
xor r8d, r8d
mov qword [rsp + 0x20], rbp
lea ecx, [rdx + 0x7b]
call fcn.180010900
cmp al, 1
jne 0x18006e7d3
lea r9, str.m_verileri_de_siler.
mov r8, rsi
xor edx, edx
mov ecx, 0xba
call fcn.180056680
xor edx, edx
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbp
lea ecx, [rdx + 0x7b]
call fcn.180010900
cmp al, 1
jne 0x18006e81c
lea r9, str.N4XMPP11JT_RegisterE
mov r8, rsi
xor edx, edx
mov ecx, 0xba
call fcn.180056680
jmp 0x18006e81c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
add edi, 0xb3
cmp edi, r14d
jb 0x18006e6f0
mov eax, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18006fac0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
lea ebp, [r8 + 0x4e3]
mov r14, rdx
mov rsi, rcx
cmp r8d, ebp
jae 0x18006fbc6
movsxd r9, dword [rsp + 0x60]
mov r11d, dword [rsp + 0x60]
mov r10, r9
mov ebx, dword [rsp + 0x60]
mov edi, dword [rsp + 0x60]
nop dword [rax]
cmp r8d, 0x115
ja 0x18006fbe7
je 0x18006fbae
mov eax, r8d
sub eax, 0x57
je 0x18006fc5e
sub eax, 0x13
je 0x18006fbde
sub eax, 0x20
je 0x18006fb63
cmp eax, 0x6b
jne 0x18006fc49
mov edx, dword [r14]
mov eax, 1
cmp edx, eax
jle 0x18006fc49
mov ecx, dword [rsi]
dec ecx
nop word [rax + rax]
imul ebx, ecx
dec ecx
inc eax
imul edi, eax
cmp eax, edx
jl 0x18006fb50
jmp 0x18006fc49
mov eax, dword [r14 + 0x14]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x60], eax
mov ecx, 0x76
mov dword [rsp + 0x68], 0x10
call fcn.18002fb70
lea rcx, [rsi + 0x448]
mov r9d, 0xa
mov r11d, eax
mov r10d, r9d
cmp eax, dword [rcx]
jl 0x18006fbae
nop
inc r9d
lea rcx, [rcx + 4]
inc r10
cmp eax, dword [rcx]
jge 0x18006fba0
mov r8d, 0x115
cmp r9d, 0x10
jne 0x18006fc49
mov dword [rsp + 0x20], 0xffffffff
mov rax, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov ebx, dword [rsi]
mov edi, 1
jmp 0x18006fc49
mov eax, r8d
sub eax, 0x180
je 0x18006fc40
sub eax, 0x20
je 0x18006fc02
sub eax, 0x6b
je 0x18006fbc6
cmp eax, 0x20
je 0x18006fbc6
jmp 0x18006fc49
movzx eax, word [rsi + r10*2 + 0x400]
mov ecx, 0x10
sub ecx, r9d
mov edx, r11d
sar edx, cl
mov ecx, r9d
sub edx, eax
movzx eax, word [rsi + r10*2 + 0x464]
shr dword [r14 + 0x14], cl
add eax, edx
sub dword [r14 + 0x10], r9d
cdqe
movzx ecx, word [rsi + rax*2 + 0x5a4]
mov dword [rsp + 0x20], ecx
jmp 0x18006fc49
mov eax, ebx
cdq
idiv edi
mov dword [rsp + 0x20], eax
add r8d, 0x8b
cmp r8d, ebp
jb 0x18006fb00
jmp 0x18006fbc6
mov ecx, dword [r14]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x18006fbcb
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x140013590
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400148e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014900
xor al, al
jmp 0x140014981
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014913
xor al, al
jmp 0x140014981
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 0x14001493d
xor al, al
jmp 0x140014981
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014951
xor al, al
jmp 0x140014981
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014963
xor al, al
jmp 0x140014981
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001497f
xor al, al
jmp 0x140014981
mov al, 1
add rsp, 0x38
ret
Function at 0x1400110d7
Capabilities:
Terminate process

Disassembly:
jmp 0x1400179d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400113d4
Capabilities:
Create thread

Disassembly:
jmp 0x140015180
sub rsp, 0x68
mov rax, qword [0x140020058]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [0x140026044]
call fcn.1400110cd
mov ecx, 8
call fcn.1400111cc
test rax, rax
je 0x1400151b8
lea rcx, [0x14001125d]
mov qword [rax], rcx
lea rcx, [rsp + 0x48]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x140011258]
xor ecx, ecx
mov dword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140015239
call fcn.140011465
cmp dword [rsp + 0x48], 0
je 0x14001521a
call fcn.14001137a
cmp dword [rsp + 0x48], eax
je 0x14001524c
movaps xmm0, xmmword [rsp + 0x40]
lea rcx, [rsp + 0x30]
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400111f9
test eax, eax
jne 0x14001522e
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14001112c
add rsp, 0x68
ret
mov ecx, 2
call fcn.1400113e8
int3
mov ecx, 6
mov dword [rsp + 0x48], 0
call fcn.1400113e8
int3
mov ecx, 5
call fcn.1400113e8
int3

Function at 0x14001141a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140017750
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140017770
xor al, al
jmp 0x1400177f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140017783
xor al, al
jmp 0x1400177f1
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 0x1400177ad
xor al, al
jmp 0x1400177f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400177c1
xor al, al
jmp 0x1400177f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400177d3
xor al, al
jmp 0x1400177f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400177ef
xor al, al
jmp 0x1400177f1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001cc0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x14000793c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x140001d07
mov rax, qword [0x140007930]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x140001d14
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x140001cf0
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x140001d07
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.1400021b0
mov edi, eax
test eax, eax
jne 0x140001dfd
mov r9d, dword [0x14000793c]
cmp ebx, r9d
jae 0x140001d8c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x140007930]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x140001d85
mov edx, esi
mov ecx, ebx
call fcn.140001f30
mov edi, eax
test eax, eax
jne 0x140001d8c
mov r9d, dword [0x14000793c]
inc ebx
cmp ebx, r9d
jb 0x140001d50
cmp qword [rsp + 0x20], 0
je 0x140001dfb
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x140001de7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x140001dd8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x140001db0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x140007318]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x140001f30
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x140007930]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001f94
mov eax, 0xa
jmp 0x140002027
test esi, esi
je 0x140001fb6
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x140001fd9
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x140001fd9
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x140001fd2
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x140001fd9
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140002040
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140007228]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000218c
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x140002183
mov esi, 1
mov qword [rsp + 0x68], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x14000213a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x14000213a
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x14000213a
mov rdx, qword [rdi]
test rdx, rdx
jne 0x1400020fb
mov dword [rdi + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x140007318]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x140002162
lea rbx, [rdi + 0xc]
jmp 0x14000212f
mov eax, dword [rdi + 8]
lea rbx, [rdi + 0xc]
cmp dword [rbx], eax
jb 0x14000212f
add eax, eax
mov r8, rdx
mov r9d, eax
xor edx, edx
mov dword [rdi + 8], eax
mov rcx, qword [0x140007318]
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x140002162
mov qword [rdi], rax
mov ecx, dword [rbx]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1400020a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x14000217e
mov r8, qword [rdi]
xor esi, esi
test r8, r8
je 0x14000217e
mov rcx, qword [0x140007318]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x68]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400038d0
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400021b0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ebp, r8d
mov qword [rcx], 0
mov r14d, edx
mov qword [rcx + 8], 0
mov rdi, rcx
call fcn.140002040
test eax, eax
jne 0x1400021f7
mov eax, 9
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rdi], 0
je 0x14000226e
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x140002256
mov qword [rsp + 0x38], rsi
nop
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x14000224a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.140002730
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x140002210
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rbp, qword [rsp + 0x40]
xor eax, eax
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400028e0
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x14000294f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x140002938
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x14000292c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x140002900
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x140007318]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140002a10
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x140002a50
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x140007928]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x140002a8e
cmp rsi, r14
jb 0x140002a86
cmp rsi, r15
jae 0x140002a86
cmp qword [rsi + 8], 0
jne 0x140002c57
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140002a71
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x140002b22
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x140002b19
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002b19
cmp dword [rsp + 0x70], 0x10000
je 0x140002b9b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x140002b19
sub rbx, rbp
cmp rbx, r14
jae 0x140002ae0
test rsi, rsi
jne 0x140002c00
cmp rdi, r15
ja 0x140002c3f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x140002c3f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002c3f
cmp dword [rsp + 0x70], 0x10000
je 0x140002bd1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x140002b52
jmp 0x140002c3f
test rbx, rbx
je 0x140002b19
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x140002c00
cmp rbx, r14
jae 0x140002ac0
jmp 0x140002b22
test rdi, rdi
je 0x140002c3f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x140002c00
cmp rdi, r15
jbe 0x140002b30
jmp 0x140002c3f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x140002c10
mov rax, qword [0x140007928]
mov qword [rsi], rax
mov qword [0x140007928], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x14000438c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400043d6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400043d6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400043d6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400043d6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400043d6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400043d8
xor al, al
add rsp, 0x28
ret
Function at 0x140015fb8
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 + 0x60]
jmp 0x140016171
cmp ecx, 0x7c
je 0x14001617d
cmp ecx, 0x29
jne 0x140016003
cmp dword [rbx + 0x1c], 0
jne 0x14001617d
test dword [rbx + 0x64], 0x10000000
jne 0x140016140
mov ecx, 5
call fcn.14003962c
jmp 0x140016164
cmp ecx, 0x2e
jne 0x140016023
lea rcx, [rbx + 0x28]
mov edx, 5
call fcn.140016290
mov rcx, rbx
call fcn.140015f50
jmp 0x140016164
cmp ecx, 0x5c
jne 0x140016084
mov rcx, rbx
call fcn.140015f50
test byte [rbx + 0x64], 0x80
je 0x140016077
cmp word [rbx + 0x5e], 0x62
jne 0x140016058
mov edx, 4
lea rcx, [rbx + 0x28]
call fcn.140016290
mov rcx, rbx
call fcn.140015f50
jmp 0x14001616c
cmp word [rbx + 0x5e], 0x42
jne 0x140016077
lea rcx, [rbx + 0x28]
mov edx, 4
call fcn.140016290
mov rax, qword [rbx + 0x30]
xor dword [rax + 0xc], 1
jmp 0x14001604b
mov rcx, rbx
call fcn.140016b48
jmp 0x140016164
cmp ecx, 0x5b
jne 0x1400160b2
mov rcx, rbx
call fcn.140015f50
mov rcx, rbx
call fcn.1400169f4
cmp dword [rbx + 0x60], 0x5d
je 0x140016016
mov ecx, 4
call fcn.14003962c
jmp 0x140016016
cmp ecx, 0x28
jne 0x1400160e4
mov rcx, rbx
call fcn.140015f50
mov rcx, rbx
call fcn.140016c88
cmp dword [rbx + 0x60], 0x29
mov dil, al
je 0x1400160da
mov ecx, 5
call fcn.14003962c
mov rcx, rbx
call fcn.140015f50
jmp 0x14001615f
cmp ecx, 0x5e
jne 0x1400160f1
lea edx, [rcx - 0x5c]
jmp 0x140016042
cmp ecx, 0x24
jne 0x1400160fe
lea edx, [rcx - 0x21]
jmp 0x140016042
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140016152
cmp ecx, 0x3f
je 0x140016152
cmp ecx, 0x7b
je 0x140016152
cmp ecx, 0x7d
jne 0x140016128
test dword [rbx + 0x64], 0x10000000
jne 0x140016140
mov ecx, 6
jmp 0x140015ff9
cmp ecx, 0x5d
jne 0x140016140
test dword [rbx + 0x64], 0x10000000
jne 0x140016140
mov ecx, 4
jmp 0x140015ff9
movzx edx, word [rbx + 0x5e]
lea rcx, [rbx + 0x28]
call fcn.140016efc
jmp 0x140016016
mov ecx, 0xa
call fcn.14003962c
mov dil, 1
test dil, dil
je 0x14001616c
mov rcx, rbx
call fcn.140016dfc
mov ecx, dword [rbx + 0x60]
mov al, 1
cmp ecx, 0xffff
jne 0x140015fcf
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140023a90
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor esi, esi
mov rbx, rdx
test rdx, rdx
je 0x140023aad
and qword [rdx], rsi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x140023c09
mov ebp, dword [rax + 0x68]
xor edi, edi
test ebp, ebp
je 0x140023c09
mov r15, qword [rax + 0x70]
lea rcx, [rdi + rdi*2]
lea r14, [r15 + rcx*8]
mov rdx, qword [r14]
lea rcx, str.1.3.6.1.4.1.311.10.41.1
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x140023af1
inc edi
cmp edi, ebp
jb 0x140023acb
jmp 0x140023c09
mov rsi, r14
test rbx, rbx
je 0x140023c09
mov r8, qword [r14 + 0x10]
lea rax, [rsp + 0x70]
and dword [rsp + 0x70], 0
mov ebp, 0x18
mov qword [rsp + 0x30], rax
mov r14d, 0x10001
and qword [rsp + 0x28], 0
mov edx, ebp
mov r9d, dword [r8]
mov ecx, r14d
mov r8, qword [r8 + 8]
and dword [rsp + 0x20], 0
call qword [sym.imp.CRYPT32.dll_CryptDecodeObject]
nop dword [rax + rax]
test eax, eax
je 0x140023c09
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140023c09
mov edx, eax
lea ecx, [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140023c09
mov r8, qword [rsi + 0x10]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov edx, ebp
mov qword [rsp + 0x28], rdi
mov ecx, r14d
and dword [rsp + 0x20], 0
mov r9d, dword [r8]
mov r8, qword [r8 + 8]
call qword [sym.imp.CRYPT32.dll_CryptDecodeObject]
nop dword [rax + rax]
test eax, eax
je 0x140023bfa
mov edx, dword [rdi + 8]
lea rax, [rsp + 0x78]
and qword [rsp + 0x30], 0
lea r9, [rsp + 0x80]
and qword [rsp + 0x28], 0
lea r8d, [rbp - 0xc]
mov rcx, qword [rdi + 0x10]
and qword [rsp + 0x80], 0
shr edx, 1
mov dword [rsp + 0x78], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
nop dword [rax + rax]
test eax, eax
je 0x140023bfa
mov rcx, qword [rsp + 0x80]
mov qword [rbx], rcx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x88]
mov rax, rsi
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret