joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140088e30
Capabilities:
Log keystrokes

Disassembly:
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x40]
mov ecx, 0x78
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400ecf40]
xor rax, rsp
mov qword [rsp + 0x210], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov r8d, 0x6d1
xor edx, edx
lea rcx, [0x14013ffe2]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x40], 0x20
jmp 0x140088e95
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x15c
jg 0x140089099
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x14013fd28]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x168], eax
cmp dword [rsp + 0x168], 0xffffffff
jne 0x140088ec6
jmp 0x140088e8b
cmp dword [rsp + 0x40], 0x140
jl 0x140088fa2
cmp dword [rsp + 0x40], 0x14e
jg 0x140088fa2
mov dword [rsp + 0x1b8], 0x60
mov dword [rsp + 0x1bc], 0x61
mov dword [rsp + 0x1c0], 0x62
mov dword [rsp + 0x1c4], 0x63
mov dword [rsp + 0x1c8], 0x64
mov dword [rsp + 0x1cc], 0x65
mov dword [rsp + 0x1d0], 0x66
mov dword [rsp + 0x1d4], 0x67
mov dword [rsp + 0x1d8], 0x68
mov dword [rsp + 0x1dc], 0x69
mov dword [rsp + 0x1e0], 0x6e
mov dword [rsp + 0x1e4], 0x6f
mov dword [rsp + 0x1e8], 0x6a
mov dword [rsp + 0x1ec], 0x6d
mov dword [rsp + 0x1f0], 0x6b
mov eax, dword [rsp + 0x40]
sub eax, 0x140
cdqe
mov eax, dword [rsp + rax*4 + 0x1b8]
mov dword [rsp + 0x164], eax
jmp 0x140088fbb
mov edx, 1
mov ecx, dword [rsp + 0x168]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [rsp + 0x164], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x164]
call qword [sym.imp.USER32.dll_ToUnicode]
mov dword [rsp + 0x16c], eax
cmp dword [rsp + 0x16c], 0xffffffff
jne 0x140089035
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x164]
call qword [sym.imp.USER32.dll_ToUnicode]
mov dword [rsp + 0x16c], eax
cmp dword [rsp + 0x16c], 1
jge 0x140089044
jmp 0x140088e8b
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 5
lea rcx, [0x14013ffe2]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x178]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x140088e8b
mov rcx, rsp
lea rdx, [0x1400adce0]
call fcn.14008e1a8
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.14008d760
add rsp, 0x220
pop rdi
ret
Function at 0x14008c120
Capabilities:
Link many functions at runtime

Disassembly:
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400ecf40]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, str.libOSMesa.dll
mov qword [rsp + 0x38], rax
lea rax, str.OSMesa.dll
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
cmp qword [0x140140938], 0
je 0x14008c17b
mov eax, 1
jmp 0x14008c2fb
mov dword [rsp + 0x20], 0
jmp 0x14008c18f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + rax*8 + 0x38], 0
je 0x14008c1c1
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + rax*8 + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140140938], rax
cmp qword [0x140140938], 0
je 0x14008c1bf
jmp 0x14008c1c1
jmp 0x14008c185
cmp qword [0x140140938], 0
jne 0x14008c1e3
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.140081820
xor eax, eax
jmp 0x14008c2fb
lea rdx, str.OSMesaCreateContextExt
mov rcx, qword [0x140140938]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140940], rax
lea rdx, str.OSMesaCreateContextAttribs
mov rcx, qword [0x140140938]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140948], rax
lea rdx, str.OSMesaDestroyContext
mov rcx, qword [0x140140938]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140950], rax
lea rdx, str.OSMesaMakeCurrent
mov rcx, qword [0x140140938]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140958], rax
lea rdx, str.OSMesaGetColorBuffer
mov rcx, qword [0x140140938]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140960], rax
lea rdx, str.OSMesaGetDepthBuffer
mov rcx, qword [0x140140938]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140968], rax
lea rdx, str.OSMesaGetProcAddress
mov rcx, qword [0x140140938]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140970], rax
cmp qword [0x140140940], 0
je 0x14008c2dc
cmp qword [0x140140950], 0
je 0x14008c2dc
cmp qword [0x140140958], 0
je 0x14008c2dc
cmp qword [0x140140960], 0
je 0x14008c2dc
cmp qword [0x140140968], 0
je 0x14008c2dc
cmp qword [0x140140970], 0
jne 0x14008c2f6
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.140081820
call fcn.14008c330
xor eax, eax
jmp 0x14008c2fb
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1400ae130]
call fcn.14008e1a8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14008d760
add rsp, 0x70
pop rdi
ret

Function at 0x14008e5f4
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x458c0a
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
lea rdx, [rsp + 0x18]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x28]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x38]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x48]
movups xmmword [rdx], xmm15
lea rdx, [0x00458c40]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00462140
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
nop
call fcn.00462280
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00458b40

Function at 0x460880
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x30
mov qword [rsp + 0x28], rbp
lea rbp, [rsp + 0x28]
mov r13, 0
mov qword [rsp + 0x20], r13
mov byte [rsp + 0x17], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x30]
nop
inc dword [rcx + 0x244]
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x30]
nop
mov rsi, rcx
mov qword [rdx + 0x138], rcx
mov rcx, qword [rsi + 0x30]
mov qword [rsi + 0xe8], rcx
lea rcx, fcn.00442060
mov qword [rsp + 0x20], rcx
mov byte [rsp + 0x17], 1
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x30]
mov qword [rsp + 0x18], rcx
mov rdx, qword [rsp + 0x38]
mov qword [rcx + 0x2e0], rdx
mov rdx, qword [rsp + 0x40]
mov qword [rcx + 0x2e8], rdx
lea rdx, [rsp + 0x48]
mov qword [rcx + 0x2f0], rdx
lea rbx, [rcx + 0x2e0]
mov rax, qword [0x019bf7f0]
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
call fcn.00404000
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rcx + 0x2f8]
mov rsi, qword [rcx + 0x300]
mov rcx, qword [rcx + 0x308]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], 0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
call fcn.00442060
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
Function at 0x464420
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x01a19a40]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x01a19222], 0
je 0x464456
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x01a19d00]
aesenc xmm0, xmmword [0x01a19d10]
aesenc xmm0, xmmword [0x01a19d20]
movq rax, xmm0
ret
jmp 0x409ca0

Function at 0x466c80
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
call fcn.00460b60
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
Function at 0x5554c0
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x5554d8
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x5554d8
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x5554e0
xor eax, eax
ret
cmp rbx, 3
je 0x5554ec
cmp rbx, 4
jne 0x555519
cmp al, 0x2c
ja 0x555506
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x555516
cmp al, 0x24
je 0x555516
nop dword [rax]
cmp al, 0x26
jae 0x555516
jmp 0x555519
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x555516
cmp al, 0x5b
je 0x555516
cmp al, 0x5d
jne 0x555519
xor eax, eax
ret
cmp al, 0x2f
ja 0x555552
nop dword [rax]
cmp al, 0x26
ja 0x555531
cmp al, 0x24
je 0x555571
cmp al, 0x26
je 0x555571
jmp 0x5555eb
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x555571
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x5555e8
cmp al, 0x2f
je 0x555571
jmp 0x5555eb
cmp al, 0x3d
ja 0x555569
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x555571
nop
cmp al, 0x3d
je 0x555571
jmp 0x5555eb
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x5555e0
cmp rbx, 2
jg 0x5555a7
cmp rbx, 1
je 0x5555a1
nop dword [rax]
cmp rbx, 2
jne 0x5555eb
cmp al, 0x2f
je 0x555592
cmp al, 0x3b
je 0x555592
cmp al, 0x2c
jne 0x555599
mov ecx, 1
jmp 0x55559e
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x5555ca
cmp al, 0x40
je 0x5555b9
cmp al, 0x2f
je 0x5555b9
cmp al, 0x3f
jne 0x5555c2
mov ecx, 1
nop
jmp 0x5555c7
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x5555d9
cmp rbx, 7
jne 0x5555eb
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x5555e8
cmp al, 0x7e
jne 0x5555eb
xor eax, eax
ret
cmp rbx, 7
jne 0x555601
cmp al, 0x21
je 0x5555fd
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x555601
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x140ccf058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140ccf1df
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 0x140ccf089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ccf06f
add dl, dl
jne 0x140ccf096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ccf0f6
xor eax, eax
add dl, dl
jne 0x140ccf0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ccf1ad
add dl, dl
jne 0x140ccf0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ccf0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ccf0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ccf0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ccf0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ccf07e
mov eax, 1
add dl, dl
jne 0x140ccf106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ccf113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ccf0fb
sub eax, ebx
mov ebx, 1
jne 0x140ccf14c
mov ecx, 1
add dl, dl
jne 0x140ccf12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ccf13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ccf123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ccf07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ccf168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ccf175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ccf15d
cmp eax, 0x7d00
jae 0x140ccf19b
cmp eax, 0x500
jb 0x140ccf196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ccf07e
cmp eax, 0x7f
ja 0x140ccf19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ccf07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ccf1d2
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 0x140ccf07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001ad30
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x1400fa028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0x300000050
lea rdi, [rsp + 0x38]
mov qword [rdi], rax
lea rax, [0x14001ae80]
mov qword [rdi + 8], rax
xor ebx, ebx
mov qword [rdi + 0x10], rbx
mov rax, qword [rcx]
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rbx
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rdi + 0x28], rax
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rbx
lea rax, str.GxSplashWindow
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x48], rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x14001ae10]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x18], rax
test rax, rax
je 0x14001adec
add rsi, 0x20
mov rcx, rsi
call fcn.1400565f0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400719c0
nop
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14001ae20
Capabilities:
Terminate thread

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14001ae42
mov edx, 0x10
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14001ae78
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14001ae66
mov rcx, qword [rsi + 0x18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x18], 0
add rsp, 0x20
pop rsi
ret
Function at 0x14001b440
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14001b49c
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jb 0x14001b47a
call fcn.140059e60
mov rcx, qword [rdi]
call fcn.140051e40
mov qword [rdi], 0
lea rax, [rsi + 1]
cmp rax, 2
jb case.default.0x14001b495
mov qword [rdi], rsi
call fcn.140059e60
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov edi, 0x88235325
invalid
enter 0x534, 0x11
push rdx
and al, 0xf8
push 0xffffffff9d350e33
test al, 0x74
sar dl, 0xcf
iretd
add al, 1
call qword [rbx]
invalid
iretd

Function at 0x14001b610
Capabilities:
Terminate process

Disassembly:
mov rcx, qword [rcx]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x14001b61e
ret
xor edx, edx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
push rdx
invalid
js 0x1401df308
retf
pop rdx
or al, 0xa8
push rdx
invalid
stosd dword [rdi], eax
xchg edx, eax
invalid

Function at 0x140023f40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x140023f9d
mov dl, byte [rbp + 0x60]
movzx r8d, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], r8d
mov byte [rsp + 0x20], dl
mov rdx, rsi
mov r8, rdi
call qword [0x1400ee440]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rbx, [rbp - 0x20]
mov rcx, r9
mov rdx, rbx
call fcn.14004f800
lea rdx, [0x14010ac00]
mov rcx, rbx
call fcn.140050420
mov r14, rax
mov rcx, qword [rbp - 0x20]
lea rax, [0x14010aa28]
cmp rcx, rax
je 0x140023fe9
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x140023fe9
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400ee440]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1400dcf00]
movaps xmmword [rbx], xmm0
mov rax, qword [r14]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, rbx
call qword [0x1400ee440]
movzx eax, byte [rbx + 0x17]
mov rdx, rax
test al, al
jns 0x14002402c
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
test rdx, rdx
je 0x14002409c
test al, al
cmovns rcx, rbx
mov r14, rcx
jmp 0x14002407e
movzx edx, al
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [0x1400ee440]
cmp eax, 0xffffffff
jne 0x14002405a
xor edi, edi
movzx eax, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov rdx, rbx
mov r8, rax
test al, al
jns 0x140024073
mov r8, qword [rbp - 0x18]
mov rdx, rcx
add rdx, r8
inc r14
cmp r14, rdx
je 0x14002409c
test rdi, rdi
je 0x140024058
mov al, byte [r14]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x140024040
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
jmp 0x14002405a
mov qword [rsi], rdi
test al, al
jns 0x140023f8d
call fcn.140070570
jmp 0x140023f8d
Function at 0x14002a670
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14010b778]
mov ecx, dword [0x1401087e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002a6ab
movzx eax, word [0x14010b748]
cmp eax, 9
jne 0x14002a6f3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x14010b778]
call fcn.140070684
cmp dword [0x14010b778], 0xffffffff
jne 0x14002a695
xorps xmm0, xmm0
movups xmmword [0x14010b768], xmm0
movups xmmword [0x14010b758], xmm0
movups xmmword [0x14010b748], xmm0
lea rcx, [0x14010b748]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14010b778]
call fcn.14007071c
jmp 0x14002a695
test eax, eax
je 0x14002a6a6
cmp eax, 6
jne 0x14002a703
mov eax, 2
jmp 0x14002a6a6
cmp eax, 0xc
jne 0x14002a70f
mov eax, 3
jmp 0x14002a6a6
mov eax, 4
jmp 0x14002a6a6

Function at 0x14002af70
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x14002afb6
mov r14, r12
test r14, r14
je 0x14002b0b8
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x14002b018
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x14002b004
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140073430
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
jmp 0x14002af92
mov rax, r12
sub rax, r15
sar rax, 2
cmp r12, r15
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x14002b0de
lea rcx, [r13*8]
call fcn.140070534
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, r12
mov r14, rcx
sub rdx, rbx
je 0x14002b07e
lea r14, [rdx + rcx]
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x14002b0b8
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x14002b066
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdx
cmp r12, rbx
je 0x14002b09e
add r12, 0xfffffffffffffff8
jne 0x14002b091
jmp 0x14002b0cb
test r15, r15
je 0x14002af92
mov rcx, r15
call fcn.140070570
mov r14, qword [rsi + 0x10]
jmp 0x14002af92
lea rcx, [0x1400dd138]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1400a3330
lea rcx, [0x1400dd138]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1400a3330
call fcn.1400a28b0
int3
Function at 0x14002b560
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1400fa028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400dcf00]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20b
call fcn.140059e40
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140054d40
cmp byte [rdi + 0x17], 0
jns 0x14002b5d2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140054dc0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400719c0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002b610
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1400fa028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400dcf00]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x233
call fcn.140059e40
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140054d40
cmp byte [rdi + 0x17], 0
jns 0x14002b682
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.140054dc0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400719c0
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002b6d0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1400fa028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140073ae0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002b76f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14008cdd8
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140059ef0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14002e9e0
mov rcx, rsi
mov rdx, r14
call fcn.14005a090
mov rcx, r14
call fcn.14005a020
mov rcx, rbx
call fcn.14005a020
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400719c0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret