joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a7270
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1400a6e98
call fcn.14008e708
mov dword [rax], 0x16
call fcn.14008e55c
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400a6e80
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1400a6e80
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1400a6eca
lock or dword [rax + 0x14], 0x10
jmp 0x1400a6e80
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400a6ee7
mov rcx, qword [rbp + 0x10]
call fcn.1400a9eec
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14008dac4
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400a68d0
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1400a6f3e
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1400a6e80
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1400a6faa
mov rcx, qword [rbp + 0x10]
call fcn.14008dac4
cmp eax, 0xffffffff
je 0x1400a6f91
mov rcx, qword [rbp + 0x10]
call fcn.14008dac4
cmp eax, 0xfffffffe
je 0x1400a6f91
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14008dac4
movsxd rdi, eax
lea rsi, [0x14012ab20]
mov rcx, rbx
sar rdi, 6
call fcn.14008dac4
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1400a6f98
lea rax, [0x140115b90]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400a6faa
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1400a6fe0
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400a6fdc
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400a6fdc
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1400a6e83
jmp 0x1400a6e50
Function at 0x1400a7278
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1400a704a
call fcn.14008e708
mov dword [rax], 0x16
call fcn.14008e55c
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400a702c
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1400a702c
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x1400a707c
lock or dword [rax + 0x14], 0x10
jmp 0x1400a702c
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400a7099
mov rcx, qword [rbp + 0x20]
call fcn.1400a9eec
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x1400a70ae
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x1400a70b4
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.14008dac4
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400a68d0
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x1400a7107
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x1400a702c
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1400a7173
mov rcx, qword [rbp + 0x20]
call fcn.14008dac4
cmp eax, 0xffffffff
je 0x1400a715a
mov rcx, qword [rbp + 0x20]
call fcn.14008dac4
cmp eax, 0xfffffffe
je 0x1400a715a
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.14008dac4
movsxd rdi, eax
lea r15, [0x14012ab20]
mov rcx, rbx
sar rdi, 6
call fcn.14008dac4
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x1400a7161
lea rax, [0x140115b90]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400a7173
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x1400a71a9
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400a71a5
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400a71a5
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x1400a71c7
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x1400a71d2
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x1400a7031
jmp 0x1400a6ff8

Function at 0x1400a9634
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400a9654
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14008e698
or eax, 0xffffffff
jmp 0x1400a9656
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400af00c
Capabilities:
Create thread
Print debug messages

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, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.1400a4e1c
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x1400af05f
test rbx, rbx
je 0x1400af050
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x1400af05f
mov edi, 4
jmp 0x1400af108
call fcn.1400a4bc4
test al, al
jne 0x1400af07c
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x1400af108
test bpl, bpl
je 0x1400af0df
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x1400aee30]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400af108
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x1400af0d9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400af108
mov edi, dword [rsp + 0x44]
jmp 0x1400af0d1
call fcn.1400a4d48
test al, al
jne 0x1400af0f0
bts esi, 0x15
xor ecx, ecx
jmp 0x1400af0f8
call fcn.1400a4c80
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.1400a49fc
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret

Function at 0x1400bc3a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x24], 0
mov rax, rdx
movsxd rdi, r8d
mov rbx, rcx
je 0x1400bc3c6
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp edi, 0xffffffff
jne 0x1400bc3e2
mov rdx, qword [rcx + 8]
mov rcx, rax
call fcn.14007a944
xor edx, edx
cmp eax, edi
mov ecx, edx
sete cl
jmp 0x1400bc3ff
mov r9, qword [rcx + 8]
mov r8, rdi
mov rcx, rax
mov edx, 1
call fcn.14008dda4
xor edx, edx
cmp eax, edi
mov ecx, edx
setne cl
test ecx, ecx
mov dword [rbx + 0x24], ecx
mov rbx, qword [rsp + 0x30]
sete dl
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x140011990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x38]
mov rsi, r8
add rax, 8
mov rbx, rcx
cmp rdx, rax
jbe 0x140011aa4
mov r9, qword [rdx]
movzx eax, r9b
and al, 7
cmp al, 3
jne 0x1400119cd
and r9, 0xfffffffffffffff8
sub rdx, r9
mov r9, qword [rdx]
mov rcx, rdx
test r9b, 3
jne 0x1400119e8
movzx eax, byte [r9 - 3]
lea rax, [rax*8 + 0x10]
sub rcx, rax
jmp 0x1400119ef
and r9, 0xfffffffffffffff8
sub rcx, r9
mov rdi, qword [rcx - 8]
movabs rax, 0x7fffffffffff
and rdi, rax
mov r8, rdx
mov rdx, rdi
mov rcx, rbx
call fcn.140011020
cmp eax, 0xffffffff
je 0x140011aa4
mov rcx, qword [rdi + 0x20]
lea r8, [0x1400b1310]
mov eax, eax
sub rcx, 0x68
add rax, 0x1a
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 0x140011a74
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.1400121e0
cmp r8d, 0x16
je 0x140011aa4
mov rax, qword [rbx + 0x10]
mov rdx, qword [rax + r8*8 + 0x1a8]
lea rax, str.metamethod
add rdx, 0x18
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 0x1400121e0
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, 0x68
mov rbp, rcx
sar rdx, 2
call fcn.140011380
test rax, rax
jne 0x140012292
lea rsi, [rbp + 0x68]
lea r15, [0x1400b1310]
sub rbx, 4
cmp rbx, rsi
jbe 0x14001225b
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 0x14001225f
cmp edi, r8d
jb 0x140012224
cmp edx, 0x2c
jne 0x14001225b
shr eax, 0x10
cmp edi, eax
ja 0x140012224
xor eax, eax
jmp 0x14001229c
cmp cx, 1
jne 0x140012224
cmp r8d, edi
jne 0x140012224
cmp edx, 0x12
jne 0x1400122b5
mov edi, eax
mov rdx, rbx
sub rdx, rbp
shr edi, 0x10
sub rdx, 0x68
mov r8d, edi
sar rdx, 2
mov rcx, rbp
call fcn.140011380
test rax, rax
je 0x140012224
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 0x14001234a
cmp edx, 0x36
je 0x140012325
cmp edx, 0x39
jne 0x14001225b
mov ecx, eax
shr rcx, 0x10
movzx edx, cl
mov rcx, qword [rbp + 0x20]
not rdx
mov rdx, qword [rcx + rdx*8]
add rdx, 0x18
mov qword [r14], rdx
cmp rbx, rsi
jbe 0x140012319
mov r9d, dword [rbx - 4]
cmp r9b, 0x12
jne 0x140012319
mov ecx, r9d
shr ecx, 8
movzx edx, cl
lea ecx, [r8 + 2]
cmp edx, ecx
jne 0x140012319
shr eax, 8
xor eax, r9d
test eax, 0xffff0000
jne 0x140012319
lea rax, str.method
jmp 0x14001229c
lea rax, str.field
jmp 0x14001229c
mov rcx, rax
mov rax, qword [rbp + 0x20]
shr rcx, 0x10
not rcx
mov rcx, qword [rax + rcx*8]
lea rax, str.global
add rcx, 0x18
mov qword [r14], rcx
jmp 0x14001229c
mov rdx, qword [rbp + 0x58]
shr eax, 0x10
test rdx, rdx
jne 0x14001236c
lea rdx, [0x1400b07d6]
mov qword [r14], rdx
lea rax, str.upvalue
jmp 0x14001229c
test eax, eax
je 0x14001237f
movzx ecx, byte [rdx]
inc rdx
test cl, cl
jne 0x140012370
add eax, 0xffffffff
jne 0x140012370
mov qword [r14], rdx
lea rax, str.upvalue
jmp 0x14001229c
Function at 0x1400138f0
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 + 0x20]
mov ebp, r8d
mov rbx, qword [rdx]
xor r14d, 3
mov rdi, rdx
mov rsi, rcx
test rbx, rbx
je 0x1400139b8
mov qword [rsp + 0x40], r15
lea r15, fcn.140015290
nop dword [rax]
mov eax, ebp
dec ebp
test eax, eax
je 0x14001399d
cmp byte [rbx + 9], 6
jne 0x140013950
lea rdx, [rbx + 0x40]
mov r8d, 0xffffffff
mov rcx, rsi
call fcn.1400138f0
movzx ecx, byte [rbx + 8]
mov eax, ecx
xor eax, 3
test r14d, eax
je 0x140013971
movzx eax, byte [rsi + 0x20]
and cl, 0xf8
and al, 3
mov rdi, rbx
or cl, al
mov byte [rbx + 8], cl
jmp 0x140013995
mov rax, qword [rbx]
mov qword [rdi], rax
cmp rbx, qword [rsi + 0x28]
jne 0x140013984
mov rax, qword [rbx]
mov qword [rsi + 0x28], rax
movzx eax, byte [rbx + 9]
mov rdx, rbx
sub eax, 4
mov rcx, rsi
call qword [r15 + rax*8]
mov rbx, qword [rdi]
test rbx, rbx
jne 0x140013930
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 0x1400139a5

Function at 0x140015030
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r10, rcx
mov rbx, r8
shr r10, 0x20
mov r11d, edx
xor r10d, edx
rol r10d, 4
bswap r10d
cmp r9d, 0xc
jbe 0x1400150c3
mov eax, r9d
lea r9, [r8 - 0xc]
add r9, rax
mov r8, r9
nop
add r10d, dword [r8 + 4]
add r11d, dword [r8 + 8]
mov edx, r10d
add ecx, dword [r8]
xor r11d, r10d
rol edx, 0xe
mov r8, rbx
sub r11d, edx
add rbx, 0xc
xor ecx, r11d
mov eax, r11d
rol eax, 0xb
sub ecx, eax
mov edx, ecx
mov eax, ecx
xor eax, r10d
ror edx, 7
sub eax, edx
mov r10d, eax
cmp r8, r9
jb 0x140015060
rol eax, 0x10
mov edx, r10d
xor edx, r11d
sub edx, eax
xor ecx, edx
mov eax, edx
rol eax, 4
sub ecx, eax
mov eax, ecx
xor ecx, r10d
rol eax, 0xe
sub ecx, eax
mov eax, ecx
mov rbx, qword [rsp + 8]
ret
mov rbx, qword [rsp + 8]
mov eax, r10d
ret
Function at 0x140017200
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 + 0x3c]
mov r12, rcx
lea rdx, [rdx*8 + 0x28]
call fcn.140014d30
lea r9, [rbp + 0x68]
mov rdi, rax
mov word [rax + 9], 8
mov byte [rax + 0xb], 0
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rbx
movzx edx, byte [rbp + 0x3d]
movzx r14d, byte [rbp + 0x3c]
add edx, 0x20
mov ecx, edx
shr ecx, 3
and cl, 0x20
sub dl, cl
mov byte [rbp + 0x3d], dl
test r14b, r14b
je 0x1400172e4
mov qword [rsp + 0x40], rsi
xor ebx, ebx
mov qword [rsp + 0x48], r15
lea rsi, [rax + 0x28]
movzx r15d, r14b
nop dword [rax]
mov edx, 0x30
mov rcx, r12
call fcn.140014d30
mov qword [rax + 0x10], 0xffffffffffffffff
lea rsi, [rsi + 8]
lea rbx, [rbx + 2]
lea rcx, [rax + 0x10]
mov word [rax + 9], 0x105
mov qword [rax + 0x20], rcx
mov rcx, qword [rbp + 0x28]
movzx edx, word [rcx + rbx - 2]
mov ecx, edx
shl edx, 0x18
shr ecx, 0xe
xor edx, ebp
and cl, 1
mov dword [rax + 0x28], edx
mov byte [rax + 0xb], cl
mov qword [rsi - 8], rax
sub r15, 1
jne 0x140017280
mov r15, qword [rsp + 0x48]
mov rax, rdi
mov rsi, qword [rsp + 0x40]
mov byte [rdi + 0xb], r14b
jmp 0x1400172e8
mov byte [rax + 0xb], r14b
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r12
pop rdi
ret

Function at 0x14001bd90
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1400ced58]
mov rbx, rcx
test rax, rax
jne 0x14001bddc
xor r8d, r8d
lea rcx, str.advapi32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test rax, rax
je 0x14001be4b
lea rdx, str.SystemFunction036
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ced58], rax
test rax, rax
je 0x14001be4b
mov edx, 0x20
mov rcx, rbx
call rax
test al, al
je 0x14001be4b
mov rax, qword [rbx]
cmp rax, 2
jae 0x14001bdfa
add rax, 2
mov qword [rbx], rax
mov rax, qword [rbx + 8]
cmp rax, 0x40
jae 0x14001be0c
add rax, 0x40
mov qword [rbx + 8], rax
mov rax, qword [rbx + 0x10]
cmp rax, 0x200
jae 0x14001be22
add rax, 0x200
mov qword [rbx + 0x10], rax
mov rax, qword [rbx + 0x18]
cmp rax, 0x20000
jae 0x14001be38
add rax, 0x20000
mov qword [rbx + 0x18], rax
mov rcx, rbx
call fcn.14001be60
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14001fa20
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 0x14001fa85
movsx edx, al
inc rbx
cmp edx, 0x66
je 0x14001fa6c
cmp edx, 0x69
je 0x14001fbd7
cmp edx, 0x6c
jne 0x14001fa7e
mov rax, qword [rsi + 0x10]
mov rcx, rsi
mov dword [rax + 0xefc], edx
call fcn.14001a3c0
movzx eax, byte [rbx]
test al, al
jne 0x14001fa53
mov rbx, qword [0x1400ced60]
test rbx, rbx
je 0x14001fb1d
cmp qword [rsi + 0x10], rbx
jne 0x14001fc4a
mov rcx, qword [0x1400cede8]
mov edx, 0xffffffff
mov dword [0x1400cedf0], 1
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x1400cedc0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and byte [rbx + 0x91], 0x7f
mov rcx, rbx
call fcn.14000ef90
mov rcx, rsi
mov dword [rbx + 0xefc], r15d
call fcn.14001a3c0
mov r8d, dword [0x1400ced80]
xor r9d, r9d
sub r8d, dword [0x1400ced88]
mov rdx, qword [0x1400ced88]
sub qword [rbx + 0x10], r8
mov rcx, qword [rbx + 8]
call qword [rbx]
mov qword [0x1400ced80], r15
mov qword [0x1400ced78], r15
mov qword [0x1400ced60], r15
cmp qword [0x1400ceda8], r15
mov rax, qword [rsi + 0x10]
mov qword [0x1400ced60], rax
mov dword [0x1400ced98], edi
mov qword [0x1400ced68], r14
mov qword [0x1400ced70], rbp
mov dword [0x1400ced9c], r15d
mov qword [0x1400ced90], rsi
mov qword [0x1400ced88], r15
mov qword [0x1400ced80], r15
mov qword [0x1400ced78], r15
jne 0x14001fc0d
xor r8d, r8d
lea rcx, str.winmm.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x1400ceda8], rax
test rax, rax
je 0x14001fc0d
lea rdx, str.timeBeginPeriod
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ceda8]
lea rdx, str.timeEndPeriod
mov qword [0x1400cedb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1400cedb0], r15
mov qword [0x1400cedb8], rax
je 0x14001fbce
test rax, rax
jne 0x14001fc0d
mov qword [0x1400ceda8], r15
jmp 0x14001fc4a
movzx eax, byte [rbx]
mov edi, r15d
cmp al, 0x30
jl 0x14001fc03
cmp al, 0x39
jg 0x14001fbfb
inc rbx
movsx ecx, al
lea edi, [rdi + rdi*4]
lea edi, [rdi - 0x18]
movzx eax, byte [rbx]
lea edi, [rcx + rdi*2]
cmp al, 0x30
jge 0x14001fbe1
test edi, edi
jg 0x14001fa7e
mov edi, 1
jmp 0x14001fa7e
lea rcx, [0x1400cedc0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea r9, [0x1400ced60]
mov qword [rsp + 0x28], r15
lea r8, [0x14001fd30]
mov dword [0x1400cedf0], r15d
xor edx, edx
mov dword [rsp + 0x20], r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400cede8], 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 0x140038bf0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
xor r11d, r11d
mov r10d, edx
mov esi, 0xffffffff
mov edi, r8d
mov rbx, rcx
mov r14d, esi
test edx, edx
jne 0x140038c40
mov eax, dword [rcx]
test eax, eax
je 0x140038c2a
bsf ecx, eax
cmp ecx, r8d
jb 0x140038c3a
mov ecx, r8d
shr eax, cl
mov dword [rbx], eax
xor eax, eax
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
pop r14
pop rdi
ret
shr eax, cl
mov dword [rbx], eax
sub edi, ecx
mov qword [rsp + 0x20], r15
mov r15d, 1
cmp edi, 0x12
jbe 0x140038cd6
mov edx, r9d
and r9b, 0x30
shr edx, 0x18
lea r8d, [rdx - 1]
cmp r9b, 0x20
jne 0x140038c84
mov eax, 0x38e38e39
mov r14d, 0x3f
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
sub r14d, edx
jmp 0x140038cd6
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 [0x1400b3368]
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
mov qword [rsp + 0x18], rbp
cmp edi, 9
jb 0x140038d8d
nop dword [rax]
nop dword [rax + rax]
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 0x140038d49
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 0x140038d20
cmp r11d, r14d
je 0x140038d6c
cmp r11d, esi
je 0x140038d6c
test r9d, r9d
je 0x140038d63
dec r11d
and r11d, 0x3f
mov dword [rbx + r11*4], r9d
cmp dword [rbx + r10*4], 0
jne 0x140038d81
jmp 0x140038d78
cmp dword [rbx + r10*4], 0
jne 0x140038d81
cmp r10d, r11d
je 0x140038df7
dec r10d
and r10d, 0x3f
dec esi
add edi, 0xfffffff7
cmp edi, 9
jae 0x140038cf0
test edi, edi
je 0x140038df7
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 0x140038de7
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 0x140038dc0
test r9d, r9d
je 0x140038df7
dec r11d
and r11d, 0x3f
mov dword [rbx + r11*4], r9d
mov rbp, qword [rsp + 0x18]
mov eax, r11d
mov r15, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
pop r14
pop rdi
ret
Function at 0x140050b30
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 r10, rdx
mov r14, rcx
test r9b, 1
jne 0x140050c5a
cmp r10, r8
je 0x140050c5a
mov rdi, qword [r14]
xor r9d, r9d
movzx eax, word [r10]
xor r11d, r11d
lea rcx, [rax + rax*2]
mov ebx, dword [rdi + rcx*8]
lea r10, [rdi + rcx*8]
mov edx, ebx
mov ecx, ebx
shr edx, 0x1c
cmp edx, 8
jne 0x140050b96
mov eax, ecx
shr eax, 0x10
cmp al, 1
jne 0x140050b9b
or r9d, dword [r10 + 4]
movzx eax, cx
jmp 0x140050b6d
cmp edx, 5
jne 0x140050ba0
movzx eax, cx
jmp 0x140050b6d
and ecx, 0x3000000
or r9d, ecx
mov ecx, dword [r8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x10000000
je 0x140050bef
movzx eax, cx
lea rcx, [rax + rax*2]
lea r8, [rdi + rcx*8]
mov ecx, dword [rdi + rcx*8]
mov eax, ecx
shr eax, 0x1c
cmp eax, 8
jne 0x140050be1
mov eax, ecx
shr eax, 0x10
cmp al, 1
jne 0x140050bba
or r11d, dword [r8 + 4]
jmp 0x140050bba
cmp eax, 5
je 0x140050bba
and ecx, 0x3000000
or r11d, ecx
test sil, 4
je 0x140050c00
cmp r9d, r11d
jne 0x140050c88
jmp 0x140050c25
test sil, 8
jne 0x140050c25
mov eax, r11d
and eax, r9d
cmp eax, r11d
jne 0x140050c88
cmp edx, 4
je 0x140050c5a
mov eax, dword [r8]
and eax, 0xf0000000
cmp eax, 0x40000000
je 0x140050c5a
mov ecx, dword [r8]
mov eax, ecx
shr eax, 0x1c
cmp edx, eax
jne 0x140050c88
mov eax, dword [r8 + 4]
cmp dword [r10 + 4], eax
jne 0x140050c88
test edx, edx
je 0x140050c7e
and ebx, 0xe0000000
cmp ebx, 0x20000000
jne 0x140050c74
or esi, 4
test sil, 1
je 0x140050b57
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 edx, 1
jne 0x140050c5a
cmp r10, r8
jmp 0x140050c86
xor ecx, ebx
test ecx, 0xc000000
je 0x140050c5a
xor eax, eax
jmp 0x140050c5f
Function at 0x140054250
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x4500
shr r8, 2
or dx, ax
mov word [rcx + 0xba], r8w
mov eax, 0x7fff
mov word [rcx + 0xbc], dx
mov word [rcx + 0xb8], ax
jmp fcn.14005e650
Function at 0x1400587d0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
inc dword [rcx + 0x6c]
mov esi, r8d
cmp dword [rcx + 0x6c], 0x14
mov rdi, rdx
mov rbx, rcx
jg 0x140058821
call fcn.1400583a0
mov rdx, rdi
mov rcx, rbx
call fcn.140058180
dec dword [rbx + 0x6c]
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.140057520
mov edx, 0x8d0
call fcn.140057340
int3