joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1eabc1b00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1eabc1b70
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1eabe0084]
mov rbx, rcx
test esi, esi
jle 0x1eabc1ca0
mov rax, qword [0x1eabe0088]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1eabc1bbb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1eabc1c45
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1eabc1ba0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1eabc1cc2
mov rax, qword [0x1eabe0088]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1eabe0088]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1eabc1ca7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1eabc1c3e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1eabc1c50
add dword [0x1eabe0084], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1eabe0088]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1eabc1c3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1eabc1bc8
mov rax, qword [0x1eabe0088]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1eabc2040
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1eabe00c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1eabe00a0]
test rbx, rbx
je 0x1eabc209c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1eabc2093
test rsi, rsi
je 0x1eabc2093
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1eabc2078
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1eabc22b0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1eabc22c8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1eabc22d0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1eabc22e0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1eabc232d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1eabc2324
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1eabc232f
add rax, 0x28
cmp rax, r9
jne 0x1eabc2310
xor eax, eax
ret

Function at 0x1eabc2330
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1eabc23c0
mov rdx, qword [0x1eabdd250]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1eabc23ae
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1eabc23ae
cmp word [rax + 0x18], 0x20b
jne 0x1eabc23ae
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1eabc23c0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1eabc2399
add rbx, 0x28
cmp rbx, rdi
je 0x1eabc23c0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1eabc2390
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1eabc23d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1eabdd250]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1eabc23f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1eabc23f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1eabc23f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1eabc244d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1eabc2444
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1eabc23f0
add rax, 0x28
cmp rax, r9
jne 0x1eabc2430
xor eax, eax
ret

Function at 0x1eabc2450
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1eabdd250]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1eabc246f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1eabc2478
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1eabc246f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1eabc2490
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1eabdd250]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1eabc24b0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1eabc24b8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1eabc24b0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1eabc2500
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1eabc24f7
test rcx, rcx
je 0x1eabc24b0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1eabc24e8
xor eax, eax
ret

Function at 0x1eabc2510
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1eabdd250]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1eabc252f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1eabc2538
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1eabc2550
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1eabdd250]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1eabc2570
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1eabc2578
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1eabc2570
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1eabc2570
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1eabc25c4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1eabc25d0
add rdx, 0x28
cmp r9, rdx
jne 0x1eabc25b0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1eabc25e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1eabdd250]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1eabc2602
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1eabc2610
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1eabc2602
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1eabc2602
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1eabc2602
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1eabc2665
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1eabc2678
add rdx, 0x28
cmp rdx, r10
jne 0x1eabc2650
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1eabc2687
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1eabc2697
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1eabc266e
test ecx, ecx
jg 0x1eabc2680
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x180001618
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x18027a1c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov r15d, edx
mov rdi, rcx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
xor edx, edx
mov r14d, r8d
mov esi, ebx
lea ecx, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1800017b7
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180001759
lea esi, [rbx + 1]
cmp dword [rsp + 0x20], 0x10
jb 0x180001714
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180001714
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180001714
mov rdx, qword [rdi]
test rdx, rdx
jne 0x1800016d6
mov rcx, qword [0x18027ad48]
mov r8d, 0x200
mov dword [rdi + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x18000173d
jmp 0x180001707
mov eax, dword [rdi + 8]
cmp dword [rdi + 0xc], eax
jb 0x180001707
mov rcx, qword [0x18027ad48]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rdi + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18000173d
mov qword [rdi], rax
mov ecx, dword [rdi + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rdi + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180001684
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180001759
mov esi, ebx
cmp qword [rdi], rbx
je 0x180001759
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x18027ad48]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x1800017b7
cmp qword [rdi], rbx
je 0x1800017bc
mov esi, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x1800017bc
mov r8, qword [rdi]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbp, rax
test rax, rax
je 0x1800017ae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, r14d
mov edx, r15d
mov rcx, rbp
call fcn.180001488
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rdi + 0xc]
jb 0x180001772
jmp 0x1800017bc
mov ebx, 9
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18006a4f0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800017e0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x180001844
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x180001832
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18000182b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800017ff
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x18027ad48]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180001854
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x18027ad60]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x18000188a
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800018c0
mov eax, 0xa
jmp 0x18000194f
test esi, esi
je 0x1800018e2
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180001903
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180001903
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800018fd
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180001903
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x180001eec
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x180001f03
cmp r8b, 0x90
je 0x180001f03
cmp r8b, 0xcc
jne 0x180001f25
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180001f21
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180001f25
add edx, r10d
cmp edx, r9d
jb 0x180001f11
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x18000228c
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x1800022d6
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x18027ad58]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
test rbx, rbx
je 0x180002314
cmp rbx, r14
jb 0x18000230f
cmp rbx, r12
jae 0x18000230f
cmp qword [rbx + 8], rsi
jne 0x18000246b
mov rbx, qword [rbx]
jmp 0x1800022f6
mov r15, rdi
cmp rdi, r14
jb 0x180002398
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
sub r15, r13
cmp r15, r14
jb 0x18000238f
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18000238f
cmp dword [rbp - 0x10], 0x10000
je 0x18000235f
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x18000238f
jmp 0x18000232b
test r15, r15
je 0x18000238f
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180002430
cmp r15, r14
jae 0x18000231c
test rbx, rbx
jne 0x180002430
cmp rdi, r12
ja 0x18000246b
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x18000246b
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18000246b
cmp dword [rbp - 0x10], 0x10000
je 0x180002406
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jmp 0x1800023bf
test rdi, rdi
je 0x18000246b
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jmp 0x180002392
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x18000243c
mov rax, qword [0x18027ad58]
mov qword [rbx], rax
mov qword [0x18027ad58], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1800072a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x80
cmp byte [0x18019cfed], 0
mov rbx, rcx
mov eax, dword [0x18019cfe8]
movups xmm0, xmmword [0x18019cfd8]
mov byte [rcx], 0
mov rcx, qword [0x18027a018]
mov r8d, dword [rcx + 0x30]
mov dword [rsp + 0x40], eax
movzx eax, word [0x18019cfec]
mov word [rsp + 0x44], ax
movups xmmword [rsp + 0x30], xmm0
je 0x1800074b4
xor r9d, r9d
cmp dword [0x18027a1a0], 2
jl 0x18000746f
movdqa xmm0, xmmword [str.9999999999999999]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1800d1c60]
mov eax, 5
movdqa xmm4, xmmword [0x18019d100]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [str.8888]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x20], xmm0
mov r10d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm8
movd xmm8, eax
nop dword [rax]
movd xmm2, r9d
lea eax, [r9 + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r9d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r10d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r10d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp r9d, 0x10
jl 0x180007350
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp r9d, 0x16
jge 0x1800074b4
movsxd rax, r9d
lea r10, [rsp + 0x30]
add r10, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r10, [r10 + 1]
imul r9d
add edx, r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, r9b
inc r9d
sub al, dl
add al, 0x39
xor byte [r10 - 1], al
cmp r9d, 0x16
jl 0x180007480
lea r9, str.achat::Game::Game
lea rdx, [rsp + 0x30]
call fcn.1800030f0
mov rax, rbx
add rsp, 0x80
pop rbx
ret
Function at 0x1800074e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
cmp byte [0x18019d0bf], 0
movups xmm0, xmmword [0x18019d0a8]
mov r10, qword [0x18027a018]
mov r8d, dword [r10 + 0x24]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [0x18019d0b8]
movsd qword [rsp + 0x40], xmm0
je 0x1800076cf
xor ecx, ecx
cmp dword [0x18027a1a0], 2
jl 0x180007697
movdqa xmm0, xmmword [str.9999999999999999]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1800d1c60]
mov eax, 5
movdqa xmm4, xmmword [0x18019d100]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [str.8888]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm8
movd xmm8, eax
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r9d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x180007580
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
jmp 0x1800076cf
lea r9, [rsp + 0x30]
nop dword [rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r9 - 1], al
cmp ecx, 0x18
jl 0x1800076a0
lea r9, [0x18019d0c0]
mov rcx, r10
lea rdx, [rsp + 0x30]
call fcn.1800030f0
add rsp, 0x88
ret
Function at 0x180007f00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x80
cmp byte [0x18020254d], 0
mov rbx, rcx
mov eax, dword [0x180202548]
movups xmm0, xmmword [0x180202538]
mov byte [rcx], 0
mov rcx, qword [0x18027a018]
mov r8d, dword [rcx + 0x30]
mov dword [rsp + 0x40], eax
movzx eax, word [0x18020254c]
mov word [rsp + 0x44], ax
movups xmmword [rsp + 0x30], xmm0
je 0x180008111
xor r9d, r9d
cmp dword [0x18027a1a0], 2
jl 0x1800080c7
movdqa xmm0, xmmword [str.0000000000000000_]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1800d1c60]
mov eax, 4
movdqa xmm4, xmmword [0x1800d1cb0]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x1800d1c80]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x20], xmm0
mov r10d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm8
movd xmm8, eax
nop dword [rax]
movd xmm2, r9d
lea eax, [r9 + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r9d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r10d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r10d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp r9d, 0x10
jl 0x180007fb0
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp r9d, 0x16
jge 0x180008111
movsxd rax, r9d
lea r10, [rsp + 0x30]
add r10, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r10, [r10 + 1]
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, r9b
inc r9d
sub al, dl
add al, 0x30
xor byte [r10 - 1], al
cmp r9d, 0x16
jl 0x1800080e0
lea r9, str.achat::Hooking::Hooking
lea rdx, [rsp + 0x30]
call fcn.1800030f0
mov rax, rbx
add rsp, 0x80
pop rbx
ret