joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x20
call fcn.140016350
mov rdi, qword [0x140223c80]
xor r14d, r14d
mov ebp, r14d
test rdi, rdi
je 0x14001a6fe
movsxd rax, dword [rdi + 0x3c]
mov qword [rsp + 0x40], rbx
mov ebx, r14d
mov qword [rsp + 0x48], rsi
mov esi, dword [rax + rdi + 0x88]
add rsi, rdi
cmp dword [rsi + 0x18], ebx
jbe 0x14001a6f4
mov qword [rsp + 0x50], r15
nop word [rax + rax]
mov ecx, dword [rsi + 0x20]
lea rdx, [0x140022878]
add rcx, rdi
mov r15d, ebx
mov ecx, dword [rcx + r15*4]
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x14001a6e8
mov ecx, dword [rsi + 0x24]
add rcx, rdi
movzx edx, word [rcx + r15*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rdi
mov ebp, dword [rcx + rdx*4]
add rbp, rdi
inc ebx
cmp ebx, dword [rsi + 0x18]
jb 0x14001a6b0
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
call rbp
test eax, eax
setne r14b
mov eax, r14d
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14001a720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push r15
sub rsp, 0x20
mov r15, rcx
call fcn.140016350
mov rdi, qword [0x140223c80]
xor ebp, ebp
test rdi, rdi
je 0x14001a7be
movsxd rax, dword [rdi + 0x3c]
mov qword [rsp + 0x40], rbx
mov ebx, ebp
mov qword [rsp + 0x48], rsi
mov esi, dword [rax + rdi + 0x88]
add rsi, rdi
cmp dword [rsi + 0x18], ebx
jbe 0x14001a7b4
mov qword [rsp + 0x50], r14
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [rsi + 0x20]
lea rdx, [0x140022ae0]
add rcx, rdi
mov r14d, ebx
mov ecx, dword [rcx + r14*4]
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x14001a7a8
mov ecx, dword [rsi + 0x24]
add rcx, rdi
movzx edx, word [rcx + r14*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rdi
mov ebp, dword [rcx + rdx*4]
add rbp, rdi
inc ebx
cmp ebx, dword [rsi + 0x18]
jb 0x14001a770
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rcx, r15
mov rax, rbp
add rsp, 0x20
pop r15
pop rdi
pop rbp
jmp rax
Function at 0x14001bf70
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x14001bfad
lea rax, [rbx - 1]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x98], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.14001b15c
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14001c0ac
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.14001b15c
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jne 0x14001c020
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.140003fe0
mov esi, eax
cmp dword [rsp + 0x40], ebx
je 0x14001c0eb
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001c0eb
call fcn.14001afc8
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jne 0x14001c0d2
mov rcx, r14
call fcn.14001afc8
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
Function at 0x1400010f4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0x48
mov dword [rsp + 0x2c], 0xb
mov dword [rsp + 0x30], 6
mov eax, dword [rsp + 0x2c]
imul eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov r8d, dword [rsp + 0x34]
mov edx, 0x511
lea rcx, [0x14001da70]
call fcn.1400010a4
nop
jmp 0x140001138
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x64
jge 0x14000114e
lea rcx, [0x14001b170]
call fcn.14000104c
nop
jmp 0x14000112e
mov dword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
mov r8d, 4
mov edx, 0x511
lea rcx, [0x14001da70]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
jmp 0x140001180
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x32
jge 0x140001196
lea rcx, [0x14001b171]
call fcn.14000104c
nop
jmp 0x140001176
mov dword [rsp + 0x38], 0xf
cmp dword [rsp + 0x38], 0xf
jne 0x1400011c3
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov edx, 0x511
lea rcx, [0x14001da70]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
lea rax, [0x14001da70]
call rax
nop
xor eax, eax
add rsp, 0x48
ret

Function at 0x140001bd4
Capabilities:
Parse pe header

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

Function at 0x140004d6c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140004b98

Function at 0x1400111f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140011218
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140011218
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140005ca0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140005cc8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140005cee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140005cf0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140005d49
test ecx, ecx
jle 0x140005d29
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140005d49
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140005d49
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140005d70
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140005d92
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140005da8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140005dc4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005dc6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005e02
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140005e9e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140005e3d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140005e7e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140005e9e
cmp rbx, rax
ja 0x140005e50
test rbx, rbx
je 0x140005e9e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140006300
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000632d
xor eax, eax
jmp 0x140006499
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140006367
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140006367
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140006499
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000648c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400063aa
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400063d5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140006491
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006444
sub eax, 1
je 0x140006444
cmp eax, 2
jne 0x14000648c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140006491
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140006472
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000648c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140006491
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140011d70
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140006694
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140006680
ret
Function at 0x140006c10
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006ce3
cmp byte [rcx + 0x71], 0
je 0x140006ce3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140006cdf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006ca4
sub eax, 1
je 0x140006ca8
cmp eax, 2
jne 0x140006cdf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140011d70
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006cd6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140006cdf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140006c8c
xor al, al
jmp 0x140006c8c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140011d70
add rsp, 0x60
pop rbx
ret
Function at 0x14000f4b0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000f575
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000f575
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 0x14000f58e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x14000f565
cmp byte [rcx], 0x5c
jne 0x14000f55e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14000f55e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14000f54c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14000f55b
test r8b, 0x10
jne 0x14000f55e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14000f55e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.14000b550
test edi, edi
jne 0x14000f4d0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14000b540
int3

Function at 0x1400115bc
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 0x1400115f6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400115fb
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 0x140011644
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140014560]
cmp byte [rcx + rax], 0
je 0x140011644
dec r8
sub rdx, 1
jne 0x14001162a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140012b04
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x14001cb0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14001cb1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14001cb05
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14001cb35
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14001cb22
sub eax, 3
jb 0x14001cb4f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14001cb86
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14001cb76
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14001cb74
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14001cb63
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14001cac2
jmp 0x14001cb0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x7800
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14001cbd2
cmp rsi, rcx
jae 0x14001cbda
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14001cbb9
cmp al, 0x8f
ja 0x14001cbb9
cmp byte [rsi - 2], 0xf
je 0x14001cbbf
sub al, 0xe8
cmp al, 1
ja 0x14001cba3
cmp rsi, rcx
jae 0x14001cbda
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14001cba9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14001cbda
lodsb al, byte [rsi]
jmp 0x14001cbb9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1a000]
mov eax, dword [rdi]
or eax, eax
je 0x14001cc37
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1c000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14001cbe7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14001cc31
mov qword [rbx], rax
add rbx, 8
jmp 0x14001cc07
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14001cc71
cmp al, 0xef
ja 0x14001cc63
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14001cc43
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14001cc52
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.14001ccf0], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14001ccf0
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14001cce0
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x18002c130
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rsi
push rdi
mov eax, 0x13b8
call fcn.18003d390
sub rsp, rax
mov rdi, rdx
mov rsi, rcx
cmp qword [0x180338728], 0
jne 0x18002c20e
movups xmm0, xmmword [0x1800620a2]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x1800620b2]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x1800620c2]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1800620d2]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x1800620e2]
movaps xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x80], 0x6c
movaps xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [str.hijklmnophijklmnophijklmnophijklHUD.Draw]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [0x18005ed10]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [0x18005ed20]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [0x18005ed30]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [str.mnophijk]
movaps xmmword [rsp + 0x70], xmm0
xor byte [rsp + 0x80], 0x6c
lea r8, [rsp + 0x30]
xor ecx, ecx
xor edx, edx
xor r9d, r9d
call fcn.180039cb0
mov qword [0x180338728], rax
mov qword [rsp + 0x20], rdi
call fcn.18003ded0
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
mov ecx, 3
nop dword [rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add rax, rcx
add rax, 0xfffffffffffffffe
mov dword [rsp + rcx*4 + 0x2c], eax
cmp rcx, 0x271
je 0x18002c26c
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
dec eax
mov dword [rsp + rcx*4 + 0x30], eax
add rcx, 2
jmp 0x18002c230
mov dword [rsp + 0x30], 0x270
lea rcx, [rsp + 0x30]
call fcn.180037fa0
shr eax, 8
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x18005f740]
xorps xmm1, xmm1
addss xmm1, xmm0
movss dword [rsp + 0x28], xmm1
mov rax, qword [rsi]
test rax, rax
je 0x18002c2bf
mov rdx, qword [0x180338728]
movsxd r9, dword [0x180076040]
lea r8, [rsp + 0x20]
mov rcx, rsi
call qword [rax + r9*8]
nop
add rsp, 0x13b8
pop rdi
pop rsi
ret

Function at 0x180034a20
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180034a4e
mov r9, rcx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x18002c2d0]
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
add rsp, 0x38
ret
Function at 0x180035680
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x180035716
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x18003571d
mov r15, rsi
jmp 0x1800356db
cmp r15, r14
cmovb r14, r15
mov rcx, rdi
mov r8, r14
call fcn.18005c870
add rdi, r14
sub r15, r14
mov rax, qword [rbx + 0x50]
sub dword [rax], r14d
mov rax, qword [rbx + 0x38]
add qword [rax], r14
test r15, r15
jle 0x18003570e
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x1800356f3
mov rax, qword [rbx + 0x50]
mov r14d, dword [rax]
test r14d, r14d
jg 0x1800356b0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18003570e
mov byte [rdi], al
inc rdi
dec r15
test r15, r15
jg 0x1800356db
sub rsi, r15
jmp 0x18003580a
xor esi, esi
jmp 0x18003580a
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x180035770
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x180035770
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call fcn.18005c870
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x180035781
jmp 0x180035807
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x180035807
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x1800357b0
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
nop dword [rax]
cmp r14, 0x1000
jb 0x1800357e3
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call fcn.180044570
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x1800357b0
jmp 0x180035807
test r14, r14
je 0x180035804
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call fcn.180044570
sub r14, rax
jmp 0x180035807
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret