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

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x1800efed0]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x1800223c6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.180036650
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1800223d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x108]
lea r9, [0x1800efed0]
movss xmm2, dword [rcx + 0x120]
movss xmm3, dword [rcx + 0x124]
movsxd rcx, dword [rcx + 0x100]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x180030040
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1801180c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x18011a478]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x1800300a1
cmp byte [rbx + 0x4d4e], 0
jne 0x1800300a1
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.18001f050
test dil, 2
je 0x1800301cf
jmp 0x18003012a
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180102630]
mulss xmm1, dword [0x180102624]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x180102590]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.18001f050
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180030180
lea r11, [0x1800efed0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180030163
cmp byte [r8], r9b
jne 0x180030163
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 0x180030150
not ecx
call fcn.180026320
test rax, rax
je 0x1800301cf
cmp byte [rax + 0xbe], 0
je 0x1800301cf
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.18001f050
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.180028fc0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800d9d90
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180034e70
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 + 0x6010], 0
lea rbx, [rcx + 0x6018]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180034f17
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x180034eca
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.180037510
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18001fcb0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6010]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6020]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18011a470]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x180034f1f
mov rcx, rbx
call fcn.18001fcb0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180035240
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
mov rbx, qword [0x18011a478]
xor ebp, ebp
cmp byte [rbx + 0x5f68], bpl
jne 0x18003531f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180035318
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.18001f4d0
mov rsi, rax
test rax, rax
je 0x180035318
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1800352a4
mov rcx, rax
call fcn.180035470
mov r8, qword [0x18011a478]
test r8, r8
je 0x18003530f
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180035304
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f68], 1
movss xmm0, dword [rbx + 0x5f6c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1800353ae
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f6c], xmm0
jb 0x1800353ae
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1800353a1
mov rax, qword [0x18011a478]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f6c], ebp
call fcn.1800356d0
lea rdx, [0x1801009b4]
mov rcx, rdi
mov rsi, rax
call fcn.18001f320
mov rdi, rax
test rax, rax
je 0x1800353a8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1800353a8
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f6c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800353d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18011a478]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180035433
mov qword [rsp], rbx
lea rbx, [0x1800efed0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180035413
cmp byte [r8], r9b
jne 0x180035413
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180035400
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18003545f
cmp dword [r8 + 8], eax
je 0x180035466
add r8, 0x48
cmp r8, rcx
jne 0x180035450
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x180049660
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1801180c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x18011a478]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x18004987e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x18004987e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x18011a478]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x180049734
movsx rdx, word [r8 + 0x60f0]
lea rax, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x180049729
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60f4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60e8]
test rdi, rdi
je 0x180049751
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x180049754
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x180101130]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x180049797
mov rsi, qword [r8 + 0x90]
jmp 0x18004979a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1800497c5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x18011a478]
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x18004983e
inc rbx
cmp rbx, 5
jl 0x180049820
jmp 0x18004986a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x180049880
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800d9d90
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x18005d390
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.18005b270
lea rcx, [rsp + 0x38]
mov rbx, rax
call fcn.180064550
mov rdx, qword [rax]
sub rdx, qword [rbx + 0x100]
cmp rdx, 0x6052340
jl 0x18005d3e0
movsx ecx, word [rbx + 0xe0]
xor r8d, r8d
xor edx, edx
call fcn.18002cc50
test al, al
je 0x18005d3e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp byte [rdi + 0xa8], 0
je 0x18005d3f1
mov ebx, dword [rdi + 0xf0]
jmp 0x18005d3f6
mov ebx, reloc.WLDAP32.dll_Ordinal_60
mov rdx, qword [0x180118598]
mov rax, qword [0x18011a6f8]
cmp rdx, rax
ja 0x18005d471
mov rcx, qword [0x18011a700]
test rax, rax
je 0x18005d41a
test rcx, rcx
jne 0x18005d44e
lea rcx, str.GameAssembly.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, str.UnityPlayer.dll
mov qword [0x18011a6f8], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov qword [0x18011a700], rax
mov rax, qword [0x18011a6f8]
jmp 0x18005d410
cmp dword [0x180118590], 0
mov rdx, qword [0x180118578]
cmove rcx, rax
add rdx, rcx
mov qword [0x180118588], rcx
mov qword [0x180118598], rdx
mov ecx, ebx
call rdx
mov rdx, qword [0x1801185e0]
xor ebx, ebx
cmp byte [rdi + 0xa8], bl
mov rax, qword [0x18011a6f8]
sete bl
cmp rdx, rax
ja 0x18005d501
mov rcx, qword [0x18011a700]
nop word [rax + rax]
test rax, rax
je 0x18005d4aa
test rcx, rcx
jne 0x18005d4de
lea rcx, str.GameAssembly.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, str.UnityPlayer.dll
mov qword [0x18011a6f8], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov qword [0x18011a700], rax
mov rax, qword [0x18011a6f8]
jmp 0x18005d4a0
cmp dword [0x1801185d8], 0
mov rdx, qword [0x1801185c0]
cmove rcx, rax
add rdx, rcx
mov qword [0x1801185d0], rcx
mov qword [0x1801185e0], rdx
mov ecx, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rdx
Function at 0x18006bf10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rdi, rcx
movaps xmmword [rsp + 0x140], xmm6
lea rcx, str.Revamp.dll
mov r15, r9
movaps xmm6, xmm2
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0xa
mov rdx, rbx
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x18006c0f7
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x18006c0f7
mov rcx, rax
mov qword [rsp + 0x150], r12
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, r14
mov rcx, rsi
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [0x18011a478]
mov edx, eax
test rdi, rdi
je 0x18006bfff
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rdi + 0x20]
movaps xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [rdi + 0x30]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rdi + 0x40]
movaps xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [rdi + 0x50]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rdi + 0x60]
movaps xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [rdi + 0x70]
movaps xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [rdi + 0x80]
movaps xmmword [rbp - 0x70], xmm1
movaps xmmword [rbp - 0x60], xmm0
jmp 0x18006c063
xorps xmm0, xmm0
mov eax, 0xffff
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x70], 0x3f800000
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], 2
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x2c], 1
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x64], 0x7f7fffff
mov dword [rsp + 0x74], 0x3f800000
mov word [rsp + 0x78], ax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
lea rax, [rsp + 0x20]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [rax + 0x20]
mov qword [rbp - 0x50], r12
mov r12, qword [rsp + 0x150]
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rax + 0x40]
mov dword [rbp - 0x48], edx
movaps xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rax + 0x60]
movaps xmmword [rbp - 0x20], xmm1
movups xmm1, xmmword [rax + 0x50]
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [rax + 0x80]
movaps xmmword [rbp], xmm1
movups xmm1, xmmword [rax + 0x70]
movaps xmmword [rbp + 0x30], xmm0
xorps xmm0, xmm0
comiss xmm6, xmm0
movaps xmmword [rbp + 0x20], xmm1
jbe 0x18006c0ce
movss dword [rbp - 0x3c], xmm6
mov rax, qword [rbp - 0x18]
lea rdx, [rbp - 0x50]
mov rcx, qword [rcx + 0x38]
test r15, r15
cmovne rax, r15
mov qword [rbp - 0x18], rax
call fcn.180043890
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
jmp 0x18006c0f9
xor al, al
movaps xmm6, xmmword [rsp + 0x140]
add rsp, 0x158
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18006c490
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x1801180c0]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov r14, rcx
lea rcx, str.Revamp.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
mov edx, 0x68
lea r8d, [rdx - 0x5e]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x88], 0
mov ebx, eax
lea rcx, [rsp + 0x88]
cmp rbx, 0xf
ja 0x18006c55e
mov qword [rsp + 0x98], rbx
mov r8d, ebx
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x88], 0
jmp 0x18006c56f
mov r9, rsi
movzx r8d, byte [rsp + 0x30]
mov rdx, rbx
call fcn.18005c810
mov qword [rsp + 0x80], 0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0xa8]
call fcn.18006c8a0
nop
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x38]
call fcn.1800101e0
movzx edx, byte [r14]
movzx ecx, byte [rax]
mov byte [r14], cl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rdx, qword [r14 + 8]
mov r8, qword [rcx]
mov qword [r14 + 8], r8
mov qword [rcx], rdx
movzx edx, byte [rax]
call fcn.18000cdd0
nop
movzx edx, byte [rsp + 0xa8]
lea rcx, [rsp + 0xb0]
call fcn.18000cdd0
nop
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0xf
jbe 0x18006c62b
inc rdx
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006c626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006c626
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800da234
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1800d9d90
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x180071ac0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x180071af4
mov eax, esi
lea ecx, [rax + 0x61]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x180071ae0
mov byte [r8 + 7], sil
add r8, 6
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.180004dc0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x180071b19
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180080610
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
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 + 0x48]
cmp rdx, 0xf
jbe 0x180071b93
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180071b8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180071b8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800da234
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x180071ba0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x180071bd4
mov eax, esi
lea ecx, [rax + 0x61]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x180071bc0
mov byte [r8 + 9], sil
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.180004dc0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x180071bf9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180080610
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
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 + 0x48]
cmp rdx, 0xf
jbe 0x180071c73
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180071c6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180071c6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800da234
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret