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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180799020]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1807b53c8]
mov edi, ecx
cmp byte [rbx + 0x4a55], 0
jne 0x18004f921
cmp byte [rbx + 0x4a56], 0
jne 0x18004f921
movsx r9d, word [rbx + 0x5b7a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18003b3d0
test dil, 1
je 0x18004fa4f
jmp 0x18004f9aa
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1807846b0]
xor eax, eax
mulss xmm1, dword [0x1807846a0]
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 [0x1807845ac]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
movsx r9d, word [rbx + 0x5b7a]
call fcn.18003b3d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18004fa00
lea r11, [0x18063bd80]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x18004f9e3
cmp byte [r8], r9b
jne 0x18004f9e3
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 0x18004f9d0
not ecx
call fcn.180044190
test rax, rax
je 0x18004fa4f
cmp byte [rax + 0xb6], 0
je 0x18004fa4f
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.18003b3d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180046cc0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800c8230
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800562b0
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 0x180056357
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18005630a
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.180059d10
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18003c610
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, [0x1807b5329]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18005635f
mov rcx, rbx
call fcn.18003c610
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180056900
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 [0x1807b53c8]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x180056964
lea r10, [0x18063bd80]
cmp r8b, 0x23
jne 0x180056947
cmp byte [rdx], r8b
jne 0x180056947
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 0x180056934
mov eax, dword [r14 + 0x5bd8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x1800569c5
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x18005698a
cmp edi, eax
jl 0x1800569a4
mov r8d, 0x709
lea rdx, str.C:UsersEtoShinya_source_reposMmintyImGuiImGuiimgui.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 0x1800569e2
mov eax, dword [r14 + 0x5bd8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x180056981
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 0x1800569ef
cmp edi, dword [r14 + 0x5bd8]
jl 0x180056a09
mov r8d, 0x709
lea rdx, str.C:UsersEtoShinya_source_reposMmintyImGuiImGuiimgui.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 0x1800569c7
Function at 0x18008a9a0
Capabilities:
Hash data with crc32

Disassembly:
test dword [rcx + 0x10], 0x100000
je 0x18008aa1d
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18008a9f6
lea r11, [0x18063bd80]
cmp r9b, 0x23
jne 0x18008a9d9
cmp byte [r8], r9b
jne 0x18008a9d9
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 0x18008a9c6
mov rcx, qword [0x1807b53c8]
not eax
cmp dword [rcx + 0x3f30], eax
jne 0x18008aa0d
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x18008aa30
mov byte [rcx + 0x3f64], 1
ret
mov rax, qword [0x1807b53c8]
mov rcx, qword [rax + 0x3ed0]
jmp fcn.18003fa40
ret

Function at 0x18009abd0
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 0x18009ac32
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 0x18009ac37
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 0x18009ac91
cmp eax, 7
je 0x18009ac6e
mov rdx, qword [rbx]
movzx ecx, byte [rcx + 0x3c]
inc ecx
movzx eax, byte [rdx + 0xc]
cmp ecx, eax
jbe 0x18009ac53
cmp ecx, 0xff
jae 0x18009acb5
mov byte [rdx + 0xc], cl
inc byte [rbx + 0x3c]
mov rdx, rsi
movzx r8d, byte [rbx + 0x3c]
mov rcx, rbx
dec r8d
call fcn.18009a510
cmp dword [rsi], 7
jne 0x18009ac81
mov edx, dword [rdi]
bt edx, 8
jb 0x18009ac81
movzx eax, byte [rbx + 0x3a]
cmp edx, eax
jl 0x18009ac81
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.18009a050
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.180099d40
mov rcx, qword [rbx + 0x10]
lea rdx, str.function_or_expression_needs_too_many_registers
call fcn.1800a6230
int3
Function at 0x1800a4ad0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2050
call fcn.1800c9430
sub rsp, rax
mov rax, qword [0x180799020]
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.1800968e0
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 0x1800a4b20
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call fcn.180094460
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x20], rax
je 0x1800a4bd8
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 0x1800a4ba6
cmp eax, 7
je 0x1800a4b9c
xor ebx, ebx
jmp 0x1800a4baa
mov rbx, qword [rbx - 0x20]
add rbx, 0x28
jmp 0x1800a4baa
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.180094100
add qword [rdi + 0x10], 0xfffffffffffffff0
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.1800c8230
mov rbx, qword [rsp + 0x2060]
add rsp, 0x2050
pop rdi
ret

Function at 0x1800a4c00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov eax, 0x2050
call fcn.1800c9430
sub rsp, rax
mov rax, qword [0x180799020]
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.1800968e0
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.180094460
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x20], rax
je 0x1800a4cf4
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 0x1800a4cc6
cmp eax, 7
je 0x1800a4cbc
mov ebx, esi
jmp 0x1800a4cca
mov rbx, qword [rbx - 0x20]
add rbx, 0x28
jmp 0x1800a4cca
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.180094100
add qword [rdi + 0x10], 0xfffffffffffffff0
test rbp, rbp
setne sil
mov eax, esi
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.1800c8230
mov rbx, qword [rsp + 0x2070]
add rsp, 0x2050
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800a9490
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x148
mov rax, qword [0x180799020]
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.1800945e0
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 0x1800a94fb
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbp, rax
test rax, rax
jne 0x1800a94fb
lea rbx, [rdi + 0x10]
jmp 0x1800a9531
mov rdx, qword [rdi + 0x18]
lea r8, str.LUA_NOENV
add rdx, 0x40
mov rcx, rdi
call fcn.180094710
mov rax, qword [rdi + 0x10]
lea rbx, [rdi + 0x10]
add rax, 0xfffffffffffffff0
mov ecx, dword [rax + 8]
test ecx, ecx
je 0x1800a9571
cmp ecx, 1
jne 0x1800a952e
cmp dword [rax], esi
je 0x1800a9571
mov qword [rbx], rax
test r14, r14
jne 0x1800a953e
mov rax, qword [rbx]
mov dword [rax + 8], esi
jmp 0x1800a9559
mov rdx, r14
mov rcx, rdi
call fcn.1800b4390
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 0x1800a95b7
mov rcx, rdi
call fcn.1800a3500
jmp 0x1800a95b7
lea r9, [0x180769bac]
mov qword [rbx], rax
lea r8, [0x180769ba8]
mov rdx, rbp
mov rcx, rdi
call fcn.180097960
mov r9, r14
lea r8, [0x180769bb8]
mov rdx, rax
mov rcx, rdi
call fcn.180097960
mov edx, 0xfffffffe
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.180094100
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 0x1800a969d
cmp eax, 0x105
je 0x1800a969d
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1800a969d
mov byte [rax], sil
mov rax, qword [rbx]
sub rax, 0x10
mov ecx, dword [rax + 8]
and ecx, 0xf
cmp ecx, 4
je 0x1800a9634
cmp ecx, 3
jne 0x1800a963b
mov rdx, rax
mov rcx, rdi
call fcn.1800abba0
mov rax, qword [rdi + 0x18]
cmp qword [rax + 0x18], rsi
jle 0x1800a962d
mov rcx, rdi
call fcn.1800a3500
mov rax, qword [rbx]
sub rax, 0x10
mov rsi, qword [rax]
add rsi, 0x18
lea r9, [rsp + 0x20]
mov rdx, rsi
lea r8, [0x180769b84]
mov rcx, rdi
call fcn.180097960
mov edx, 0xfffffffe
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.180094100
add qword [rbx], 0xfffffffffffffff0
mov r8, r15
mov rdx, qword [rbx]
mov rcx, rdi
add rdx, 0xffffffffffffffd0
call fcn.180094aa0
add qword [rbx], 0xfffffffffffffff0
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800c8230
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.180096280
int3
Function at 0x1800ab640
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, [0x1806406b0]
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 0x1800ab69f
nop dword [rax]
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r13 + 1], 8
jne 0x1800ab690
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x1800ab6b6
mov r15d, ebp
jmp 0x1800ab6bf
cmp al, 0x2b
mov r15d, edi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x70]
jne 0x1800ab7f8
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x1800ab7f8
movsd xmm2, qword [0x180784638]
add rdx, 2
nop word [rax + rax]
movzx r8d, byte [rdx]
movsx rcx, r8b
cmp ecx, r14d
jne 0x1800ab70a
test r11d, r11d
jne 0x1800ab75f
mov r11d, ebp
inc rdx
jmp 0x1800ab6f0
test byte [r8 + r13 + 1], 0x10
je 0x1800ab75f
test r10d, r10d
jne 0x1800ab721
cmp r8b, 0x30
jne 0x1800ab721
inc esi
jmp 0x1800ab752
inc r10d
cmp r10d, 0x1e
jg 0x1800ab74f
test byte [rcx + r13 + 1], 2
je 0x1800ab737
add ecx, 0xffffffd0
jmp 0x1800ab73d
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x1800ab752
inc r9d
test r11d, r11d
je 0x1800ab75a
dec r9d
inc rdx
jmp 0x1800ab6f0
lea eax, [rsi + r10]
test eax, eax
je 0x1800ab7f8
mov qword [r12], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x1800ab7de
movzx ecx, byte [rdx + 1]
cmp cl, 0x2d
jne 0x1800ab790
mov eax, 2
jmp 0x1800ab79e
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 0x1800ab7f8
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 0x1800ab7b0
mov eax, edi
mov qword [r12], r8
neg eax
test ebp, ebp
cmove eax, edi
add r9d, eax
test r15d, r15d
je 0x1800ab7ea
xorps xmm1, xmmword [0x1807849f0]
mov edx, r9d
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
jmp 0x1800ab7fb
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 0x1800b42d0
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 0x1800b42f7
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.1800b4140
movabs rax, 0x7fffffffffffffe7
cmp rbp, rax
jae 0x1800b4384
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.1800a9320
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.1800a9300
int3
Function at 0x1800c2790
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800c27e8
mov qword [rsp + 0x30], rbx
lea r8, [0x1800c3000]
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, [0x1800c2250]
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 0x1800c4450
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.1800c46a0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800c456a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800c44b4
mov rax, qword [0x180799008]
cmp qword [rsp + 0x20], rax
ja 0x1800c44b4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800c4476
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 0x1800c44e5
jmp 0x1800c456a
cmp dword [rsp + 0x50], 0x10000
jne 0x1800c454d
cmp qword [rsp + 0x48], 0x10000
jb 0x1800c454d
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 0x1800c452b
mov rax, qword [rsp + 0x28]
jmp 0x1800c456c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800c453b
xor eax, eax
jmp 0x1800c456c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800c4565
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800c46a0
mov qword [rsp + 0x20], rax
jmp 0x1800c4476
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800c4580
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.1800c46e0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800c4696
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800c45db
mov rax, qword [0x180799008]
cmp qword [rsp + 0x20], rax
ja 0x1800c45db
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800c459d
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 0x1800c460c
jmp 0x1800c4696
cmp dword [rsp + 0x50], 0x10000
jne 0x1800c4674
cmp qword [rsp + 0x48], 0x10000
jb 0x1800c4674
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 0x1800c4652
mov rax, qword [rsp + 0x28]
jmp 0x1800c4698
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800c4662
xor eax, eax
jmp 0x1800c4698
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800c4691
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800c46e0
mov qword [rsp + 0x20], rax
jmp 0x1800c459d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800c4730
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.1800c4cc0
mov qword [rsp + 0x28], 0
cmp qword [0x1807b4cc8], 0
jne 0x1800c4778
cmp qword [0x1807b4cc0], 0
je 0x1800c4778
mov rax, qword [0x1807b4cc0]
mov qword [0x1807b4cc8], rax
cmp qword [0x1807b4cc8], 0
je 0x1800c481e
mov rax, qword [0x1807b4cc8]
cmp qword [rax + 0x10], 0
je 0x1800c481e
mov rax, qword [0x1807b4cc8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800c481e
mov rax, qword [0x1807b4cc8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800c481e
mov rax, qword [0x1807b4cc8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800c47e4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800c47eb
xor eax, eax
jmp 0x1800c4999
mov rax, qword [0x1807b4cc8]
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 0x1800c4999
mov rax, qword [0x1807b4cc0]
mov qword [0x1807b4cc8], rax
jmp 0x1800c4840
mov rax, qword [0x1807b4cc8]
mov rax, qword [rax + 8]
mov qword [0x1807b4cc8], rax
cmp qword [0x1807b4cc8], 0
je 0x1800c488d
cmp qword [0x1807b4cc8], 0
je 0x1800c488b
mov rax, qword [0x1807b4cc8]
cmp qword [rax + 0x10], 0
je 0x1800c488b
mov rax, qword [0x1807b4cc8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800c488b
mov rax, qword [0x1807b4cc8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800c488b
jmp 0x1800c47bc
jmp 0x1800c482e
mov rcx, qword [rsp + 0x60]
call fcn.1800c6b60
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.1800c49a0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800c4997
mov rax, qword [rsp + 0x48]
mov qword [0x1807b4cc8], rax
mov rax, qword [0x1807b4cc8]
mov dword [rax], 0x52727464
mov rax, qword [0x1807b4cc8]
mov qword [rax + 0x10], 0
mov rax, qword [0x1807b4cc8]
mov rcx, qword [0x1807b4cc0]
mov qword [rax + 8], rcx
mov rax, qword [0x1807b4cc8]
mov qword [0x1807b4cc0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1807b4cc8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800c4948
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800c4982
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 0x1800c493e
mov rax, qword [0x1807b4cc8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800c47bc
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800c56b0
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 0x1800c56f7
xor al, al
jmp 0x1800c5799
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 0x1800c5721
xor al, al
jmp 0x1800c5799
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 0x1800c5791
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 0x1800c5791
mov al, 1
jmp 0x1800c5799
jmp 0x1800c5797
xor al, al
add rsp, 0x78
ret

Function at 0x1800c5aa0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1807b4cc0]
mov qword [rsp + 0x28], rax
jmp 0x1800c5ac0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800c5aef
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800c5aed
call sub.KERNEL32.dll_GetLastError
jmp 0x1800c5af1
jmp 0x1800c5ab2
xor eax, eax
add rsp, 0x38
ret