joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180081398
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.180073178
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 0x180081439
cmp ebx, dword [rsp + 0x30]
je 0x180081432
test esi, esi
je 0x180081432
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18008140d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18008141a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1800813f7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18008141e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18008143b
mov eax, 1
jmp 0x18008143b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180086534
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.18007a908
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18007a908
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180086684
cmp rax, 0xffffffffffffffff
je 0x180086684
xor edi, edi
test rbp, rbp
jle 0x18008662f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180075234
mov rbx, rax
test rax, rax
jne 0x1800865bc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180086625
mov edx, 0x8000
mov ecx, r14d
call fcn.1800863b8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180077a28
cmp eax, 0xffffffff
je 0x180086605
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800865cc
mov edx, r15d
mov ecx, r14d
call fcn.1800863b8
jmp 0x180086625
cmp byte [rsi + 0x38], dil
je 0x18008661c
cmp dword [rsi + 0x34], 5
jne 0x18008661c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180086625
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18007550c
jmp 0x180086698
jns 0x180086698
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18007a908
cmp rax, 0xffffffffffffffff
jne 0x180086650
cmp byte [rsi + 0x30], dil
je 0x180086698
mov edi, dword [rsi + 0x2c]
jmp 0x180086698
mov ecx, r14d
call fcn.180081bf8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180086698
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x180086698
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180086691
mov eax, dword [rsi + 0x2c]
jmp 0x180086696
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18007a908
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180087210
Capabilities:
Parse pe header

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

Function at 0x100401080
Capabilities:
Terminate process
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [str.clear]
call sub.cygwin1.dll___getreent
mov rcx, qword [rax + 0x18]
lea rdx, str.Usage:__s__options__n
mov r8, rbx
call sub.cygwin1.dll_fprintf
call sub.cygwin1.dll___getreent
mov r9, qword [rax + 0x18]
lea rcx, str._nOptions:_n___T_TERM_____use_this_instead_of__TERM_n___V__________print_curses_version_n___x__________do_not_try_to_clear_scrollback_n
mov r8d, 0x82
mov edx, 1
call sub.cygwin1.dll_fwrite
mov ecx, 1
call sub.cygwin1.dll_exit
nop
nop
jmp 0x1004014a0
jmp qword [sym.imp.cygwin1.dll_putchar]

Function at 0x100401190
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov dword [0x10040704c], 2
mov rbx, rcx
mov esi, edx
mov rdx, rcx
mov ecx, 2
call sub.cygwin1.dll_tcgetattr
test eax, eax
js 0x100401210
mov rax, qword [rbx]
mov rdx, qword [rbx + 8]
mov byte [section..bss], 1
mov qword [0x100407020], rax
mov qword [0x100407028], rdx
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov qword [0x100407030], rax
mov qword [0x100407038], rdx
mov rax, qword [rbx + 0x20]
mov qword [0x100407040], rax
mov eax, dword [rbx + 0x28]
mov dword [0x100407048], eax
mov eax, dword [0x10040704c]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
mov rdx, rbx
mov ecx, 1
mov dword [0x10040704c], 1
call sub.cygwin1.dll_tcgetattr
test eax, eax
jns 0x1004011b7
xor ecx, ecx
mov rdx, rbx
mov dword [0x10040704c], 0
call sub.cygwin1.dll_tcgetattr
test eax, eax
jns 0x1004011b7
lea rcx, str._dev_tty
mov edx, 2
call sub.cygwin1.dll_open
test eax, eax
mov dword [0x10040704c], eax
jns 0x100401280
test sil, sil
jne 0x100401294
call sub.cygwin1.dll___getreent
mov rcx, qword [rax + 0x10]
call sub.cygwin1.dll_fileno
mov dword [0x10040704c], eax
jmp 0x100401203
mov rdx, rbx
mov ecx, eax
call sub.cygwin1.dll_tcgetattr
test eax, eax
jns 0x1004011b7
jmp 0x100401262
call sub.cygwin1.dll___errno
mov ebx, dword [rax]
mov ecx, ebx
call sub.cygwin1.dll_strerror
mov rdi, rax
mov rax, qword [0x100403120]
mov rsi, qword [rax]
call sub.cygwin1.dll___getreent
mov rcx, qword [rax + 0x18]
lea r9, str.terminal_attributes
lea rdx, str._s:__s:__s_n
mov qword [rsp + 0x20], rdi
mov r8, rsi
call sub.cygwin1.dll_fprintf
cmp byte [section..bss], 0
je 0x1004012f3
mov ecx, dword [0x10040704c]
lea r8, [0x100407020]
mov edx, 3
call sub.cygwin1.dll_tcsetattr
call sub.cygwin1.dll___getreent
mov rdx, qword [rax + 0x18]
mov ecx, 0xa
call sub.cygwin1.dll_fputc
lea ecx, [rbx + 4]
call sub.cygwin1.dll_exit
nop
nop
cmp byte [section..bss], 0
jne 0x100401320
ret
mov ecx, dword [0x10040704c]
lea r8, [0x100407020]
mov edx, 3
jmp sub.cygwin1.dll_tcsetattr
Function at 0x1400018c0
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 0x140001aa2
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.140002510
mov dl, 0x80
or r12b, dl
mov rdi, qword [rbp - 0x18]
mov byte [rdi], r12b
mov al, byte [r15 + 0x5c]
cmp rsi, 0x7e
jae 0x14000197e
neg al
sbb al, al
and al, dl
or al, sil
mov byte [rdi + 1], al
cmp byte [r15 + 0x5c], r14b
je 0x140001a0a
mov dword [rdi + 2], 0x78563412
jmp 0x140001a0a
mov rcx, rsi
shr rcx, 8
cmp rsi, 0x10000
jae 0x1400019af
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 0x140001a0a
mov dword [rdi + 4], 0x78563412
jmp 0x140001a0a
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 0x140001a0a
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.1400014dc
mov r9, qword [rbp + 0x50]
sub r9, rbx
mov rdx, qword [r15 + 0x28]
mov r8, rbx
mov rcx, r12
call fcn.1400014dc
cmp byte [r15 + 0x5c], r14b
je 0x140001a72
mov r8, qword [r12 + 8]
sub r8, qword [r12]
sub r8, rsi
test rsi, rsi
je 0x140001a72
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 0x140001a51
mov rdx, qword [rbp - 8]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001a9a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001abb
mov rcx, rdi
call fcn.14009999c
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.14009fc74
int3
Function at 0x140002d40
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, [0x1400cc960]
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.140001808
cmp qword [rbx + 0x18], 0xf
jbe 0x140002da1
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 0x140002e0d
and qword [rsp + 0x30], 0
lea rbx, [0x140121560]
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.14009fe0c
mov r8, rbx
lea rdx, str.getaddrinfo:__s_n
mov rcx, rax
call fcn.1400033f4
mov eax, 1
jmp 0x140002e6d
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140002e61
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 0x140002e53
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 0x140002e5c
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
or rdi, 0xffffffffffffffff
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140002e17
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.140099e70
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x1400174d0
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 0x14001751c
cmp qword [rdi], 0xf
mov rax, rbx
jbe 0x1400174fd
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 0x1400174f1
mov rdx, qword [rdi]
cmp rdx, 0xf
jbe 0x140017551
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14001754c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140017573
mov rcx, r8
call fcn.14009999c
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.14009fc74
int3

Function at 0x140028ba8
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 0x140028bd6
xor eax, eax
jmp 0x140028cbc
cmp qword [rcx + 0x68], 0
je 0x140028be7
call fcn.140028cd8
jmp 0x140028cbc
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140028bfe
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140028c00
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140028c32
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400c9110
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 0x140028cb6
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140028c69
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 0x140028c92
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1400ab388
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140028cb6
cmp rsi, rbx
ja 0x140028c70
test rsi, rsi
je 0x140028cb6
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400ab388
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 0x1400295e0
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 0x1400296ec
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, 0x234
call fcn.1400c97b0
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, r13
call sub.KERNEL32.dll_Module32First
jmp 0x1400296d7
lea rax, [rsp + 0x70]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x140029669
movups xmm1, xmmword [rbx]
cmp rcx, qword [rbx + 8]
jne 0x1400296d7
lea r12, [rsp + 0x70]
add r12, rcx
lea rax, [rsp + 0x70]
cmp rax, r12
je 0x140029722
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.1400ac160
mov ecx, edi
mov ebx, eax
call fcn.1400ac160
cmp ebx, eax
jne 0x1400296d2
inc r15
cmp r15, r12
je 0x140029722
mov rax, qword [rsp + 0x20]
jmp 0x1400296a8
mov rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, r13
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x140029660
mov byte [rsi + 0x18], 0
mov byte [rsi + 8], 0
mov rax, rsi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140099e70
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 0x1400296f4

Function at 0x14002973c
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 0x1400297eb
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, Ordinal_301
call fcn.1400c97b0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rdi
call sub.KERNEL32.dll_Process32First
jmp 0x1400297d1
lea rax, [rsp + 0x4c]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400297ab
movups xmm1, xmmword [rsi]
cmp r8, qword [rsi + 8]
jne 0x1400297d1
movq rdx, xmm1
lea rcx, [rsp + 0x4c]
call fcn.1400c9bf0
test eax, eax
je 0x140029817
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400297a2
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.140099e70
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 0x1400297ef
Function at 0x14002ef98
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 0x14002effd
cmp ecx, 0x29
jne 0x14002f012
cmp dword [rdi + 0x1c], 0
jne 0x14002f007
test dword [rdi + 0x80], 0x10000000
je 0x14002f145
cmp ecx, 0x5d
jne 0x14002efdc
test dword [rdi + 0x80], 0x10000000
je 0x14002f153
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.14002e5b8
mov rcx, rdi
call fcn.140031298
mov rcx, rdi
call fcn.14003130c
mov ecx, dword [rdi + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x14002f007
cmp ecx, 0x7c
jne 0x14002efac
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x14002f022
lea rcx, [rdi + 0x40]
call fcn.14002e830
jmp 0x14002efe8
cmp ecx, 0x5c
jne 0x14002f077
mov rcx, rdi
call fcn.140031298
test byte [rdi + 0x80], 0x80
je 0x14002f06a
mov al, byte [rdi + 0x78]
cmp al, 0x62
jne 0x14002f052
lea rcx, [rdi + 0x40]
call fcn.14002ef8c
mov rcx, rdi
call fcn.140031298
jmp 0x14002eff8
cmp al, 0x42
jne 0x14002f06a
lea rcx, [rdi + 0x40]
call fcn.14002ef8c
lea rcx, [rdi + 0x40]
call fcn.140031234
jmp 0x14002f048
mov rcx, rdi
call fcn.14002f164
jmp 0x14002eff0
cmp ecx, 0x5b
jne 0x14002f0a2
mov rcx, rdi
call fcn.140031298
mov rcx, rdi
call fcn.14002f750
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.14003096c
jmp 0x14002eff0
cmp ecx, 0x28
jne 0x14002f0d7
mov rcx, rdi
call fcn.140031298
mov rcx, rdi
call fcn.1400318b0
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.14003096c
test bl, bl
je 0x14002eff8
jmp 0x14002eff0
cmp ecx, 0x5e
jne 0x14002f0ea
lea rcx, [rdi + 0x40]
call fcn.14002e5ac
jmp 0x14002f048
cmp ecx, 0x24
jne 0x14002f0fd
lea rcx, [rdi + 0x40]
call fcn.14002e920
jmp 0x14002f048
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14002f129
cmp ecx, 0x3f
je 0x14002f129
cmp ecx, 0x7b
je 0x14002f129
cmp ecx, 0x7d
jne 0x14002efc7
test dword [rdi + 0x80], 0x10000000
je 0x14002f137
jmp 0x14002efdc
mov edx, 0xa
mov rcx, rdi
call fcn.140030960
int3
mov edx, 6
mov rcx, rdi
call fcn.140030960
int3
mov edx, 5
mov rcx, rdi
call fcn.140030960
int3
mov edx, 4
mov rcx, rdi
call fcn.140030960
int3
Function at 0x140040710
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400407f2
call fcn.14005bbf0
test al, al
jne 0x1400407f2
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x140040742
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.1400659d0
test rax, rax
je 0x140040787
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.1400659d0
mov rsi, rax
test rax, rax
je 0x140040787
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 0x1400407bb
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1400564e0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1400407a0
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 0x140048ca0
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 0x140048cdb
add r12, 0x348
jmp 0x140048ce2
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 0x140048e90
cmp byte [rcx + 0x6c], sil
je 0x140048e90
cmp qword [rdi + 0xca0], rsi
je 0x140048e90
mov rax, qword [rdi + 0xf8]
mov qword [rsp + 0x88], r13
test rax, rax
je 0x140048d3e
test byte [rax + 4], 0x10
lea r13, [rax + 0x118]
jne 0x140048d45
lea r13, [rdi + 0xca8]
cmp qword [rdi + 0x6c0], rsi
jbe 0x140048e37
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 0x140048e19
mov rdx, qword [rbx]
mov rcx, qword [r15]
call fcn.140056610
test eax, eax
je 0x140048e19
mov rcx, qword [rbp]
mov rdx, qword [rbx + 8]
cmp byte [rcx + 0x3c0], 0
jne 0x140048da0
test rdx, rdx
je 0x140048db5
jmp 0x140048e19
test rdx, rdx
je 0x140048e19
mov rcx, qword [rcx + 0x98]
call fcn.140056610
test eax, eax
je 0x140048e19
mov rcx, qword [rbp]
mov eax, dword [rbx + 0x38]
cmp byte [rcx + 0x3c1], 0
jne 0x140048dcc
cmp eax, 0xffffffff
je 0x140048dd9
jmp 0x140048e19
cmp eax, 0xffffffff
je 0x140048e19
cmp dword [rcx + 0x7d0], eax
jne 0x140048e19
mov eax, dword [rbx + 0x34]
cmp dword [r15 + 0x1c], eax
jne 0x140048e19
mov eax, dword [rbx + 0x3c]
cmp dword [r15 + 0x20], eax
jne 0x140048e19
mov rcx, qword [rcx + 0x3e0]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rcx]
call fcn.140056610
test eax, eax
je 0x140048e19
lea r8, [rbx + 0x40]
mov rdx, r12
mov rcx, rdi
call fcn.140049b30
test al, al
jne 0x140048ea0
inc rsi
add r14, 0xb0
cmp rsi, qword [rdi + 0x6c0]
jb 0x140048d60
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, [0x1400d8108]
cmovne r9, rax
mov rcx, qword [rdx]
mov rdx, r10
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call fcn.14004fd90
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 0x140048ece
mov rax, qword [rbx + 0x20]
mov qword [rcx], rax
xor bl, bl
jmp 0x140048e32