joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027420
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0xb0
mov rsi, rcx
movups xmm0, xmmword [0x1400fbf68]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x140027458
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0x88], rcx
test r9, r9
mov qword [rsp + 0x80], r9
lea rcx, [rsp + 0x88]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400274c1
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1400274f5
test eax, eax
js 0x1400274d5
mov rdx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0xb0
pop rsi
ret
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb0
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x80]
call fcn.140022c80
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.14001fae0
mov ecx, 7
int 0x29
ud2
Function at 0x140039530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400395aa
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400395a0
cmp r11, r10
ja 0x140039635
cmp r10, rdx
ja 0x140039647
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400395a2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140039580
jmp 0x140039617
ja 0x1400395aa
mov r11, r10
cmp rax, r8
jne 0x140039552
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14003961b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400395f0
mov r8, r10
sub ecx, r9d
jns 0x14003960e
jmp 0x14003961d
cmp r10, rdx
je 0x140039629
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14003961d
xor al, 1
cmp r8, rdx
jne 0x1400395d0
jmp 0x14003961d
xor eax, eax
jmp 0x14003961d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400a66e0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400a6c20
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400a6c10
int3
Function at 0x140045e60
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [rcx + 0x50]
mov r10, rdx
mov rdx, qword [rcx + 0x20]
mov r9d, r8d
sub rdx, 8
mov rbx, rcx
test rdi, rdi
je case.default.0x140045ed1
lea r11, [0x140000000]
nop
mov rax, rdi
and rax, 0xfffffffffffffffc
mov ecx, dword [rax + 0x50]
test ecx, ecx
jns 0x140045eb0
neg ecx
movsxd r8, ecx
add r8, qword [rbx + 0x38]
cmp rdx, r8
jb 0x140045f34
mov rax, qword [rbx + 0x38]
add rax, 8
cmp rdx, rax
jbe case.default.0x140045ed1
mov r8, qword [rdx]
mov rax, r8
and eax, 7
mov eax, dword [r11 + rax*4 + 0x46098]
add rax, r11
jmp rax
movzx eax, byte [r8 - 3]
mov rcx, 0xfffffffffffffffe
sub rcx, rax
lea rdx, [rdx + rcx*8]
jmp 0x140045f1d
cmp qword [rdx - 0x18], 1
jne case.0x140045ed1.3
test r9d, r9d
jne 0x140045f66
cmp rdi, r10
je 0x140045f8c
mov rdi, qword [rdi + 0x68]
jmp case.0x140045ed1.3
test r9d, r9d
je 0x140045fd2
cmp r9d, 1
jne 0x140045f99
and r8, 0xfffffffffffffff8
sub rdx, r8
test rdi, rdi
jne 0x140045e90
test r9d, r9d
jne 0x14004605b
jmp 0x14004604d
test r9d, r9d
je 0x14004603f
lea rax, [rdx + 8]
mov rcx, rbx
mov qword [rbx + 0x20], rax
mov rdx, r8
mov rax, qword [rdi + 0x68]
mov qword [rbx + 0x50], rax
call fcn.140046c00
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, rdx
and r8, 0xfffffffffffffff8
sub rax, r8
add rdx, 0xfffffffffffffff8
add rax, 8
mov rcx, rbx
mov qword [rbx + 0x20], rax
mov rax, qword [rdi + 0x68]
mov qword [rbx + 0x50], rax
call fcn.140046c00
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x10]
mov qword [rcx + 0x170], rbx
movzx eax, byte [rdx]
and al, 7
cmp al, 6
jne 0x140045fb4
and byte [rcx + 0x91], 0xef
mov rax, qword [rdx]
mov rcx, rbx
and rax, 0xfffffffffffffff8
mov qword [rbx + 0x50], rdi
sub rdx, rax
add rdx, 8
mov qword [rbx + 0x20], rdx
call fcn.140046c00
or rdi, 2
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test dil, 1
je 0x140046014
test r9d, r9d
je 0x14004603f
mov rax, qword [rbx + 0x10]
and byte [rax + 0x91], 0xef
mov rax, rdi
mov qword [rbx + 0x50], 0
mov byte [rbx + 0xb], r9b
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test r9d, r9d
je 0x14004603f
mov rcx, rdx
and r8, 0xfffffffffffffff8
sub rcx, r8
add rdx, 0xfffffffffffffff8
add rcx, 8
mov qword [rbx + 0x20], rcx
mov rcx, qword [rdi + 0x68]
mov qword [rbx + 0x50], rcx
mov rcx, rbx
call fcn.140046c00
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rbx + 0x38]
mov rcx, rbx
add rdx, 0x10
mov qword [rbx + 0x50], 0
mov qword [rbx + 0x20], rdx
call fcn.140046c00
mov rax, qword [rbx + 0x10]
mov rdx, qword [rax + 0x160]
test rdx, rdx
je 0x14004608c
mov rcx, rbx
call rdx
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x1400476b0
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 0x1400477ca
mov r9, qword [rdx]
movzx eax, r9b
mov r10, r9
and al, 7
cmp al, 3
jne 0x1400476f3
and r9, 0xfffffffffffffff8
sub rdx, r9
mov r9, qword [rdx]
mov r10, r9
mov rcx, rdx
test r9b, 3
jne 0x14004770e
movzx eax, byte [r10 - 3]
lea rax, [rax*8 + 0x10]
sub rcx, rax
jmp 0x140047715
and r10, 0xfffffffffffffff8
sub rcx, r10
mov rdi, qword [rcx - 8]
movabs rax, 0x7fffffffffff
and rdi, rax
mov r8, rdx
mov rdx, rdi
mov rcx, rbx
call fcn.140046cf0
cmp eax, 0xffffffff
je 0x1400477ca
mov rcx, qword [rdi + 0x20]
lea r8, [0x1400f7620]
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 0x14004779a
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.140047ee0
cmp r8d, 0x16
je 0x1400477ca
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 0x140047ee0
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.140047070
test rax, rax
jne 0x140047fa2
lea rsi, [rbp + 0x68]
lea r15, [0x1400f7620]
nop dword [rax + rax]
sub rbx, 4
cmp rbx, rsi
jbe 0x140047fd8
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 0x140047f6f
cmp edi, r8d
jb 0x140047f30
cmp edx, 0x2c
jne 0x140047fd8
shr eax, 0x10
cmp edi, eax
ja 0x140047f30
xor eax, eax
jmp 0x140047fac
cmp cx, 1
jne 0x140047f30
cmp r8d, edi
jne 0x140047f30
cmp edx, 0x12
jne 0x140047fc5
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.140047070
test rax, rax
je 0x140047f30
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 0x140048065
cmp edx, 0x36
je 0x140048040
cmp edx, 0x39
je 0x140047fdc
xor eax, eax
jmp 0x140047fac
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
mov r9d, dword [rbx - 4]
cmp r9b, 0x12
jne 0x140048034
mov ecx, r9d
shr ecx, 8
movzx edx, cl
lea ecx, [r8 + 2]
cmp edx, ecx
jne 0x140048034
shr eax, 8
lea rcx, str.method
xor eax, r9d
test eax, 0xffff0000
lea rax, str.field
cmove rax, rcx
jmp 0x140047fac
lea rax, str.field
jmp 0x140047fac
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 0x140047fac
mov rdx, qword [rbp + 0x58]
shr eax, 0x10
test rdx, rdx
jne 0x140048087
lea rdx, [0x1400f53c2]
mov qword [r14], rdx
lea rax, str.upvalue
jmp 0x140047fac
test eax, eax
je 0x14004809f
nop dword [rax + rax]
movzx ecx, byte [rdx]
inc rdx
test cl, cl
jne 0x140048090
add eax, 0xffffffff
jne 0x140048090
mov qword [r14], rdx
lea rax, str.upvalue
jmp 0x140047fac
Function at 0x14004fa20
Capabilities:
Query environment variable

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14010f2c0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov rdi, r9
mov rcx, r8
mov rsi, rdx
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
test rax, rax
je 0x14004fa9a
cmp dword [rsp + 0x180], 0
jne 0x14004fa9a
lea r9, [0x1400f6420]
mov rdx, rax
lea r8, [0x1400f6424]
mov rcx, rbx
call fcn.1400411b0
mov r9, rdi
lea r8, [0x1400f6428]
mov rdx, rax
mov rcx, rbx
call fcn.1400411b0
mov edx, 0xfffffffe
mov rcx, rbx
call fcn.14003ca60
jmp 0x14004faa5
mov rdx, rdi
mov rcx, rbx
call fcn.14003c710
mov r8d, 0x105
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x14004fb10
cmp eax, 0x105
je 0x14004fb10
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x14004fb10
xor r8d, r8d
mov byte [rax], 0
mov edx, 0xffffffff
mov rcx, rbx
call fcn.14003d000
mov rdx, rax
lea r9, [rsp + 0x20]
lea r8, [0x1400f61d8]
mov rcx, rbx
call fcn.1400411b0
mov edx, 0xfffffffe
mov rcx, rbx
call fcn.14003ca60
jmp 0x14004fb1f
lea rdx, str.unable_to_get_ModuleFileName
mov rcx, rbx
call fcn.140046b60
mov r8, rsi
mov edx, 0xfffffffe
mov rcx, rbx
call fcn.14003cb80
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400a3de0
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400548a0
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 0x140054968
mov qword [rsp + 0x40], r15
lea r15, fcn.1400562a0
nop dword [rax]
mov eax, ebp
dec ebp
test eax, eax
je 0x14005494d
cmp byte [rbx + 9], 6
jne 0x140054900
lea rdx, [rbx + 0x40]
mov r8d, 0xffffffff
mov rcx, rsi
call fcn.1400548a0
movzx ecx, byte [rbx + 8]
mov eax, ecx
xor eax, 3
test r14d, eax
je 0x140054921
movzx eax, byte [rsi + 0x20]
and cl, 0xf8
and al, 3
mov rdi, rbx
or cl, al
mov byte [rbx + 8], cl
jmp 0x140054945
mov rax, qword [rbx]
mov qword [rdi], rax
cmp rbx, qword [rsi + 0x28]
jne 0x140054934
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 0x1400548e0
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 0x140054955
Function at 0x140056040
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
ror r10d, 0x1c
bswap r10d
cmp r9d, 0xc
jbe 0x1400560d3
mov r9d, r9d
add r9, 0xfffffffffffffff4
add r9, rbx
mov r8, r9
nop
add r10d, dword [r8 + 4]
add r11d, dword [r8 + 8]
mov edx, r10d
add ecx, dword [r8]
xor r11d, r10d
ror edx, 0x12
mov r8, rbx
sub r11d, edx
add rbx, 0xc
xor ecx, r11d
mov eax, r11d
ror eax, 0x15
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 0x140056070
ror eax, 0x10
mov edx, r10d
xor edx, r11d
sub edx, eax
xor ecx, edx
mov eax, edx
ror eax, 0x1c
sub ecx, eax
mov eax, ecx
xor ecx, r10d
ror eax, 0x12
sub ecx, eax
mov eax, ecx
mov rbx, qword [rsp + 8]
ret
mov rbx, qword [rsp + 8]
mov eax, r10d
ret

Function at 0x140058170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r15
sub rsp, 0x20
mov rbp, rdx
mov rbx, r8
movzx edx, byte [rdx + 0x3c]
mov r12, rcx
lea rdx, [rdx*8 + 0x28]
call fcn.140055d50
lea rdx, [rbp + 0x68]
mov rdi, rax
mov qword [rax + 0x20], rdx
mov word [rax + 9], 8
mov byte [rax + 0xb], 0
mov qword [rax + 0x10], rbx
movzx edx, byte [rbp + 0x3d]
movzx r15d, byte [rbp + 0x3c]
add edx, 0x20
mov ecx, edx
shr ecx, 3
and cl, 0x20
sub dl, cl
mov byte [rbp + 0x3d], dl
test r15b, r15b
je 0x140058254
mov qword [rsp + 0x40], rsi
xor ebx, ebx
mov qword [rsp + 0x48], r14
lea rsi, [rax + 0x28]
mov r14d, r15d
nop dword [rax + rax]
mov edx, 0x30
mov rcx, r12
call fcn.140055d50
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 r14, 1
jne 0x1400581f0
mov r14, qword [rsp + 0x48]
mov rax, rdi
mov rsi, qword [rsp + 0x40]
mov byte [rdi + 0xb], r15b
jmp 0x140058258
mov byte [rax + 0xb], r15b
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rdi
ret
Function at 0x14005f7b0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14010f378]
mov rbx, rcx
test rax, rax
jne 0x14005f7fc
xor r8d, r8d
lea rcx, str.advapi32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test rax, rax
je 0x14005f86b
lea rdx, str.SystemFunction036
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010f378], rax
test rax, rax
je 0x14005f86b
mov edx, 0x20
mov rcx, rbx
call rax
test al, al
je 0x14005f86b
mov rax, qword [rbx]
cmp rax, 2
jae 0x14005f81a
add rax, 2
mov qword [rbx], rax
mov rax, qword [rbx + 8]
cmp rax, 0x40
jae 0x14005f82c
add rax, 0x40
mov qword [rbx + 8], rax
mov rax, qword [rbx + 0x10]
cmp rax, 0x200
jae 0x14005f842
add rax, 0x200
mov qword [rbx + 0x10], rax
mov rax, qword [rbx + 0x18]
cmp rax, 0x20000
jae 0x14005f858
add rax, 0x20000
mov qword [rbx + 0x18], rax
mov rcx, rbx
call fcn.14005f880
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400634f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x30
movzx eax, byte [rdx]
xor r12d, r12d
mov rbp, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
mov edi, 0xa
test al, al
je 0x140063555
movsx edx, al
inc rbx
cmp edx, 0x66
je 0x14006353c
cmp edx, 0x69
je 0x1400635f7
cmp edx, 0x6c
jne 0x14006354e
mov rax, qword [rsi + 0x10]
mov rcx, rsi
mov dword [rax + 0xf04], edx
call fcn.140059d70
movzx eax, byte [rbx]
test al, al
jne 0x140063523
mov rbx, qword [0x14010f380]
mov qword [rsp + 0x50], r14
lea r14, [rsi + 0x10]
test rbx, rbx
je 0x14006363e
cmp qword [r14], rbx
jne 0x140063635
mov rcx, qword [0x14010f408]
mov edx, 0xffffffff
mov dword [0x14010f410], 1
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x14010f3e0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and byte [rbx + 0x91], 0x7f
mov rcx, rbx
call fcn.140044e00
mov rcx, rsi
mov dword [rbx + 0xf04], r12d
call fcn.140059d70
mov r8d, dword [0x14010f3a0]
xor r9d, r9d
sub r8d, dword [0x14010f3a8]
mov rdx, qword [0x14010f3a8]
sub qword [rbx + 0x10], r8
mov rcx, qword [rbx + 8]
call qword [rbx]
mov qword [0x14010f3a0], r12
mov qword [0x14010f398], r12
mov qword [0x14010f380], r12
jmp 0x14006363e
movzx ecx, byte [rbx]
mov edi, r12d
cmp cl, 0x30
jl 0x14006362b
movzx eax, cl
cmp cl, 0x39
ja 0x140063623
movzx eax, al
lea edi, [rdi + rdi*4]
inc rbx
lea edi, [rdi - 0x18]
lea edi, [rax + rdi*2]
movzx eax, byte [rbx]
movzx ecx, al
cmp al, 0x30
jge 0x140063605
test edi, edi
jg 0x14006354e
mov edi, 1
jmp 0x14006354e
test rbx, rbx
jne 0x14006372c
cmp qword [0x14010f3c8], r12
mov rax, qword [r14]
mov qword [0x14010f380], rax
mov dword [0x14010f3b8], edi
mov qword [0x14010f388], r15
mov qword [0x14010f390], rbp
mov dword [0x14010f3bc], r12d
mov qword [0x14010f3b0], rsi
mov qword [0x14010f3a8], r12
mov qword [0x14010f3a0], r12
mov qword [0x14010f398], r12
jne 0x1400636ef
xor r8d, r8d
lea rcx, str.winmm.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x14010f3c8], rax
test rax, rax
je 0x1400636ef
lea rdx, str.timeBeginPeriod
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14010f3c8]
lea rdx, str.timeEndPeriod
mov qword [0x14010f3d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14010f3d0], r12
mov qword [0x14010f3d8], rax
je 0x1400636e6
test rax, rax
jne 0x1400636ef
mov qword [0x14010f3c8], r12
jmp 0x14006372c
lea rcx, [0x14010f3e0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea r9, [0x14010f380]
mov qword [rsp + 0x28], r12
lea r8, [0x140063810]
mov dword [0x14010f410], r12d
xor edx, edx
mov dword [rsp + 0x20], r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14010f408], rax
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r12
pop rdi
ret
Function at 0x140063f50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov ebp, r9d
mov r10, r8
mov r11, rdx
mov r14, rcx
test r9b, 1
jne 0x14006408d
nop dword [rax]
cmp r11, r10
je 0x14006408d
mov rsi, qword [r14]
xor ebx, ebx
movzx eax, word [r11]
xor edi, edi
lea rcx, [rax + rax*2]
mov edx, dword [rsi + rcx*8]
lea r11, [rsi + rcx*8]
mov r8d, edx
mov eax, edx
shr r8d, 0x1c
cmp r8d, 8
jne 0x140063fbf
shr edx, 0x10
cmp dl, 1
jne 0x140063fc5
or ebx, dword [r11 + 4]
movzx eax, ax
jmp 0x140063f94
cmp r8d, 5
jne 0x140063fca
movzx eax, ax
jmp 0x140063f94
mov ecx, dword [r10]
and eax, 0x3000000
or ebx, eax
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x10000000
je 0x140064023
movzx eax, cx
lea rcx, [rax + rax*2]
mov eax, dword [rsi + rcx*8]
lea r10, [rsi + rcx*8]
mov r9d, eax
mov ecx, eax
shr ecx, 0x1c
cmp ecx, 8
jne 0x14006400e
shr eax, 0x10
cmp al, 1
jne 0x140064013
or edi, dword [r10 + 4]
movzx eax, r9w
jmp 0x140063fe5
cmp ecx, 5
jne 0x140064019
movzx eax, r9w
jmp 0x140063fe5
and r9d, 0x3000000
or edi, r9d
test bpl, 4
je 0x140064033
cmp ebx, edi
jne 0x1400640c0
jmp 0x140064056
test bpl, 8
jne 0x140064056
mov eax, edi
and eax, ebx
cmp eax, edi
jne 0x1400640c0
cmp r8d, 4
je 0x14006408d
mov eax, dword [r10]
and eax, 0xf0000000
cmp eax, 0x40000000
je 0x14006408d
mov ecx, dword [r10]
mov eax, ecx
shr eax, 0x1c
cmp r8d, eax
jne 0x1400640c0
mov eax, dword [r10 + 4]
cmp dword [r11 + 4], eax
jne 0x1400640c0
test r8d, r8d
je 0x1400640b6
and edx, 0xe0000000
cmp edx, 0x20000000
jne 0x1400640a9
or ebp, 4
test bpl, 1
je 0x140063f80
mov eax, 1
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
cmp r8d, 1
jne 0x14006408d
cmp r11, r10
jne 0x1400640c0
jmp 0x14006408d
xor ecx, edx
test ecx, 0xc000000
je 0x14006408d
xor eax, eax
jmp 0x140064092
Function at 0x140071d10
Capabilities:
Encrypt data using rc4 prga

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x6c]
mov esi, r8d
inc eax
mov rdi, rdx
mov dword [rcx + 0x6c], eax
mov rbx, rcx
cmp eax, 0x14
jg 0x140075945
call fcn.1400754d0
mov rdx, rdi
mov rcx, rbx
call fcn.1400752a0
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.140074a50
mov edx, 0x8e4
call fcn.140074870
int3

Function at 0x1400789d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [rcx + 0x18]
mov rdi, qword [rcx + 0x10]
cmp qword [rsi + 0x178], 0
jne 0x140078a27
and dword [rsi + 0x3cc], 0xffffffef
mov rax, qword [rdi + 0x50]
mov qword [rdx + 0x68], rax
mov qword [rdx + 0x58], rdi
mov dword [rdx + 0x54], 0xffffffff
mov dword [rdx + 0x50], 0
mov qword [rdi + 0x50], rdx
mov rdx, rdi
call fcn.140078580
mov rsi, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
mov edx, 0xe90
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
lea rax, [rbx + 8]
mov qword [rdi + 0x28], rax
call fcn.140046860
movabs rcx, 0xfffd800000000000
or rax, rcx
mov qword [rbx], rax
mov rax, qword [rsi + 0x160]
mov rbx, qword [rsp + 0x30]
test rax, rax
je 0x140078a6b
mov rcx, rdi
call rax
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3