joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d8a9b00
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8ca5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8a9c88
mov rax, qword [0x6d8ca5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8a9b4c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8a9bd5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8a9b30
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8a9cbd
mov rax, qword [0x6d8ca5e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d8ca5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8a9ca0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8a9bce
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8a9c30
add dword [0x6d8ca5e4], 1
cmp edi, 8
jae 0x6d8a9c03
test dil, 4
jne 0x6d8a9c74
test edi, edi
je 0x6d8a9bf8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8a9c8f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d8a9bf8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d8a9c1c
jmp 0x6d8a9bf8
add rsi, qword [0x6d8ca5e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d8a9bce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d8a9bf8
xor esi, esi
jmp 0x6d8a9b57
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8a9bf8
mov rax, qword [0x6d8ca5e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d8aa410
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8ca8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8ca8a0]
test rbx, rbx
je 0x6d8aa464
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d8aa45b
test rsi, rsi
je 0x6d8aa45b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8aa440
lea rcx, [0x6d8ca8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d8aa6a0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d8aa6b0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d8aa6c0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d8aa701
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d8aa6f8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d8aa703
add rax, 0x28
cmp rax, r9
jne 0x6d8aa6e4
xor eax, eax
ret

Function at 0x6d8aa7a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8c71f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d8aa80d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8aa80d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8aa80d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8aa804
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8aa80f
add rax, 0x28
cmp rax, r9
jne 0x6d8aa7f0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d8aa910
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8c71f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d8aa930
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8aa928
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8aa98d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8aa984
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8aa994
add rax, 0x28
cmp rax, r9
jne 0x6d8aa970
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8aa9b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8c71f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d8aaa1e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8aaa1e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d8aaa1e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d8aaa1e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d8aaa15
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d8aaa25
add rcx, 0x28
cmp rcx, rax
jne 0x6d8aaa00
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d8aaa38
jmp 0x6d8aaa1e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d8aaa46
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d8aaa1e
test r9d, r9d
jg 0x6d8aaa30
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8aadb0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x180004f40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, 0xffffffff
test edx, edx
je 0x180004f7e
mov r9d, edx
lea r10, [0x180104ff0]
nop dword [rax]
nop word [rax + rax]
movzx r8d, word [rcx]
lea rcx, [rcx + 2]
mov edx, eax
shr eax, 8
xor r8, rdx
movzx edx, r8b
xor eax, dword [r10 + rdx*4]
sub r9, 1
jne 0x180004f60
not eax
ret
Function at 0x18000c5b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test rcx, rcx
je 0x18000c610
mov r8, qword [rcx]
test r8, r8
je 0x18000c610
mov r8, qword [r8 + 0x10]
mov eax, 0xffffffff
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18000c5d0
test ecx, ecx
je 0x18000c60d
mov r9d, ecx
lea r10, [0x180104ff0]
nop dword [rax + rax]
movsx edx, byte [r8]
lea r8, [r8 + 1]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [r10 + rcx*4]
sub r9, 1
jne 0x18000c5f0
not eax
ret
xor eax, eax
ret

Function at 0x18000cef0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
test rcx, rcx
jne 0x18000cefd
xor eax, eax
jmp 0x18000cf76
mov r9, qword [rcx]
test r9, r9
jne 0x18000cf09
xor eax, eax
jmp 0x18000cf76
mov r9, qword [r9 + 0x10]
test r9, r9
jne 0x18000cf16
xor eax, eax
jmp 0x18000cf76
mov r10, r9
mov qword [rsp + 8], r9
xor edx, edx
mov r8d, 0xffffffff
lea r11, [0x180104ff0]
mov dword [rsp], edx
mov ecx, r8d
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x18000cf40
cmp edx, eax
jae 0x18000cf6c
movsx eax, byte [r10]
xor rax, rcx
movzx ecx, al
shr r8d, 8
xor r8d, dword [r11 + rcx*4]
inc r10
mov qword [rsp + 8], r10
inc edx
jmp 0x18000cf2d
not r8d
mov eax, r8d
jmp 0x18000cf76
add rsp, 0x18
ret

Function at 0x18000d300
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x180146430], 0
mov rbx, rcx
je 0x18000d371
mov ecx, dword [0x1801464fc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000d371
cmp dword [0x180146448], 1
jne 0x18000d371
lea rcx, [rbx + 0xb0]
cmp rcx, 0x40000
jbe 0x18000d371
lea rax, [rcx + 8]
movabs rdx, 0x7fffffff0000
cmp rax, rdx
jae 0x18000d371
mov rcx, qword [rcx]
add rcx, 0x1fc
cmp rcx, 0x40000
jbe 0x18000d371
lea rax, [rcx + 4]
cmp rax, rdx
jae 0x18000d371
mov dword [rcx], 0x3c23d70a
add rsp, 0x20
pop rbx
ret

Function at 0x180011980
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
cmp byte [0x180146344], 0
jne 0x1800119e0
lea rcx, [rsp + 0x30]
mov byte [0x180146344], 1
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm0, qword [rsp + 0x38]
cvtsi2ss xmm1, qword [rsp + 0x30]
movss dword [0x180146550], xmm0
movss dword [0x18014639c], xmm1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x30]
subss xmm0, dword [0x18014639c]
divss xmm0, dword [0x180146550]
add rsp, 0x28
ret
Function at 0x1800138a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x70
call fcn.18000e000
mov rcx, rax
call fcn.18000df10
mov rbx, rax
test rax, rax
je 0x180013ab8
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.18000d150
cmp dword [rsp + 0x20], 0
je 0x180013ab8
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x180013ab8
cmp eax, 0xfffffffe
jne 0x18001397c
mov rcx, rbx
call fcn.18000d380
cmp byte [0x18014641e], 0
je 0x180013ab8
add rbx, 0xb0
cmp rbx, 0x40000
jbe 0x180013ab8
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180013ab8
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x3a0]
cmp r9, 0x40000
jbe 0x18001394f
lea rax, [r9 + 1]
cmp rax, rcx
jae 0x18001394f
mov byte [r9], 1
lea rdx, [r8 + 0x3a4]
cmp rdx, 0x40000
jbe 0x180013ab8
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x180013ab8
mov dword [rdx], 0x3f800000
add rsp, 0x70
pop rbx
ret
cmp eax, 3
jne 0x1800139e4
mov rcx, rbx
call fcn.18000d380
cmp byte [0x180146422], 0
je 0x1800139d7
lea rdx, [rbx + 0xb0]
cmp rdx, 0x40000
jbe 0x1800139d7
lea rax, [rdx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x1800139d7
mov rdx, qword [rdx]
add rdx, 0x1fc
cmp rdx, 0x40000
jbe 0x1800139d7
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x1800139d7
mov dword [rdx], 0x3c23d70a
mov rcx, rbx
add rsp, 0x70
pop rbx
jmp fcn.18000d300
cmp eax, 2
jne 0x180013a3d
mov rcx, rbx
call fcn.18000d380
mov rcx, rbx
call fcn.18000d300
cmp byte [0x18014641d], 0
je 0x180013ab8
add rbx, 0xb0
cmp rbx, 0x40000
jbe 0x180013ab8
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180013ab8
mov rdx, qword [rbx]
add rdx, 0x290
jmp 0x180013aa3
cmp eax, 0xffffffff
jne 0x180013ab8
mov rcx, rbx
call fcn.18000d380
cmp byte [0x180146428], 0
je 0x180013ab8
add rbx, 0xb0
cmp rbx, 0x40000
jbe 0x180013ab8
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180013ab8
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x3a0]
cmp r9, 0x40000
jbe 0x180013a9c
lea rax, [r9 + 4]
cmp rax, rcx
jae 0x180013a9c
mov dword [r9], 0x3f800000
lea rdx, [r8 + 0x3b0]
cmp rdx, 0x40000
jbe 0x180013ab8
lea rax, [rdx + 1]
cmp rax, rcx
jae 0x180013ab8
mov byte [rdx], 1
add rsp, 0x70
pop rbx
ret
Function at 0x180016100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180016178
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180016178
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x180016165
nop
cmp rbx, rcx
jae 0x180016178
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x180016150
cmp rbx, rcx
jae 0x180016178
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x18001617a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18002f540
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
je 0x18002f550
xor al, al
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x18002f330]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18002f57d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret

Function at 0x180034520
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 0x18003457d
lea rbx, [0x180105b30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180034564
cmp r10, 2
jb 0x180034564
cmp byte [r9], r8b
jne 0x180034564
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 0x180034540
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800345bf
lea rbx, [0x180105b30]
cmp r8b, 0x23
jne 0x1800345a3
cmp byte [r9], r8b
jne 0x1800345a3
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 0x180034590
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180034700
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18003471a
mov qword [r8], 0
call fcn.1800345d0
mov rbx, rax
test rax, rax
jne 0x180034733
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 0x18003480a
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 0x18003480a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18003480a
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 0x18003480a
cmp rdi, 0xffffffffffffffff
je 0x18003480a
mov rax, qword [0x180146580]
test rax, rax
je 0x1800347a7
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 0x18003480a
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 0x1800347f7
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180146580]
test rax, rax
je 0x1800347ec
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180034813
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180034805
mov qword [r14], rdi
mov rax, rsi
jmp 0x180034815
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 0x180036d40
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x180105b30]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x180146580]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x180036dcb
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1800484d0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1800429e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x180146580]
mov edi, ecx
cmp byte [rbx + 0x4255], 0
jne 0x180042a32
cmp byte [rbx + 0x4256], 0
jne 0x180042a32
movsx r9d, word [rbx + 0x5356]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1800343e0
test dil, 1
je 0x180042b58
jmp 0x180042abb
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5356]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x18010d81c]
mulss xmm1, dword [0x18010d7fc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x3fc0], rax
mov dword [rbx + 0x3fac], 1
movss dword [rbx + 0x3fb8], xmm0
movss dword [rbx + 0x3fbc], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x18010d390]
or dword [rbx + 0x3fa8], 0x41
movss dword [rbx + 0x4008], xmm0
call fcn.1800343e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180042b10
lea r11, [0x180105b30]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x180042af3
cmp byte [r8], r9b
jne 0x180042af3
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 0x180042ae0
not ecx
call fcn.18003bac0
test rax, rax
je 0x180042b58
cmp byte [rax + 0x96], 0
je 0x180042b58
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5356]
mov edx, 0x10
movsx r9d, word [rbx + 0x5356]
call fcn.1800343e0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18003df90
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180046ee0
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 + 0x5400], 0
lea rbx, [rcx + 0x5408]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180046f87
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x180046f3a
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.180048d60
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180034c60
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5400]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5410]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18014651d]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x180046f8f
mov rcx, rbx
call fcn.180034c60
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180047500
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180146580]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180047563
mov qword [rsp], rbx
lea rbx, [0x180105b30]
nop dword [rax]
cmp r9b, 0x23
jne 0x180047543
cmp byte [r8], r9b
jne 0x180047543
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 0x180047530
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x53b0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180047597
mov r10, qword [r10 + 0x53b8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18004759e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180047584
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 0x180059180
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x1800591c0
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180146590]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1800591fe
cmp rsi, r14
jb 0x1800591f6
cmp rsi, r15
jae 0x1800591f6
cmp qword [rsi + 8], 0
jne 0x1800593c7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800591e1
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180059292
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180059289
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180059289
cmp dword [rsp + 0x70], 0x10000
je 0x18005930b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x180059289
sub rbx, rbp
cmp rbx, r14
jae 0x180059250
test rsi, rsi
jne 0x180059370
cmp rdi, r15
ja 0x1800593af
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800593af
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800593af
cmp dword [rsp + 0x70], 0x10000
je 0x180059341
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800592c2
jmp 0x1800593af
test rbx, rbx
je 0x180059289
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180059370
cmp rbx, r14
jae 0x180059230
jmp 0x180059292
test rdi, rdi
je 0x1800593af
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180059370
cmp rdi, r15
jbe 0x1800592a0
jmp 0x1800593af
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180059380
mov rax, qword [0x180146590]
mov qword [rsi], rax
mov qword [0x180146590], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret