joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000e510
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
sub rsp, 0x88
test cl, cl
je 0x18000e743
mov qword [rax + 8], rbx
mov ecx, 0x20
mov qword [rax - 8], rdi
movaps xmmword [rax - 0x18], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movabs rdi, 0xd80958fc74e988a6
xorps xmm6, xmm6
test ax, ax
je 0x18000e5ba
mov rcx, rdi
call fcn.18001db80
call fcn.18001db10
movss xmm0, dword [0x1800432e0]
xorps xmm3, xmm3
mov dword [rsp + 0x68], 1
xorps xmm2, xmm2
mov dword [rsp + 0x60], 1
mov edx, 1
mov ecx, dword [rax]
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], 1
movss dword [rsp + 0x38], xmm6
movss dword [rsp + 0x30], xmm6
movss dword [rsp + 0x28], xmm6
movss dword [rsp + 0x20], xmm0
call fcn.1800054a0
movabs rcx, 0xd24d37cc275948cc
call fcn.18001db80
lea rcx, str.GADGET_PARACHUTE
call fcn.18001dba0
call fcn.18001db10
mov rcx, rdi
mov ebx, dword [rax]
call fcn.18001db80
call fcn.18001db10
mov r9d, 1
mov edx, ebx
mov r8d, r9d
mov ecx, dword [rax]
call fcn.1800089c0
mov rcx, rdi
call fcn.18001db80
call fcn.18001db10
movabs rcx, 0x886e37ec497200b6
mov ebx, dword [rax]
call fcn.18001db80
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x98], ebx
mov rcx, qword [rsp + 0x98]
call fcn.18001dba0
call fcn.18001db10
cmp dword [rax], 0
je 0x18000e72e
mov rcx, rdi
call fcn.18001db80
call fcn.18001db10
movabs rcx, 0x47e4e977581c5b55
mov ebx, dword [rax]
call fcn.18001db80
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x98], ebx
mov rcx, qword [rsp + 0x98]
call fcn.18001dba0
call fcn.18001db10
cmp dword [rax], 0
jne 0x18000e72e
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000e6c5
mov rcx, rdi
call fcn.18001db80
call fcn.18001db10
movss xmm1, dword [0x1800432c8]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov ecx, dword [rax]
call fcn.180005680
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000e6fc
mov rcx, rdi
call fcn.18001db80
call fcn.18001db10
movss xmm2, dword [0x1800432d8]
xorps xmm3, xmm3
movss xmm1, dword [0x1800432c8]
mov ecx, dword [rax]
call fcn.180005680
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000e72e
mov rcx, rdi
call fcn.18001db80
call fcn.18001db10
movss xmm1, dword [0x1800432d8]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov ecx, dword [rax]
call fcn.180005680
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
ret
Function at 0x180012600
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
lea rdx, [0x1800442f4]
lea rcx, [rsp + 0xa0]
call fcn.180011320
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.180005a70
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18000fb10
nop
lea r8, [0x180074440]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18000fb40
nop
lea rcx, [rsp + 0x60]
call fcn.180004f70
nop
lea rcx, [rsp + 0x80]
call fcn.180004f70
nop
lea rcx, [rsp + 0xa0]
call fcn.180004f70
lea rcx, [rsp + 0x40]
call fcn.1800169d0
mov qword [rsp + 0xd0], rax
xor r8d, r8d
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.18000f870
nop
lea rcx, [rsp + 0x20]
call fcn.180016c50
movzx ebx, al
lea rcx, [rsp + 0x20]
call fcn.180012200
test bl, bl
je 0x1800126d9
lea rcx, [rsp + 0x40]
call fcn.1800169d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x18007da80]
call fcn.180018460
lea rcx, str.Limpando_Hooks...
call fcn.18001a0b0
lea rcx, [0x18007d968]
call fcn.1800168f0
mov rsi, rax
lea rcx, [0x18007d968]
call fcn.1800168e0
mov rbx, rax
cmp rax, rsi
je 0x180012753
mov rdi, qword [rbx]
mov rcx, rdi
call fcn.1800020c8
test eax, eax
jne 0x180012731
lea rcx, str.Hooks_desativados
call fcn.18001a0b0
jmp 0x18001274a
mov ecx, eax
call fcn.1800020d0
mov r8, rax
mov rdx, rdi
lea rcx, str.Falha_ao_desativar_Hooks__p___s_
call fcn.18001a0b0
add rbx, 8
cmp rbx, rsi
jne 0x180012714
mov dword [rsp + 0xd0], 0x32
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call fcn.180004290
mov rcx, rax
call fcn.1800042a0
lea rcx, [0x18007d968]
call fcn.1800168f0
mov rsi, rax
lea rcx, [0x18007d968]
call fcn.1800168e0
mov rbx, rax
cmp rax, rsi
je 0x1800127eb
nop
mov rdi, qword [rbx]
mov rcx, rdi
call fcn.180001f14
test eax, eax
jne 0x1800127c9
lea rcx, str.Hooks_limpos_
call fcn.18001a0b0
lea rcx, str.Wolf_Menu_Descarregado.
call fcn.18001a0b0
jmp 0x1800127e2
mov ecx, eax
call fcn.1800020d0
mov r8, rax
mov rdx, rdi
lea rcx, str.Falha_ao_remover_hooks__p___s_
call fcn.18001a0b0
add rbx, 8
cmp rbx, rsi
jne 0x1800127a0
mov dword [rsp + 0xd0], 0x190
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call fcn.180004290
mov rcx, rax
call fcn.1800042a0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xor edx, edx
mov rcx, qword [0x18007d898]
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
Function at 0x180016380
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180074540]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180016453
cmp byte [rcx + 0x71], 0
je 0x180016453
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18001644f
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 0x180016414
sub eax, 1
je 0x180016418
cmp eax, 2
jne 0x18001644f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18003b5a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180016446
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 0x18001644f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1800163fc
xor al, al
jmp 0x1800163fc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18003b5a0
add rsp, 0x60
pop rbx
ret
Function at 0x180017320
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x180074540]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x18001734d
xor eax, eax
jmp 0x1800174b6
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x18001738d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x18001738d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x1800174ae
cmp qword [rdi + 0x80], 0
je 0x1800174a9
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x1800173c7
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x1800173f2
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x1800174ae
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x180017461
sub eax, 1
je 0x180017461
cmp eax, 2
jne 0x1800174a9
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x1800174ae
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x18001748f
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x1800174a9
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x1800174ae
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18003b5a0
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180017f30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x180017f61
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x180017f7f
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 qword [rsp + 0x30], rbx
mov rbx, rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x180017fc9
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x180018041
mov rcx, rbp
call fcn.1800167a0
cmp rbx, 0xfff
jbe 0x180018021
nop word [rax + rax]
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x180018062
cmp rbx, rax
ja 0x180017ff0
test rdi, rdi
je 0x180018041
mov r9, qword [rbp + 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 rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub rsi, rbx
jmp 0x180018044
Function at 0x180018070
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x180018098
add rsp, 0x20
pop r14
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 qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x18001810c
test rax, rax
jle 0x1800180ec
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x18001810c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18001810c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
Function at 0x18001a760
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180074540]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rcx, [rsp + 0x20]
call fcn.180004b70
nop
movabs r9, 0xcbf29ce484222325
lea rax, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rax, qword [rsp + 0x20]
lea rdx, [rsp + 0x20]
cmova rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
add r8, rdx
cmp rax, r8
je 0x18001a7f3
movabs rdx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
imul r9, rdx
movsx rcx, byte [rax]
xor r9, rcx
inc rax
cmp rax, r8
jne 0x18001a7e0
mov qword [rsi + 0x40], r9
mov byte [rsi + 0x68], 0
lea r8, [rsi + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.18001a960
mov rax, qword [rsi + 0x30]
mov qword [rsi + 0x48], rax
mov rbx, qword [0x18007ed28]
mov rax, qword [rbx + 8]
mov rcx, rax
mov rdi, rbx
cmp byte [rax + 0x19], 0
jne 0x18001a858
mov r8, qword [rsi + 0x40]
nop
mov rdx, qword [rcx + 0x20]
cmp rdx, r8
jae 0x18001a83f
mov rcx, qword [rcx + 0x10]
jmp 0x18001a852
cmp byte [rdi + 0x19], 0
je 0x18001a84c
cmp r8, rdx
cmovb rdi, rcx
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x18001a830
cmp byte [rdi + 0x19], 0
jne 0x18001a861
mov rax, qword [rdi]
cmp byte [rax + 0x19], 0
jne 0x18001a888
mov rcx, qword [rsi + 0x40]
nop dword [rax + rax]
cmp rcx, qword [rax + 0x20]
jae 0x18001a87e
mov rdi, rax
mov rax, qword [rax]
jmp 0x18001a882
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x18001a870
cmp rbx, rdi
je 0x18001a909
nop dword [rax]
mov rdx, qword [rbx + 0x28]
mov rcx, rsi
call fcn.18001a5b0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x18001a8c8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18001a8c3
cmp rbx, qword [rax + 0x10]
jne 0x18001a8c3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18001a8b0
mov rbx, rax
jmp 0x18001a8ef
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x18001a8ef
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x18001a8e0
cmp rbx, rdi
jne 0x18001a890
mov rax, qword [rsi + 0x58]
sub rax, qword [rsi + 0x50]
sar rax, 3
test rax, rax
je 0x18001a909
mov byte [rsi + 0x68], 1
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x18001a949
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a944
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001a944
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003b170
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18003b5a0
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x18003a5b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rsi, rdx
mov r15, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
movsxd r8, dword [rax + 0x3c]
mov r14d, dword [r8 + rax + 0x50]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor ebp, ebp
mov r11d, ebp
mov qword [rsp + 0x40], rbp
lea r12, [0x18004a970]
mov r9, qword [rsp + 0x38]
nop word [rax + rax]
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x28], rbp
mov rdi, rbp
movzx edx, byte [rsi]
inc rsi
test dl, dl
je 0x18003a6c7
nop dword [rax + rax]
movzx eax, dil
shl al, 2
not al
and al, 4
movzx ecx, dl
movzx r8d, byte [rcx + r12]
cmp r8b, 0xff
je 0x18003a667
mov rdx, rdi
shr rdx, 1
movzx ecx, al
mov eax, 0xf
shl al, cl
or byte [rsp + rdx + 0x28], al
shl r8b, cl
or byte [rsp + rdx + 0x20], r8b
jmp 0x18003a670
cmp dl, 0x3f
je 0x18003a670
test al, al
jne 0x18003a679
inc rdi
cmp rdi, 0x10
je 0x18003a683
movzx edx, byte [rsi]
inc rsi
test dl, dl
jne 0x18003a630
test rdi, rdi
je 0x18003a6bd
cmp r9, r11
je 0x18003a6a1
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [r9], xmm0
add r9, 0x10
mov qword [rsp + 0x38], r9
jmp 0x18003a6bd
lea r8, [rsp + 0x20]
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.18003a380
mov r11, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
cmp rdi, 0x10
jae 0x18003a610
lea rax, [r14 + rbx]
mov r10, qword [rsp + 0x30]
cmp rbx, rax
jae 0x18003a718
sub r9, r10
sar r9, 4
mov rdx, rbp
test r9, r9
je 0x18003a71b
mov r8, r10
nop word [rax + rax]
mov rcx, qword [rbx + rdx*8]
xor rcx, qword [r8]
test qword [r8 + 8], rcx
jne 0x18003a70b
inc rdx
add r8, 0x10
cmp rdx, r9
jb 0x18003a6f0
jmp 0x18003a71b
inc rbx
cmp rbx, rax
jae 0x18003a718
mov rdx, rbp
jmp 0x18003a6e4
mov rbx, rbp
test r10, r10
je 0x18003a75a
sub r11, r10
and r11, 0xfffffffffffffff0
mov rax, r10
cmp r11, 0x1000
jb 0x18003a74f
add r11, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003a74f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r11
mov rcx, r10
call fcn.18003b170
mov rax, r15
test rbx, rbx
je 0x18003a767
mov qword [r15], rbx
jmp 0x18003a76a
mov qword [r15], rbp
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x18003aab8
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 0x18003aaf2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18003aaf7
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 0x18003ab40
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18004aa80]
cmp byte [rcx + rax], 0
je 0x18003ab40
dec r8
sub rdx, 1
jne 0x18003ab26
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x2fc4cddc0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4ceea0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4ce7c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f1108]
test eax, eax
je 0x2fc4ce85a
lea rax, [0x2fc4f10e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f1110]
mov qword [rbp - 8], rax
jmp 0x2fc4ce83e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4ce832
cmp qword [rbp - 0x10], 0
je 0x2fc4ce832
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4ce7f8
lea rax, [0x2fc4f10e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4ce85b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4ce960
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4ce988
mov eax, 0
jmp 0x2fc4ce9d6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4ce9b1
mov eax, 0
jmp 0x2fc4ce9d6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4ce9d1
mov eax, 0
jmp 0x2fc4ce9d6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4ce9dc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cea5a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cea51
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cea51
mov rax, qword [rbp - 8]
jmp 0x2fc4cea6f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cea24
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001980
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 5
mov rbx, rax
call fcn.140001d20
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
movsd xmm0, qword [0x1400045c8]
xorps xmm1, xmm1
sub rax, rbx
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1400045d0]
comisd xmm0, xmm1
jb 0x1400019d2
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.1400011c0
xor eax, eax
add rsp, 0x20
pop rbx
ret