joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cf640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.1400be6f0
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1400cf696
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1400cf6ed
mov ebp, 0x4b0000
jmp 0x1400cf6fb
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.1400c0b30
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1400cf711
mov eax, r12d
jmp 0x1400cf71a
mov edx, edi
mov ecx, ebp
call fcn.1400c0b30
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x1400cf736
shl esi, 0x10
mov ecx, esi
jmp 0x1400cf825
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1400cf794
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.1400be6f0
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x1400cf784
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.1400c0a00
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.1400be6f0
add ebx, eax
jmp 0x1400cf82e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1400cf7a1
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1400cf7e0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.1400be6f0
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1400cf7e5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.1400c0a00
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.1400be6f0
add ebx, eax
jmp 0x1400cf82e
cmp eax, r12d
jge 0x1400cf81e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.1400be6f0
sub ebp, eax
sub r15d, esi
je 0x1400cf81e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.1400c0a00
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.1400be6f0
add ebx, eax
jmp 0x1400cf82e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.1400be6f0
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.1400be6f0
Function at 0x14011b880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x14011ba1c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x14011ba1c
cmp r10d, r14d
jne 0x14011b920
sub rbx, 0x10
jmp 0x14011ba64
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x14011b992
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x14011b954
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x14011b95c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x14011b97b
movzx edx, r11b
mov rcx, rsi
call fcn.14011ca30
test al, al
jne 0x14011ba75
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.14011d0a0
test al, al
jne 0x14011ba75
mov edx, dword [rsi + 0x64]
lea r9, [0x14011d400]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x14011b9be
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.14011b700
jmp 0x14011ba12
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.14011b700
test dil, dil
je 0x14011ba0a
cmp byte [rsi + 0x6a], 0
jne 0x14011ba0a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x14011ba75
sub rbx, 0x10
jmp 0x14011ba64
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x14011ba79
mov ebp, dword [rbx]
jmp 0x14011b8e0
mov al, 1
jmp 0x14011ba82
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140127280
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x140121dd0
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x140121dec
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140121e40
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140121f65
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x140121f65
test rax, rax
je 0x140121f65
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x140121f65
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x140121eda
lea rax, [0x140121fc0]
jmp 0x140121f33
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x140121f65
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140121f53
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x140121f00
lea rax, [0x140121f90]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x140121f7a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x140122cc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x140122ccb
xor eax, eax
ret
lea r11, [0x140154a10]
not ecx
cmp r8d, 8
jb 0x140122da1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x140122cf0
test r8d, r8d
je 0x140122dcd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x140122db0
not ecx
mov eax, ecx
ret
Function at 0x140127adc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140127b26
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140127b26
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140127b26
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140127b26
cmp dword [rcx + 0x84], 0xe
jbe 0x140127b26
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140127b28
xor al, al
add rsp, 0x28
ret

Function at 0x141db9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141db91df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141db9089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141db906f
add dl, dl
jne 0x141db9096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141db90f6
xor eax, eax
add dl, dl
jne 0x141db90a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141db91ad
add dl, dl
jne 0x141db90b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141db90c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141db90d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141db90dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141db90ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141db907e
mov eax, 1
add dl, dl
jne 0x141db9106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141db9113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141db90fb
sub eax, ebx
mov ebx, 1
jne 0x141db914c
mov ecx, 1
add dl, dl
jne 0x141db912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141db913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141db9123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141db907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141db9168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141db9175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141db915d
cmp eax, 0x7d00
jae 0x141db919b
cmp eax, 0x500
jb 0x141db9196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141db907e
cmp eax, 0x7f
ja 0x141db919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141db907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141db91d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141db907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180001730
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x78
mov rax, qword [0x180021018]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x34], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180001837
lea r8, [rsp + 0x40]
mov edx, 0x28
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x18000182c
lea r8, [rsp + 0x48]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x18000182c
mov dword [rsp + 0x50], 1
mov eax, 0xc
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov qword [rsp + rax + 0x54], rcx
mov eax, 0xc
imul rax, rax, 0
mov dword [rsp + rax + 0x5c], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x18000182c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
je 0x18000181c
mov dword [rsp + 0x30], 1
jmp 0x180001824
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180009ba0
add rsp, 0x78
ret

Function at 0x180001a70
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x78
mov rax, qword [0x180021018]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x44], 0
lea rdx, [rsp + 0x5c]
mov ecx, dword [rsp + 0x80]
call fcn.180001d60
test eax, eax
je 0x180001b83
cmp dword [rsp + 0x5c], 0
je 0x180001abd
lea rax, str..pipe_uadecffddupcbcacrdc
mov qword [rsp + 0x50], rax
jmp 0x180001ac9
lea rax, str..pipe_uadecffddcwfbxbidvf
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x180001b83
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8d, 4
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x64]
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180001b68
movzx eax, byte [rsp + 0x58]
cmp eax, 0x4d
jne 0x180001b68
mov dword [rsp + 0x40], 1
jmp 0x180001b70
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180009ba0
add rsp, 0x78
ret
Function at 0x140003c80
Capabilities:
Execute command
Set console window title

Disassembly:
push rdi
sub rsp, 0x40
lea rcx, str.cs2_dev
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
xorps xmm0, xmm0
lea rdx, str.cs2.exe
xor edi, edi
lea rcx, [rsp + 0x20]
mov r8d, 7
mov qword [rsp + 0x30], rdi
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rdi
call fcn.140003b80
lea rdx, [rsp + 0x20]
call fcn.14001c3b0
sub eax, 1
je 0x140003e55
sub eax, 1
je 0x140003e55
cmp eax, 1
je 0x140003e55
cmp byte [0x14039a339], dil
jne 0x140003cf1
call fcn.140006170
call fcn.140004bc0
test al, al
jne 0x140003d0b
lea rcx, str._evo__failtd_to_init_offsets_n
call fcn.140003940
jmp 0x140003e55
lea rcx, str._evo__initialized_interfaces__n
mov qword [rsp + 0x58], rbx
call fcn.140003940
mov rbx, qword [0x14039b960]
lea rdx, str.client.dll
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
mov r8d, 0xa
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
call fcn.140003b80
lea rdx, [rsp + 0x20]
call fcn.140004700
xorps xmm0, xmm0
mov qword [rbx + 0x48], rax
mov r8d, 0xa
mov qword [rsp + 0x30], rdi
lea rdx, str.server.dll
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
call fcn.140003b80
lea rdx, [rsp + 0x20]
call fcn.140004700
mov rdx, qword [rbx + 0x48]
mov ecx, dword [0x14039ba18]
mov qword [rbx + 0x40], rax
add rcx, rdx
mov eax, dword [0x14039ba20]
add rax, rdx
mov qword [rbx + 0x78], rcx
mov qword [rbx + 0x50], rax
mov eax, dword [0x14039ba14]
add rax, rdx
mov qword [rbx + 0x80], rcx
mov qword [rbx + 0x58], rax
lea rcx, str._evo__initialized_dll_addresses__n
mov eax, dword [0x14039ba0c]
add rax, rdx
mov qword [rbx + 0x60], rax
mov eax, dword [0x14039ba08]
add rax, rdx
mov qword [rbx + 0x70], rax
mov eax, dword [0x14039ba10]
add rax, rdx
mov qword [rbx + 0x88], rax
mov eax, dword [0x14039ba1c]
add rax, rdx
mov qword [rbx + 0x90], rax
call fcn.140003940
cmp qword [rbx + 0x48], rdi
mov rbx, qword [rsp + 0x58]
jne 0x140003e22
lea rcx, str._evo__failtd_to_init_addresses_n
call fcn.140003940
jmp 0x140003e55
cmp byte [0x14039a338], dil
jne 0x140003e55
nop dword [rax + rax]
call fcn.140005ec0
test al, al
je 0x140003e76
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], 1
call fcn.1400044a0
cmp byte [0x14039a338], dil
je 0x140003e30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140004460]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x140004700
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x470], rbx
mov qword [rbp + 0x480], rsi
mov qword [rbp + 0x488], rdi
mov rax, qword [0x14010b040]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [0x140398fe0]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140004780
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x1400047fc
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400047ab
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400cd390
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x1400047fc
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
lea r8, [rbp + 0x30]
mov dword [rsp + 0x28], eax
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 3
mov byte [rbx], r14b
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x1400047ff
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x14000480c
mov rdx, qword [rdi]
sub rdx, rbx
nop
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140004822
inc rbx
test eax, eax
jne 0x140004810
test ecx, ecx
mov rcx, rsi
je 0x140004882
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140004770
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000487e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140004879
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004905
mov rcx, r8
call fcn.1400cc94c
xor eax, eax
jmp 0x1400048c5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x1400048c2
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400048bd
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004905
mov rcx, r8
call fcn.1400cc94c
mov rax, rbx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.1400cc5e0
mov rbx, qword [rbp + 0x470]
mov rsi, qword [rbp + 0x480]
mov rdi, qword [rbp + 0x488]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000ae50
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdx, qword [0x14039b9b0]
add rdx, 0x388
mov r9, qword [rax]
mov rcx, qword [rax + 8]
sub rcx, r9
sar rcx, 3
mov dword [rsp + 0x20], ecx
lea rcx, str.Prefer..
call fcn.140058bf0
mov rdx, qword [0x14039b9b0]
lea rcx, str.Baim_while_lethal
add rdx, 0x355
call fcn.1400565e0
mov rdx, qword [0x14039b9b0]
lea rcx, str.Baim_unsafe
add rdx, 0x356
add rsp, 0x38
jmp fcn.1400565e0
Function at 0x14001b320
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14010b040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 8
call fcn.1400cc600
lea rcx, [0x140018ba0]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14001b3d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14001b39d
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400cc5e0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14001bbd0
Capabilities:
Parse pe header

Disassembly:
dec edx
cmp edx, 0x35
ja case.default.0x14001bbef
movsxd rax, edx
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x1bd3c]
add rcx, rdx
jmp rcx
mov eax, 1
ret
mov eax, 2
ret
mov eax, 4
ret
mov eax, 5
ret
mov eax, 6
ret
mov eax, 0x41
ret
mov eax, 0x42
ret
mov eax, 0x43
ret
mov eax, 0x44
ret
mov eax, 0x45
ret
mov eax, 0x46
ret
mov eax, 0x47
ret
mov eax, 0x48
ret
mov eax, 0x49
ret
mov eax, 0x4a
ret
mov eax, 0x4b
ret
mov eax, 0x4c
ret
mov eax, 0x4d
ret
mov eax, 0x4e
ret
mov eax, 0x4f
ret
mov eax, 0x50
ret
mov eax, 0x51
ret
mov eax, 0x52
ret
mov eax, 0x53
ret
mov eax, 0x54
ret
mov eax, 0x55
ret
mov eax, 0x56
ret
mov eax, 0x57
ret
mov eax, 0x58
ret
mov eax, 0x59
ret
mov eax, 0x5a
ret
mov eax, 0x31
ret
mov eax, 0x32
ret
mov eax, 0x33
ret
mov eax, 0x34
ret
mov eax, 0x35
ret
mov eax, 0x36
ret
mov eax, 0x37
ret
mov eax, 0x38
ret
mov eax, 0x39
ret
mov eax, 0x30
ret
mov eax, 0x70
ret
mov eax, 0x71
ret
mov eax, 0x72
ret
mov eax, 0x73
ret
mov eax, 0x74
ret
mov eax, 0x75
ret
mov eax, 0x76
ret
mov eax, 0x77
ret
mov eax, 0x78
ret
mov eax, 0x79
ret
mov eax, 0x7a
ret
mov eax, 0x7b
ret
mov eax, 0x12
ret
mov eax, dword [rsp + 0x10]
ret