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

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.140061e20
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140061e20
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140051372
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140077c28]
test eax, eax
je 0x14005140a
lea rax, [0x140077c00]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140077c30]
mov qword [rbp - 8], rax
jmp 0x1400513ee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400513e2
cmp qword [rbp - 0x10], 0
je 0x1400513e2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400513a8
lea rax, [0x140077c00]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14005140b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140051510
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140051538
mov eax, 0
jmp 0x140051586
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140051561
mov eax, 0
jmp 0x140051586
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140051581
mov eax, 0
jmp 0x140051586
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14005158c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14005160a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140051601
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140051601
mov rax, qword [rbp - 8]
jmp 0x14005161f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400515d4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400111f9
Capabilities:
Terminate process

Disassembly:
jmp 0x140012fb0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011280
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400142f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014310
xor al, al
jmp 0x140014391
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014323
xor al, al
jmp 0x140014391
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001434d
xor al, al
jmp 0x140014391
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014361
xor al, al
jmp 0x140014391
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014373
xor al, al
jmp 0x140014391
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001438f
xor al, al
jmp 0x140014391
mov al, 1
add rsp, 0x38
ret
Function at 0x1800034f0
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 0x180003516
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
dec rcx
call fcn.1800034f0
movzx edx, word [rdi + rbx*2]
mov ecx, eax
mov rbx, qword [rsp + 0x30]
xor rdx, rcx
movzx ecx, dl
lea rdx, [0x18002b730]
shr eax, 8
xor eax, dword [rdx + rcx*4]
add rsp, 0x20
pop rdi
ret

Function at 0x180003570
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180003596
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
dec rcx
mov qword [rsp + 0x38], rdi
call fcn.180003570
movsx ebx, byte [rbx + rsi]
mov edi, eax
call fcn.180003550
mov byte [rsp + 0x30], al
movzx edx, bl
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x40], 0x25ba30f0
mov r8d, dword [rsp + 0x40]
movzx ecx, byte [rsp + 0x30]
xor r8d, 0xf07
movsx eax, byte [rsp + 0x30]
sub dl, cl
xor r8b, 0xed
cmp dl, r8b
mov edx, ebx
mov rbx, qword [rsp + 0x48]
sbb ecx, ecx
add eax, 0xbe
and ecx, 0x20
or edx, ecx
lea rcx, [0x18002b730]
xor edx, edi
shr edi, 8
and rax, rdx
xor edi, dword [rcx + rax*4]
mov eax, edi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret

Function at 0x180003620
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180003646
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
dec rcx
mov qword [rsp + 0x38], rdi
call fcn.180003620
movzx ebx, word [rsi + rbx*2]
mov edi, eax
call fcn.180003550
mov byte [rsp + 0x30], al
movzx ecx, bx
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x40], 0x45ef0d74
mov r8d, dword [rsp + 0x40]
movsx edx, byte [rsp + 0x30]
xor r8d, 0xf07
sub cx, dx
xor r8b, 0x69
movsx edx, byte [rsp + 0x30]
movzx eax, r8b
cmp cx, ax
sbb ax, ax
add edx, 0xbe
and ax, 0x20
or bx, ax
lea rax, [0x18002b730]
movzx ecx, bx
mov rbx, qword [rsp + 0x48]
xor rcx, rdi
shr edi, 8
and rdx, rcx
xor edi, dword [rax + rdx*4]
mov eax, edi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x180003850
Capabilities:
Hash data with crc32

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x180030010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, r8
mov r14, rdx
mov rsi, rcx
xor ebx, ebx
mov qword [rbp + 0xf], rbx
mov dword [rbp - 0x49], 0xd6976a9c
mov dword [rbp - 0x45], 0xbe76fc5d
mov dword [rbp - 0x41], 0xb7debb54
mov dword [rbp - 0x3d], 0x88342dba
mov dword [rbp - 0x39], 0xa16e6109
mov dword [rbp - 0x35], 0xc19bf1a1
mov dword [rbp - 0x31], 0xb5e4e2f0
mov dword [rbp - 0x2d], 0xaf017025
mov dword [rbp - 0x29], 0x45a6bd31
mov eax, 0xcb3
mov word [rbp - 0x25], ax
lea r9d, [rbx + 0x26]
lea r8d, [rbx + 0x1c]
mov word [rsp + 0x20], 0x2b
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x19]
call fcn.180003b90
lea rax, [rbp - 0x19]
mov qword [rbp - 0x21], rax
mov qword [rdi], rbx
mov ecx, dword [0x1800c55e4]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1800c6384], ecx
jle 0x1800039b9
lea rcx, [0x1800c6384]
call fcn.180006fc8
cmp dword [0x1800c6384], 0xffffffff
jne 0x1800039b9
mov rbx, qword [rbp - 0x21]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x180003940
dec r8
cmp r8, 0xffffffffffffffff
jne 0x18000395b
mov eax, 0xffffffff
jmp 0x180003983
lea rcx, [r8 - 1]
mov rdx, rbx
call fcn.1800034f0
movzx edx, word [rbx + r8*2]
mov ecx, eax
xor rdx, rcx
movzx r8d, dl
lea rcx, [0x18002b730]
shr eax, 8
xor eax, dword [rcx + r8*4]
not eax
mov ecx, eax
call fcn.180005f20
test rax, rax
jne 0x180003999
mov rcx, rbx
call fcn.180005ac0
mov edx, 0x21a6c8fd
mov rcx, rax
call fcn.1800060c0
mov qword [0x1800c6388], rax
lea rcx, [0x1800c6384]
call fcn.180006f5c
mov rax, qword [0x1800c6388]
test rax, rax
je 0x1800039f3
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], r14
lea r9, [rbp + 0xf]
mov r8d, 1
lea rdx, [rbp + 0x17]
mov ecx, r8d
call rax
test eax, eax
jne 0x1800039f3
mov rcx, qword [rbp + 0xf]
mov qword [rdi], rcx
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x1800039f5
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180006f00
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180003a10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x180030010]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r15d, r15d
mov dword [rbp - 0x39], 0xe4f9df3a
mov rdi, r8
mov qword [rbp + 0x1f], r15
mov r14, rdx
mov dword [rbp - 0x35], 0x23b4073f
mov rsi, rcx
mov dword [rbp - 0x31], 0xcd3682b8
mov eax, 0xaaa4
mov dword [rbp - 0x2d], 0x7c376dba
lea r9d, [r15 + 0x39]
mov dword [rbp - 0x29], 0xd7976431
lea r8d, [r15 + 0x33]
mov dword [rbp - 0x25], 0x3ec56a67
lea rdx, [rbp - 0x39]
mov dword [rbp - 0x21], 0xae7c0fd8
lea rcx, [rbp - 9]
mov dword [rbp - 0x1d], 0x6f1647ae
mov dword [rbp - 0x19], 0x16204e5e
mov word [rbp - 0x15], ax
mov word [rsp + 0x20], 0x25
call fcn.180003b90
lea rax, [rbp - 9]
mov qword [rdi], r15
mov qword [rbp - 0x11], rax
mov r8, 0xffffffffffffffff
mov rbx, qword [rbp - 0x11]
inc r8
cmp word [rbx + r8*2], r15w
jne 0x180003ac0
dec r8
cmp r8, 0xffffffffffffffff
jne 0x180003ada
mov eax, 0xffffffff
jmp 0x180003b00
lea rcx, [r8 - 1]
mov rdx, rbx
call fcn.1800034f0
movzx edx, word [rbx + r8*2]
mov ecx, eax
xor rdx, rcx
shr eax, 8
movzx ecx, dl
lea rdx, [0x18002b730]
xor eax, dword [rdx + rcx*4]
not eax
mov ecx, eax
call fcn.180005f20
test rax, rax
jne 0x180003b16
mov rcx, rbx
call fcn.180005ac0
mov edx, 0x7afc5d9d
mov rcx, rax
call fcn.1800060c0
test rax, rax
je 0x180003b62
mov qword [rsp + 0x38], r15
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0x30], rcx
xor r9d, r9d
mov dword [rsp + 0x28], r15d
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], r15
lea r8d, [r9 + 1]
call rax
test eax, eax
jne 0x180003b62
mov rcx, qword [rbp + 0x1f]
mov qword [rdi], rcx
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x180003b64
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180006f00
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180003f20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r15
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x180030010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov r9d, 0x26
mov dword [rbp - 0x19], 0xd6cf6a8f
mov eax, 0xf1d3
mov dword [rbp - 0x15], 0xbe76fc4a
lea rdx, [rbp - 0x19]
mov dword [rbp - 0x11], 0xb7dabb57
lea rcx, [rbp + 0x17]
mov dword [rbp - 0xd], 0x88392de4
lea r8d, [r9 - 0xa]
mov dword [rbp - 9], 0xa1676109
mov word [rbp - 5], ax
mov word [rsp + 0x20], 0x2b
call fcn.180004140
lea rax, [rbp + 0x17]
mov rbx, 0xffffffffffffffff
mov qword [rbp + 0x3f], rax
mov r8, rbx
mov rsi, qword [rbp + 0x3f]
nop
inc r8
cmp word [rsi + r8*2], 0
jne 0x180003fb0
dec r8
lea r15, [0x18002b730]
mov edi, 0xffffffff
cmp r8, rbx
jne 0x180003fd3
mov eax, edi
jmp 0x180003ff4
lea rcx, [r8 - 1]
mov rdx, rsi
call fcn.1800034f0
movzx edx, word [rsi + r8*2]
mov ecx, eax
xor rdx, rcx
shr eax, 8
movzx r8d, dl
xor eax, dword [r15 + r8*4]
not eax
mov ecx, eax
call fcn.180005f20
test rax, rax
jne 0x18000400a
mov rcx, rsi
call fcn.180005ac0
mov edx, 0x1bb06e09
mov rcx, rax
call fcn.1800060c0
test rax, rax
je 0x18000410d
lea r8, [rbp + 0x3f]
mov qword [rbp + 0x2f], 0
lea rdx, [rbp + 0x2f]
mov dword [rbp + 0x3f], 0
xor ecx, ecx
call rax
cmp dword [rbp + 0x3f], 3
je 0x18000410d
mov r9d, 0x39
mov dword [rbp - 1], 0xe4b9df3a
lea rdx, [rbp - 1]
mov dword [rbp + 3], 0x23b20729
lea rcx, [rbp - 0x19]
mov dword [rbp + 7], 0xcd7582b0
mov dword [rbp + 0xb], 0x7c326dae
lea r8d, [r9 - 6]
mov dword [rbp + 0xf], 0xd7f26431
mov word [rsp + 0x20], 0x25
call fcn.180004350
lea rax, [rbp - 0x19]
mov qword [rbp + 0x2f], rax
mov rsi, qword [rbp + 0x2f]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x180004092
dec rbx
cmp rbx, 0xffffffffffffffff
je 0x1800040c7
lea rcx, [rbx - 1]
mov rdx, rsi
call fcn.1800034f0
movzx edx, word [rsi + rbx*2]
mov ecx, eax
xor rdx, rcx
mov edi, eax
movzx r8d, dl
shr edi, 8
xor edi, dword [r15 + r8*4]
not edi
mov ecx, edi
call fcn.180005f20
test rax, rax
jne 0x1800040dd
mov rcx, rsi
call fcn.180005ac0
mov edx, 0xb70a5108
mov rcx, rax
call fcn.1800060c0
test rax, rax
je 0x18000410d
lea rdx, [rbp + 0x37]
mov qword [rbp + 0x37], 0
xor ecx, ecx
call rax
cmp qword [rbp + 0x37], 0
jne 0x18000410d
mov eax, 1
jmp 0x18000410f
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.180006f00
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x180004e40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x180030010]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov eax, edx
lea r8, [rbp - 0x18]
mov r9d, 8
mov qword [rbp - 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x30], 0
mov rcx, 0xffffffffffffffff
mov qword [rbp], rax
mov dword [rbp - 0x18], 8
lea edx, [r9 + 0x2c]
mov dword [rbp - 0x14], 5
call fcn.180006e86
mov r9d, 0x26
mov qword [rbp - 8], 0
mov eax, 0x1a32
mov dword [rsp + 0x40], 0xd69e6abb
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x44], 0xbe42fc65
lea rcx, [rbp - 0x70]
mov dword [rsp + 0x48], 0xb7ddbb52
lea r8d, [r9 - 0xa]
mov dword [rsp + 0x4c], 0x88322dae
mov dword [rsp + 0x50], 0xa1786112
mov dword [rsp + 0x54], 0xc197f18f
mov dword [rsp + 0x58], 0xb5a0e2bd
mov dword [rsp + 0x5c], 0xaf00707f
mov dword [rsp + 0x60], 0x45f9bd30
mov dword [rsp + 0x64], 0x96670c81
mov dword [rsp + 0x68], 0x2f5c5742
mov dword [rsp + 0x6c], 0x60be92d6
mov dword [rsp + 0x70], 0xf81e7eee
mov dword [rsp + 0x74], 0xe5946698
mov dword [rsp + 0x78], 0x23440cc6
mov dword [rsp + 0x7c], 0xa44cc861
mov word [rbp - 0x80], ax
mov word [rsp + 0x20], 0x2b
call fcn.180005280
lea rax, [rbp - 0x70]
mov qword [rbp - 0x18], rax
mov r8, qword [rbp - 0x18]
mov rdx, qword [rbp - 8]
call fcn.180004af0
xor edx, edx
lea rcx, [rbp + 0x20]
mov r8d, 0x208
call fcn.18000c5b0
mov edx, 0x104
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov rax, qword [0x1800c6278]
test rax, rax
jne 0x180004fb8
mov ecx, 0x84c05e40
call fcn.180005f20
mov edx, 0xfa2a9aa9
mov rcx, rax
call fcn.1800060c0
mov qword [0x1800c6278], rax
test rax, rax
je 0x180005000
cmp qword [0x1800c6280], 0
jne 0x180004fec
mov ecx, 0x84c05e40
call fcn.180005f20
mov edx, 0x374af1aa
mov rcx, rax
call fcn.1800060c0
mov qword [0x1800c6280], rax
test rax, rax
je 0x180005000
mov rax, qword [0x1800c6278]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 8]
call rax
lea rcx, [rbp + 8]
call qword [0x1800c6280]
lea rax, [rbp - 0x10]
mov dword [rbp - 0x10], 0
mov r9d, 0x20
mov qword [rsp + 0x20], rax
lea r8, [rbp]
mov rcx, 0xffffffffffffffff
lea rdx, [rbp - 0x20]
call fcn.180006d34
test eax, eax
jne 0x180005084
mov ecx, 0x6ae69f02
call fcn.180005f20
mov edx, 0xf33c2ac
mov rcx, rax
call fcn.1800060c0
mov qword [0x1800c6240], rax
test rax, rax
je 0x180005060
xor r8d, r8d
lea rdx, [0x1800047c0]
call fcn.180004640
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.1800050b0
test eax, eax
jne 0x180005084
lea rdx, [rbp - 8]
mov qword [rbp - 8], 0xfffffffffff85ee0
xor ecx, ecx
call fcn.180006dc3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.180006f00
mov rbx, qword [rsp + 0x360]
add rsp, 0x340
pop rbp
ret
Function at 0x1800063d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.180005f20
mov edx, ebx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.1800060c0
Function at 0x1800067e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x180030010]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor r15d, r15d
mov ebp, edx
mov r14, r8
mov dword [r8], r15d
mov rsi, rcx
mov qword [rsp + 0x78], r15
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0xe492408b
lea r9d, [r15 + 0x31]
mov dword [rsp + 0x44], 0x5e2e0aa4
lea r8d, [r15 + 0x44]
mov dword [rsp + 0x48], 0x32bce5ad
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x4c], 0x1f95c167
mov dword [rsp + 0x50], 0x92e9be7c
mov dword [rsp + 0x54], 0x3557c814
mov word [rsp + 0x20], 0x34
call fcn.180005880
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x58]
nop dword [rax]
inc r8
cmp word [rbx + r8*2], r15w
jne 0x180006880
dec r8
cmp r8, 0xffffffffffffffff
jne 0x18000689a
mov eax, 0xffffffff
jmp 0x1800068c0
lea rcx, [r8 - 1]
mov rdx, rbx
call fcn.1800034f0
movzx edx, word [rbx + r8*2]
mov ecx, eax
xor rdx, rcx
shr eax, 8
movzx ecx, dl
lea rdx, [0x18002b730]
xor eax, dword [rdx + rcx*4]
not eax
mov ecx, eax
call fcn.180005f20
test rax, rax
jne 0x1800068d6
mov rcx, rbx
call fcn.180005ac0
mov edx, 0xc651d8aa
mov rcx, rax
call fcn.1800060c0
mov rdi, rax
test rax, rax
je 0x18000698d
test rsi, rsi
jne 0x1800068f9
mov ebx, r15d
jmp 0x180006907
mov rdx, rbp
mov rcx, rsi
call fcn.180010d38
mov rbx, rax
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov edx, ebx
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea r8d, [r9 + 6]
call rdi
test eax, eax
je 0x18000698d
mov eax, dword [r14]
lea r9, [rsp + 0x80]
xor r8d, r8d
mov dword [rsp + 0x28], 4
inc rax
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x80], rax
lea rcx, [r8 - 1]
call fcn.180006cf3
test eax, eax
jne 0x18000698d
mov r9, qword [rsp + 0x78]
lea r8d, [rax + 6]
mov qword [rsp + 0x30], r15
mov edx, ebx
mov qword [rsp + 0x28], r15
mov rcx, rsi
mov qword [rsp + 0x20], r14
call rdi
test eax, eax
je 0x18000698d
mov rax, qword [rsp + 0x78]
jmp 0x18000698f
xor eax, eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180006f00
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x180006c20
Capabilities:
Check os version
Execute syscall

Disassembly:
xor al, 0x5a
mov r10, qword gs:[0x60]
cmp word [r10 + 0x118], 0xa
je 0x180006c70
cmp word [r10 + 0x118], 6
jne 0x180006c97
cmp word [r10 + 0x11c], 3
je 0x180006c72
cmp word [r10 + 0x11c], 2
je 0x180006c74
cmp word [r10 + 0x11c], 1
jne 0x180006c97
cmp word [r10 + 0x120], 0x1db1
je 0x180006c76
jmp 0x180006c97
inc eax
inc eax
inc eax
cmp qword [0x1800c6210], 0
jne 0x180006c8c
cmp eax, 0xc390050f
pop r10
mov r10, rcx
jne 0x180006c81
syscall
nop
ret
pop r10
mov r10, rcx
jmp qword [0x1800c6210]
ret
Function at 0x180016e8c
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 0x180016ebc
xor eax, eax
jmp 0x180016f7f
mov rbp, rbx
cmp word [rax], si
je 0x180016ee1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180016ec8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180016ec4
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.180016ddc
movsxd r14, eax
test eax, eax
jne 0x180016f1f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180016eb5
mov rcx, r14
call fcn.180014c08
mov rdi, rax
test rax, rax
jne 0x180016f38
xor ecx, ecx
call fcn.180014bcc
jmp 0x180016f14
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.180016ddc
test eax, eax
jne 0x180016f69
mov rcx, rdi
call fcn.180014bcc
jmp 0x180016f73
xor ecx, ecx
call fcn.180014bcc
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 0x18001b5f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18001b618
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18001b618
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400185b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140018640
cmp r11, r10
ja 0x1400186b6
cmp r10, rdx
ja 0x1400186ca
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140018642
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140018620
jmp 0x1400186a4
ja 0x14001864a
mov r11, r10
cmp rax, r8
jne 0x1400185e4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140018680
mov rdi, r8
sub ecx, edx
jns 0x14001869b
jmp 0x1400186a6
cmp r8, rsi
je 0x1400186db
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400186a6
xor al, 1
cmp rdi, rsi
jne 0x140018660
jmp 0x1400186a6
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str._a_r_
mov rcx, r11
mov rdx, r10
call fcn.1400ce2a0
ud2
lea r8, str._a_r_
mov rcx, r10
call fcn.1400ce010
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400ce090
ud2

Function at 0x140023a5e
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.140035e1c
test rbx, rbx
je 0x140023a97
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140023ab1
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140023aa9

Function at 0x140023ab1
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140023ad7
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x140023ac1
mov qword [rcx], rax
ret