joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180053780
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1808c4020]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1808e0030]
mov edi, ecx
cmp byte [rbx + 0x4a55], 0
jne 0x1800537e1
cmp byte [rbx + 0x4a56], 0
jne 0x1800537e1
movsx r9d, word [rbx + 0x5b7a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18003f320
test dil, 1
je 0x18005390f
jmp 0x18005386a
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1808afa90]
xor eax, eax
mulss xmm1, dword [0x1808afa80]
addss xmm0, dword [rbx + 0xe08]
lea edx, [rax + 0x10]
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 [0x1808af98c]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
movsx r9d, word [rbx + 0x5b7a]
call fcn.18003f320
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1800538c0
lea r11, [0x180735990]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1800538a3
cmp byte [r8], r9b
jne 0x1800538a3
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 0x180053890
not ecx
call fcn.1800480e0
test rax, rax
je 0x18005390f
cmp byte [rax + 0xb6], 0
je 0x18005390f
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.18003f320
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18004abc0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800cb790
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180059c30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c60], 0
lea rbx, [rcx + 0x5c68]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180059cd7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x180059c8a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18005d690
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180040560
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c60]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c70]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1808dff8a]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x180059cdf
mov rcx, rbx
call fcn.180040560
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18005a280
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x1808e0030]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x18005a2e4
lea r10, [0x180735990]
cmp r8b, 0x23
jne 0x18005a2c7
cmp byte [rdx], r8b
jne 0x18005a2c7
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x18005a2b4
mov eax, dword [r14 + 0x5bd8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x18005a345
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x18005a30a
cmp edi, eax
jl 0x18005a324
mov r8d, 0x709
lea rdx, str.C:UsersEtoShinya_source_reposMminty_apiimguiImGuiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5be0]
cmp dword [rax + rbp + 8], ebx
je 0x18005a362
mov eax, dword [r14 + 0x5bd8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x18005a301
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x18005a36f
cmp edi, dword [r14 + 0x5bd8]
jl 0x18005a389
mov r8d, 0x709
lea rdx, str.C:UsersEtoShinya_source_reposMminty_apiimguiImGuiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5be0]
lea rax, [rax + rcx*8]
jmp 0x18005a347
Function at 0x18008e340
Capabilities:
Hash data with crc32

Disassembly:
test dword [rcx + 0x10], 0x100000
je 0x18008e3bd
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18008e396
lea r11, [0x180735990]
cmp r9b, 0x23
jne 0x18008e379
cmp byte [r8], r9b
jne 0x18008e379
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18008e366
mov rcx, qword [0x1808e0030]
not eax
cmp dword [rcx + 0x3f30], eax
jne 0x18008e3ad
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x18008e3d0
mov byte [rcx + 0x3f64], 1
ret
mov rax, qword [0x1808e0030]
mov rcx, qword [rax + 0x3ed0]
jmp fcn.180043990
ret

Function at 0x18009e570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rdx]
lea rdi, [rdx + 8]
mov ebp, r8d
mov rsi, rdx
mov rbx, rcx
cmp eax, 0xc
jne 0x18009e5d2
mov rax, qword [rcx]
movsxd r10, dword [rdi]
mov r9, qword [rax + 0x38]
mov edx, dword [r9 + r10*4]
mov eax, edx
and eax, 0x3f
cmp al, 0xe
jne 0x18009e5d7
dec dword [rcx + 0x20]
and edx, 0xffddffff
or edx, 0x5c0000
xor eax, eax
shr edx, 0x11
mov ecx, 0x4000
test r8d, r8d
cmove eax, ecx
or edx, eax
jmp 0x18009e631
cmp eax, 7
je 0x18009e60e
mov rdx, qword [rbx]
movzx ecx, byte [rcx + 0x3c]
inc ecx
movzx eax, byte [rdx + 0xc]
cmp ecx, eax
jbe 0x18009e5f3
cmp ecx, 0xff
jae 0x18009e655
mov byte [rdx + 0xc], cl
inc byte [rbx + 0x3c]
mov rdx, rsi
movzx r8d, byte [rbx + 0x3c]
mov rcx, rbx
dec r8d
call fcn.18009deb0
cmp dword [rsi], 7
jne 0x18009e621
mov edx, dword [rdi]
bt edx, 8
jb 0x18009e621
movzx eax, byte [rbx + 0x3a]
cmp edx, eax
jl 0x18009e621
dec byte [rbx + 0x3c]
mov edx, dword [rdi]
shl edx, 9
or edx, ebp
shl edx, 0xe
or edx, 0x3fe3
mov rcx, rbx
call fcn.18009d9f0
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.18009d6e0
mov rcx, qword [rbx + 0x10]
lea rdx, str.function_or_expression_needs_too_many_registers
call fcn.1800a9bd0
int3
Function at 0x1800a8470
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2050
call fcn.1800cc990
sub rsp, rax
mov rax, qword [0x1808c4020]
xor rax, rsp
mov qword [rsp + 0x2040], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x20], rax
mov rbx, rdx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0x2000
nop dword [rax]
mov edx, 0x2000
lea rcx, [rsp + 0x20]
call fcn.18009a280
mov r9, rbx
mov edx, 1
mov r8d, 0x2000
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, qword [rsp + 0x30]
add r8, rax
mov qword [rsp + 0x30], r8
cmp rax, 0x2000
je 0x1800a84c0
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call fcn.180097e00
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x20], rax
je 0x1800a8578
mov rax, qword [rdi + 0x18]
mov rbx, qword [rdi + 0x10]
mov rcx, qword [rax + 8]
mov r10, qword [rax]
mov eax, dword [rbx - 0x18]
and eax, 0xf
cmp eax, 2
je 0x1800a8546
cmp eax, 7
je 0x1800a853c
xor ebx, ebx
jmp 0x1800a854a
mov rbx, qword [rbx - 0x20]
add rbx, 0x28
jmp 0x1800a854a
mov rbx, qword [rbx - 0x20]
mov r8, qword [rbx + 8]
xor r9d, r9d
mov rdx, qword [rbx]
call r10
mov edx, 0xfffffffe
mov qword [rbx], rax
mov rcx, rdi
mov qword [rbx + 8], 0
lea r8d, [rdx + 1]
call fcn.180097aa0
add qword [rdi + 0x10], 0xfffffffffffffff0
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.1800cb790
mov rbx, qword [rsp + 0x2060]
add rsp, 0x2050
pop rdi
ret

Function at 0x1800a85a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov eax, 0x2050
call fcn.1800cc990
sub rsp, rax
mov rax, qword [0x1808c4020]
xor rax, rsp
mov qword [rsp + 0x2040], rax
mov rbx, rdx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], 0x2000
xor esi, esi
mov qword [rsp + 0x20], rax
mov rdx, r8
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x20]
mov rdi, r8
call fcn.18009a280
mov r9, rbx
lea edx, [rsi + 1]
mov r8, rdi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, qword [rsp + 0x30]
mov rbp, rax
mov rdi, qword [rsp + 0x38]
add r8, rax
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
mov qword [rsp + 0x30], r8
call fcn.180097e00
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x20], rax
je 0x1800a8694
mov rax, qword [rdi + 0x18]
mov rbx, qword [rdi + 0x10]
mov rcx, qword [rax + 8]
mov r10, qword [rax]
mov eax, dword [rbx - 0x18]
and eax, 0xf
cmp eax, 2
je 0x1800a8666
cmp eax, 7
je 0x1800a865c
mov ebx, esi
jmp 0x1800a866a
mov rbx, qword [rbx - 0x20]
add rbx, 0x28
jmp 0x1800a866a
mov rbx, qword [rbx - 0x20]
mov r8, qword [rbx + 8]
xor r9d, r9d
mov rdx, qword [rbx]
call r10
mov edx, 0xfffffffe
mov qword [rbx], rax
mov rcx, rdi
mov qword [rbx + 8], rsi
lea r8d, [rdx + 1]
call fcn.180097aa0
add qword [rdi + 0x10], 0xfffffffffffffff0
test rbp, rbp
setne sil
mov eax, esi
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.1800cb790
mov rbx, qword [rsp + 0x2070]
add rsp, 0x2050
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800ace30
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x148
mov rax, qword [0x1808c4020]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov r14, r9
mov r15, rdx
lea r9, str._5_3
mov rbx, r8
lea rdx, str._s_s
mov rdi, rcx
call fcn.180097f80
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor esi, esi
mov rbp, rax
test rax, rax
jne 0x1800ace9b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbp, rax
test rax, rax
jne 0x1800ace9b
lea rbx, [rdi + 0x10]
jmp 0x1800aced1
mov rdx, qword [rdi + 0x18]
lea r8, str.LUA_NOENV
add rdx, 0x40
mov rcx, rdi
call fcn.1800980b0
mov rax, qword [rdi + 0x10]
lea rbx, [rdi + 0x10]
add rax, 0xfffffffffffffff0
mov ecx, dword [rax + 8]
test ecx, ecx
je 0x1800acf11
cmp ecx, 1
jne 0x1800acece
cmp dword [rax], esi
je 0x1800acf11
mov qword [rbx], rax
test r14, r14
jne 0x1800acede
mov rax, qword [rbx]
mov dword [rax + 8], esi
jmp 0x1800acef9
mov rdx, r14
mov rcx, rdi
call fcn.1800b7d30
mov rcx, qword [rbx]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or eax, 0x40
mov dword [rcx + 8], eax
mov rax, qword [rdi + 0x18]
add qword [rbx], 0x10
cmp qword [rax + 0x18], rsi
jle 0x1800acf57
mov rcx, rdi
call fcn.1800a6ea0
jmp 0x1800acf57
lea r9, [0x180895084]
mov qword [rbx], rax
lea r8, [0x180895134]
mov rdx, rbp
mov rcx, rdi
call fcn.18009b300
mov r9, r14
lea r8, [0x180895130]
mov rdx, rax
mov rcx, rdi
call fcn.18009b300
mov edx, 0xfffffffe
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.180097aa0
add qword [rbx], 0xfffffffffffffff0
mov r8d, 0x105
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1800ad03d
cmp eax, 0x105
je 0x1800ad03d
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1800ad03d
mov byte [rax], sil
mov rax, qword [rbx]
sub rax, 0x10
mov ecx, dword [rax + 8]
and ecx, 0xf
cmp ecx, 4
je 0x1800acfd4
cmp ecx, 3
jne 0x1800acfdb
mov rdx, rax
mov rcx, rdi
call fcn.1800af540
mov rax, qword [rdi + 0x18]
cmp qword [rax + 0x18], rsi
jle 0x1800acfcd
mov rcx, rdi
call fcn.1800a6ea0
mov rax, qword [rbx]
sub rax, 0x10
mov rsi, qword [rax]
add rsi, 0x18
lea r9, [rsp + 0x20]
mov rdx, rsi
lea r8, [0x1808950c4]
mov rcx, rdi
call fcn.18009b300
mov edx, 0xfffffffe
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.180097aa0
add qword [rbx], 0xfffffffffffffff0
mov r8, r15
mov rdx, qword [rbx]
mov rcx, rdi
add rdx, 0xffffffffffffffd0
call fcn.180098440
add qword [rbx], 0xfffffffffffffff0
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800cb790
add rsp, 0x148
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rdx, str.unable_to_get_ModuleFileName
mov rcx, rdi
call fcn.180099c20
int3
Function at 0x1800aefe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x28
mov qword [rsp + 0x70], rbx
mov r12, rdx
mov rbx, rcx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
xor edi, edi
lea r13, [0x18073a250]
xorps xmm1, xmm1
mov r10d, edi
mov esi, edi
mov r9d, edi
mov r8, qword [rax]
mov r11d, edi
movsx r14d, byte [r8]
mov qword [r12], rbx
movzx eax, byte [rbx]
test byte [rax + r13 + 1], 8
je 0x1800af03f
nop dword [rax]
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r13 + 1], 8
jne 0x1800af030
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x1800af056
mov r15d, ebp
jmp 0x1800af05f
cmp al, 0x2b
mov r15d, edi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x70]
jne 0x1800af198
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x1800af198
movsd xmm2, qword [0x1808afa18]
add rdx, 2
nop word [rax + rax]
movzx r8d, byte [rdx]
movsx rcx, r8b
cmp ecx, r14d
jne 0x1800af0aa
test r11d, r11d
jne 0x1800af0ff
mov r11d, ebp
inc rdx
jmp 0x1800af090
test byte [r8 + r13 + 1], 0x10
je 0x1800af0ff
test r10d, r10d
jne 0x1800af0c1
cmp r8b, 0x30
jne 0x1800af0c1
inc esi
jmp 0x1800af0f2
inc r10d
cmp r10d, 0x1e
jg 0x1800af0ef
test byte [rcx + r13 + 1], 2
je 0x1800af0d7
add ecx, 0xffffffd0
jmp 0x1800af0dd
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x1800af0f2
inc r9d
test r11d, r11d
je 0x1800af0fa
dec r9d
inc rdx
jmp 0x1800af090
lea eax, [rsi + r10]
test eax, eax
je 0x1800af198
mov qword [r12], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x1800af17e
movzx ecx, byte [rdx + 1]
cmp cl, 0x2d
jne 0x1800af130
mov eax, 2
jmp 0x1800af13e
cmp cl, 0x2b
mov rax, rdi
mov ebp, edi
sete al
inc rax
lea r8, [rdx + rax]
movzx edx, byte [rdx + rax]
test byte [rdx + r13 + 1], 2
je 0x1800af198
nop
movsx eax, dl
lea edi, [rdi + rdi*4]
inc r8
lea edi, [rdi - 0x18]
lea edi, [rax + rdi*2]
movzx eax, byte [r8]
movzx edx, al
test byte [rax + r13 + 1], 2
jne 0x1800af150
mov eax, edi
mov qword [r12], r8
neg eax
test ebp, ebp
cmove eax, edi
add r9d, eax
test r15d, r15d
je 0x1800af18a
xorps xmm1, xmmword [0x1808afdd0]
mov edx, r9d
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
jmp 0x1800af19b
xorps xmm0, xmm0
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800b7c70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
cmp r8, 0x28
ja 0x1800b7c97
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.1800b7ae0
movabs rax, 0x7fffffffffffffe7
cmp rbp, rax
jae 0x1800b7d24
mov qword [rsp + 0x30], rbx
lea r9, [r8 + 0x19]
xor edx, edx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov rdi, qword [rcx + 0x18]
lea r8d, [rdx + 4]
mov ebx, dword [rdi + 0x50]
call fcn.1800accc0
movzx ecx, byte [rdi + 0x54]
mov r8, rbp
and cl, 3
mov rdx, r14
mov rsi, rax
mov byte [rax + 9], cl
mov byte [rax + 8], 0x14
mov rcx, qword [rdi + 0x58]
mov qword [rax], rcx
lea rcx, [rax + 0x18]
mov qword [rdi + 0x58], rax
mov dword [rax + 0xc], ebx
mov byte [rax + 0xa], 0
mov byte [rax + rbp + 0x18], 0
mov qword [rax + 0x10], rbp
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.1800acca0
int3
Function at 0x1800c5e10
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800c5e68
mov qword [rsp + 0x30], rbx
lea r8, [0x1800c64c0]
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x1800c5bb0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x38
ret
Function at 0x1800c79e0
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.1800c7c30
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800c7afa
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800c7a44
mov rax, qword [0x1808c4008]
cmp qword [rsp + 0x20], rax
ja 0x1800c7a44
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800c7a06
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 0x1800c7a75
jmp 0x1800c7afa
cmp dword [rsp + 0x50], 0x10000
jne 0x1800c7add
cmp qword [rsp + 0x48], 0x10000
jb 0x1800c7add
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 0x1800c7abb
mov rax, qword [rsp + 0x28]
jmp 0x1800c7afc
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800c7acb
xor eax, eax
jmp 0x1800c7afc
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800c7af5
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800c7c30
mov qword [rsp + 0x20], rax
jmp 0x1800c7a06
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800c7b10
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.1800c7c70
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800c7c26
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800c7b6b
mov rax, qword [0x1808c4008]
cmp qword [rsp + 0x20], rax
ja 0x1800c7b6b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800c7b2d
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 0x1800c7b9c
jmp 0x1800c7c26
cmp dword [rsp + 0x50], 0x10000
jne 0x1800c7c04
cmp qword [rsp + 0x48], 0x10000
jb 0x1800c7c04
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 0x1800c7be2
mov rax, qword [rsp + 0x28]
jmp 0x1800c7c28
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800c7bf2
xor eax, eax
jmp 0x1800c7c28
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800c7c21
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800c7c70
mov qword [rsp + 0x20], rax
jmp 0x1800c7b2d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800c7cc0
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.1800c8250
mov qword [rsp + 0x28], 0
cmp qword [0x1808df928], 0
jne 0x1800c7d08
cmp qword [0x1808df920], 0
je 0x1800c7d08
mov rax, qword [0x1808df920]
mov qword [0x1808df928], rax
cmp qword [0x1808df928], 0
je 0x1800c7dae
mov rax, qword [0x1808df928]
cmp qword [rax + 0x10], 0
je 0x1800c7dae
mov rax, qword [0x1808df928]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800c7dae
mov rax, qword [0x1808df928]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800c7dae
mov rax, qword [0x1808df928]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800c7d74
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800c7d7b
xor eax, eax
jmp 0x1800c7f29
mov rax, qword [0x1808df928]
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 0x1800c7f29
mov rax, qword [0x1808df920]
mov qword [0x1808df928], rax
jmp 0x1800c7dd0
mov rax, qword [0x1808df928]
mov rax, qword [rax + 8]
mov qword [0x1808df928], rax
cmp qword [0x1808df928], 0
je 0x1800c7e1d
cmp qword [0x1808df928], 0
je 0x1800c7e1b
mov rax, qword [0x1808df928]
cmp qword [rax + 0x10], 0
je 0x1800c7e1b
mov rax, qword [0x1808df928]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800c7e1b
mov rax, qword [0x1808df928]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800c7e1b
jmp 0x1800c7d4c
jmp 0x1800c7dbe
mov rcx, qword [rsp + 0x60]
call fcn.1800ca0f0
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.1800c7f30
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800c7f27
mov rax, qword [rsp + 0x48]
mov qword [0x1808df928], rax
mov rax, qword [0x1808df928]
mov dword [rax], 0x52727464
mov rax, qword [0x1808df928]
mov qword [rax + 0x10], 0
mov rax, qword [0x1808df928]
mov rcx, qword [0x1808df920]
mov qword [rax + 8], rcx
mov rax, qword [0x1808df928]
mov qword [0x1808df920], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1808df928]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800c7ed8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800c7f12
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 0x1800c7ece
mov rax, qword [0x1808df928]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800c7d4c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800c8c40
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 0x1800c8c87
xor al, al
jmp 0x1800c8d29
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 0x1800c8cb1
xor al, al
jmp 0x1800c8d29
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 0x1800c8d21
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 0x1800c8d21
mov al, 1
jmp 0x1800c8d29
jmp 0x1800c8d27
xor al, al
add rsp, 0x78
ret

Function at 0x1800c9030
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1808df920]
mov qword [rsp + 0x28], rax
jmp 0x1800c9050
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800c907f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800c907d
call sub.KERNEL32.dll_GetLastError
jmp 0x1800c9081
jmp 0x1800c9042
xor eax, eax
add rsp, 0x38
ret