joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180045a60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x248]
mov rax, qword [0x180128500]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, [0x18013b0a2]
call fcn.1800e2810
mov dword [rsp + 0x28], 0x64
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rbp + 0x210]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rax, qword gs:[0x60]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x118]
cmp qword [rax + 0x30], 0
je 0x180045b67
mov rax, qword [rbp + 0x118]
mov rax, qword [rax + 0x60]
lea rcx, [rbp + 0x10]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x180045b3e
add rax, 2
test dx, dx
jne 0x180045b28
xor eax, eax
jmp 0x180045b43
sbb eax, eax
or eax, 1
test eax, eax
jne 0x180045b54
mov rax, qword [rbp + 0x118]
mov rax, qword [rax + 0x30]
jmp 0x180045b69
mov rax, qword [rbp + 0x118]
mov rax, qword [rax]
mov qword [rbp + 0x118], rax
jmp 0x180045b08
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1800f8520]
call fcn.1800e26b4
mov rax, rdi
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.1800e28e0
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret

Function at 0x180045ba0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x180128500]
xor rax, rbp
mov qword [rbp + 0x140], rax
lea rcx, [0x18013b0a2]
call fcn.1800e2810
mov qword [rbp + 8], 0
cmp qword [rbp + 8], 0
jne 0x180045c7d
mov byte [rbp + 0x28], 0x4c
mov byte [rbp + 0x29], 0x6f
mov byte [rbp + 0x2a], 0x61
mov byte [rbp + 0x2b], 0x64
mov byte [rbp + 0x2c], 0x4c
mov byte [rbp + 0x2d], 0x69
mov byte [rbp + 0x2e], 0x62
mov byte [rbp + 0x2f], 0x72
mov byte [rbp + 0x30], 0x61
mov byte [rbp + 0x31], 0x72
mov byte [rbp + 0x32], 0x79
mov byte [rbp + 0x33], 0x41
mov byte [rbp + 0x34], 0
mov byte [rbp + 0x58], 0x4b
mov byte [rbp + 0x59], 0x45
mov byte [rbp + 0x5a], 0x52
mov byte [rbp + 0x5b], 0x4e
mov byte [rbp + 0x5c], 0x45
mov byte [rbp + 0x5d], 0x4c
mov byte [rbp + 0x5e], 0x42
mov byte [rbp + 0x5f], 0x41
mov byte [rbp + 0x60], 0x53
mov byte [rbp + 0x61], 0x45
mov byte [rbp + 0x62], 0x2e
mov byte [rbp + 0x63], 0x64
mov byte [rbp + 0x64], 0x6c
mov byte [rbp + 0x65], 0x6c
mov byte [rbp + 0x66], 0
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x58]
call fcn.1800453f0
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x138], rax
mov rcx, qword [rbp + 0x170]
call qword [rbp + 0x138]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1800f84c0]
call fcn.1800e26b4
mov rax, rdi
mov rcx, qword [rbp + 0x140]
xor rcx, rbp
call fcn.1800e28e0
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x18004e2f0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x180128500]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x18013b1f2]
call fcn.1800e2810
call fcn.18005e630
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x28]
mov rcx, qword [0x180129740]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x2c]
mov ecx, dword [rbp + 0x34]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rbp + 0x28]
mov ecx, dword [rbp + 0x30]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rbp + 0x154]
call fcn.18001e890
mov rax, qword [rax]
mov rcx, qword [rbp + 8]
mov qword [rcx + 8], rax
lea rcx, [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x180129748]
mov rcx, qword [rbp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x180129750]
divss xmm0, xmm1
mov rax, qword [rbp + 8]
movss dword [rax + 0x10], xmm0
mov rax, qword [rbp + 0x58]
mov qword [0x180129748], rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18004e3df
mov dword [rbp + 0x164], 1
jmp 0x18004e3e9
mov dword [rbp + 0x164], 0
mov rax, qword [rbp + 8]
movzx ecx, byte [rbp + 0x164]
mov byte [rax + 0x140], cl
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18004e41b
mov dword [rbp + 0x164], 1
jmp 0x18004e425
mov dword [rbp + 0x164], 0
mov rax, qword [rbp + 8]
movzx ecx, byte [rbp + 0x164]
mov byte [rax + 0x141], cl
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18004e457
mov dword [rbp + 0x164], 1
jmp 0x18004e461
mov dword [rbp + 0x164], 0
mov rax, qword [rbp + 8]
movzx ecx, byte [rbp + 0x164]
mov byte [rax + 0x142], cl
mov rax, qword [rbp + 8]
mov byte [rax + 0x143], 0
call fcn.18004e680
mov rax, qword [rbp + 8]
movzx eax, byte [rax + 0xc0]
test eax, eax
je 0x18004e49d
mov dword [rbp + 0x164], 0xffffffff
jmp 0x18004e4a8
call fcn.18005e790
mov dword [rbp + 0x164], eax
mov eax, dword [rbp + 0x164]
mov dword [rbp + 0x74], eax
mov eax, dword [rbp + 0x74]
cmp dword [0x180123520], eax
je 0x18004e4ca
mov eax, dword [rbp + 0x74]
mov dword [0x180123520], eax
call fcn.18004e560
call fcn.18004e530
lea rcx, [rbp - 0x20]
lea rdx, [0x1800fa4b0]
call fcn.1800e26b4
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1800e28e0
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x18005fc70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x18013b264]
call fcn.1800e2810
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x18005fcd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x18013b264]
call fcn.1800e2810
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x180060040
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x18013b264]
call fcn.1800e2810
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x1800fa580]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x1800600bf
mov dword [rbp + 0x120], 1
jmp 0x1800600c9
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x180060112
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x18006008a
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x180060130
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x18013b264]
call fcn.1800e2810
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x1800fa580]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x180060275
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1800601c9
mov dword [rbp + 0x160], 1
jmp 0x1800601d3
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x180060270
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x18006024a
cmp qword [rbp + 0x198], 2
jb 0x18006024a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18006024a
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18006024a
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x180060194
jmp 0x18006030f
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x18006030f
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1800602e6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800602e6
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800602e6
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x180060275
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1800d2300
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x180128500]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x18013b358]
call fcn.1800e2810
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x1800d2366
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1800d236d
mov al, 1
jmp 0x1800d24dd
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.180032560
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.180032560
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.180032590
movzx eax, al
test eax, eax
je 0x1800d23d0
xor al, al
jmp 0x1800d24dd
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
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]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x1800d2443
cmp dword [rbp + 0x160], 1
je 0x1800d244e
cmp dword [rbp + 0x160], 3
je 0x1800d24cc
jmp 0x1800d24db
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x1800d249e
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x1800d249e
xor al, al
jmp 0x1800d24dd
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1800d24b9
mov dword [rbp + 0x154], 1
jmp 0x1800d24c3
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1800d24dd
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1800d24dd
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x180111e80]
call fcn.1800e26b4
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.1800e28e0
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1800da100
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x18013b358]
call fcn.1800e2810
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x1800da157
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call 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]
jmp 0x1800da263
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
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 qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x1800da1fc
cmp qword [rbp + 0x28], 0
jle 0x1800da1fc
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1800da19c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
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, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1800318e0
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x1800da252
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x1800da252
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1800de580
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800de7a0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800de687
mov rax, qword [0x1801284d0]
cmp qword [rsp + 0x20], rax
jb 0x1800de5e4
mov rax, qword [0x1801284d8]
cmp qword [rsp + 0x20], rax
ja 0x1800de5e4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800de5a6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800de613
jmp 0x1800de687
cmp dword [rsp + 0x50], 0x10000
jne 0x1800de66a
cmp qword [rsp + 0x48], 0x10000
jb 0x1800de66a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800de658
mov rax, qword [rsp + 0x28]
jmp 0x1800de689
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800de682
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800de7a0
mov qword [rsp + 0x20], rax
jmp 0x1800de5a6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800de690
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800de7e0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800de793
mov rax, qword [0x1801284d0]
cmp qword [rsp + 0x20], rax
jb 0x1800de6eb
mov rax, qword [0x1801284d8]
cmp qword [rsp + 0x20], rax
ja 0x1800de6eb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800de6ad
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800de71a
jmp 0x1800de793
cmp dword [rsp + 0x50], 0x10000
jne 0x1800de771
cmp qword [rsp + 0x48], 0x10000
jb 0x1800de771
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800de75f
mov rax, qword [rsp + 0x28]
jmp 0x1800de795
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800de78e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800de7e0
mov qword [rsp + 0x20], rax
jmp 0x1800de6ad
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800de830
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800dedc0
mov qword [rsp + 0x28], 0
cmp qword [0x18012f3a0], 0
jne 0x1800de878
cmp qword [0x18012f398], 0
je 0x1800de878
mov rax, qword [0x18012f398]
mov qword [0x18012f3a0], rax
cmp qword [0x18012f3a0], 0
je 0x1800de91e
mov rax, qword [0x18012f3a0]
cmp qword [rax + 0x10], 0
je 0x1800de91e
mov rax, qword [0x18012f3a0]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800de91e
mov rax, qword [0x18012f3a0]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800de91e
mov rax, qword [0x18012f3a0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800de8e4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800de8eb
xor eax, eax
jmp 0x1800dea99
mov rax, qword [0x18012f3a0]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x1800dea99
mov rax, qword [0x18012f398]
mov qword [0x18012f3a0], rax
jmp 0x1800de940
mov rax, qword [0x18012f3a0]
mov rax, qword [rax + 8]
mov qword [0x18012f3a0], rax
cmp qword [0x18012f3a0], 0
je 0x1800de98d
cmp qword [0x18012f3a0], 0
je 0x1800de98b
mov rax, qword [0x18012f3a0]
cmp qword [rax + 0x10], 0
je 0x1800de98b
mov rax, qword [0x18012f3a0]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800de98b
mov rax, qword [0x18012f3a0]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800de98b
jmp 0x1800de8bc
jmp 0x1800de92e
mov rcx, qword [rsp + 0x60]
call fcn.1800e0c40
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800deaa0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800dea97
mov rax, qword [rsp + 0x48]
mov qword [0x18012f3a0], rax
mov rax, qword [0x18012f3a0]
mov dword [rax], 0x52727464
mov rax, qword [0x18012f3a0]
mov qword [rax + 0x10], 0
mov rax, qword [0x18012f3a0]
mov rcx, qword [0x18012f398]
mov qword [rax + 8], rcx
mov rax, qword [0x18012f3a0]
mov qword [0x18012f398], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18012f3a0]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800dea48
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800dea82
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1800dea3e
mov rax, qword [0x18012f3a0]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800de8bc
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800e204c
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 0x1800e2086
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800e208b
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 0x1800e20d4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180115630]
cmp byte [rcx + rax], 0
je 0x1800e20d4
dec r8
sub rdx, 1
jne 0x1800e20ba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140001000
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov dword [rsp + 0x28], 1
lea r8, str.libssl_3_x64.bat
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, rax
cmp rax, 0x20
jle 0x14000104e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Batch_file_executed_successfully.
call fcn.140001100
jmp 0x14000106d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_execute_batch_file._Error_code:
call fcn.140001100
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_long___int64_____ptr64]
lea rdx, [0x1400012d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140001be8
Capabilities:
Parse pe header

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