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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp byte [rcx], 0
mov rbx, rcx
jne 0x180007b8b
cmp byte [rcx + 0x2f4c], 0
je 0x180007ba5
mov r8d, 0xed7
lea rdx, str.E:_source_codes_fscimguiimgui.cpp
lea rcx, str._g.Initialized___g.SettingsLoaded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
lea r8, [0x1800bfb99]
mov dword [rsp + 0x2c], eax
lea r11, [0x1800c1ac0]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x180007be9
cmp byte [r8], r9b
jne 0x180007be9
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x180007bd6
mov ecx, dword [rbx + 0x2f6c]
lea rax, [0x180016620]
mov edi, dword [rbx + 0x2f68]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x1800166a0]
mov qword [rsp + 0x38], rax
lea rax, [0x180016780]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x180007cf7
inc edi
test ecx, ecx
je 0x180007c55
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180007c5a
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180007cf7
mov rax, qword [0x180202970]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x180007c7e
inc dword [rax + 0x3bc]
mov rdx, qword [0x180202960]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdx, qword [rbx + 0x2f70]
mov rsi, rax
test rdx, rdx
je 0x180007ce5
movsxd rcx, dword [rbx + 0x2f68]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2f70]
test rcx, rcx
je 0x180007cd9
mov rax, qword [0x180202970]
test rax, rax
je 0x180007cd9
dec dword [rax + 0x3bc]
mov rdx, qword [0x180202960]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rbx + 0x2f70], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2f6c], edi
movsxd rax, dword [rbx + 0x2f68]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f70]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2f68]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x180009940
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180009990
lea r11, [0x1800c1ac0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180009973
cmp byte [r8], r9b
jne 0x180009973
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 0x180009960
mov r11, qword [0x180202970]
not eax
movsxd rcx, dword [r11 + 0x1a18]
mov r9, qword [r11 + 0x1a20]
mov r10, rcx
mov rdx, rcx
mov r8, r9
test ecx, ecx
je 0x1800099f8
nop dword [rax]
nop dword [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x1800099e9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x1800099ec
mov rdx, r8
test rdx, rdx
jne 0x1800099c0
mov r8, qword [r11 + 0x1a20]
shl r10, 4
add r10, r8
cmp r9, r10
je 0x180009a0e
cmp dword [r9], eax
jne 0x180009a0e
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x18000fad0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x180202970]
mov rbp, rcx
mov rsi, qword [rax + 0x1a30]
lea rbx, [rsi + 0xc0]
mov eax, dword [rbx]
mov edx, eax
test eax, eax
jg 0x18000fb27
mov r8d, 0x51b
lea rdx, str.E:_source_codes_fscimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx]
mov edx, eax
movsxd rcx, eax
lea r8, [0x1800c1ac0]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rcx*4 - 4]
not edi
movzx eax, bpl
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x34]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x35]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x36]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x37]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rsi + 0xc4]
not edi
cmp edx, r8d
jne 0x18000fc0b
lea ecx, [rdx + 1]
test r8d, r8d
je 0x18000fbf5
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18000fbfa
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180017cd0
mov edx, dword [rbx]
mov rax, qword [rsi + 0xc8]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
movsxd rcx, edx
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18000fc30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x180202970]
mov ebp, ecx
mov rsi, qword [rax + 0x1a30]
lea rbx, [rsi + 0xc0]
mov eax, dword [rbx]
mov edx, eax
test eax, eax
jg 0x18000fc85
mov r8d, 0x51b
lea rdx, str.E:_source_codes_fscimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx]
mov edx, eax
movsxd rcx, eax
lea r8, [0x1800c1ac0]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rcx*4 - 4]
not edi
movzx eax, bpl
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rsi + 0xc4]
not edi
cmp edx, r8d
jne 0x18000fd1d
lea ecx, [rdx + 1]
test r8d, r8d
je 0x18000fd07
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18000fd0c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180017cd0
mov edx, dword [rbx]
mov rax, qword [rsi + 0xc8]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
movsxd rcx, edx
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800164c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x180202970]
xor r15d, r15d
mov rbp, rcx
mov dword [rdi + 0x2f50], r15d
test rcx, rcx
je 0x18001660c
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2f58]
mov dword [rdi + 0x2f50], r15d
mov r8d, dword [rbx + 4]
mov qword [rsp + 0x48], rsi
test r8d, r8d
jns 0x180016522
mov eax, r8d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.180017980
mov eax, r15d
mov dword [rbx], r15d
cmp dword [rbx + 4], eax
jne 0x18001653c
mov edx, 8
mov rcx, rbx
call fcn.180017980
mov eax, dword [rbx]
movsxd rcx, eax
mov esi, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov eax, dword [rdi + 0x2f68]
mov ecx, dword [rbx]
test eax, eax
jle 0x1800165ad
mov qword [rsp + 0x50], r14
mov r14, r15
cmp r15d, eax
jl 0x18001657f
mov r8d, 0x511
lea rdx, str.E:_source_codes_fscimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [rdi + 0x2f70]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + reloc.WLDAP32.dll_Ordinal_32]
mov eax, dword [rdi + 0x2f68]
inc esi
add r14, 0x30
cmp esi, eax
jl 0x18001657f
mov ecx, dword [rbx]
mov r14, qword [rsp + 0x50]
test ecx, ecx
lea eax, [rcx - 1]
lea rdx, [0x1800c17d0]
mov rcx, rbp
cmove eax, r15d
movsxd rsi, eax
mov rax, qword [rdi + 0x2f60]
lea rdi, [0x180202968]
test rax, rax
cmovne rdi, rax
call fcn.180002b60
mov rbx, rax
test rax, rax
je 0x180016602
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbp
ret
Function at 0x18002c740
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
test edx, edx
lea rax, str.SCROLLX
lea rdi, str.SCROLLY
mov rbx, rcx
cmove rdi, rax
mov eax, dword [rcx + 0xc0]
test eax, eax
jg 0x18002c78b
mov r8d, 0x51b
lea rdx, str.E:_source_codes_fscimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0xc0]
movsxd rdx, eax
mov rcx, rdi
mov rax, qword [rbx + 0xc8]
mov r8d, dword [rax + rdx*4 - 4]
xor edx, edx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180002ab0
Function at 0x18003f430
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1800f9060]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
cmp rdi, 0x40000000
jbe 0x18003f47d
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180202f80]
lea r15, [rdi + 0x40000000]
cmp qword [rsp + 0x60], r15
cmovbe r15, qword [rsp + 0x60]
sub r15, 0xfff
test rsi, rsi
je 0x18003f4bf
cmp rsi, r14
jb 0x18003f4b7
cmp rsi, r15
jae 0x18003f4b7
cmp qword [rsi + 8], 0
jne 0x18003f67d
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18003f4a2
mov qword [rsp + 0xb8], rbx
mov rbx, rdi
mov qword [rsp + 0xc0], rbp
cmp rdi, r14
jb 0x18003f542
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x18003f539
nop word [rax + rax]
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18003f539
cmp dword [rsp + 0x40], 0x10000
je 0x18003f5bb
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x18003f539
sub rbx, rbp
cmp rbx, r14
jae 0x18003f500
test rsi, rsi
jne 0x18003f626
cmp rdi, r15
ja 0x18003f66d
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18003f66d
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18003f66d
cmp dword [rsp + 0x40], 0x10000
je 0x18003f5f4
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x18003f572
jmp 0x18003f66d
test rbx, rbx
je 0x18003f539
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18003f626
cmp rbx, r14
jae 0x18003f4e0
jmp 0x18003f542
test rdi, rdi
je 0x18003f66d
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18003f626
cmp rdi, r15
jbe 0x18003f550
jmp 0x18003f66d
xor eax, eax
lea rcx, [rsi + 0x40]
mov rdx, rcx
mov qword [rsi + 8], rax
sub rdx, rsi
mov dword [rsi + 0x10], eax
nop dword [rax]
mov rax, qword [rsi + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rsi + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x18003f640
mov rax, qword [0x180202f80]
mov qword [rsi], rax
mov qword [0x180202f80], rsi
mov rbp, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800ad840
mov rsi, qword [rsp + 0xc8]
add rsp, 0x90
pop r15
pop r14
pop rdi
ret
Function at 0x180040000
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1800f9060]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18004012b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_33
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180040122
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180040104
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180040104
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180040104
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800400c2
mov rcx, qword [0x180202978]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180040122
jmp 0x1800400f7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800400f7
mov rcx, qword [0x180202978]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180040122
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_33
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180040070
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180040183
cmp dword [rbx + 0xc], esi
jbe 0x180040183
nop word [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18004017c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.18003fe50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180040140
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800ad840
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800401b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1800f9060]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180202f70]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180040223
mov eax, 0xa
jmp 0x1800402b2
test esi, esi
je 0x180040245
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180040268
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180040268
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180040261
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180040268
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800ad840
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180045f30
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x48
cmp byte [0x180202d6e], 0
je 0x180046148
mov rax, qword [0x180202d48]
mov qword [rsp + 0x60], rsi
xor esi, esi
test rax, rax
jne 0x180046026
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x40], rdi
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rbx, rbp
nop
mov r9, qword [rbx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x180045ff8
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x180045ff8
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x180045ff3
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x180045fd0
cmp edx, 0x95466b05
je 0x180046125
test r8d, r8d
jne 0x180045fb0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rbp
je 0x18004600d
cmp qword [rax + 0x30], rsi
jne 0x180045f80
mov rax, rsi
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov qword [0x180202d48], rax
mov ecx, dword [0x180202d70]
call rax
test ax, ax
je 0x180046143
mov rax, qword [0x180202f48]
mov r10, qword [rax]
test r10, r10
je 0x180046143
mov r10, qword [r10 + 8]
test r10, r10
je 0x180046143
mov rax, qword [0x180202f18]
mov r9, qword [rax]
test r9, r9
je 0x180046143
mov r9, qword [r9 + 0x18]
test r9, r9
je 0x180046143
mov r11d, dword [0x180202f2c]
mov r8, rsi
movss xmm3, dword [0x1800e94f8]
nop dword [rax]
movsxd rax, esi
cmp rax, qword [r9 + 0x108]
jae 0x180046143
mov rdx, qword [r9 + 0x100]
test rdx, rdx
je 0x18004611a
mov rdx, qword [r8 + rdx]
test rdx, rdx
je 0x18004611a
cmp rdx, r10
je 0x18004611a
mov ecx, dword [r11 + rdx]
test ecx, ecx
je 0x18004611a
and ecx, 0x1fc000
cmp ecx, 0x8000
je 0x18004611a
movsd xmm1, qword [r10 + 0x90]
mov eax, dword [r10 + 0x98]
movaps xmm2, xmm1
mov dword [rsp + 0x28], eax
movss xmm0, dword [rsp + 0x28]
shufps xmm2, xmm2, 0x55
addss xmm2, xmm3
movss dword [rsp + 0x38], xmm0
mov eax, dword [rsp + 0x38]
mov dword [rdx + 0x280], 0x3dcccccd
unpcklps xmm1, xmm2
movsd qword [rdx + 0x90], xmm1
mov dword [rdx + 0x98], eax
inc esi
add r8, 0x10
jmp 0x180046090
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x180046010
mov rsi, qword [rsp + 0x60]
add rsp, 0x48
ret
Function at 0x1800538f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x180053924
mov ecx, esi
lea eax, [rcx - 9]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x180053910
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
cmp r9, rax
je 0x180053959
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.180017ad0
nop
cmp byte [rbx + 0xa], 0
je 0x180053983
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 9]
xor byte [rbx + rcx], al
inc rcx
cmp rcx, 9
jb 0x180053970
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
cmp rbx, rax
je 0x1800539b8
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180017ad0
nop
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.1800515e0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x180053a0c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053a06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053a06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800adf8c
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180053a4c
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053a47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053a47
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800adf8c
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x180053a60
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x180053a94
mov ecx, esi
lea eax, [rcx - 9]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x180053a80
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
cmp r9, rax
je 0x180053ac9
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.180017ad0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180053ad7
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.1800517d0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x180053b4c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053b47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053b47
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800adf8c
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x180053b60
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x180053b94
mov ecx, esi
lea eax, [rcx - 9]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 9
jb 0x180053b80
mov byte [r8 + 0xa], sil
lea rax, [r8 + 9]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
cmp r9, rax
je 0x180053bc9
mov r8d, 9
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.180017ad0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180053bd7
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.1800517d0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x180053c4c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053c47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053c47
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800adf8c
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x180053c60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x180053c88
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x180053c70
mov byte [rcx + 0x136], 0
mov rax, rcx
ret