joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140900058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1409001df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140900089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14090006f
add dl, dl
jne 0x140900096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409000f6
xor eax, eax
add dl, dl
jne 0x1409000a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409001ad
add dl, dl
jne 0x1409000b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409000c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409000d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409000dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409000ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14090007e
mov eax, 1
add dl, dl
jne 0x140900106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140900113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409000fb
sub eax, ebx
mov ebx, 1
jne 0x14090014c
mov ecx, 1
add dl, dl
jne 0x14090012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14090013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140900123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14090007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140900168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140900175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14090015d
cmp eax, 0x7d00
jae 0x14090019b
cmp eax, 0x500
jb 0x140900196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14090007e
cmp eax, 0x7f
ja 0x14090019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14090007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409001d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14090007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x69841610
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
test edx, edx
je 0x69841658
cmp edx, 1
jne 0x69841649
mov qword [rsp + 0x28], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
lea r8, [0x698413d0]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x6984c020], rax
mov eax, 1
add rsp, 0x38
ret
mov edx, 0xffffffff
lea rcx, [0x698413d0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add rsp, 0x38
ret

Function at 0x69841850
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.698478d0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.698478d0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x698418c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x6984c074]
mov r12, rcx
test ebx, ebx
jle 0x698419f0
mov rax, qword [0x6984c078]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x6984190c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x69841993
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x698418f0
mov rcx, r12
call fcn.69842050
mov rsi, rax
test rax, rax
je 0x69841a12
mov rax, qword [0x6984c078]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.69842180
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6984c078]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x698419f7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x6984198c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x698419a0
add dword [0x6984c074], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x6984c078]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6984198c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.69841850
nop dword [rax]
xor ebx, ebx
jmp 0x69841917
mov rax, qword [0x6984c078]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.69841850
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.69841850
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x69841cc0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6984c0a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6984c080]
test rbx, rbx
je 0x69841d14
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x69841d0b
test r12, r12
je 0x69841d0b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x69841cf0
lea rcx, [0x6984c0a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

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

Disassembly:
mov rdx, qword [0x69849670]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x69842070
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x69842078
ret
cmp word [r8 + 0x18], 0x20b
jne 0x69842070
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x698420c5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x698420bc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x69842070
add rax, 0x28
cmp rax, r9
jne 0x698420a8
xor eax, eax
ret

Function at 0x698420d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x69849670]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x698420f0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x698420f8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x698420f0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x69842180
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x69849670]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x698421a0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x698421a8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x1400017d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, r9
mov rsi, r8
mov r12d, edx
mov r15, rcx
mov dword [rbp - 0x20], 0x78563412
cmp dword [rcx + 0x58], 1
jbe 0x1400019b2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
xor r14d, r14d
mov qword [rbp - 8], r14
mov byte [rbp + 0x30], r14b
mov al, byte [rcx + 0x5c]
neg al
sbb rdx, rdx
and edx, 4
cmp r8, 0x7e
sbb rax, rax
not rax
and eax, 2
add rdx, rax
cmp r8, 0x10000
sbb rax, rax
and rax, 0xfffffffffffffffa
add rax, 8
add rdx, rax
lea r8, [rbp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.140002420
mov dl, 0x80
or r12b, dl
mov rdi, qword [rbp - 0x18]
mov byte [rdi], r12b
mov al, byte [r15 + 0x5c]
cmp rsi, 0x7e
jae 0x14000188e
neg al
sbb al, al
and al, dl
or al, sil
mov byte [rdi + 1], al
cmp byte [r15 + 0x5c], r14b
je 0x14000191a
mov dword [rdi + 2], 0x78563412
jmp 0x14000191a
mov rcx, rsi
shr rcx, 8
cmp rsi, 0x10000
jae 0x1400018bf
neg al
sbb al, al
and al, dl
add al, 0x7e
mov byte [rdi + 1], al
mov byte [rdi + 2], cl
mov byte [rdi + 3], sil
cmp byte [r15 + 0x5c], r14b
je 0x14000191a
mov dword [rdi + 4], 0x78563412
jmp 0x14000191a
neg al
sbb al, al
and al, dl
add al, 0x7f
mov byte [rdi + 1], al
mov rax, rsi
shr rax, 0x38
mov byte [rdi + 2], al
mov rax, rsi
shr rax, 0x30
mov byte [rdi + 3], al
mov rax, rsi
shr rax, 0x28
mov byte [rdi + 4], al
mov rax, rsi
shr rax, 0x20
mov byte [rdi + 5], al
mov rax, rsi
shr rax, 0x18
mov byte [rdi + 6], al
mov rax, rsi
shr rax, 0x10
mov byte [rdi + 7], al
mov byte [rdi + 8], cl
mov byte [rdi + 9], sil
cmp byte [r15 + 0x5c], r14b
je 0x14000191a
mov dword [rdi + 0xa], 0x78563412
lea r12, [r15 + 0x20]
mov r9, qword [rbp - 0x10]
sub r9, rdi
mov rdx, qword [r15 + 0x28]
mov r8, rdi
mov rcx, r12
call fcn.1400013ec
mov r9, qword [rbp + 0x50]
sub r9, rbx
mov rdx, qword [r15 + 0x28]
mov r8, rbx
mov rcx, r12
call fcn.1400013ec
cmp byte [r15 + 0x5c], r14b
je 0x140001982
mov r8, qword [r12 + 8]
sub r8, qword [r12]
sub r8, rsi
test rsi, rsi
je 0x140001982
mov rdx, qword [r12]
add rdx, r14
mov cl, byte [rdx + r8]
mov rax, r14
and eax, 3
xor cl, byte [rbp + rax - 0x20]
mov byte [rdx + r8], cl
inc r14
cmp r14, rsi
jne 0x140001961
mov rdx, qword [rbp - 8]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400019aa
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400019cb
mov rcx, rdi
call fcn.14009957c
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14009f854
int3
Function at 0x140002c50
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14011f980]
xor rax, rsp
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
lea r8, [0x1400cc940]
mov rbx, rcx
mov r9d, edx
movups xmmword [rsp + 0x48], xmm0
or rdi, 0xffffffffffffffff
mov dword [rsp + 0x50], 1
lea rcx, [rsp + 0x78]
movups xmmword [rsp + 0x58], xmm0
lea edx, [rdi + 0x11]
movups xmmword [rsp + 0x68], xmm0
call fcn.140001718
cmp qword [rbx + 0x18], 0xf
jbe 0x140002cb1
mov rbx, qword [rbx]
lea r9, [rsp + 0x40]
mov rcx, rbx
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140002d1d
and qword [rsp + 0x30], 0
lea rbx, [0x140121530]
mov r9d, 0x400
mov r8d, eax
mov dword [rsp + 0x28], r9d
xor edx, edx
mov ecx, 0x12ff
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, 2
call fcn.14009f9ec
mov r8, rbx
lea rdx, str.getaddrinfo:__s_n
mov rcx, rax
call fcn.140003304
mov eax, 1
jmp 0x140002d7d
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140002d71
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140002d63
mov r8d, dword [rbx + 0x10]
mov rcx, rax
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140002d6c
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
or rdi, 0xffffffffffffffff
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140002d27
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, rdi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140099a50
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x140016ae4
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rsi, rdx
xor ecx, ecx
lea rdi, [rbx + 0x18]
cmp qword [rbx + 0x10], rcx
jbe 0x140016b30
cmp qword [rdi], 0xf
mov rax, rbx
jbe 0x140016b11
mov rax, qword [rbx]
movsx rax, byte [rax + rcx]
movabs rdx, 0x100000001b3
xor rsi, rax
inc rcx
imul rsi, rdx
cmp rcx, qword [rbx + 0x10]
jb 0x140016b05
mov rdx, qword [rdi]
cmp rdx, 0xf
jbe 0x140016b65
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140016b60
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016b87
mov rcx, r8
call fcn.14009957c
and qword [rbx + 0x10], 0
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov byte [rbx], 0
mov rbx, qword [rsp + 0x38]
mov qword [rdi], reloc.WS2_32.dll_ntohs
add rsp, 0x20
pop rdi
ret
call fcn.14009f854
int3

Function at 0x140028864
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140028892
xor eax, eax
jmp 0x140028978
cmp qword [rcx + 0x68], 0
je 0x1400288a3
call fcn.140028994
jmp 0x140028978
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400288ba
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400288bc
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400288ee
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400c8c80
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x140028972
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140028925
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14002894e
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1400aaeb4
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140028972
cmp rsi, rbx
ja 0x14002892c
test rsi, rsi
je 0x140028972
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400aaeb4
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140029218
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x14011f980]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rsi, rdx
mov rbx, r8
mov edx, dword [rcx + 0x10]
mov ecx, Ordinal_27
mov qword [rsp + 0x30], rbx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x140029324
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, 0x234
call fcn.1400c9320
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, r13
call sub.KERNEL32.dll_Module32First
jmp 0x14002930f
lea rax, [rsp + 0x70]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400292a1
movups xmm1, xmmword [rbx]
cmp rcx, qword [rbx + 8]
jne 0x14002930f
lea r12, [rsp + 0x70]
add r12, rcx
lea rax, [rsp + 0x70]
cmp rax, r12
je 0x14002935a
lea rcx, [rsp + 0x70]
movq rax, xmm1
sub rax, rcx
lea r15, [rsp + 0x70]
mov qword [rsp + 0x20], rax
movsx ecx, byte [r15]
movsx edi, byte [rax + r15]
call fcn.1400abc78
mov ecx, edi
mov ebx, eax
call fcn.1400abc78
cmp ebx, eax
jne 0x14002930a
inc r15
cmp r15, r12
je 0x14002935a
mov rax, qword [rsp + 0x20]
jmp 0x1400292e0
mov rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, r13
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x140029298
mov byte [rsi + 0x18], 0
mov byte [rsi + 8], 0
mov rax, rsi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140099a50
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
mov rax, qword [rsp + 0x58]
mov qword [rsi], rax
mov eax, dword [rsp + 0x60]
mov byte [rsi + 8], 1
mov qword [rsi + 0x10], rax
mov byte [rsi + 0x18], 1
jmp 0x14002932c

Function at 0x140029374
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14011f980]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rdx
mov rsi, r8
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140029423
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, Ordinal_301
call fcn.1400c9320
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rdi
call sub.KERNEL32.dll_Process32First
jmp 0x140029409
lea rax, [rsp + 0x4c]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400293e3
movups xmm1, xmmword [rsi]
cmp r8, qword [rsi + 8]
jne 0x140029409
movq rdx, xmm1
lea rcx, [rsp + 0x4c]
call fcn.1400c9760
test eax, eax
je 0x14002944f
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400293da
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rbx + 4], 0
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140099a50
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov eax, dword [rsp + 0x28]
mov dword [rbx], eax
mov byte [rbx + 4], 1
jmp 0x140029427
Function at 0x14002ebc4
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x14002ec29
cmp ecx, 0x29
jne 0x14002ec3e
cmp dword [rdi + 0x1c], 0
jne 0x14002ec33
test dword [rdi + 0x80], 0x10000000
je 0x14002ed71
cmp ecx, 0x5d
jne 0x14002ec08
test dword [rdi + 0x80], 0x10000000
je 0x14002ed7f
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.14002e1e0
mov rcx, rdi
call fcn.140030ec4
mov rcx, rdi
call fcn.140030f38
mov ecx, dword [rdi + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x14002ec33
cmp ecx, 0x7c
jne 0x14002ebd8
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x14002ec4e
lea rcx, [rdi + 0x40]
call fcn.14002e458
jmp 0x14002ec14
cmp ecx, 0x5c
jne 0x14002eca3
mov rcx, rdi
call fcn.140030ec4
test byte [rdi + 0x80], 0x80
je 0x14002ec96
mov al, byte [rdi + 0x78]
cmp al, 0x62
jne 0x14002ec7e
lea rcx, [rdi + 0x40]
call fcn.14002ebb8
mov rcx, rdi
call fcn.140030ec4
jmp 0x14002ec24
cmp al, 0x42
jne 0x14002ec96
lea rcx, [rdi + 0x40]
call fcn.14002ebb8
lea rcx, [rdi + 0x40]
call fcn.140030e60
jmp 0x14002ec74
mov rcx, rdi
call fcn.14002ed90
jmp 0x14002ec1c
cmp ecx, 0x5b
jne 0x14002ecce
mov rcx, rdi
call fcn.140030ec4
mov rcx, rdi
call fcn.14002f37c
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.140030598
jmp 0x14002ec1c
cmp ecx, 0x28
jne 0x14002ed03
mov rcx, rdi
call fcn.140030ec4
mov rcx, rdi
call fcn.1400314dc
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.140030598
test bl, bl
je 0x14002ec24
jmp 0x14002ec1c
cmp ecx, 0x5e
jne 0x14002ed16
lea rcx, [rdi + 0x40]
call fcn.14002e1d4
jmp 0x14002ec74
cmp ecx, 0x24
jne 0x14002ed29
lea rcx, [rdi + 0x40]
call fcn.14002e548
jmp 0x14002ec74
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14002ed55
cmp ecx, 0x3f
je 0x14002ed55
cmp ecx, 0x7b
je 0x14002ed55
cmp ecx, 0x7d
jne 0x14002ebf3
test dword [rdi + 0x80], 0x10000000
je 0x14002ed63
jmp 0x14002ec08
mov edx, 0xa
mov rcx, rdi
call fcn.14003058c
int3
mov edx, 6
mov rcx, rdi
call fcn.14003058c
int3
mov edx, 5
mov rcx, rdi
call fcn.14003058c
int3
mov edx, 4
mov rcx, rdi
call fcn.14003058c
int3
Function at 0x140040340
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140040422
call fcn.14005b820
test al, al
jne 0x140040422
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x140040372
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.140065600
test rax, rax
je 0x1400403b7
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.140065600
mov rsi, rax
test rax, rax
je 0x1400403b7
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x1400403eb
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.140056110
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1400403d0
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400488d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x48
mov rax, qword [rcx]
lea rbp, [rcx + 0x18]
mov r12, qword [rbp]
mov rdi, rdx
mov r15, r8
mov edx, dword [rax + 8]
and edx, 0xa
cmp edx, 0xa
jne 0x14004890b
add r12, 0x348
jmp 0x140048912
add r12, 0x2d8
cmp edx, 0xa
mov ecx, 0x540
mov eax, 0x5f8
mov bl, 1
cmovne eax, ecx
xor esi, esi
mov qword [r9], rsi
lea rcx, [rax + rdi]
test rcx, rcx
je 0x140048ac0
cmp byte [rcx + 0x6c], sil
je 0x140048ac0
cmp qword [rdi + 0xca0], rsi
je 0x140048ac0
mov rax, qword [rdi + 0xf8]
mov qword [rsp + 0x88], r13
test rax, rax
je 0x14004896e
test byte [rax + 4], 0x10
lea r13, [rax + 0x118]
jne 0x140048975
lea r13, [rdi + 0xca8]
cmp qword [rdi + 0x6c0], rsi
jbe 0x140048a67
mov qword [rsp + 0x40], r14
mov r14, rsi
nop word [rax + rax]
mov rbx, qword [rdi + 0xca0]
add rbx, r14
cmp qword [rbx + 0x18], 0
je 0x140048a49
mov rdx, qword [rbx]
mov rcx, qword [r15]
call fcn.140056240
test eax, eax
je 0x140048a49
mov rcx, qword [rbp]
mov rdx, qword [rbx + 8]
cmp byte [rcx + 0x3c0], 0
jne 0x1400489d0
test rdx, rdx
je 0x1400489e5
jmp 0x140048a49
test rdx, rdx
je 0x140048a49
mov rcx, qword [rcx + 0x98]
call fcn.140056240
test eax, eax
je 0x140048a49
mov rcx, qword [rbp]
mov eax, dword [rbx + 0x38]
cmp byte [rcx + 0x3c1], 0
jne 0x1400489fc
cmp eax, 0xffffffff
je 0x140048a09
jmp 0x140048a49
cmp eax, 0xffffffff
je 0x140048a49
cmp dword [rcx + 0x7d0], eax
jne 0x140048a49
mov eax, dword [rbx + 0x34]
cmp dword [r15 + 0x1c], eax
jne 0x140048a49
mov eax, dword [rbx + 0x3c]
cmp dword [r15 + 0x20], eax
jne 0x140048a49
mov rcx, qword [rcx + 0x3e0]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rcx]
call fcn.140056240
test eax, eax
je 0x140048a49
lea r8, [rbx + 0x40]
mov rdx, r12
mov rcx, rdi
call fcn.140049760
test al, al
jne 0x140048ad0
inc rsi
add r14, 0xb0
cmp rsi, qword [rdi + 0x6c0]
jb 0x140048990
mov bl, 1
mov r14, qword [rsp + 0x40]
mov r10, qword [rsp + 0x80]
lea r9, str.Found
mov ecx, dword [r15 + 0x1c]
lea r8, str._s_cached_session_ID_for__s:___s:_d
mov dword [rsp + 0x30], ecx
test bl, bl
mov rcx, qword [r15]
mov rax, qword [r10 + 0x18]
mov qword [rsp + 0x28], rcx
mov rdx, qword [rax + 0x3e0]
lea rax, [0x1400d80d8]
cmovne r9, rax
mov rcx, qword [rdx]
mov rdx, r10
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call fcn.14004f9c0
mov r13, qword [rsp + 0x88]
movzx eax, bl
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
inc dword [r13]
mov eax, dword [r13]
mov rcx, qword [rsp + 0x98]
mov dword [rbx + 0x30], eax
mov rax, qword [rbx + 0x18]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x140048afe
mov rax, qword [rbx + 0x20]
mov qword [rcx], rax
xor bl, bl
jmp 0x140048a62