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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14002fa90
sub rsp, rax
mov rax, qword [0x1400a3100]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140041254
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400433c3
mov rax, rbp
jmp 0x1400434cb
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xa5d60]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400442c0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xa5d60]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400434c7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400434c7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400442c0
test rax, rax
js 0x1400434c7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400434c7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400434b9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400434b9
cmp byte [rcx], 0xd
jne 0x14004349f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400434ae
cmp byte [rcx + 1], 0xa
jne 0x1400434ae
inc rcx
jmp 0x1400434ae
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xa3540]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140043481
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400434cb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14002f0b0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140043660
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400a5d60]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400436b7
cmp word [rdx], r13w
jne 0x1400436b7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400436bc
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400437e1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140043802
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400436f5
mov rdx, r9
mov word [rbx], cx
jmp 0x14004371c
cmp r9, r8
jae 0x14004372c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400436d6
jmp 0x1400437e1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400437d6
cmp dword [rsp + 0x80], esi
je 0x1400437d6
lea r8, [0x1400a5d60]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400437ae
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14004377e
mov word [rbx], r13w
jmp 0x1400437de
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14004378b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400437de
cmp word [rsp + 0x70], r13w
jne 0x1400437bb
cmp rbx, r14
je 0x140043778
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400442c8
cmp word [rsp + 0x70], r13w
je 0x1400437e1
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400a5d60]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400437db
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400437e1
Function at 0x140047770
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400477a0
xor eax, eax
jmp 0x140047863
mov rbp, rbx
cmp word [rax], si
je 0x1400477c5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400477ac
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400477a8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140045e88
movsxd r14, eax
test eax, eax
jne 0x140047803
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140047799
mov rcx, r14
call fcn.14003e82c
mov rdi, rax
test rax, rax
jne 0x14004781c
xor ecx, ecx
call fcn.14003ef64
jmp 0x1400477f8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140045e88
test eax, eax
jne 0x14004784d
mov rcx, rdi
call fcn.14003ef64
jmp 0x140047857
xor ecx, ecx
call fcn.14003ef64
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14004a518
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14003ec04
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14004a5b9
cmp ebx, dword [rsp + 0x30]
je 0x14004a5b2
test esi, esi
je 0x14004a5b2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14004a58d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14004a59a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14004a577
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14004a59e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14004a5bb
mov eax, 1
jmp 0x14004a5bb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14004eac0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400442c8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400442c8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14004ec10
cmp rax, 0xffffffffffffffff
je 0x14004ec10
xor edi, edi
test rbp, rbp
jle 0x14004ebbb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14003f100
mov rbx, rax
test rax, rax
jne 0x14004eb48
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14004ebb1
mov edx, 0x8000
mov ecx, r14d
call fcn.14003c4ac
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140042544
cmp eax, 0xffffffff
je 0x14004eb91
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14004eb58
mov edx, r15d
mov ecx, r14d
call fcn.14003c4ac
jmp 0x14004ebb1
cmp byte [rsi + 0x38], dil
je 0x14004eba8
cmp dword [rsi + 0x34], 5
jne 0x14004eba8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14004ebb1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14003ef64
jmp 0x14004ec24
jns 0x14004ec24
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400442c8
cmp rax, 0xffffffffffffffff
jne 0x14004ebdc
cmp byte [rsi + 0x30], dil
je 0x14004ec24
mov edi, dword [rsi + 0x2c]
jmp 0x14004ec24
mov ecx, r14d
call fcn.140047fc4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14004ec24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14004ec24
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14004ec1d
mov eax, dword [rsi + 0x2c]
jmp 0x14004ec22
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400442c8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14004f3a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14004f3c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14004f3c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140916210
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140916397
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140916241
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140916227
add dl, dl
jne 0x14091624e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409162ae
xor eax, eax
add dl, dl
jne 0x14091625d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140916365
add dl, dl
jne 0x14091626e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14091627b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140916288
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140916295
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409162a2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140916236
mov eax, 1
add dl, dl
jne 0x1409162be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409162cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409162b3
sub eax, ebx
mov ebx, 1
jne 0x140916304
mov ecx, 1
add dl, dl
jne 0x1409162e6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409162f3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409162db
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140916236
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140916320
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14091632d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140916315
cmp eax, 0x7d00
jae 0x140916353
cmp eax, 0x500
jb 0x14091634e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140916236
cmp eax, 0x7f
ja 0x140916356
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140916236
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14091638a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140916236
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004a38
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x14030b930]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
cmp byte [rcx + 0x53a], 0
jne 0x140004b55
mov byte [rcx + 0x53a], 1
mov byte [0x14031aeab], 1
call fcn.1400071ac
nop
jmp 0x140004a81
mov rax, qword [rdi + 0x540]
test rax, rax
je 0x140004a9f
mov rcx, qword [rax]
test rcx, rcx
je 0x140004a9f
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rdx, qword [rdi + 0x558]
test rdx, rdx
je 0x140004ab5
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_KillTimer]
mov edx, 0x1a
mov rcx, rdi
call fcn.140005540
xor r8d, r8d
lea edx, [r8 + 0x19]
mov rcx, rdi
call fcn.1400055b0
and qword [rsp + 0x20], 0
call fcn.140075d08
mov rcx, rax
test rax, rax
je 0x140004b6f
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
mov ecx, 0x1e
call fcn.140078908
test rax, rax
je 0x140004b1e
mov r8d, 0x1e
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14000400c
mov rbx, qword [rsp + 0x20]
lea rcx, [rdi + 0x340]
mov rdx, rbx
call fcn.1400983d8
mov edx, 2
mov rcx, rdi
call fcn.14009b258
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004b55
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140212a70
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140002d08
int3

Function at 0x140005988
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialogEx.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
cmp rdx, 0x10000
jae 0x14009ab0b
cmp dword [rcx + 0xe8], 0
jne 0x14009ab0b
movzx eax, si
mov dword [rcx + 0xe8], eax
call fcn.14009a66c
mov r8d, 5
mov rdx, rsi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp 0x14009ae6c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, r9
mov rcx, rdx
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rbx, rbx
jne 0x14009aec1
call fcn.14008b8f4
mov rdx, rax
test rax, rax
je 0x14009aebf
mov rcx, qword [rax]
mov rax, qword [rcx + 0xe8]
mov rcx, rdx
call qword [case.0x1401b6269.0]
mov rbx, rax
jmp 0x14009aec1
xor ebx, ebx
and qword [rdi + 0x108], 0
mov r9, rsi
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14009abe0
Function at 0x1400062a0
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14030b930]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, rcx
lea rcx, [0x14000621c]
call fcn.14008b7b4
mov qword [rbx], rax
test rax, rax
jne 0x140006341
and qword [rsp + 0x30], rax
lea rdx, str.Thread_creation_failed
lea rcx, [rsp + 0x30]
call fcn.140003ef0
nop
call fcn.14000627c
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140006320
mov r9, qword [rsp + 0x30]
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140006352
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140006352
and dword [rax + 0x50], 0
mov rcx, qword [rbx]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140212a70
add rsp, 0x40
pop rbx
ret

Function at 0x140009f88
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000a424
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14000a456
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14000a439
mov rax, r8
ret
Function at 0x14000be48
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x14000bfe0
cmp ecx, 0x7c
je 0x14000bfe0
cmp ecx, 0x29
jne 0x14000be8b
cmp dword [rbx + 0x1c], 0
jne 0x14000bfe0
test dword [rbx + 0x80], 0x10000000
je 0x14000c001
cmp ecx, 0x2e
jne 0x14000beab
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14000c160
mov rcx, rbx
call fcn.14000be0c
jmp 0x14000bfce
cmp ecx, 0x5c
jne 0x14000bf0f
mov rcx, rbx
call fcn.14000be0c
test byte [rbx + 0x80], 0x80
je 0x14000bf02
cmp word [rbx + 0x78], 0x62
jne 0x14000bee3
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14000c160
mov rcx, rbx
call fcn.14000be0c
jmp 0x14000bfd6
cmp word [rbx + 0x78], 0x42
jne 0x14000bf02
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14000c160
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14000bed6
mov rcx, rbx
call fcn.14000d184
jmp 0x14000bfce
cmp ecx, 0x5b
jne 0x14000bf33
mov rcx, rbx
call fcn.14000be0c
mov rcx, rbx
call fcn.14000d034
cmp dword [rbx + 0x7c], 0x5d
jne 0x14000bfeb
jmp 0x14000be9e
cmp ecx, 0x28
jne 0x14000bf57
mov rcx, rbx
call fcn.14000be0c
mov rcx, rbx
call fcn.14000d2e4
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x14000bff6
jmp 0x14000bfc1
cmp ecx, 0x5e
jne 0x14000bf64
lea edx, [rcx - 0x5c]
jmp 0x14000becd
cmp ecx, 0x24
jne 0x14000bf71
lea edx, [rcx - 0x21]
jmp 0x14000becd
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14000c022
cmp ecx, 0x3f
je 0x14000c022
cmp ecx, 0x7b
je 0x14000c022
cmp ecx, 0x7d
jne 0x14000bfa0
test dword [rbx + 0x80], 0x10000000
je 0x14000c00c
cmp ecx, 0x5d
jne 0x14000bfb1
test dword [rbx + 0x80], 0x10000000
je 0x14000c017
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14000d530
mov dil, 1
mov rcx, rbx
call fcn.14000be0c
test dil, dil
je 0x14000bfd6
mov rcx, rbx
call fcn.14000d3f8
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x14000be5a
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.14000aa78
int3
mov edx, 5
call fcn.14000aa78
int3
mov edx, 5
call fcn.14000aa78
int3
mov edx, 6
call fcn.14000aa78
int3
mov edx, 4
call fcn.14000aa78
int3
mov edx, 0xa
call fcn.14000aa78
int3
Function at 0x1400111a0
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x14030b930]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov r14, rcx
xor edi, edi
mov qword [rsp + 0x38], rdi
movdqa xmm0, xmmword [0x1402c6510]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], di
mov byte [rsp + 0x30], dil
lea rdx, str.srl::System::Initialize
lea rcx, [rsp + 0x38]
call fcn.140009944
nop
call fcn.14001fe60
cmp dword [rax + 8], 4
jl 0x140011217
lea rcx, [rsp + 0x30]
call fcn.140015c90
lea rcx, [rbp + 0x70]
call fcn.1400110c0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.140013b50
nop
lea rcx, [r14 + 8]
mov rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x140011258
mov eax, edi
jmp 0x14001126a
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140011260
mov r8d, eax
call fcn.140002a88
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x140011287
call fcn.14021ef30
xor r9d, r9d
lea r8d, [r9 + 0x23]
lea rdx, [rbp + 0xe0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, str._systemrequirementslabcyriconfig.ini
lea rcx, [rbp + 0xe0]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rbp + 0x1b0]
lea r8, [0x1402baa00]
lea rdx, [0x1402bf2f0]
lea rcx, str.Detection
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp + 0x1b0], 0
jne 0x140011387
lea rcx, [rbp + 0xa8]
call fcn.1400110c0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
lea rdx, [rbp + 0xa8]
lea rcx, [rsp + 0x60]
call fcn.140013b50
nop
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14001133c
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140011330
mov edi, ebx
mov r8d, edi
lea rcx, [r14 + 0x10]
call fcn.140002a88
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x14001135d
call fcn.14021ef30
lea rcx, [r14 + 0x10]
call fcn.140012be0
lea r9, [rbp + 0xe0]
mov r8, qword [r14 + 0x10]
lea rdx, [0x1402bf2f0]
lea rcx, str.Detection
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x1400113ae
lea rax, [rbp + 0x1b0]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140011390
mov r8d, ebx
lea rdx, [rbp + 0x1b0]
lea rcx, [r14 + 0x10]
call fcn.140002a88
nop
lea rcx, [rsp + 0x30]
call fcn.140017560
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140212a70
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400209a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword [0x14030b930]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rbx, [rcx + 8]
mov r14, rcx
cmp qword [rbx + 0x80], 0
je 0x140020a91
cmp qword [rbx + 0x68], 0
je 0x140020a35
cmp byte [rbx + 0x71], 0
je 0x140020a35
mov rax, qword [rbx]
mov edx, 0xffffffff
mov rcx, rbx
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x1400209fd
xor al, al
jmp 0x140020a37
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x140020a53
sub eax, 1
je 0x140020a57
cmp eax, 2
je 0x140020a31
xor al, al
jmp 0x140020a37
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rbx + 0x80]
xor edi, edi
test al, al
mov esi, edi
cmovne rsi, rbx
call fcn.140221ce0
test eax, eax
je 0x140020a96
jmp 0x140020a93
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
sub rdi, rax
je 0x140020a88
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x40]
mov r8, rdi
mov edx, 1
call fcn.140221a30
cmp rdi, rax
je 0x140020a88
xor al, al
jmp 0x140020a37
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140020a37
xor edi, edi
mov rsi, rdi
mov byte [rbx + 0x7c], 0
lea rax, [rbx + 0x4c]
mov qword [rbx + 0x58], rax
lea r10, [rbx + 8]
mov qword [rbx + 0x18], r10
lea r8, [rbx + 0x10]
mov qword [rbx + 0x20], r8
lea r9, [rbx + 0x28]
mov qword [rbx + 0x38], r9
lea rcx, [rbx + 0x30]
mov qword [rbx + 0x40], rcx
lea rdx, [rbx + 0x48]
mov qword [rbx + 0x50], rdx
mov byte [rbx + 0x71], 0
mov qword [r8], rdi
mov qword [rcx], rdi
mov dword [rax], edi
mov rax, qword [0x14031b050]
mov qword [r10], rdi
mov qword [r9], rdi
mov dword [rdx], edi
mov qword [rbx + 0x80], rdi
mov qword [rbx + 0x74], rax
mov qword [rbx + 0x68], rdi
test rsi, rsi
jne 0x140020b20
mov rax, qword [r14]
movsxd rcx, dword [rax + 4]
mov eax, 4
add rcx, r14
cmp qword [rcx + 0x48], rsi
cmovne eax, edi
or eax, dword [rcx + 0x10]
and eax, 0x15
or eax, 2
mov dword [rcx + 0x10], eax
and eax, dword [rcx + 0x14]
jne 0x140020b44
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140212a70
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
test al, 4
je 0x140020b51
lea rdx, str.ios_base::badbit_set
jmp 0x140020b65
test al, 2
lea rdx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140017220
mov r8, rax
lea rcx, [rsp + 0x40]
call fcn.140017020
lea rdx, [0x1403055c0]
lea rcx, [rsp + 0x40]
call fcn.140217a10
int3