joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fe70
Capabilities:
Create directory
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push r14
lea rbp, [rsp - 0x238]
sub rsp, 0x338
mov rax, qword [0x1400790f0]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rsi, r9
mov r14, r8
mov ebx, ecx
call fcn.14000efe0
test eax, eax
js 0x1400100f2
mov rcx, qword [0x14007e818]
mov qword [rsp + 0x330], rdi
mov edi, 1
mov edx, edi
test rcx, rcx
je 0x14000feda
mov eax, edx
inc edx
cmp eax, ebx
je 0x14000feda
mov rcx, qword [rcx + 0x80]
test rcx, rcx
jne 0x14000fec6
mov qword [0x14007e040], rcx
test rcx, rcx
jne 0x14000ff07
xor r9d, r9d
lea r8, str.Debug_1
lea rdx, [0x14006c4f8]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0xffffffae
jmp 0x1400100ea
mov r8d, 0xff
mov qword [rsp + 0x320], r15
mov rdx, r14
mov rcx, rsi
call fcn.14003f0f0
lea rcx, [rsi - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14000ff24
movsd xmm0, qword [str.DfmGbexpt9f]
mov r8d, 0xff
movsd qword [rcx], xmm0
mov rdx, rsi
mov eax, dword [0x14006c518]
mov dword [rcx + 8], eax
movzx eax, byte [0x14006c51c]
mov byte [rcx + 0xc], al
lea rcx, [rbp + 0x110]
call fcn.14003f0f0
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x110]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor r15d, r15d
cmp rax, 0xffffffffffffffff
je 0x14000ff8d
mov ebx, dword [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
and ebx, 0x10
jne 0x14000ffb1
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x18
lea rcx, [rbp + 0x110]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x40], r15d
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp byte [0x14007e718], r15b
lea rdx, [0x14007e718]
mov r8d, 0xff
mov rcx, rsi
cmove rdx, r15
call fcn.14003f0f0
mov rax, qword [0x14007e040]
movsx ecx, word [rax + 0xa]
test cx, cx
je 0x1400100dc
xorps xmm0, xmm0
mov dword [rsp + 0x28], r15d
mov r14d, ecx
mov qword [rbp - 0x78], r15
lea rax, [rsp + 0x48]
mov qword [rbp - 0x70], r15
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov edx, 0x8000
mov r9d, 0x180
mov r8d, 0x40
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
call fcn.14003dbf4
mov esi, dword [rsp + 0x48]
test eax, eax
mov ecx, 0xffffffff
cmovne esi, ecx
cmp esi, ecx
je 0x1400100d0
mov r8d, 0x80
mov qword [rsp + 0x328], r12
lea rdx, [rsp + 0x50]
mov ecx, esi
call fcn.14003b9c4
movsx ebx, word [rsp + 0x52]
mov r12d, 0x721
add ebx, 2
cmp ebx, edi
jle 0x14001009a
nop word [rax + rax]
mov r8d, 0x80
lea rdx, [rsp + 0x50]
mov ecx, esi
inc edi
call fcn.14003b9c4
cmp word [rsp + 0x50], r12w
jne 0x140010096
movzx eax, word [rsp + 0x5c]
cmp eax, r14d
je 0x14001009a
cmp edi, ebx
jl 0x140010070
mov ecx, esi
call fcn.14003cd04
cmp word [rsp + 0x50], r12w
mov r12, qword [rsp + 0x328]
jne 0x1400100d0
movsx ecx, word [rsp + 0x52]
mov rax, qword [0x14007e040]
mov word [rax + 0xc], cx
cmp ecx, 1
jl 0x1400100dc
cmp ecx, 0x14b
jle 0x1400100e0
jmp 0x1400100dc
mov rax, qword [0x14007e040]
mov word [rax + 0xc], r15w
movsx ecx, word [rax + 0xc]
mov r15, qword [rsp + 0x320]
mov eax, ecx
mov rdi, qword [rsp + 0x330]
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140013940
add rsp, 0x338
pop r14
pop rsi
pop rbx
pop rbp
ret
Function at 0x140010c50
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x1400790f0]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov r15d, r9d
mov rsi, r8
mov r14, rdx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8, rsi
mov dword [rsp + 0x20], r15d
mov r9d, eax
lea rdx, str._sDfmGbe_x_d
lea rcx, [rbp + 0x190]
call fcn.14000d3f0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor edi, edi
cmp rax, 0xffffffffffffffff
je 0x140010cd5
mov ebx, dword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
and ebx, 0x10
jne 0x140010cf8
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x18
lea rcx, [rbp + 0x190]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x40], edi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov r9d, r15d
lea rdx, str._sPerk__d.Pe
mov r8, rsi
lea rcx, [rbp + 0x90]
call fcn.14000d3f0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x140010d6e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [rsp + 0x70], edi
je 0x140010d6e
lea rdx, [0x14006c2a4]
lea rcx, [rbp + 0x90]
call fcn.14003cc2c
mov rbx, rax
test rax, rax
je 0x140010d5e
mov rcx, rax
call fcn.14000bba0
mov rdi, rax
mov rcx, rbx
call fcn.140036c6c
mov rax, rdi
jmp 0x140010ead
mov r9d, r15d
lea rdx, str._sSlay__d.gbr
mov r8, rsi
lea rcx, [rbp + 0x90]
call fcn.14000d3f0
mov rcx, qword [0x14007db40]
lea r8, [rbp + 0x90]
mov r9d, r15d
mov rdx, r14
call fcn.14000e6d0
mov edx, 0x14
lea rcx, [rbp + 0x90]
call fcn.14000e9d0
mov rdx, qword [0x14007db40]
lea r9, [rbp + 0x190]
lea r8, [rbp + 0x90]
mov dword [rsp + 0x20], r15d
call fcn.14000f740
mov rbx, rax
mov r8d, 1
mov r10, rax
test rax, rax
je 0x140010e15
mov rcx, qword [r10 + 0x20]
inc edi
mov dword [r10 + 4], edi
test rcx, rcx
je 0x140010e0c
cmp word [rcx], 0x48
lea eax, [r8 + 1]
mov dword [rcx + 4], r8d
mov rcx, qword [rcx + 0x10]
cmove eax, r8d
mov r8d, eax
test rcx, rcx
jne 0x140010df0
mov r10, qword [r10 + 0x30]
test r10, r10
jne 0x140010de1
mov r8, qword [0x14007db60]
lea rdx, str._sPerk__d.Pe
mov r9d, r15d
lea rcx, [rbp + 0x90]
call fcn.14000d3f0
mov r8d, 0xff
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.14003f0f0
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000b9d0
mov edx, 0x2e
lea rcx, [rsp + 0x50]
call fcn.140031bd0
lea rcx, [rsp + 0x50]
dec rcx
mov byte [rax], 0
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140010e70
mov eax, dword [str..gbr]
lea rdx, [rsp + 0x50]
mov dword [rcx], eax
mov r8, rbx
movzx eax, byte [0x14006c49c]
mov byte [rcx + 4], al
call fcn.14000fb70
mov edx, 5
lea rcx, [rbp + 0x90]
call fcn.14000e9d0
mov rax, rbx
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140013940
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x3a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001708c
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14001709f
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1400176a0
lea rdx, [0x140077438]
lea rcx, [rsp + 0x20]
call fcn.140031d00
int3

Function at 0x140021830
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x14007ccb0]
xor edx, edx
jmp fcn.14001708c

Function at 0x1400221a8
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x14007ccb0]
jmp fcn.14001708c

Function at 0x14002d96c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14002da28]
mov r9, qword [r9 + 8]
jmp fcn.14001f248

Function at 0x14002da00
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14002da38]
mov r9, qword [r9 + 8]
jmp fcn.14001f248

Function at 0x140043270
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14004309c
Function at 0x140005050
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x490], rbx
mov rax, qword [0x14004d010]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [rcx + 0x10]
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]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400050c0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14000513a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400050eb
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14003c2c0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14000513a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14000513d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14000514a
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140005162
inc rbx
test eax, eax
jne 0x140005150
test ecx, ecx
mov rcx, rsi
je 0x1400051c2
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400050b1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400051be
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400051b9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005239
mov rcx, r8
call fcn.14003b6ac
xor eax, eax
jmp 0x140005205
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140005202
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400051fd
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005239
mov rcx, r8
call fcn.14003b6ac
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.14003b210
mov rbx, qword [rbp + 0x490]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140005410
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x14004d010]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140005490
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14000550a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400054bb
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14003c2c0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14000550a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14000550d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14000551a
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140005532
inc rbx
test eax, eax
jne 0x140005520
test ecx, ecx
mov rcx, rsi
je 0x140005592
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140005480
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000558e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140005589
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005613
mov rcx, r8
call fcn.14003b6ac
xor eax, eax
jmp 0x1400055d3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rbp + 8]
cmp rdx, 0x10
jb 0x1400055d1
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400055cc
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005613
mov rcx, r8
call fcn.14003b6ac
mov eax, ebx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.14003b210
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
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 0x140007f70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140007fcd
lea rbx, [0x14003ec70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140007fb4
cmp r10, 2
jb 0x140007fb4
cmp byte [r9], r8b
jne 0x140007fb4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140007f90
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000800f
lea rbx, [0x14003ec70]
cmp r8b, 0x23
jne 0x140007ff3
cmp byte [r9], r8b
jne 0x140007ff3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140007fe0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140008150
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000816a
mov qword [r8], 0
lea rdx, [0x1400441b0]
call fcn.140008020
mov rbx, rax
test rax, rax
jne 0x14000818a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140008261
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140008261
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140008261
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140008261
cmp rdi, 0xffffffffffffffff
je 0x140008261
mov rax, qword [0x14004dfa0]
test rax, rax
je 0x1400081fe
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140008261
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000824e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004dfa0]
test rax, rax
je 0x140008243
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000826a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000825c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000826c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14000b170
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x14003ec70]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f40], ebx
jne 0x14000b206
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001d920
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140016e40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004d010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14004dfa0]
mov edi, ecx
cmp byte [rbx + 0x4a9d], 0
jne 0x140016ea1
cmp byte [rbx + 0x4a9e], 0
jne 0x140016ea1
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140007ef0
test dil, 1
je 0x140016fcf
jmp 0x140016f2a
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140044dd8]
mulss xmm1, dword [0x140044dcc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47e8], rax
mov dword [rbx + 0x47d4], 1
movss dword [rbx + 0x47e0], xmm0
movss dword [rbx + 0x47e4], xmm1
movss xmm0, dword [rbx + 0x3904]
mulss xmm0, dword [0x140044d1c]
or dword [rbx + 0x47d0], 0x41
movss dword [rbx + 0x4830], xmm0
call fcn.140007ef0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140016f80
lea r11, [0x14003ec70]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140016f63
cmp byte [r8], r9b
jne 0x140016f63
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140016f50
not ecx
call fcn.14000e750
test rax, rax
je 0x140016fcf
cmp byte [rax + 0xb6], 0
je 0x140016fcf
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc2]
movsx r9d, word [rbx + 0x5bc2]
call fcn.140007ef0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140010fb0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003b210
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001c260
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001c307
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001c2ba
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001e530
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400085b0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14004df98]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001c30f
mov rcx, rbx
call fcn.1400085b0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001c790
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14004dfa0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001c7f3
mov qword [rsp], rbx
lea rbx, [0x14003ec70]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001c7d3
cmp byte [r8], r9b
jne 0x14001c7d3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001c7c0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001c827
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001c82e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001c814
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14003bea4
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x500
mov rbx, qword [rdx + 8]
mov dword [rsp + 0x60], 0x100002
mov qword [rsp + 0x28], r8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
mov r8, qword [rsp + 0x28]
je 0x40157f
mov qword [rsp + 0xb0], r8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x40157f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
add rsp, 0x500
pop rbx
ret

Function at 0x401628
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x8f8
test r8, r8
mov r12, rcx
mov ebx, edx
mov r13, r8
je 0x40164a
cmp byte [r8], 0
jne 0x401655
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x40170d
lea rsi, [rsp + 0x870]
xor eax, eax
mov ecx, 0x1a
lea rbp, [rsp + 0x8d8]
mov r8d, 0x400
lea rdx, [rsp + 0x70]
mov rdi, rsi
rep stosd dword [rdi], eax
mov rdi, rbp
mov dword [rsp + 0x870], 0x68
mov cl, 6
rep stosd dword [rdi], eax
lea rcx, str.windir
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea r9, [rsp + 0x70]
lea r8, str._sSystem32_s
mov edx, 0x400
lea rcx, [rsp + 0x470]
mov qword [rsp + 0x20], r13
call qword [sym.imp.msvcrt.dll__snprintf]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rsi
lea rdx, [rsp + 0x470]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40173a
mov rax, qword [rsp + 0x8d8]
test rax, rax
je 0x40173a
lea rdi, [rsp + 0x50]
lea rsi, [rsp + 0x8d8]
mov ecx, 6
rep movsd dword [rdi], dword [rsi]
lea rdx, [rsp + 0x50]
movsxd r9, ebx
mov r8, r12
mov rcx, rax
call fcn.00401588
nop
add rsp, 0x8f8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
jmp 0x401763
and ecx, 3
mov cl, byte [r8 + rcx]
xor byte [rbx + rax], cl
inc rax
cmp eax, edx
mov ecx, eax
jl 0x401756
mov rcx, rbx
mov dword [rsp + 0x28], edx
call fcn.004014f0
mov edx, dword [rsp + 0x28]
lea r8, str.rundll32.exe
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp 0x401628