joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006fb38
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x250
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov ebp, r8d
mov rsi, rdx
mov edi, ecx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
xor ebx, ebx
call sub.msvcrt.dll_memset
mov rcx, qword [0x14009b028]
lea r12, [0x14009b028]
cmp rcx, r12
je 0x14006fba6
test byte [rcx + 0x1c], 2
je 0x14006fba6
cmp byte [rcx + 0x19], 5
jb 0x14006fba6
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xa]
lea r8, [0x14008b968]
call fcn.140001024
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, edi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x14006fc0d
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14006fbfc
test byte [rcx + 0x1c], 2
je 0x14006fbfc
cmp byte [rcx + 0x19], 2
jb 0x14006fbfc
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b968]
mov edx, VariantTimeToDosDateTime
mov r9d, eax
call fcn.140001050
movzx ecx, di
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14006fc5b
mov rdx, rbp
lea r8, [rsp + 0x30]
mov rcx, rsi
call fcn.140002b44
mov edi, eax
test eax, eax
jns 0x14006fc56
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14006fbfc
test byte [rcx + 0x1c], 2
je 0x14006fbfc
cmp byte [rcx + 0x19], 2
jb 0x14006fbfc
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b968]
movzx r9d, di
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.140001050
jmp 0x14006fbfc
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007ec30
add rsp, 0x250
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14007b5d4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x250
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov edi, edx
mov ebx, ecx
mov rcx, qword [0x14009b028]
lea rbp, [0x14009b028]
cmp rcx, rbp
je 0x14007b630
test byte [rcx + 0x1c], 2
je 0x14007b630
cmp byte [rcx + 0x19], 5
jb 0x14007b630
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c6c8]
mov edx, 0x65
call fcn.140001024
mov r9d, ebx
mov dword [rsp + 0x20], edi
lea r8, str._ld:_ld
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.140002ac0
mov ebx, eax
test eax, eax
jns 0x14007b69c
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14007b683
test byte [rcx + 0x1c], 2
je 0x14007b683
cmp byte [rcx + 0x19], 2
jb 0x14007b683
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c6c8]
mov edx, 0x66
mov r9d, eax
call fcn.140001050
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
jmp 0x14007b761
mov r9d, 0x10000
lea rdx, str.SoftwareMicrosoftFaxOutbound_RoutingRules
xor r8d, r8d
mov rcx, 0xffffffff80000002
call fcn.14006b230
mov rdi, rax
test rax, rax
jne 0x14007b702
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14007b761
test byte [rcx + 0x1c], 2
je 0x14007b761
cmp byte [rcx + 0x19], 2
jb 0x14007b761
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x67]
mov r9d, eax
lea r8, [0x14008c6c8]
call fcn.140001050
jmp 0x14007b761
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14007b752
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14007b752
test byte [rcx + 0x1c], 2
je 0x14007b752
cmp byte [rcx + 0x19], 2
jb 0x14007b752
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c6c8]
mov edx, 0x68
mov r9d, eax
call fcn.140001050
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007ec30
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14007bc18
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x30
and qword [rsp + 0x48], 0
mov rdi, rcx
mov rcx, qword [0x14009b028]
lea rbp, [0x14009b028]
cmp rcx, rbp
je 0x14007bc64
test byte [rcx + 0x1c], 2
je 0x14007bc64
cmp byte [rcx + 0x19], 5
jb 0x14007bc64
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c6c8]
mov edx, 0x75
call fcn.140001024
lea rax, [rsp + 0x48]
mov r9d, 0x10000
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftFaxDevice_Providers
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14007bcc8
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14007bd61
test byte [rcx + 0x1c], 2
je 0x14007bd61
cmp byte [rcx + 0x19], 2
jb 0x14007bd61
mov edx, 0x76
mov r9d, eax
jmp 0x14007bd51
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14007bd1c
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14007bd1c
test byte [rcx + 0x1c], 2
je 0x14007bd1c
cmp byte [rcx + 0x19], 2
jb 0x14007bd1c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c6c8]
mov edx, 0x77
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140001328
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test eax, eax
je 0x14007bd61
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14007bd61
test byte [rcx + 0x1c], 2
je 0x14007bd61
cmp byte [rcx + 0x19], 2
jb 0x14007bd61
mov edx, 0x78
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c6c8]
call fcn.140001050
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14007e074
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
lea rdx, [rbp + 0x27]
mov bl, dil
call qword [sym.imp.RPCRT4.dll_I_RpcBindingIsClientLocal]
nop dword [rax + rax]
test eax, eax
jne 0x14007e178
cmp dword [rbp + 0x27], edi
je 0x14007e178
lea ebx, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
nop dword [rax + rax]
lea r9, [rbp + 0x37]
mov r8d, ebx
mov rcx, rax
lea edx, [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
nop dword [rax + rax]
test eax, eax
je 0x14007e178
lea rax, [rbp + 0x2f]
mov dword [rbp + 0x3f], edi
mov qword [rsp + 0x50], rax
lea r8d, [rdi + 2]
mov dword [rsp + 0x48], edi
lea rcx, [rbp + 0x3f]
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov dword [rsp + 0x38], edi
mov dl, bl
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov word [rbp + 0x43], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
nop dword [rax + rax]
test eax, eax
je 0x14007e168
mov rdx, qword [rbp + 0x2f]
lea r8, [rbp + 0x2b]
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
nop dword [rax + rax]
test eax, eax
je 0x14007e158
cmp dword [rbp + 0x2b], edi
cmovne ebx, edi
mov rcx, qword [rbp + 0x2f]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov al, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14007ec30
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14007e990
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14009f780], rbx
je 0x14007e9f7
cmp rax, rbx
jne 0x14007e9ea
mov ebx, 1
mov esi, ebx
jmp 0x14007e9fc
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14007e9cf
mov ebx, 1
mov eax, dword [0x14009f788]
cmp eax, ebx
jne 0x14007ea14
mov edi, 0x1f
mov ecx, edi
call fcn.140133000
jmp 0x14007ea80
mov eax, dword [0x14009f788]
test eax, eax
jne 0x14007ea75
mov dword [0x14009f788], ebx
lea r15, [0x1400878e0]
lea rdi, [0x1400878c8]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14007ea67
test eax, eax
jne 0x14007ea6b
cmp qword [rdi], r14
je 0x14007ea5c
mov rax, qword [rdi]
mov rcx, qword [0x1400878a0]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14007ea3e
test eax, eax
je 0x14007ea7b
mov eax, 0xff
jmp 0x14007ebd6
mov dword [0x14009ea14], ebx
mov edi, 0x1f
mov eax, dword [0x14009f788]
cmp eax, ebx
jne 0x14007eaa7
lea rdx, [0x1400878c0]
lea rcx, [0x1400878a8]
call sub.msvcrt.dll__initterm
mov dword [0x14009f788], 2
test esi, esi
jne 0x14007eab5
mov rax, r14
xchg qword [0x14009f780], rax
cmp qword [0x14009f790], r14
je 0x14007eae8
lea rcx, [0x14009f790]
call fcn.14007f4e0
test eax, eax
je 0x14007eae8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14009f790]
mov r9, qword [0x1400878a0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14007eb01
mov eax, 0xff
jmp 0x14007ebd6
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14007eb87
test ax, ax
je 0x14007eb1c
test edx, edx
jne 0x14007eb87
sub ax, bx
cmp ax, di
ja 0x14007eb32
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14007eb1c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140022e4c
mov dword [0x14009ea10], eax
cmp dword [0x14009ea30], r14d
jne 0x14007eb70
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14009ea14], r14d
jne 0x14007eb85
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14009ea10]
jmp 0x14007ebd6
cmp ax, 0x22
jne 0x14007eb9b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14007eb0a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14007f574
add rsp, 0x28
jmp 0x14007e990
Function at 0x14007efc8
Capabilities:
Print debug messages

Disassembly:
jmp 0x14007efd4
push rbx
sub rsp, 0x540
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14007f051
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x14007f071
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.14007ec30
add rsp, 0x540
pop rbx
ret

Function at 0x14007efd4
Capabilities:
Print debug messages

Disassembly:
jmp 0x14007efd4
push rbx
sub rsp, 0x540
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14007f051
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x14007f071
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.14007ec30
add rsp, 0x540
pop rbx
ret

Function at 0x14007f3cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14007f418
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14007f410
cmp dword [rcx + 0x3c], edx
jl 0x14007f410
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14007f410
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14007f418
mov rax, rdx
add rsp, 0x18
ret
Function at 0x2fc4dc4d0
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4dced2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc501108]
test eax, eax
je 0x2fc4dcf6a
lea rax, [0x2fc5010e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc501110]
mov qword [rbp - 8], rax
jmp 0x2fc4dcf4e
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 0x2fc4dcf42
cmp qword [rbp - 0x10], 0
je 0x2fc4dcf42
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 0x2fc4dcf08
lea rax, [0x2fc5010e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dcf6b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dd070
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 0x2fc4dd098
mov eax, 0
jmp 0x2fc4dd0e6
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 0x2fc4dd0c1
mov eax, 0
jmp 0x2fc4dd0e6
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 0x2fc4dd0e1
mov eax, 0
jmp 0x2fc4dd0e6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dd0ec
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 0x2fc4dd16a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dd161
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 0x2fc4dd161
mov rax, qword [rbp - 8]
jmp 0x2fc4dd17f
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 0x2fc4dd134
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dae50
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4db852
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc500108]
test eax, eax
je 0x2fc4db8ea
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc500110]
mov qword [rbp - 8], rax
jmp 0x2fc4db8ce
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 0x2fc4db8c2
cmp qword [rbp - 0x10], 0
je 0x2fc4db8c2
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 0x2fc4db888
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4db8eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4db9f0
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 0x2fc4dba18
mov eax, 0
jmp 0x2fc4dba66
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 0x2fc4dba41
mov eax, 0
jmp 0x2fc4dba66
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 0x2fc4dba61
mov eax, 0
jmp 0x2fc4dba66
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dba6c
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 0x2fc4dbaea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dbae1
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 0x2fc4dbae1
mov rax, qword [rbp - 8]
jmp 0x2fc4dbaff
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 0x2fc4dbab4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140006220
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400cbbc0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400cbef0]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4d3d], 0
jne 0x140006288
cmp byte [rbx + 0x4d3e], 0
jne 0x140006288
movsx r9d, word [rbx + 0x5eb0]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000b790
test sil, 2
je 0x1400063c0
jmp 0x140006321
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140052608]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x140052600]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
or dword [rbx + 0x4a18], 1
mov qword [rbx + 0x4a30], rax
movss dword [rbx + 0x4a28], xmm0
mov dword [rbx + 0x4a1c], 1
movss dword [rbx + 0x4a2c], xmm1
movss xmm0, dword [rbx + 0x3a20]
mov rax, qword [0x1400cbef0]
mulss xmm0, dword [0x1400525b4]
or dword [rax + 0x4a18], 0x40
movss dword [rax + 0x4a78], xmm0
movsx r9d, word [rbx + 0x5eb0]
call fcn.14000b790
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140006371
lea r11, [0x140050830]
cmp r9b, 0x23
jne 0x140006354
cmp byte [r8], r9b
jne 0x140006354
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 0x140006341
not ecx
call fcn.140009dc0
test rax, rax
je 0x1400063c0
cmp byte [rax + 0xca], 0
je 0x1400063c0
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x5eb0]
movsx r9d, word [rbx + 0x5eb0]
call fcn.14000b790
or edi, 0x2030347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.1400036d0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004e0c0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140009d20
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400cbef0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140009d83
mov qword [rsp], rbx
lea rbx, [0x140050830]
nop dword [rax]
cmp r9b, 0x23
jne 0x140009d63
cmp byte [r8], r9b
jne 0x140009d63
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 0x140009d50
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f78]
not eax
mov r8, qword [r10 + 0x5f80]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140009daf
cmp dword [r8 + 8], eax
je 0x140009db6
add r8, 0x48
cmp r8, rcx
jne 0x140009da0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret