joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001dbd0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14001dcb3
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14001dcb3
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14001dcd1
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14001dca3
cmp word [rax], 0x5c
jne 0x14001dc9c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14001dc9c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14001dc87
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x14001dc99
test r8b, 0x10
jne 0x14001dc9c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14001dc9c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.140019d30
test edi, edi
jne 0x14001dc00
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140019d20
int3
Function at 0x140028e90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movzx esi, r8b
xor ebp, ebp
lea rcx, [rsp + 0x58]
call fcn.140001fa0
mov r14, rax
mov qword [rsp + 0x50], rax
mov rdi, qword [0x1400782c0]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140001fa0
mov byte [rsp + 0x98], sil
mov qword [rsp + 0xa0], rdi
lea ecx, [rbp + 0x30]
call fcn.140031cb4
mov rbx, rax
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [rax + 0x10], xmm1
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x78], bpl
mov byte [rax + 0x20], sil
mov qword [rax + 0x28], rdi
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x30]
call fcn.140012390
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x140012550]
xor edx, edx
xor ecx, ecx
call fcn.14003d0a8
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14002901b
cmp dword [rsp + 0x48], ebp
je 0x140029010
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.1400313e4
test eax, eax
jne 0x140029010
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140028fd8
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140028fd3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002902a
mov rcx, r8
call fcn.140031c80
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [r14], 0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140031c60
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 1
call fcn.140031348
nop
mov dword [rsp + 0x48], ebp
mov ecx, 6
call fcn.140031348
nop
call fcn.140038aac
int3
Function at 0x140029720
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor esi, esi
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbx + 0xe0]
test rcx, rcx
je 0x14002976c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbx + 0xa0]
xor edx, edx
mov ecx, 0xc3a
call qword [0x1400781e0]
mov qword [rbx + 0xe0], rax
lea rcx, [rbx + 0x60]
call fcn.14002ecd0
mov dword [rbp - 0x29], esi
mov dword [rbp - 0x39], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x14002980b
lea rdx, [rbp - 0x39]
mov rcx, qword [rbx + 0xe0]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x14002980b
mov eax, dword [rbp - 0x39]
cmp dword [rbp - 0x29], eax
je 0x14002980b
lea r8, [0x140078410]
cmp qword [0x140078428], 7
cmova r8, qword [0x140078410]
lea rdx, [0x140078650]
cmp qword [0x140078668], 7
cmova rdx, qword [0x140078650]
xor ecx, ecx
lea r9d, [rcx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x1400298ca
cmp qword [rbx + 0xe0], rsi
jne 0x1400298c8
lea rdx, [0x1400785f0]
lea rcx, [rbp - 9]
call fcn.140012030
lea rdx, [0x140078410]
lea rcx, [rbp + 0x17]
call fcn.140012030
mov dword [rbp + 0x37], 0x10
mov ecx, 0x48
call fcn.140031cb4
mov rbx, rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.140012030
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x17]
call fcn.140012030
mov ecx, dword [rbp + 0x37]
mov dword [rbx + 0x40], ecx
mov qword [rbp - 0x29], rbx
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x14001a3a0]
xor edx, edx
xor ecx, ecx
call fcn.14003d0a8
mov qword [rbp - 0x19], rax
test rax, rax
je 0x1400298ef
lea rcx, [rbp - 9]
call fcn.1400152a0
cmp dword [rbp - 0x11], 0
je 0x1400298fd
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.1400313e4
test eax, eax
jne 0x1400298fd
jmp 0x1400298ca
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140031c60
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rbp - 0x11], esi
mov ecx, 6
call fcn.140031348
nop
mov ecx, 1
call fcn.140031348
int3
Function at 0x14002f150
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [0x1400781f8]
mov rbx, rax
test rax, rax
jne 0x14002f2dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140029f60
nop
lea r8, [0x140078630]
cmp qword [0x140078648], 7
cmova r8, qword [0x140078630]
mov r9, qword [0x140078640]
mov rcx, rax
call fcn.140007410
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x140078410]
cmp qword [0x140078428], 7
cmova r8, qword [0x140078410]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14002f285
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f280
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f326
call fcn.140031c80
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x14002f2d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f2d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f320
call fcn.140031c80
xor al, al
jmp 0x14002f2ff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140031c60
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.140038aac
nop
call fcn.140038aac
nop
int3
Function at 0x14003298c
Capabilities:
Parse pe header

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

Function at 0x14003cc1c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14003caaf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003caaf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003caaf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003caaf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003caaf
cmp dword [rcx + 0x84], 0xe
jbe 0x14003caaf
cmp dword [rcx + 0xf8], 0
je 0x14003caaf
mov ecx, ebx
call fcn.14003cb50
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14003c940
cmp dword [rbp + 0x20], 0
je 0x14003cafc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003cb04
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003ca48
Function at 0x140053c40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140053c68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140053c68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400028f0
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x40]
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 7
xor esi, esi
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
test eax, eax
js 0x140002a7a
mov qword [rsp + 0x178], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x180], rbp
mov rbx, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x140002970
movabs rbp, 0x7fffffffffffffff
cmp rbx, rbp
ja 0x140002a8a
cmp rbx, 0xf
ja 0x1400029b7
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x40]
mov qword [rdi + 0x18], 0xf
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], sil
jmp 0x140002a46
mov rax, rbx
or rax, 0xf
cmp rax, rbp
jbe 0x1400029ec
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400097a8
test rax, rax
je 0x140002a18
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140002a27
mov ecx, 0x16
mov rbp, rax
cmp rax, rcx
cmovb rbp, rcx
lea rcx, [rbp + 1]
test rcx, rcx
je 0x140002a27
cmp rcx, 0x1000
jb 0x140002a1f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002a90
jmp 0x1400029d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400097a8
mov rsi, rax
mov r8, rbx
mov qword [rdi], rsi
lea rdx, [rsp + 0x40]
mov qword [rdi + 0x10], rbx
mov rcx, rsi
mov qword [rdi + 0x18], rbp
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rbx, qword [rsp + 0x178]
mov rax, rdi
mov rbp, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140009780
mov rsi, qword [rsp + 0x188]
add rsp, 0x160
pop rdi
ret
mov qword [rdi + 0x18], 0xf
mov rax, rdi
mov byte [rdi], sil
jmp 0x140002a59
call fcn.1400020a0
int3
call fcn.140002000
int3
Function at 0x140003ac0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13d0
call fcn.14000aa70
sub rsp, rax
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13b4], 0xffffffff
mov ecx, 1
mov edx, eax
mov dword [rsp + 0x34], eax
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, 0x270
jb 0x140003b10
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x270
call fcn.1400081b0
mov ecx, eax
imul rax, rcx, 0x64
cmp eax, 0x5f
ja 0x140003b65
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.1400081b0
mov ecx, eax
imul rax, rcx, 0x64
cmp eax, 0x60
jb 0x140003b50
shr rax, 0x20
add eax, 0x80000001
btc eax, 0x1f
cmp eax, 0x2d
ja 0x140003b80
lea rdx, [0x14000ce78]
jmp 0x140003b93
lea rdx, [0x14000ce80]
cmp eax, 0x37
jle 0x140003b93
lea rdx, [0x14000ce88]
mov rcx, rbx
call fcn.140006410
mov rax, rbx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140009780
add rsp, 0x13d0
pop rbx
ret
Function at 0x140003bc0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1410
call fcn.14000aa70
sub rsp, rax
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rsp + 0x1400], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov word [rsp + 0x20], 0x514a
mov byte [rsp + 0x22], 0x4b
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13f4], 0xffffffff
mov dword [rsp + 0x74], eax
mov ecx, 1
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x74], edx
inc rcx
cmp rcx, 0x270
jb 0x140003c20
mov dword [rsp + 0x70], 0x270
lea rcx, [rsp + 0x70]
call fcn.1400081b0
mov ecx, eax
lea rax, [rcx + rcx*2]
test eax, eax
jne 0x140003c75
nop dword [rax + rax]
lea rcx, [rsp + 0x70]
call fcn.1400081b0
mov ecx, eax
lea rax, [rcx + rcx*2]
cmp eax, 1
jb 0x140003c60
shr rax, 0x20
mov esi, 0x80000000
sub rax, rsi
xor rax, 0xffffffff80000000
movzx edi, byte [rsp + rax + 0x20]
lea rcx, [rsp + 0x70]
call fcn.1400081b0
mov ecx, eax
lea rdx, [rcx + rcx*4]
add rdx, rdx
cmp edx, 5
ja 0x140003cbc
lea rcx, [rsp + 0x70]
call fcn.1400081b0
mov ecx, eax
lea rdx, [rcx + rcx*4]
add rdx, rdx
cmp edx, 6
jb 0x140003ca4
shr rdx, 0x20
add edx, 0x80000001
xor edx, esi
lea rcx, [rsp + 0x50]
call fcn.140006b40
nop
movzx r8d, dil
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.140006680
nop
lea r9, [rsp + 0x50]
mov r8, rax
mov rcx, rbx
call fcn.140007970
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140003d38
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400097a0
movdqa xmm0, xmmword [0x14000d490]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003d8b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400097a0
mov rax, rbx
mov rcx, qword [rsp + 0x1400]
xor rcx, rsp
call fcn.140009780
lea r11, [rsp + 0x1410]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400081b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140008211
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400081d0
mov ecx, dword [r9]
jmp 0x1400082fb
cmp ecx, 0x4e0
jb 0x1400082fb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140008230
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140008280
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14000a398
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
xor esi, esi
mov rdx, rcx
cmp qword [rcx + 0x18], 7
jbe 0x14000229a
mov rdx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
mov r8, qword [rcx + 0x10]
lea rcx, [rbp - 0x60]
call fcn.140003020
nop
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x30]
call fcn.140003bcc
mov r8d, eax
test eax, eax
jne 0x14000232b
mov edx, dword [rbp - 0x20]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp - 0x3c], ecx
mov ecx, edx
shr ecx, 0xa
test cl, 1
je 0x140002320
mov eax, dword [rbp - 0x1c]
cmp eax, 0xa000000c
jne 0x140002312
mov edx, 4
jmp 0x14000234d
cmp eax, 0xa0000003
jne 0x140002320
mov edx, 0xa
jmp 0x14000234d
shr edx, 4
and edx, 1
or edx, 2
jmp 0x14000234d
mov dword [rbp - 0x3c], 0xffff
sub eax, 2
je 0x140002348
sub eax, 1
je 0x140002348
sub eax, 0x32
je 0x140002348
cmp eax, 0x46
mov edx, esi
jne 0x14000234d
mov edx, 1
mov dword [rbp - 0x40], r8d
lea rax, [0x140009078]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
test edx, edx
je 0x1400023ae
cmp edx, 1
sete dil
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x1400023c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dil, 1
test r8d, r8d
jne 0x1400024a4
jmp 0x140002370
call fcn.140003fbc
test dil, dil
je 0x140002471
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400023d7
mov rdx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x60]
call fcn.140003020
nop
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
call fcn.140003b54
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140002496
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140002459
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002454
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002454
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003fbc
cmp qword [rbx + 0x18], 7
jbe 0x140002463
mov rbx, qword [rbx]
mov edx, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140003f60
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
shr rdx, 0x20
lea r8, [rbp - 0x60]
call fcn.140002190
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x40]
call fcn.140002200
int3
Function at 0x1400039c0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400039fa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400039ff
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140003a48
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140006340]
cmp byte [rcx + rax], 0
je 0x140003a48
dec r8
sub rdx, 1
jne 0x140003a2e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000495c
Capabilities:
Parse pe header

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