joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012de0
Capabilities:
Terminate process

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x30]
lea rcx, reloc.FTD2XX.dll_Ordinal_1
call fcn.140011406
movzx eax, byte [rbp + 0x220]
call fcn.1400110f5
mov dword [rbp + 4], 0
jmp 0x140012e26
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x40
jae 0x140013028
mov byte [rbp + 0x44], 0
mov dword [rbp + 0x24], 0
jmp 0x140012e45
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 8
jae 0x140013012
mov eax, dword [rbp + 0x24]
mov ecx, dword [rbp + 4]
lea eax, [rax + rcx*8]
mov eax, eax
mov rcx, qword [rbp + 0x218]
movzx eax, byte [rcx + rax]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
sar eax, 4
and eax, 1
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x64]
sar eax, 1
and eax, 1
mov byte [rbp + 0xa4], al
mov eax, dword [rbp + 0x24]
and eax, 1
test eax, eax
jne 0x140012e9d
mov dword [rbp + 0x1d4], 0
jmp 0x140012ea7
mov dword [rbp + 0x1d4], 1
movzx eax, byte [rbp + 0x1d4]
mov byte [rbp + 0xc4], al
movzx eax, byte [rbp + 0xc4]
test eax, eax
je 0x140012ece
movzx eax, byte [rbp + 0xa4]
mov dword [rbp + 0x1d4], eax
jmp 0x140012edb
movzx eax, byte [rbp + 0x84]
mov dword [rbp + 0x1d4], eax
movzx eax, byte [rbp + 0x1d4]
mov byte [rbp + 0xe4], al
movzx eax, byte [rbp + 0x44]
shl eax, 1
movzx ecx, byte [rbp + 0xe4]
or eax, ecx
mov byte [rbp + 0x44], al
movzx ecx, byte [rbp + 0x64]
call fcn.140012d20
mov byte [rbp + 0x104], al
movzx eax, byte [rbp + 0xa4]
test eax, eax
jne 0x140012f20
mov dword [rbp + 0x1d4], 0
jmp 0x140012f2a
mov dword [rbp + 0x1d4], 1
movzx eax, byte [rbp + 0x84]
test eax, eax
jne 0x140012f41
mov dword [rbp + 0x1d8], 0
jmp 0x140012f4b
mov dword [rbp + 0x1d8], 1
movzx r8d, byte [rbp + 0xc4]
movzx edx, byte [rbp + 0x1d4]
movzx ecx, byte [rbp + 0x1d8]
call fcn.14001141a
movzx eax, al
test eax, eax
jne 0x14001300d
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.Health_check_of_Infinite_Noise_Multiplier_failed__n
call qword [sym.imp.ucrtbased.dll_fputs]
movzx eax, byte [rbp + 0xc4]
mov dword [rbp + 0x1d4], eax
movzx ecx, byte [rbp + 0xa4]
mov dword [rbp + 0x1d8], ecx
movzx edx, byte [rbp + 0x84]
mov dword [rbp + 0x1dc], edx
movzx r8d, byte [rbp + 0x104]
mov dword [rbp + 0x1e0], r8d
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0x1d4]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbp + 0x1d8]
mov dword [rsp + 0x20], ecx
mov ecx, dword [rbp + 0x1dc]
mov r9d, ecx
mov ecx, dword [rbp + 0x1e0]
mov r8d, ecx
lea rdx, str.Address:__u__adding_evenBit:_u_oddBit:_u_even:_u_n
mov rcx, rax
call fcn.14001139d
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x140012e3d
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x210]
movzx edx, byte [rbp + 0x44]
mov byte [rcx + rax], dl
jmp 0x140012e1e
call fcn.140011181
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret
Function at 0x140013ba0
Capabilities:
Terminate process
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, reloc.FTD2XX.dll_Ordinal_1
call fcn.140011406
mov eax, dword [rbp + 0xf8]
cvtsi2sd xmm0, rax
movsd xmm1, qword [0x140021ac0]
mulsd xmm1, qword [0x14001e6f0]
divsd xmm1, qword [0x14001de28]
comisd xmm0, xmm1
jbe 0x140013c1a
movsd xmm0, qword [0x140021ac0]
mulsd xmm0, qword [0x14001e6f0]
divsd xmm0, qword [0x14001de28]
cvttsd2si rax, xmm0
mov dword [rbp + 0xf8], eax
movzx eax, byte [rbp + 0x100]
test eax, eax
jne 0x140013c87
mov eax, dword [rbp + 0xf0]
mov r9, qword [rbp + 0xe0]
mov r8d, eax
mov edx, 1
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov ecx, dword [rbp + 0xf0]
cmp rax, rcx
je 0x140013c78
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.Unable_to_write_output_from_Infinite_Noise_Multiplier_n
call qword [sym.imp.ucrtbased.dll_fputs]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fflush]
jmp 0x140013cac
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str._dev_random_not_supported_in_Windows
mov rcx, rax
call fcn.14001139d
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x180014850
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180072020]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180075b20]
mov edi, ecx
cmp byte [rbx + 0x4a55], 0
jne 0x1800148b1
cmp byte [rbx + 0x4a56], 0
jne 0x1800148b1
movsx r9d, word [rbx + 0x5b7a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180004e70
test dil, 1
je 0x1800149df
jmp 0x18001493a
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b7a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x18006549c]
mulss xmm1, dword [0x180065490]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x180065420]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.180004e70
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180014990
lea r11, [0x18005d4b0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180014973
cmp byte [r8], r9b
jne 0x180014973
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180014960
not ecx
call fcn.18000ba90
test rax, rax
je 0x1800149df
cmp byte [rax + 0xb6], 0
je 0x1800149df
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b7a]
movsx r9d, word [rbx + 0x5b7a]
call fcn.180004e70
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18000e1f0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180057b80
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180044f10
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 0x180044f38
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 0x180044f5e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180044f60
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180044fb9
test ecx, ecx
jle 0x180044f99
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 0x180044fb9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180044fb9
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 0x180044fe0
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 0x180045002
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180045018
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 0x180045034
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180045036
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180045072
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 0x18004510e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1800450ad
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 0x1800450ee
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 0x18004510e
cmp rbx, rax
ja 0x1800450c0
test rbx, rbx
je 0x18004510e
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 0x180045540
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x180072020]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18004556d
xor eax, eax
jmp 0x1800456d9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1800455a7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1800455a7
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 0x1800456d9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1800456cc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1800455ea
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 0x180045615
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 0x1800456d1
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 0x180045684
sub eax, 1
je 0x180045684
cmp eax, 2
jne 0x1800456cc
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 0x1800456d1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1800456b2
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 0x1800456cc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1800456d1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180057b80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180046c10
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180072020]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180046ce3
cmp byte [rcx + 0x71], 0
je 0x180046ce3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180046cdf
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 0x180046ca4
sub eax, 1
je 0x180046ca8
cmp eax, 2
jne 0x180046cdf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180057b80
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180046cd6
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 0x180046cdf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180046c8c
xor al, al
jmp 0x180046c8c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180057b80
add rsp, 0x60
pop rbx
ret

Function at 0x180054060
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.1800542b0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18005417a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800540c4
mov rax, qword [0x180072008]
cmp qword [rsp + 0x20], rax
ja 0x1800540c4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180054086
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 sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800540f5
jmp 0x18005417a
cmp dword [rsp + 0x50], 0x10000
jne 0x18005415d
cmp qword [rsp + 0x48], 0x10000
jb 0x18005415d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005413b
mov rax, qword [rsp + 0x28]
jmp 0x18005417c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x18005414b
xor eax, eax
jmp 0x18005417c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180054175
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800542b0
mov qword [rsp + 0x20], rax
jmp 0x180054086
xor eax, eax
add rsp, 0x68
ret
Function at 0x180054190
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.1800542f0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800542a6
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800541eb
mov rax, qword [0x180072008]
cmp qword [rsp + 0x20], rax
ja 0x1800541eb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800541ad
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 sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x18005421c
jmp 0x1800542a6
cmp dword [rsp + 0x50], 0x10000
jne 0x180054284
cmp qword [rsp + 0x48], 0x10000
jb 0x180054284
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180054262
mov rax, qword [rsp + 0x28]
jmp 0x1800542a8
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180054272
xor eax, eax
jmp 0x1800542a8
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800542a1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800542f0
mov qword [rsp + 0x20], rax
jmp 0x1800541ad
xor eax, eax
add rsp, 0x68
ret
Function at 0x180054340
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.1800548d0
mov qword [rsp + 0x28], 0
cmp qword [0x180075468], 0
jne 0x180054388
cmp qword [0x180075460], 0
je 0x180054388
mov rax, qword [0x180075460]
mov qword [0x180075468], rax
cmp qword [0x180075468], 0
je 0x18005442e
mov rax, qword [0x180075468]
cmp qword [rax + 0x10], 0
je 0x18005442e
mov rax, qword [0x180075468]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18005442e
mov rax, qword [0x180075468]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18005442e
mov rax, qword [0x180075468]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800543f4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800543fb
xor eax, eax
jmp 0x1800545a5
mov rax, qword [0x180075468]
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 0x1800545a5
mov rax, qword [0x180075460]
mov qword [0x180075468], rax
jmp 0x180054450
mov rax, qword [0x180075468]
mov rax, qword [rax + 8]
mov qword [0x180075468], rax
cmp qword [0x180075468], 0
je 0x18005449d
cmp qword [0x180075468], 0
je 0x18005449b
mov rax, qword [0x180075468]
cmp qword [rax + 0x10], 0
je 0x18005449b
mov rax, qword [0x180075468]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18005449b
mov rax, qword [0x180075468]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18005449b
jmp 0x1800543cc
jmp 0x18005443e
mov rax, qword [rsp + 0x60]
and rax, 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.1800545b0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800545a3
mov rax, qword [rsp + 0x48]
mov qword [0x180075468], rax
mov rax, qword [0x180075468]
mov dword [rax], 0x52727464
mov rax, qword [0x180075468]
mov qword [rax + 0x10], 0
mov rax, qword [0x180075468]
mov rcx, qword [0x180075460]
mov qword [rax + 8], rcx
mov rax, qword [0x180075468]
mov qword [0x180075460], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180075468]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180054554
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18005458e
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 0x18005454a
mov rax, qword [0x180075468]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800543cc
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800552c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180055307
xor al, al
jmp 0x1800553a9
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180055331
xor al, al
jmp 0x1800553a9
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x1800553a1
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x1800553a1
mov al, 1
jmp 0x1800553a9
jmp 0x1800553a7
xor al, al
add rsp, 0x78
ret

Function at 0x1800556b0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180075460]
mov qword [rsp + 0x28], rax
jmp 0x1800556d0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800556ff
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800556fd
call sub.KERNEL32.dll_GetLastError
jmp 0x180055701
jmp 0x1800556c2
xor eax, eax
add rsp, 0x38
ret
Function at 0x180055dc0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180075478], eax
je 0x180055ded
mov eax, 0x10dd
jmp 0x180056006
cmp dword [0x18007547c], 0
je 0x180055e01
mov eax, dword [0x18007547c]
jmp 0x180056006
cmp qword [rsp + 0x78], 0
jne 0x180055e13
mov eax, 0x57
jmp 0x180056006
cmp qword [rsp + 0x70], 0
jne 0x180055e25
mov eax, 6
jmp 0x180056006
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x180055e57
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x18007547c], eax
mov rax, qword [rsp + 0x70]
mov qword [0x180075480], rax
mov eax, dword [rsp + 0x20]
jmp 0x180056006
mov ecx, 0x30
call fcn.180058320
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180055ec9
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x18007547c], eax
cmp qword [rsp + 0x30], 0
je 0x180055eb4
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.180057ba0
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x180075480], rax
mov eax, dword [rsp + 0x20]
jmp 0x180056006
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.180055d90
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.180055d90
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x180055f26
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x180055f43
mov dword [rsp + 0x20], 9
cmp dword [0x180075470], 0
je 0x180055f3e
jmp 0x180055e8a
jmp 0x180055e80
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x180055f70
mov dword [rsp + 0x20], 9
cmp dword [0x180075470], 0
je 0x180055f6b
jmp 0x180055e8a
jmp 0x180055e80
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x180055fa7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180055e80
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x180075490]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x180075490], rax
xor eax, eax
add rsp, 0x68
ret