joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400131d0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov eax, dword [rcx]
lea rdi, [0x1400d35b0]
xor r8d, r8d
mov r11, rdx
mov r10, rcx
mov r9d, r8d
mov ebx, r8d
test eax, eax
jle 0x14001322b
nop word [rax + rax]
mov rdx, qword [r11]
lea rbx, [rbx + 1]
inc r9d
movzx eax, byte [rdx + rbx - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + rbx - 1], al
mov eax, dword [r10]
cmp r9d, eax
jl 0x140013200
mov r9d, r8d
mov rbx, r8
test eax, eax
jle 0x14001326c
nop word [rax + rax]
mov rdx, qword [r11 + 8]
lea rbx, [rbx + 1]
inc r9d
movzx eax, byte [rdx + rbx - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + rbx - 1], al
mov eax, dword [r10]
cmp r9d, eax
jl 0x140013240
mov r9d, r8d
mov rbx, r8
test eax, eax
jle 0x1400132ac
nop word [rax + rax]
mov rdx, qword [r11 + 0x10]
lea rbx, [rbx + 1]
inc r9d
movzx eax, byte [rdx + rbx - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + rbx - 1], al
mov eax, dword [r10]
cmp r9d, eax
jl 0x140013280
mov r9, r8
test eax, eax
jle 0x1400132de
mov rdx, qword [r11 + 0x18]
lea r9, [r9 + 1]
inc r8d
movzx eax, byte [rdx + r9 - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + r9 - 1], al
cmp r8d, dword [r10]
jl 0x1400132b3
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x1400138c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov eax, dword [rcx]
xor r9d, r9d
mov rsi, r8
mov r11, rdx
mov r10, rcx
mov ebx, r9d
mov edi, r9d
test eax, eax
jle 0x14001390b
mov rdx, r8
nop word [rax + rax]
movzx eax, byte [rdx]
lea rdi, [rdi + 1]
mov rcx, qword [r11]
lea rdx, [rdx + 4]
inc ebx
xor byte [rcx + rdi - 1], al
mov eax, dword [r10]
cmp ebx, eax
jl 0x1400138f0
mov r8d, r9d
mov rbx, r9
test eax, eax
jle 0x14001393e
lea rdx, [rsi + 1]
nop dword [rax]
movzx eax, byte [rdx]
lea rbx, [rbx + 1]
mov rcx, qword [r11 + 8]
lea rdx, [rdx + 4]
inc r8d
xor byte [rcx + rbx - 1], al
mov eax, dword [r10]
cmp r8d, eax
jl 0x140013920
mov r8d, r9d
mov rbx, r9
test eax, eax
jle 0x14001396e
lea rdx, [rsi + 2]
nop dword [rax]
movzx eax, byte [rdx]
lea rbx, [rbx + 1]
mov rcx, qword [r11 + 0x10]
lea rdx, [rdx + 4]
inc r8d
xor byte [rcx + rbx - 1], al
mov eax, dword [r10]
cmp r8d, eax
jl 0x140013950
mov r8, r9
test eax, eax
jle 0x14001399c
lea rdx, [rsi + 3]
nop dword [rax]
movzx eax, byte [rdx]
lea r8, [r8 + 1]
mov rcx, qword [r11 + 0x18]
lea rdx, [rdx + 4]
inc r9d
xor byte [rcx + r8 - 1], al
cmp r9d, dword [r10]
jl 0x140013980
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x140013c90
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov eax, dword [rcx]
lea rdi, [0x1400d34b0]
xor r8d, r8d
mov r11, rdx
mov r10, rcx
mov r9d, r8d
mov ebx, r8d
test eax, eax
jle 0x140013ceb
nop word [rax + rax]
mov rdx, qword [r11]
lea rbx, [rbx + 1]
inc r9d
movzx eax, byte [rdx + rbx - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + rbx - 1], al
mov eax, dword [r10]
cmp r9d, eax
jl 0x140013cc0
mov r9d, r8d
mov rbx, r8
test eax, eax
jle 0x140013d2c
nop word [rax + rax]
mov rdx, qword [r11 + 8]
lea rbx, [rbx + 1]
inc r9d
movzx eax, byte [rdx + rbx - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + rbx - 1], al
mov eax, dword [r10]
cmp r9d, eax
jl 0x140013d00
mov r9d, r8d
mov rbx, r8
test eax, eax
jle 0x140013d6c
nop word [rax + rax]
mov rdx, qword [r11 + 0x10]
lea rbx, [rbx + 1]
inc r9d
movzx eax, byte [rdx + rbx - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + rbx - 1], al
mov eax, dword [r10]
cmp r9d, eax
jl 0x140013d40
mov r9, r8
test eax, eax
jle 0x140013d9e
mov rdx, qword [r11 + 0x18]
lea r9, [r9 + 1]
inc r8d
movzx eax, byte [rdx + r9 - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + r9 - 1], al
cmp r8d, dword [r10]
jl 0x140013d73
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x140018a90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140154010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
mov r15, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x60], 4
mov dword [rsp + 0x64], 8
mov dword [rsp + 0x68], recv
mov dword [rsp + 0x6c], reloc.WS2_32.dll_recv
mov edi, dword [rcx + 0x10]
mov rbx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x140018af8
mov rbx, qword [rcx]
mov r13d, edi
and r13d, 0xfffffff0
mov esi, r13d
mov ecx, r13d
call fcn.1400c79b4
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, r13d
call fcn.1400c79b4
mov rbp, rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400c79b4
mov r14, rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400c79b4
mov r12, rax
mov rax, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
xor edi, edi
test r13d, r13d
je 0x140018bb9
mov rbx, qword [rsp + 0x20]
sub rbx, rbp
mov r15, qword [rsp + 0x30]
mov r9, r15
mov r8, r12
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.140012c40
mov ecx, edi
lea r9, [rdi + rbp]
mov rax, r9
mov r8, r12
sub r8, rcx
sub r8, rbp
mov edx, reloc.WS2_32.dll_recv
nop dword [rax]
movzx ecx, byte [r8 + rax]
xor cl, byte [rbx + rax]
mov byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140018b90
movups xmm0, xmmword [r9]
movups xmmword [r14], xmm0
add edi, 0x10
cmp edi, r13d
jb 0x140018b62
mov r15, qword [rsp + 0x38]
mov rcx, r14
call fcn.1400c76e4
mov rcx, r12
call fcn.1400c76e4
mov rcx, qword [rsp + 0x20]
call fcn.1400c76e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
xor r8d, r8d
lea rdx, [0x1400d32d7]
lea rcx, [rsp + 0x40]
call fcn.140002120
nop
test r13d, r13d
je 0x140018c59
mov rbx, rbp
nop word [rax + rax]
movzx r9d, byte [rbx]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jae 0x140018c46
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x40]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140018c50
lea rcx, [rsp + 0x40]
call fcn.14000add0
inc rbx
sub rsi, 1
jne 0x140018c10
mov rcx, rbp
call fcn.1400c76e4
lea rax, [rsp + 0x40]
cmp r15, rax
je 0x140018c8a
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, r15
call fcn.140009fd0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140018cca
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018cc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018cc5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400c7430
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140018d00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140154010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
mov r15, rcx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x68], 4
mov dword [rsp + 0x6c], 8
mov dword [rsp + 0x70], recv
mov dword [rsp + 0x74], reloc.WS2_32.dll_recv
mov edi, dword [rcx + 0x10]
mov rbx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x140018d68
mov rbx, qword [rcx]
mov eax, edi
and eax, 0xfffffff0
mov dword [rsp + 0x20], eax
mov esi, eax
mov qword [rsp + 0x38], rsi
mov ecx, eax
call fcn.1400c79b4
mov r12, rax
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, esi
call fcn.1400c79b4
mov rbp, rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400c79b4
mov r14, rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400c79b4
mov r13, rax
mov rax, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
xor edi, edi
cmp dword [rsp + 0x20], edi
jbe 0x140018e3f
mov rbx, r12
sub rbx, rbp
mov r15d, dword [rsp + 0x20]
mov rsi, qword [rsp + 0x30]
nop dword [rax + rax]
mov r9, rsi
mov r8, r13
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.140012c40
mov r9d, edi
lea rax, [rdi + rbp]
mov r8, r13
sub r8, r9
sub r8, rbp
mov edx, reloc.WS2_32.dll_recv
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
xor cl, byte [rbx + rax]
mov byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140018e10
movups xmm0, xmmword [rdi + r12]
movups xmmword [r14], xmm0
add edi, 0x10
cmp edi, r15d
jb 0x140018de0
mov rsi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
mov rcx, r14
call fcn.1400c76e4
mov rcx, r13
call fcn.1400c76e4
mov rcx, r12
call fcn.1400c76e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
xor r8d, r8d
lea rdx, [0x1400d32d7]
lea rcx, [rsp + 0x48]
call fcn.140002120
nop
cmp dword [rsp + 0x20], 0
jbe 0x140018ed9
mov rbx, rbp
movzx r9d, byte [rbx]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
cmp rcx, rdx
jae 0x140018ec6
lea rax, [rcx + 1]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x48]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140018ed0
lea rcx, [rsp + 0x48]
call fcn.14000add0
inc rbx
sub rsi, 1
jne 0x140018e90
mov rcx, rbp
call fcn.1400c76e4
lea rax, [rsp + 0x48]
cmp r15, rax
je 0x140018f0a
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, r15
call fcn.140009fd0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140018f4a
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018f45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018f45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c7430
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002ac40
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140154010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r9d
mov rsi, r8
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov rbp, qword [rsp + 0xb0]
xor r8d, r8d
lea rdx, [0x1400d32d7]
mov rcx, rbp
call fcn.140009fd0
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140009b00
mov r9, rdi
mov r8d, ebx
mov rdx, rax
call fcn.14002b030
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14002acb2
mov rdx, qword [rdi]
xor r9d, r9d
mov r8d, dword [rdi + 0x10]
mov rcx, qword [r14]
call qword [sym.imp.WS2_32.dll_send]
movsxd rdx, eax
cmp rdx, qword [rdi + 0x10]
je 0x14002ace1
mov r8d, 0x1c
lea rdx, str.sent_bytes___message.size__
mov rcx, rbp
call fcn.140009fd0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14002ad17
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14002ad12
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002ad84
mov rcx, r8
call fcn.1400c76e4
xor ebx, ebx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], recv
mov byte [rdi], bl
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14002ad5d
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14002ad58
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002ad8b
mov rcx, r8
call fcn.1400c76e4
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], recv
mov byte [rsi], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c7430
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14002ada0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140154010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r12, qword [rsp + 0xd0]
mov r14, r8
movsxd rbx, edx
mov r15, rcx
mov rcx, r12
mov dword [rsp + 0x30], ebx
xor r8d, r8d
lea rdx, [0x1400d32d7]
mov r13d, r9d
call fcn.140009fd0
xor r8d, r8d
lea rdx, [0x1400d32d7]
mov rcx, r14
call fcn.140009fd0
mov rcx, rbx
call fcn.1400c79b4
mov rcx, qword [r15]
lea r9, [rsp + 0x58]
mov edx, 0xffff
mov dword [rsp + 0x58], 0x7d0
mov r8d, 0x1006
mov dword [rsp + 0x20], 4
mov rbp, rax
mov rsi, rax
xor ebx, ebx
mov edi, 0xfffe776c
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r8d, dword [rsp + 0x30]
xor r9d, r9d
mov rcx, qword [r15]
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_recv]
mov r9d, eax
cmp eax, 0xffffffff
je 0x14002aee0
nop dword [rax]
test r9d, r9d
je 0x14002af4a
cmp edi, 0xfffe776c
jne 0x14002ae7e
mov r8, rbp
mov edx, r13d
call fcn.14002b360
mov edi, eax
cmp edi, 0xffffffff
je 0x14002af3b
movsxd rcx, r9d
add ebx, r9d
add rsi, rcx
cmp ebx, edi
jge 0x14002af4c
mov rcx, qword [r15]
lea r9, [rsp + 0x58]
mov edx, 0xffff
mov dword [rsp + 0x58], 0x7d0
mov r8d, 0x1006
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r8d, dword [rsp + 0x30]
xor r9d, r9d
mov rcx, qword [r15]
sub r8d, ebx
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_recv]
mov r9d, eax
cmp eax, 0xffffffff
jne 0x14002ae60
lea rdx, str.recv____SOCKET_ERROR.
mov r8d, socket
mov rcx, r12
call fcn.140009fd0
cmp ebx, edi
je 0x14002af0e
mov r8d, 0x1c
lea rdx, str.recive_size___expected_size
mov rcx, r12
call fcn.14000a130
mov rcx, rbp
call fcn.1400c76e4
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c7430
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.wrong_expected_message_size.
mov r8d, 0x1c
jmp 0x14002aeed
cmp ebx, edi
jne 0x14002aef9
cmp ebx, 8
jl 0x14002af0e
xor eax, eax
lea rdx, [rbp + 8]
xorps xmm0, xmm0
mov qword [rsp + 0x48], rax
add ebx, 0xfffffff8
mov qword [rsp + 0x50], rax
movsxd r8, ebx
lea rcx, [rsp + 0x38]
movups xmmword [rsp + 0x38], xmm0
call fcn.140002120
lea rax, [rsp + 0x38]
cmp r14, rax
je 0x14002afda
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14002afbb
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x14002afb6
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002b012
mov rcx, r8
call fcn.1400c76e4
movups xmm0, xmmword [rsp + 0x38]
mov edx, recv
mov byte [rsp + 0x38], 0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [r14], xmm0
movups xmmword [r14 + 0x10], xmm1
jmp 0x14002afdf
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002af0e
mov rcx, qword [rsp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b019
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002b019
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
jmp 0x14002af0e
Function at 0x140034100
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140154010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400c7450
mov qword [rax], rbx
lea rcx, [0x140034400]
mov qword [rax + 8], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140038450]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400341ae
cmp dword [rsp + 0x38], 0
jne 0x140034178
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14003419b
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c7430
add rsp, 0x60
pop rbx
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140083d60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
movsxd r12, dword [rcx + 0xc]
mov rdi, rdx
mov rsi, rcx
test r12d, r12d
je 0x140083e43
movsxd r15, dword [rcx + 8]
test r15d, r15d
je 0x140083e43
cmp r15d, dword [rdx + 8]
jne 0x140083e43
cmp r12d, dword [rdx + 0xc]
jne 0x140083e43
mov qword [rsp + 0x20], rbx
xor ebx, ebx
mov qword [rsp + 0x30], r14
test r15d, r15d
jle 0x140083e0c
mov qword [rsp + 0x28], rbp
mov r10d, ebx
test r12d, r12d
jle 0x140083dff
mov rax, qword [rsi + 0x48]
mov r8, r10
mov r9, r10
mov r11, r12
imul r8, qword [rax]
mov rax, qword [rdi + 0x48]
add r8, qword [rsi + 0x10]
imul r9, qword [rax]
add r9, qword [rdi + 0x10]
nop dword [rax]
movzx ecx, byte [r9]
lea r9, [r9 + 1]
movzx eax, byte [r8]
lea r8, [r8 + 1]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebx, eax
sub r11, 1
jne 0x140083de0
inc r10
cmp r10, r15
jl 0x140083db7
mov rbp, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
movd xmm0, ebx
mov rbx, qword [rsp + 0x20]
cvtdq2pd xmm0, xmm0
movd xmm1, r12d
cvtdq2pd xmm1, xmm1
movd xmm2, r15d
divsd xmm0, xmm1
cvtdq2pd xmm2, xmm2
divsd xmm0, xmm2
mov rsi, qword [rsp + 0x38]
pop r15
pop r12
pop rdi
ret
movsd xmm0, qword [0x140140df0]
mov rsi, qword [rsp + 0x38]
pop r15
pop r12
pop rdi
ret

Function at 0x14008e400
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x50], rcx
xor edi, edi
xorps xmm0, xmm0
test dl, dl
jne 0x14008e445
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
lea r8d, [rdi + 2]
lea rdx, [0x14013e080]
call fcn.140002120
jmp 0x14008e519
mov dword [rbp - 0x60], 0x35343332
mov dword [rbp - 0x5c], 0x39383736
mov dword [rbp - 0x58], 0x4b514a54
mov byte [rbp - 0x54], 0x41
mov dword [rbp - 0x50], 0x68646373
movzx ecx, dl
dec ecx
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xd
sub ecx, eax
movsxd rax, edx
movzx r9d, byte [rbp + rax - 0x50]
movsxd rax, ecx
movzx ecx, byte [rbp + rax - 0x60]
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x30], recv
mov qword [rbp - 0x38], 1
mov byte [rbp - 0x48], cl
mov byte [rbp - 0x47], 0
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x10], xmm1
movdqa xmm0, xmmword [0x140140e20]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
movq rcx, xmm1
psrldq xmm1, 8
movq rdx, xmm1
cmp rcx, rdx
jae 0x14008e501
lea rax, [rcx + 1]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14008e50a
lea rcx, [rbp - 0x20]
call fcn.14000add0
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400955f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140095634
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140095620
ret
Function at 0x14009ad50
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14009ae33
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14009ae33
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14009ae51
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14009ae23
cmp word [rax], 0x5c
jne 0x14009ae1c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14009ae1c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14009ae07
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x14009ae19
test r8b, 0x10
jne 0x14009ae1c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14009ae1c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.140097290
test edi, edi
jne 0x14009ad80
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140097280
int3
Function at 0x1400c6d50
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400c6dd4
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400d2df0]
cmp byte [rcx + rax], 0
je 0x1400c6dd4
dec r8
sub rdx, 1
jne 0x1400c6dba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400c81f8
Capabilities:
Parse pe header

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