joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003b60
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r13
push r14
mov eax, 0x1078
call fcn.140010740
sub rsp, rax
mov rax, qword [0x140021040]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov r14, rdx
mov qword [rsp + 0x38], r9
mov rdx, qword [rsp + 0x10c0]
xor ebp, ebp
mov qword [rsp + 0x30], rdx
mov r13, r8
mov qword [rsp + 0x40], rcx
test r8, r8
jne 0x140003bb2
mov rdx, rbp
jmp 0x140003c8b
mov r9d, 0x1000
lea rdx, [rsp + 0x50]
call fcn.140002560
test al, al
je 0x140003baa
mov qword [rsp + 0x10a8], rsi
mov qword [rsp + 0x1070], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1068], r12
mov qword [rsp + 0x1060], r15
nop dword [rax]
inc rdi
cmp byte [r14 + rdi], bpl
jne 0x140003bf0
movsxd rax, dword [rsp + 0x8c]
lea rcx, [rsp + 0x50]
add rcx, rax
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r12, rax
cmp bp, r15w
jae 0x140003c68
nop dword [rax]
nop word [rax + rax]
mov eax, esi
mov r8, rdi
mov rdx, r14
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140003c61
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x140003c53
cmp rdi, rax
je 0x140003cc5
inc esi
cmp esi, r15d
jb 0x140003c30
mov rdx, rbp
mov r12, qword [rsp + 0x1068]
mov rdi, qword [rsp + 0x1070]
mov rsi, qword [rsp + 0x10a8]
mov r15, qword [rsp + 0x1060]
mov rax, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.140003a50
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14000f4f0
add rsp, 0x1078
pop r14
pop r13
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x140003c68
mov edx, dword [rbx + 8]
lea rcx, [rsp + 0x50]
add rcx, rax
je 0x140003c68
test edx, edx
je 0x140003c68
lea rax, [rsp + 0x50]
mov ebp, edx
sub rcx, rax
lea rdx, [rcx + r13]
jmp 0x140003c6b
Function at 0x140004770
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 0x140004798
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 0x1400047be
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400047c0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140004819
test ecx, ecx
jle 0x1400047f9
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 0x140004819
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140004819
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 0x140004840
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 0x140004862
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140004878
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 0x140004894
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004896
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400048d2
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 0x14000496e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000490d
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 0x14000494e
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 0x14000496e
cmp rbx, rax
ja 0x140004920
test rbx, rbx
je 0x14000496e
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 0x140004dd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140021040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140004dfd
xor eax, eax
jmp 0x140004f69
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004e37
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004e37
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 0x140004f69
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140004f5c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140004e7a
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 0x140004ea5
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 0x140004f61
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 0x140004f14
sub eax, 1
je 0x140004f14
cmp eax, 2
jne 0x140004f5c
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 0x140004f61
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004f42
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 0x140004f5c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140004f61
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000f4f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140005340
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140021040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140005413
cmp byte [rcx + 0x71], 0
je 0x140005413
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000540f
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 0x1400053d4
sub eax, 1
je 0x1400053d8
cmp eax, 2
jne 0x14000540f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f4f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140005406
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 0x14000540f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400053bc
xor al, al
jmp 0x1400053bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f4f0
add rsp, 0x60
pop rbx
ret

Function at 0x140009020
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140021040]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
je 0x1400090b3
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400090b3
cmp dword [rsp + 0x38], edi
je 0x1400090af
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140009095
jmp 0x1400090b3
mov esi, dword [rsp + 0x50]
cmp rbx, 0xffffffffffffffff
je 0x1400090c2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14000f4f0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000c730
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, 0x5a4d
mov r8, rdx
cmp word [rcx], ax
jne 0x14000c7d6
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14000c7d6
test rax, rax
je 0x14000c7d6
mov edx, dword [rax + 0xd8]
test edx, edx
je 0x14000c7c9
mov rdi, qword [rdx + rcx + 0x58]
test rdi, rdi
je 0x14000c7c9
sub rcx, r8
movabs rsi, 0x2b992ddfa232
add rdi, rcx
cmp qword [rdi], rsi
jne 0x14000c7d6
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
movabs rax, 0x2b992ddfa233
xor rcx, rbx
mov rbx, qword [rsp + 0x30]
xor rcx, rsi
cmp rcx, rsi
cmove rcx, rax
mov al, 1
mov qword [rdi], rcx
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x38]
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x14000cf90
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140021040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14000d0b1
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000d0b1
test rax, rax
je 0x14000d0b1
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + 0xb0]
test ecx, ecx
jne 0x14000d013
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x14000d0bc
lea rbx, [rdx + rcx]
mov ebp, dword [rax + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x50]
cmp rbx, rbp
jae 0x14000d09f
nop word [rax + rax]
mov edx, dword [rbx + 4]
test edx, edx
je 0x14000d09f
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [rdx - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x14000d078
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x14000d094
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14000d630
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x14000d030
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x14000d0bc
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000f4f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000e700
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
mov rax, qword [0x140021040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
lea r9, [rsp + 0x20]
xor r14d, r14d
mov ecx, 0xb
xor r8d, r8d
mov dword [rsp + 0x20], r14d
xor edx, edx
mov ebx, r14d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000e792
test rbx, rbx
je 0x14000e758
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14000e742
test eax, eax
jns 0x14000e7b3
test rbx, rbx
je 0x14000e7b8
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14000e8b7
test rbx, rbx
jne 0x14000e7bf
xor eax, eax
jmp 0x14000e8b7
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rdi
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x14000e897
nop dword [rax + rax]
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x14000e815
lea rcx, [rsp + 0x28]
call fcn.140007460
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x14000e835
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000e8cd
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000e88d
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e888
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e916
call fcn.14000f510
inc edi
cmp edi, dword [rbx]
jb 0x14000e7e0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000f4f0
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000e922
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e91d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e91d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f510
mov rax, rdi
jmp 0x14000e8aa
Function at 0x14000ed60
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 0x14000ed9a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000ed9f
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 0x14000ede8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140012680]
cmp byte [rcx + rax], 0
je 0x14000ede8
dec r8
sub rdx, 1
jne 0x14000edce
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140010400
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001044a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001044a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001044a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001044a
cmp dword [rcx + 0x84], 0xe
jbe 0x14001044a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001044c
xor al, al
add rsp, 0x28
ret
Function at 0x1800233d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
imul r13d, r9d, 0x66
mov ebp, r9d
mov rbx, r8
mov r14, rdx
mov r12, rcx
mov esi, r9d
cmp r9d, r13d
ja 0x1800234e7
mov r15, qword [rsp + 0x90]
xor r9d, r9d
movzx edi, word [rsp + 0x88]
nop dword [rax + rax]
cmp esi, 0x9fc
ja 0x180023579
je 0x180023605
mov eax, esi
sub eax, 0x8e
je 0x180023556
sub eax, 0x12
je 0x180023461
cmp eax, 5
jne 0x1800235c4
mov qword [rbx], 0x3f800000
mov qword [rbx + 8], 0
jmp 0x1800235c4
movsx eax, word [rbx]
test ax, ax
js 0x18002356c
cmp eax, dword [0x18008a438]
jge 0x18002356c
test r14, r14
je 0x18002356c
test r15, r15
je 0x18002356c
test r12, r12
je 0x18002356c
mov qword [rsp + 0x28], r9
xor r8d, r8d
xor r9d, r9d
mov dword [rsp + 0x20], 0xf7
xor edx, edx
xor ecx, ecx
call fcn.180010020
test al, al
jne 0x1800235d7
mov ecx, 0x93
nop dword [rax]
mov eax, ecx
sub eax, 0x93
je 0x180023532
sub eax, 1
je 0x18002350c
cmp eax, 1
jne 0x180023543
test byte [rbx], al
mov eax, 0
cmove di, ax
mov word [r12], di
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test byte [rbx], 4
mov r9d, 0
movzx eax, di
cmove ax, r9w
mov word [r14], ax
movzx eax, di
test byte [rbx], 2
cmove ax, r9w
mov word [r15], ax
jmp 0x180023546
test byte [rbx], 8
mov edi, 0x2a8
mov eax, 0x3e8
cmovne di, ax
xor r9d, r9d
inc ecx
cmp ecx, 0x96
jb 0x1800234c0
jmp 0x1800235c4
test rbx, rbx
je 0x18002356c
mov edx, dword [rbx + 8]
mov ecx, dword [r14]
cmp ecx, edx
jg 0x18002356c
add ecx, dword [r15]
cmp ecx, edx
jle 0x1800235c4
mov dword [rsp + 0x30], 0xffffffff
jmp 0x1800234e7
cmp esi, 0xb9a
je 0x180023591
cmp esi, 0x168f
jne 0x1800235c4
mov rax, rbx
jmp 0x1800234ec
mov dword [rbx + 0x10], r9d
mov qword [rbx + 0x14], 0x3f800000
mov qword [rbx + 0x1c], 0
mov dword [rbx + 0x24], r9d
mov qword [rbx + 0x28], 0x3f800000
mov qword [rbx + 0x30], 0
mov dword [rbx + 0x38], r9d
mov dword [rbx + 0x3c], 0x3f800000
imul eax, ebp, 0x11
add esi, eax
cmp esi, r13d
jbe 0x180023420
jmp 0x1800234e7
movzx eax, word [rbx]
lea r8, [rsp + 0x88]
mov r9d, 0x27
mov word [rsp + 0x88], ax
mov rdx, r14
mov qword [rsp + 0x20], r12
mov rcx, r15
call fcn.18004a1b0
jmp 0x1800234e3
movsxd r8, dword [r14]
mov ecx, dword [r15]
add ecx, r8d
cmp r8d, ecx
jge 0x180023648
lea rdx, [r8*4]
nop dword [rax + rax]
mov rax, qword [rbx + 0x38]
lea rdx, [rdx + 4]
inc r8d
mov dword [rdx + rax - 4], r9d
mov rax, qword [rbx + 0x40]
mov ecx, dword [rbx + 0xc]
dec ecx
mov dword [rdx + rax - 4], ecx
mov eax, dword [r14]
add eax, dword [r15]
cmp r8d, eax
jl 0x180023620
mov dword [rsp + 0x30], r9d
jmp 0x1800234e7
Function at 0x18005fb70
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea ebx, [rcx + 6]
mov r13d, ecx
mov dword [rsp + 0x70], ebx
cmp ecx, ebx
jae 0x18005fd7f
mov rbx, qword [rsp + 0x80]
lea r12d, [rcx - 0xd6]
mov eax, dword [rsp + 0x70]
lea r8, [0x180000000]
cmp r12d, 0x1e
ja case.default.0x18005fbd3
movzx eax, byte [r8 + r12 + 0x5fdbc]
mov ecx, dword [r8 + rax*4 + 0x5fda0]
add rcx, r8
jmp rcx
mov r14, qword [0x18008aba0]
test r14, r14
je case.0x18005fbd3.6
nop word [rax + rax]
mov r15d, 0x12a
mov eax, r15d
sub eax, 0x12a
je 0x18005fc38
cmp eax, 1
jne 0x18005fcd7
mov dword [rsp + 0x80], eax
mov r9, r14
lea rax, [rsp + 0x80]
xor r8d, r8d
mov edx, 0xa2
mov qword [rsp + 0x20], rax
xor ecx, ecx
call fcn.18001fd00
mov r14, qword [r14 + 0x20]
jmp 0x18005fcd7
cmp qword [r14 + 0x30], 0
je 0x18005fc4c
mov rdx, r14
mov ecx, 0xba
call fcn.180043dd0
mov rbp, qword [0x18008aba0]
xor esi, esi
test rbp, rbp
je 0x18005fcd7
nop word [rax + rax]
mov r9, r14
mov dword [rsp + 0x20], 0xcd
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call fcn.18001b2a0
test al, al
je 0x18005fcce
mov edi, SHSetFolderPathW
mov eax, edi
sub eax, 0xe5
je 0x18005fc94
cmp eax, 1
jne 0x18005fcc4
mov rsi, rbx
jmp 0x18005fcc4
mov ecx, 0x10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x18005fd7f
mov qword [rax + 8], rbp
mov qword [rax], 0
test rsi, rsi
je 0x18005fcc0
mov qword [rsi], rax
jmp 0x18005fcc4
mov qword [r14 + 0x30], rax
inc edi
cmp edi, 0xe7
jb 0x18005fc81
mov rbp, qword [rbp + 0x20]
test rbp, rbp
jne 0x18005fc60
inc r15d
cmp r15d, 0x12c
jb 0x18005fbf6
test r14, r14
jne 0x18005fbf0
jmp 0x18005fd13
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
jmp 0x18005fd13
cmp byte [0x18008b509], 0
je case.0x18005fbd3.6
call qword [0x18008b500]
mov byte [0x18008b509], 0
mov rdx, qword [rsp + 0x78]
lea r8, [0x180000000]
mov eax, dword [rsp + 0x70]
inc r13d
inc r12d
cmp r13d, eax
jb 0x18005fbb5
jmp 0x18005fd7f
mov dword [rsp + 0x80], 0xffffffff
jmp 0x18005fd7f
xor r8d, r8d
lea ecx, [r8 + 0x40]
call fcn.1800455d0
jmp 0x18005fd87
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rdx]
movss xmm2, dword [rdx + 8]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss dword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18006a4d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov r9d, 0x37
xor r8d, r8d
xor edx, edx
xor ecx, ecx
jmp fcn.180035190

Function at 0x18006a860
Capabilities:
Create thread

Disassembly:
xor edx, edx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 0x24]
jmp fcn.180060570