joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000215b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x140002163
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x14000219a
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x140002170
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021c5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x1400021eb
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x1400021d0
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a420
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a465
xor al, al
jmp 0x14000a4b2
cmp word [rbx], 0
je 0x14000a47d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a470
cmp word [rsp + 0x30], 0
je 0x14000a4ab
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a4d3
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a490
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b5e0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000fc14
int3
Function at 0x14000a9c0
Capabilities:
Read file on windows

Disassembly:
test rdx, rdx
je 0x14000ab4c
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x60], r14
xor sil, sil
xor r14d, r14d
mov qword [rsp + 0x50], rbx
mov rdi, rdx
mov rbp, rcx
nop word [rax + rax]
mov rax, qword [0x140035618]
mov rcx, qword [0x140035620]
sub rax, rcx
je 0x14000aa34
mov rdx, qword [0x140035610]
cmp rdi, rax
mov rbx, rdi
cmovae rbx, rax
add rdx, rcx
mov r8, rbx
mov rcx, rbp
call fcn.140020b40
add rbp, rbx
sub rdi, rbx
add qword [0x140035620], rbx
jmp 0x14000ab32
mov rax, qword [0x140033600]
mov rcx, qword [0x1400335f8]
cmp rax, rcx
jb 0x14000aae0
test sil, sil
jne 0x14000aae0
cmp rcx, rax
jne 0x14000ab4d
mov rcx, qword [0x140035628]
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [0x140035630]
mov eax, eax
sub rcx, rax
je 0x14000ab32
mov rdx, qword [0x1400335f0]
lea r9, [rsp + 0x58]
mov ebx, 0x20003
mov qword [rsp + 0x20], r14
cmp rcx, rbx
cmovb rbx, rcx
mov rcx, qword [0x140035628]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000ab53
mov eax, dword [rsp + 0x58]
cmp rax, rbx
jne 0x14000ab53
add qword [0x1400335d0], rbx
mov qword [0x140033600], r14
mov qword [0x1400335f8], rbx
jmp 0x14000ab32
mov rcx, qword [0x1400335e8]
lea r8, [0x1400335f0]
lea rdx, [0x140035610]
mov qword [0x140035620], r14
mov qword [0x140035618], 0x20000
call fcn.140007080
mov rcx, qword [0x140035620]
cmp rcx, qword [0x140035618]
sete sil
cmp rax, 0xffffffffffffff88
ja 0x14000ab4d
mov qword [0x140035618], rcx
mov qword [0x140035620], r14
test rdi, rdi
jne 0x14000a9f0
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
call fcn.14000a8c0
int3
call fcn.14000a900
int3

Function at 0x14000ab60
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x80
mov rcx, qword [0x1400335e0]
xor ebx, ebx
test rcx, rcx
je 0x14000abf5
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
test eax, eax
jne 0x14000abd6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x90]
mov r9d, 0x400
mov ecx, 0x1300
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
lea rcx, str.Failed_to_send_CTRL_C_to_child_process.
call fcn.1400102b4
mov rcx, qword [rsp + 0x90]
call fcn.1400102b4
mov rcx, qword [0x1400335e0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1400335e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140033608], bl
je 0x14000ac45
lea rax, [0x140033610]
mov qword [rsp + 0x40], rbx
lea rcx, [0x14002a8c0]
mov qword [rsp + 0x50], rax
mov eax, 0x414
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x40]
mov word [rsp + 0x60], ax
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x64], ebx
mov qword [rsp + 0x68], rbx
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
add rsp, 0x80
pop rbx
ret
Function at 0x14000bea0
Capabilities:
Parse pe header

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

Function at 0x14000fc08
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000fa73
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fa73
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fa73
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fa73
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fa73
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fa73
cmp dword [rcx + 0xf8], 0
je 0x14000fa73
mov ecx, ebx
call fcn.14000fb24
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f900
nop
cmp dword [rbp + 0x20], 0
je 0x14000fac1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000facc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fa04
Function at 0x1400197c4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14001984b
mov rsi, rbx
cmp word [rax], bp
je 0x14001980a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400197f4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400197f0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016ea0
mov rdi, rax
test rax, rax
je 0x140019838
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140020b40
mov rbp, rdi
xor ecx, ecx
call fcn.140015ec4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001be14
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001be2a
mov al, 1
jmp 0x14001be8a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001be3b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001be88
mov ecx, dword [rcx + 0x18]
nop
call fcn.140019f68
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001be88
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001be88
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001be88
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001be8a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140020340
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140020368
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140020368
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180003890
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x1800038b6
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
dec rcx
call fcn.180003890
movzx edx, word [rdi + rbx*2]
mov ecx, eax
mov rbx, qword [rsp + 0x30]
xor rdx, rcx
movzx ecx, dl
lea rdx, [0x18002a730]
shr eax, 8
xor eax, dword [rdx + rcx*4]
add rsp, 0x20
pop rdi
ret

Function at 0x1800038f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180003916
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
dec rcx
call fcn.1800038f0
movsx edx, byte [rbx + rdi]
xor r8d, r8d
mov rbx, qword [rsp + 0x30]
mov r9d, 0x20
lea ecx, [rdx - 0x41]
cmp cl, 0x19
mov ecx, edx
lea rdx, [0x18002a730]
cmovbe r8d, r9d
or r8, rcx
xor r8, rax
shr eax, 8
movzx ecx, r8b
xor eax, dword [rdx + rcx*4]
add rsp, 0x20
pop rdi
ret

Function at 0x180003960
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180003986
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
dec rcx
call fcn.180003960
movzx edx, word [rdi + rbx*2]
xor r8d, r8d
mov rbx, qword [rsp + 0x30]
mov r9d, 0x20
lea ecx, [rdx - 0x41]
cmp cx, 0x19
lea rcx, [0x18002a730]
cmovbe r8d, r9d
or r8, rdx
movzx edx, al
movzx r9d, r8b
xor r9, rdx
shr eax, 8
xor eax, dword [rcx + r9*4]
add rsp, 0x20
pop rdi
ret

Function at 0x1800040a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x18002f010]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx + 0x60]
cmp byte [rax + 2], bl
jne 0x18000412b
cmp dword [rax + 0xb8], 2
jb 0x18000412b
lea r9d, [rbx + 8]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x30]
lea edx, [rbx + 7]
lea rcx, [rbx - 1]
call fcn.180006705
test eax, eax
jne 0x180004116
cmp qword [rsp + 0x30], rbx
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180006960
add rsp, 0x40
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180006960
add rsp, 0x40
pop rbx
ret
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180006960
add rsp, 0x40
pop rbx
ret
Function at 0x180004150
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov esi, 1
call fcn.180003fc0
mov rdi, rax
test rax, rax
je 0x180004325
mov qword [rsp + 0x48], rbp
mov edx, 0x100
mov qword [rsp + 0x50], r12
mov rcx, rax
mov qword [rsp + 0x20], r15
call fcn.180010928
cmp eax, 0xa
jne 0x18000420d
mov r10, 0xffffffffffffffff
inc r10
cmp word [rdi + r10*2], 0
jne 0x180004195
dec r10
xor ebp, ebp
cmp r10, 0xffffffffffffffff
jne 0x1800041b3
mov r9d, 0xffffffff
jmp 0x1800041f8
lea rcx, [r10 - 1]
mov rdx, rdi
call fcn.180003960
movzx ecx, word [rdi + r10*2]
lea r12, [0x18002a730]
mov r9d, eax
mov rdx, rbp
mov r15d, 0x20
lea eax, [rcx - 0x41]
cmp ax, 0x19
cmovbe rdx, r15
or rdx, rcx
movzx ecx, r9b
movzx r8d, dl
xor r8, rcx
shr r9d, 8
xor r9d, dword [r12 + r8*4]
not r9d
mov esi, ebp
cmp r9d, 0x8ba7090d
setne sil
jmp 0x180004302
jbe 0x180004302
mov qword [rsp + 0x40], rbx
add eax, 0xfffffff6
mov r10, 0xffffffffffffffff
mov qword [rsp + 0x58], r14
mov rbx, r10
lea r14, [rdi + rax*2]
nop
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x180004230
xor ebp, ebp
lea r12, [0x18002a730]
dec rbx
lea r15d, [rbp + 0x20]
cmp rbx, r10
je 0x180004297
lea rcx, [rbx - 1]
mov rdx, r14
call fcn.180003960
movzx ecx, word [r14 + rbx*2]
mov edx, ebp
mov r11d, eax
lea eax, [rcx - 0x41]
cmp ax, 0x19
cmovbe edx, r15d
or rdx, rcx
movzx ecx, r11b
shr r11d, 8
movzx r8d, dl
xor r8, rcx
xor r11d, dword [r12 + r8*4]
not r11d
cmp r11d, 0x8ba7090d
jne 0x180004297
mov esi, ebp
jmp 0x1800042f8
mov word [rdi + 0x14], bp
nop dword [rax + rax]
inc r10
cmp word [rdi + r10*2], bp
jne 0x1800042a0
dec r10
cmp r10, 0xffffffffffffffff
je 0x1800042f8
lea rcx, [r10 - 1]
mov rdx, rdi
call fcn.180003960
movzx ecx, word [rdi + r10*2]
mov rdx, rbp
mov r11d, eax
lea eax, [rcx - 0x41]
cmp ax, 0x19
cmovbe rdx, r15
or rdx, rcx
movzx ecx, r11b
shr r11d, 8
movzx r8d, dl
xor r8, rcx
xor r11d, dword [r12 + r8*4]
not r11d
cmp r11d, 0x8ba7090d
cmove esi, ebp
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov eax, esi
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x180005320
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18002f010]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov qword [rsp + 0x70], 0xfffffffffff85ee0
cmp qword [0x18008ed30], rbx
mov rdi, rcx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
jne 0x180005380
mov ecx, 0x84c05e40
call fcn.180005770
mov edx, 0x89f32932
mov rcx, rax
call fcn.180005950
mov qword [0x18008ed30], rax
test rax, rax
je 0x1800053d8
cmp qword [0x18008ed40], rbx
jne 0x1800053ac
mov ecx, 0x84c05e40
call fcn.180005770
mov edx, 0xb332a5bc
mov rcx, rax
call fcn.180005950
mov qword [0x18008ed40], rax
test rax, rax
je 0x1800053d8
cmp qword [0x18008edd0], rbx
jne 0x1800053df
mov ecx, 0xa7dc6e73
call fcn.180005770
mov edx, 0x113c91ba
mov rcx, rax
call fcn.180005950
mov qword [0x18008edd0], rax
test rax, rax
jne 0x1800053df
xor eax, eax
jmp 0x1800054fd
xorps xmm0, xmm0
mov dword [rsp + 0x40], 0x30
mov r9d, 1
mov qword [rsp + 0x48], rbx
lea r8, [rsp + 0x40]
mov dword [rsp + 0x58], ebx
mov edx, 0x1f0003
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x20], bl
movdqu xmmword [rsp + 0x60], xmm0
call fcn.1800068a5
test eax, eax
jne 0x1800054d9
mov r8, qword [0x18008edd0]
lea rcx, [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov r9, rdi
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], ebx
call qword [0x18008ed30]
test eax, eax
jne 0x1800054d9
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x70]
xor edx, edx
call fcn.1800068cc
mov r10, 0xffffffffffffffff
nop word [rax + rax]
inc r10
cmp word [rdi + r10*2], bx
jne 0x180005470
dec r10
cmp r10, 0xffffffffffffffff
jne 0x18000548b
mov r8d, 0xffffffff
jmp 0x1800054cb
lea rcx, [r10 - 1]
mov rdx, rdi
call fcn.180003960
movzx edx, word [rdi + r10*2]
mov r8d, eax
mov eax, 0x20
lea ecx, [rdx - 0x41]
cmp cx, 0x19
movzx ecx, r8b
cmovbe rbx, rax
lea rax, [0x18002a730]
or rbx, rdx
shr r8d, 8
movzx edx, bl
xor rdx, rcx
xor r8d, dword [rax + rdx*4]
not r8d
mov ecx, r8d
call fcn.180005770
mov rbx, rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1800054eb
xor edx, edx
call qword [0x18008ed40]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800054fa
call fcn.180006746
mov rax, rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180006960
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x180005520
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x470
mov rax, qword [0x18002f010]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor esi, esi
mov rbx, rcx
mov ebp, 0x103
test rcx, rcx
jne 0x180005558
mov r8d, esi
jmp 0x180005563
mov rdx, rbp
call fcn.1800107d8
mov r8, rax
inc r8w
cmp r8w, bp
jae 0x18000564f
cmp si, r8w
jae 0x1800055d3
mov rcx, rbx
movzx r9d, r8w
lea rdx, [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rcx]
lea rcx, [rcx + 1]
mov word [rdx], ax
lea rdx, [rdx + 2]
sub r9, 1
jne 0x180005590
cmp r8w, 5
jbe 0x1800055d3
movzx eax, r8w
cmp word [rsp + rax*2 + 0x36], 0x2e
je 0x1800055d3
mov r9d, 5
lea r8, str..dll
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.180010e30
lea rax, [rsp + 0x40]
mov r10, 0xffffffffffffffff
nop
inc r10
cmp word [rax + r10*2], si
jne 0x1800055e0
dec r10
cmp r10, 0xffffffffffffffff
jne 0x1800055fa
mov eax, 0xffffffff
jmp 0x18000563d
lea rcx, [r10 - 1]
lea rdx, [rsp + 0x40]
call fcn.180003960
movzx edx, word [rsp + r10*2 + 0x40]
mov r9d, 0x20
mov r8, rsi
lea ecx, [rdx - 0x41]
cmp cx, 0x19
lea rcx, [0x18002a730]
cmovbe r8, r9
or r8, rdx
movzx edx, al
movzx r9d, r8b
xor r9, rdx
shr eax, 8
xor eax, dword [rcx + r9*4]
not eax
mov ecx, eax
call fcn.180005770
test rax, rax
jne 0x18000573f
mov qword [rsp + 0x488], rdi
test rbx, rbx
jne 0x180005661
mov rdi, rsi
jmp 0x18000566f
mov rdx, rbp
mov rcx, rbx
call fcn.1800107d8
mov rdi, rax
inc di
cmp di, bp
jae 0x180005734
cmp si, di
jae 0x1800056d5
lea rcx, [rsp + 0x250]
movzx r10d, di
nop dword [rax]
movsx eax, byte [rbx]
lea rbx, [rbx + 1]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub r10, 1
jne 0x180005690
cmp di, 5
jbe 0x1800056d5
movzx eax, di
cmp word [rsp + rax*2 + 0x246], 0x2e
je 0x1800056d5
lea r9d, [r10 + 5]
mov edx, 0x104
lea r8, str..dll
lea rcx, [rsp + 0x250]
call fcn.180010e30
add di, di
lea rax, [rsp + 0x250]
mov word [rsp + 0x2a], di
sub di, 2
mov qword [rsp + 0x30], rax
mov rax, qword [0x18008ee18]
mov word [rsp + 0x28], di
test rax, rax
jne 0x18000571a
mov edx, 0xa09b055e
mov ecx, 0x84c05e40
call fcn.180005d10
mov qword [0x18008ee18], rax
test rax, rax
je 0x180005734
lea r9, [rsp + 0x20]
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x28]
xor edx, edx
xor ecx, ecx
call rax
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x488]
mov rax, rsi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.180006960
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x180005d10
Capabilities:
Hash data with crc32
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.180005770
mov edx, ebx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.180005950

Function at 0x180005d30
Capabilities:
Hash data with crc32
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x180005d50
dec r8
cmp r8, 0xffffffffffffffff
jne 0x180005d6b
mov eax, 0xffffffff
jmp 0x180005d91
lea rcx, [r8 - 1]
mov rdx, rbx
call fcn.180003890
movzx edx, word [rbx + r8*2]
mov ecx, eax
xor rdx, rcx
shr eax, 8
movzx ecx, dl
lea rdx, [0x18002a730]
xor eax, dword [rdx + rcx*4]
not eax
mov ecx, eax
call fcn.180005770
test rax, rax
jne 0x180005da7
mov rcx, rbx
call fcn.180005250
mov edx, edi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180005950
Function at 0x180006680
Capabilities:
Check os version
Execute syscall

Disassembly:
xor al, 0x5a
mov r10, qword gs:[0x60]
cmp word [r10 + 0x118], 0xa
je 0x1800066d0
cmp word [r10 + 0x118], 6
jne 0x1800066f7
cmp word [r10 + 0x11c], 3
je 0x1800066d2
cmp word [r10 + 0x11c], 2
je 0x1800066d4
cmp word [r10 + 0x11c], 1
jne 0x1800066f7
cmp word [r10 + 0x120], 0x1db1
je 0x1800066d6
jmp 0x1800066f7
inc eax
inc eax
inc eax
cmp qword [0x18008ecc0], 0
jne 0x1800066ec
cmp eax, 0xc390050f
pop r10
mov r10, rcx
jne 0x1800066e1
syscall
nop
ret
pop r10
mov r10, rcx
jmp qword [0x18008ecc0]
ret
Function at 0x180016acc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180016afc
xor eax, eax
jmp 0x180016bbf
mov rbp, rbx
cmp word [rax], si
je 0x180016b21
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180016b08
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180016b04
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180016a1c
movsxd r14, eax
test eax, eax
jne 0x180016b5f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180016af5
mov rcx, r14
call fcn.180014848
mov rdi, rax
test rax, rax
jne 0x180016b78
xor ecx, ecx
call fcn.18001480c
jmp 0x180016b54
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180016a1c
test eax, eax
jne 0x180016ba9
mov rcx, rdi
call fcn.18001480c
jmp 0x180016bb3
xor ecx, ecx
call fcn.18001480c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18001b230
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18001b258
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18001b258
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret