joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d280
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
xorps xmm15, xmm15
xor r14, r14
mov rax, qword [0x00563548]
mov rax, qword gs:[rax]
cmp rax, 0
je 0x45d31b
mov r14, qword [rax]
sub rsp, 0x10
mov rax, rcx
mov rbx, rdx
call sym.runtime.sigtrampgo
add rsp, 0x10
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
pop rbp
ret

Function at 0x45d540
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x28
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
mov rax, qword [0x00563548]
mov rax, qword gs:[rax]
cmp rax, 0
jne 0x45d5d7
int 3
mov r14, qword [rax]
sub rsp, 0x28
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], r9
call sym.runtime.sehhandler.abi0
mov eax, dword [rsp + 0x20]
add rsp, 0x28
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
add rsp, 0x28
pop rbp
ret
Function at 0x45d9a0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x45d9d4
mov rcx, 0x28
jmp 0x45d9df
shl rcx, 3
add rcx, 0x1480
mov qword [0x00563548], rcx
pop rbp
ret

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

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

Disassembly:
mov rax, qword [0x140009008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140009008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140009008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x140010a80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rsi, r8
mov rbx, rcx
cmp rdx, rax
jbe 0x140010b82
movsxd r9, dword [rdx + 4]
mov eax, r9d
and eax, 7
cmp al, 3
jne 0x140010ab9
mov rax, r9
and rax, 0xfffffffffffffff8
sub rdx, rax
movsxd rax, dword [rdx + 4]
mov r8, rdx
test al, 3
jne 0x140010ad7
mov eax, eax
movzx ecx, byte [rax - 3]
lea rcx, [rcx*8 + 8]
sub r8, rcx
jmp 0x140010ade
and rax, 0xfffffffffffffff8
sub r8, rax
mov edi, dword [r8]
mov rcx, rbx
mov r8, rdx
mov edx, edi
call fcn.140010180
cmp eax, 0xffffffff
je 0x140010b82
mov ecx, dword [rdi + 0x10]
lea r8, [0x1400ab260]
mov eax, eax
sub rcx, 0x40
add rax, 0x10
mov r10d, dword [rcx + rax*4]
lea rdx, [rcx + rax*4]
movzx eax, r10b
movzx r8d, word [r8 + rax*2]
shr r8d, 0xb
cmp r8d, 9
jne 0x140010b53
mov eax, r10d
shr eax, 8
movzx r9d, al
cmp r10b, 0x45
lea r8d, [r9 - 3]
cmovne r8d, r9d
mov r9, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140011270
cmp r8d, 0x16
je 0x140010b82
mov eax, dword [rbx + 8]
mov edx, dword [rax + r8*4 + 0x104]
lea rax, str.metamethod
add rdx, 0x10
mov qword [rsi], rdx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140011270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov r14, r9
sub rdx, rcx
mov edi, r8d
sub rdx, 0x40
mov rbp, rcx
sar rdx, 2
call fcn.1400104a0
test rax, rax
jne 0x140011322
lea rsi, [rbp + 0x40]
lea r15, [0x1400ab260]
sub rbx, 4
cmp rbx, rsi
jbe 0x1400112eb
mov eax, dword [rbx]
movzx edx, al
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, word [r15 + rdx*2]
and cx, 7
cmp cx, 2
jne 0x1400112ef
cmp edi, r8d
jb 0x1400112b4
cmp edx, 0x2c
jne 0x1400112eb
shr eax, 0x10
cmp edi, eax
ja 0x1400112b4
xor eax, eax
jmp 0x14001132c
cmp cx, 1
jne 0x1400112b4
cmp r8d, edi
jne 0x1400112b4
cmp edx, 0x12
jne 0x140011345
mov edi, eax
mov rdx, rbx
sub rdx, rbp
shr edi, 0x10
sub rdx, 0x40
mov r8d, edi
sar rdx, 2
mov rcx, rbp
call fcn.1400104a0
test rax, rax
je 0x1400112b4
mov qword [r14], rax
lea rax, str.local
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
cmp edx, 0x2d
je 0x1400113ce
cmp edx, 0x36
je 0x1400113ab
cmp edx, 0x39
jne 0x1400112eb
mov ecx, eax
shr rcx, 0x10
movzx edx, cl
mov ecx, dword [rbp + 0x10]
not rdx
mov edx, dword [rcx + rdx*4]
add rdx, 0x10
mov qword [r14], rdx
mov r9d, dword [rbx - 4]
cmp r9b, 0x12
jne 0x1400113a2
mov ecx, r9d
shr ecx, 8
movzx edx, cl
lea ecx, [r8 + 1]
cmp edx, ecx
jne 0x1400113a2
shr eax, 8
xor eax, r9d
test eax, 0xffff0000
jne 0x1400113a2
lea rax, str.method
jmp 0x14001132c
lea rax, str.field
jmp 0x14001132c
mov rcx, rax
mov eax, dword [rbp + 0x10]
shr rcx, 0x10
not rcx
mov ecx, dword [rax + rcx*4]
lea rax, str.global
add rcx, 0x10
mov qword [r14], rcx
jmp 0x14001132c
mov edx, dword [rbp + 0x38]
shr eax, 0x10
test edx, edx
jne 0x1400113ee
lea rdx, [0x1400aa706]
mov qword [r14], rdx
lea rax, str.upvalue
jmp 0x14001132c
test eax, eax
je 0x140011401
movzx ecx, byte [rdx]
inc rdx
test cl, cl
jne 0x1400113f2
add eax, 0xffffffff
jne 0x1400113f2
mov qword [r14], rdx
lea rax, str.upvalue
jmp 0x14001132c
Function at 0x1400125e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
movzx r14d, byte [rcx + 0x28]
mov ebp, r8d
mov ebx, dword [rdx]
xor r14d, 3
mov rdi, rdx
mov rsi, rcx
test rbx, rbx
je 0x1400126a5
mov qword [rsp + 0x40], r15
lea r15, [0x1400aaab0]
nop dword [rax + rax]
mov eax, ebp
dec ebp
test eax, eax
je 0x14001268a
cmp byte [rbx + 5], 6
jne 0x140012640
lea rdx, [rbx + 0x28]
mov r8d, 0xffffffff
mov rcx, rsi
call fcn.1400125e0
movzx ecx, byte [rbx + 4]
mov eax, ecx
xor eax, 3
test r14d, eax
je 0x140012661
movzx eax, byte [rsi + 0x28]
and cl, 0xf8
and al, 3
mov rdi, rbx
or cl, al
mov byte [rbx + 4], cl
jmp 0x140012683
mov eax, dword [rbx]
mov dword [rdi], eax
mov eax, dword [rsi + 0x30]
cmp rbx, rax
jne 0x140012672
mov eax, dword [rbx]
mov dword [rsi + 0x30], eax
movzx eax, byte [rbx + 5]
mov rdx, rbx
sub eax, 4
mov rcx, rsi
call qword [r15 + rax*8]
mov ebx, dword [rdi]
test rbx, rbx
jne 0x140012620
mov r15, qword [rsp + 0x40]
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, rdx
jmp 0x140012692

Function at 0x1400158e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r14
sub rsp, 0x20
mov rbp, rdx
mov rbx, r8
movzx edx, byte [rdx + 0x24]
mov r12, rcx
lea edx, [rdx*4 + 0x14]
call fcn.140013a20
lea r8d, [rbp + 0x40]
mov rdi, rax
mov word [rax + 5], 8
mov byte [rax + 7], 0
mov dword [rax + 0x10], r8d
mov dword [rax + 8], ebx
movzx edx, byte [rbp + 0x25]
movzx r14d, byte [rbp + 0x24]
add edx, 0x20
mov ecx, edx
shr ecx, 3
and cl, 0x20
sub dl, cl
mov byte [rbp + 0x25], dl
test r14b, r14b
je 0x1400159bf
mov qword [rsp + 0x40], rsi
xor ebx, ebx
mov qword [rsp + 0x48], r15
lea rsi, [rax + 0x14]
mov r15d, r14d
nop word [rax + rax]
mov edx, 0x18
mov rcx, r12
call fcn.140013a20
lea rsi, [rsi + 4]
lea rbx, [rbx + 2]
mov word [rax + 5], 0x105
lea ecx, [rax + 8]
mov dword [rax + 0x10], ecx
mov dword [rax + 0xc], 0xffffffff
mov ecx, dword [rbp + 0x14]
movzx edx, word [rcx + rbx - 2]
mov ecx, edx
shl edx, 0x18
shr ecx, 0xe
xor edx, ebp
and cl, 1
mov dword [rax + 0x14], edx
mov byte [rax + 7], cl
mov dword [rsi - 4], eax
sub r15, 1
jne 0x140015960
mov r15, qword [rsp + 0x48]
mov rax, rdi
mov rsi, qword [rsp + 0x40]
mov byte [rdi + 7], r14b
jmp 0x1400159c3
mov byte [rax + 7], r14b
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r12
pop rdi
ret
Function at 0x14001d870
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
movzx eax, byte [rdx]
xor r15d, r15d
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov edi, 0xa
test al, al
je 0x14001d8d4
movsx edx, al
inc rbx
cmp edx, 0x66
je 0x14001d8bc
cmp edx, 0x69
je 0x14001d9a3
cmp edx, 0x6c
jne 0x14001d8cd
mov eax, dword [rsi + 8]
mov rcx, rsi
mov dword [rax + 0xba4], edx
call fcn.140018740
movzx eax, byte [rbx]
test al, al
jne 0x14001d8a3
cmp qword [0x1400cae70], r15
je 0x14001d8f2
mov rcx, rsi
call sym.luajit.exe_luaJIT_profile_stop
cmp qword [0x1400cae70], r15
jne 0x14001da19
cmp qword [0x1400caea8], r15
mov eax, dword [rsi + 8]
mov qword [0x1400cae70], rax
mov dword [0x1400cae98], edi
mov qword [0x1400cae78], r14
mov qword [0x1400cae80], rbp
mov dword [0x1400cae9c], r15d
mov dword [0x1400cae94], esi
mov qword [0x1400cae88], r15
mov dword [0x1400cae90], r15d
jne 0x14001d9dc
xor r8d, r8d
lea rcx, str.winmm.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x1400caea8], rax
test rax, rax
je 0x14001d9dc
lea rdx, str.timeBeginPeriod
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400caea8]
lea rdx, str.timeEndPeriod
mov qword [0x1400caeb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1400caeb0], r15
mov qword [0x1400caeb8], rax
je 0x14001d99a
test rax, rax
jne 0x14001d9dc
mov qword [0x1400caea8], r15
jmp 0x14001da19
movzx eax, byte [rbx]
mov edi, r15d
cmp al, 0x30
jl 0x14001d9d2
nop dword [rax]
cmp al, 0x39
ja 0x14001d9ca
inc rbx
movzx ecx, al
lea edi, [rdi + rdi*4]
lea edi, [rdi - 0x18]
movzx eax, byte [rbx]
lea edi, [rcx + rdi*2]
cmp al, 0x30
jge 0x14001d9b0
test edi, edi
jg 0x14001d8cd
mov edi, 1
jmp 0x14001d8cd
lea rcx, [0x1400caec0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea r9, [0x1400cae70]
mov qword [rsp + 0x28], r15
lea r8, [0x14001daf0]
mov dword [0x1400caef0], r15d
xor edx, edx
mov dword [rsp + 0x20], r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400caee8], rax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400371d0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
xor r11d, r11d
mov r10d, edx
mov edi, r8d
mov rbx, rcx
mov esi, 0xffffffff
test edx, edx
jne 0x140037211
mov eax, dword [rcx]
test eax, eax
je 0x140037201
bsf ecx, eax
cmp ecx, r8d
jb 0x14003720b
mov ecx, r8d
shr eax, cl
mov dword [rbx], eax
xor eax, eax
mov rbx, qword [rsp + 0x30]
pop rdi
pop rsi
ret
shr eax, cl
mov dword [rbx], eax
sub edi, ecx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], r15
mov r15d, 1
cmp edi, 0x12
jbe 0x1400372b3
mov edx, r9d
and r9b, 0x30
shr edx, 0x18
lea r8d, [rdx - 1]
cmp r9b, 0x20
jne 0x14003725f
mov eax, 0x38e38e39
mov r14d, 0x3f
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
sub r14d, edx
jmp 0x1400372c0
bsr ecx, dword [rbx + r10*4]
imul eax, r10d, 0x1d
mov esi, r10d
sub eax, edi
add eax, ecx
mov ecx, r15d
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1400ad268]
cvttsd2si eax, xmm0
sub ecx, eax
mov eax, 0x38e38e39
sub ecx, edx
imul ecx
mov eax, r8d
sar edx, 1
mov r14d, edx
add edx, 0x3e
shr r14d, 0x1f
add r14d, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
sub esi, eax
add esi, 0x3d
jmp 0x1400372c0
mov r14d, esi
cmp edi, 9
jb 0x14003735d
nop
mov ecx, dword [rbx + r10*4]
mov r8d, r10d
mov eax, ecx
and ecx, 0x1ff
shr eax, 9
imul r9d, ecx, 0x1dcd65
mov dword [rbx + r10*4], eax
cmp r10d, r11d
je 0x140037319
nop dword [rax]
nop word [rax + rax]
dec r8d
and r8d, 0x3f
mov edx, dword [rbx + r8*4]
mov eax, edx
shr eax, 9
and edx, 0x1ff
add eax, r9d
imul r9d, edx, 0x1dcd65
mov dword [rbx + r8*4], eax
cmp r8d, r11d
jne 0x1400372f0
cmp r11d, r14d
je 0x14003733c
cmp r11d, esi
je 0x14003733c
test r9d, r9d
je 0x140037333
dec r11d
and r11d, 0x3f
mov dword [rbx + r11*4], r9d
cmp dword [rbx + r10*4], 0
jne 0x140037351
jmp 0x140037348
cmp dword [rbx + r10*4], 0
jne 0x140037351
cmp r10d, r11d
je 0x1400373c7
dec r10d
and r10d, 0x3f
dec esi
add edi, 0xfffffff7
cmp edi, 9
jae 0x1400372c0
test edi, edi
je 0x1400373c7
mov r9d, dword [rbx + r10*4]
mov ecx, edi
mov eax, r9d
shl r15d, cl
dec r15d
shr eax, cl
and r9d, r15d
mov dword [rbx + r10*4], eax
mov esi, 0x3b9aca00
sar esi, cl
imul r9d, esi
cmp r10d, r11d
je 0x1400373b7
nop dword [rax]
dec r10d
mov ecx, edi
and r10d, 0x3f
mov edx, dword [rbx + r10*4]
mov eax, edx
shr eax, cl
add eax, r9d
mov r9d, edx
and r9d, r15d
mov dword [rbx + r10*4], eax
imul r9d, esi
cmp r10d, r11d
jne 0x140037390
test r9d, r9d
je 0x1400373c7
dec r11d
and r11d, 0x3f
mov dword [rbx + r11*4], r9d
mov r14, qword [rsp + 0x20]
mov eax, r11d
mov rbp, qword [rsp + 0x18]
mov r15, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
pop rdi
pop rsi
ret
Function at 0x14004d390
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
mov esi, r9d
mov r14, rcx
test r9b, 1
jne 0x14004d4bc
cmp rdx, r8
je 0x14004d4bc
mov eax, dword [rdx]
xor r10d, r10d
mov rdi, qword [r14]
xor r11d, r11d
movzx edx, ax
shl rdx, 4
add rdx, rdi
mov ebx, dword [rdx]
mov r9d, ebx
mov ecx, ebx
shr r9d, 0x1c
cmp r9d, 8
jne 0x14004d3f5
mov eax, ecx
shr eax, 0x10
cmp al, 1
jne 0x14004d3fb
or r10d, dword [rdx + 4]
movzx edx, cx
jmp 0x14004d3cb
cmp r9d, 5
jne 0x14004d400
movzx edx, cx
jmp 0x14004d3cb
and ecx, 0x3000000
or r10d, ecx
mov ecx, dword [r8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x10000000
je 0x14004d44f
movzx r8d, cx
shl r8, 4
add r8, rdi
mov ecx, dword [r8]
mov eax, ecx
shr eax, 0x1c
cmp eax, 8
jne 0x14004d441
mov eax, ecx
shr eax, 0x10
cmp al, 1
jne 0x14004d41a
or r11d, dword [r8 + 4]
jmp 0x14004d41a
cmp eax, 5
je 0x14004d41a
and ecx, 0x3000000
or r11d, ecx
test sil, 4
je 0x14004d460
cmp r10d, r11d
jne 0x14004d4eb
jmp 0x14004d486
test sil, 8
jne 0x14004d486
mov eax, r11d
and eax, r10d
cmp eax, r11d
jne 0x14004d4eb
cmp r9d, 4
je 0x14004d4bc
mov eax, dword [r8]
and eax, 0xf0000000
cmp eax, 0x40000000
je 0x14004d4bc
mov ecx, dword [r8]
mov eax, ecx
shr eax, 0x1c
cmp r9d, eax
jne 0x14004d4eb
mov eax, dword [r8 + 4]
cmp dword [rdx + 4], eax
jne 0x14004d4eb
test r9d, r9d
je 0x14004d4e1
and ebx, 0xe0000000
cmp ebx, 0x20000000
jne 0x14004d4d6
or esi, 4
test sil, 1
je 0x14004d3b4
mov eax, 1
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
ret
cmp r9d, 1
jne 0x14004d4bc
cmp rdx, r8
jmp 0x14004d4e9
xor ecx, ebx
test ecx, 0xc000000
je 0x14004d4bc
xor eax, eax
jmp 0x14004d4c1
Function at 0x14004f750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x4500
shr r8, 2
or dx, ax
mov word [rcx + 0xa2], r8w
mov eax, 0x7fff
mov word [rcx + 0xa4], dx
mov word [rcx + 0xa0], ax
jmp fcn.14005a090
Function at 0x1400543d0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
inc dword [rcx + 0x5c]
mov esi, r8d
cmp dword [rcx + 0x5c], 0x14
mov rdi, rdx
mov rbx, rcx
jg 0x140054421
call fcn.140053fa0
mov rdx, rdi
mov rcx, rbx
call fcn.140053d90
dec dword [rbx + 0x5c]
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140052f70
mov edx, 0x8d7
call fcn.140052da0
int3
Function at 0x14005a090
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
lea r14, [0x140000000]
mov ecx, dword [rcx + 0x90]
mov eax, ecx
and eax, 0xfff0000
cmp eax, 0x3ff0000
je 0x14005a148
bt ecx, 0x10
jb 0x14005a0e8
movzx eax, byte [rdi + 0xa5]
test byte [rax + r14 + 0xad500], 0x60
jne 0x14005a0e8
mov rcx, rdi
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.140056a40
mov eax, ecx
and eax, 0xb0000
cmp eax, 0xb0000
je 0x14005a124
movzx edx, byte [rdi + 0xa5]
movzx eax, byte [rdx + r14 + 0xad500]
and al, 0x60
cmp al, 0x40
jne 0x14005a124
cmp dl, 0x47
je 0x14005a124
mov rcx, rdi
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.14004f6c0
and ecx, 0x110000
cmp ecx, 0x110000
je 0x14005a148
movzx eax, byte [rdi + 0xa5]
movzx eax, byte [rax + r14 + 0xad500]
and al, 0x60
cmp al, 0x60
je 0x14005a111
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov ebp, 0x7ffd
mov qword [rsp + 0x40], rsi
nop dword [rax]
movzx r8d, byte [rdi + 0xa5]
movzx ecx, word [rdi + 0xa0]
mov r9d, dword [rdi + 0x18]
shl r8d, 0x11
cmp ecx, r9d
jb 0x14005a1b0
mov r10, qword [rdi + 0x10]
lea rdx, [rcx*8]
movzx eax, byte [rdx + r10 + 5]
shl eax, 0xa
add r8d, eax
mov rax, qword [rdx + r10]
mov qword [rdi + 0xa8], rax
cmp cx, bp
jae 0x14005a1b0
mov rax, qword [rdx + r10 + 8]
mov qword [rdi + 0xb0], rax
movzx edx, word [rdi + 0xa2]
cmp edx, r9d
jb 0x14005a1e4
mov r9, qword [rdi + 0x10]
mov rax, qword [r9 + rdx*8]
movzx ecx, byte [r9 + rdx*8 + 5]
mov qword [rdi + 0xb8], rax
cmp dx, bp
jae 0x14005a1ec
mov rax, qword [r9 + rdx*8 + 8]
mov qword [rdi + 0xc0], rax
jmp 0x14005a1ec
mov ecx, edx
and ecx, 0x3ff
lea esi, [rcx + r8]
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
mov r8d, ebx
mov eax, 0x143b58c1
and r8d, 0x1ffff
or r8d, esi
mov ecx, r8d
ror ecx, 2
sub ecx, r8d
ror ecx, 7
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 9
imul eax, eax, 0x3b5
sub ecx, eax
mov edx, dword [r14 + rcx*4 + 0xae220]
mov eax, edx
and eax, 0xffffff
cmp eax, r8d
je 0x14005a25e
lea eax, [rcx + 1]
mov edx, dword [r14 + rax*4 + 0xae220]
mov eax, edx
and eax, 0xffffff
cmp eax, r8d
jne 0x14005a276
mov eax, edx
mov rcx, rdi
shr rax, 0x18
call qword [r14 + rax*8 + 0xadd50]
movzx edx, ax
test edx, edx
jne 0x14005a290
cmp ebx, 0xfffff
je 0x14005a2b3
mov eax, ebx
shr eax, 0xa
or ebx, eax
xor ebx, 0xffc00
jmp 0x14005a200
cmp edx, 5
jae 0x14005a2c9
cmp edx, 1
je 0x14005a160
cmp edx, 2
jne 0x14005a2bd
mov edx, dword [rdi + 0xa0]
mov rcx, rdi
call fcn.14004fab0
jmp 0x14005a2d7
mov rcx, rdi
call fcn.140056a40
jmp 0x14005a2d7
cmp edx, 3
je 0x14005a2f2
mov eax, 0xffff
jmp 0x14005a2d7
mov rax, qword [rdi + 0x10]
movzx eax, byte [rax + rdx*8 + 4]
shl eax, 0x18
add eax, edx
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov edx, 0x18
mov rcx, rdi
call fcn.140018410
int3
Function at 0x14005a300
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
movzx r11d, word [rdx + 2]
mov r14, rcx
movzx r9d, word [r8 + 2]
cmp rdx, r8
je 0x14005a453
mov r10, qword [rcx + 0x10]
cmp byte [r10 + r11*8 + 5], 0x1e
lea rbx, [r10 + r11*8]
jne 0x14005a337
movzx r11d, word [rbx]
lea rbx, [r10 + r11*8]
cmp byte [r10 + r9*8 + 5], 0x1e
lea rcx, [r10 + r9*8]
jne 0x14005a34b
movzx r9d, word [rcx]
lea rcx, [r10 + r9*8]
movzx edi, byte [rdx + 5]
lea eax, [rdi - 0x39]
cmp al, 1
jbe 0x14005a35b
movzx eax, word [rdx]
jmp 0x14005a363
movzx eax, word [rdx]
movzx eax, word [r10 + rax*8]
movzx edx, ax
movzx eax, byte [r8 + 5]
sub al, 0x39
cmp al, 1
jbe 0x14005a377
movzx eax, word [r8]
jmp 0x14005a380
movzx eax, word [r8]
movzx eax, word [r10 + rax*8]
movzx r8d, ax
cmp r11d, r9d
jne 0x14005a3a2
cmp edx, r8d
je 0x14005a453
mov rcx, r14
add rsp, 0x20
pop r14
pop rdi
pop rbx
jmp fcn.14005a500
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r15
mov r15d, 0x8000
cmp r11d, r15d
jae 0x14005a3c1
cmp r9d, r15d
jb 0x14005a423
cmp dil, 0x39
jne 0x14005a418
xor esi, esi
mov ebp, r11d
cmp byte [rbx + 5], 0x29
mov edi, esi
jne 0x14005a3ee
movzx eax, word [rbx + 2]
cmp ax, r15w
jae 0x14005a3ee
movzx ebp, word [rbx]
mov esi, dword [r10 + rax*8]
cmp ebp, r9d
jne 0x14005a3ee
test esi, esi
jne 0x14005a423
cmp byte [rcx + 5], 0x29
jne 0x14005a40f
movzx eax, word [rcx + 2]
cmp ax, r15w
jae 0x14005a40f
movzx r9d, word [rcx]
mov edi, dword [r10 + rax*8]
cmp r11d, r9d
jne 0x14005a40f
test edi, edi
jne 0x14005a423
cmp ebp, r9d
jne 0x14005a43d
cmp esi, edi
jmp 0x14005a421
movzx eax, byte [rcx + 4]
xor al, byte [rbx + 4]
test al, 0x1f
je 0x14005a43d
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
cmp edx, r8d
jne 0x14005a449
mov eax, 1
jmp 0x14005a425
mov rcx, r14
call fcn.14005a500
jmp 0x14005a425
mov eax, 2
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret