joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a1ba0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5a1daf
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2c
call fcn.00402dc0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
jmp 0x5a1c60
sub rcx, rdx
dec rcx
mov qword [rsp + 0x28], rcx
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and rcx, rax
mov rax, qword [rsp + 0x40]
add rax, rcx
mov qword [rsp + 0x38], rax
mov qword [rsp], rax
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x2c
call fcn.00402dc0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
nop
cmp rax, 0xffffffffffffffff
je 0x5a1cce
cmp rdx, rax
jb 0x5a1da6
mov rbx, rax
mov rsi, rcx
jmp 0x5a1d4c
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x40], rsi
jmp 0x5a1d6e
mov rbx, rax
mov rdi, qword [rsp + 0x70]
mov rax, rcx
mov rcx, qword [rsp + 0x68]
nop
call fcn.005a1e00
test al, al
jne 0x5a1d91
mov rdx, qword [rsp + 0x30]
lea rax, [rdx + 1]
mov rcx, qword [rsp + 0x20]
nop dword [rax + rax]
cmp rcx, rax
jae 0x5a1c04
jmp 0x5a1da1
jmp 0x5a1ce7
dec rdx
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and rdx, 1
add rcx, rdx
mov rdx, rsi
test rdx, rdx
jle 0x5a1d00
movzx esi, byte [rcx]
cmp sil, 0x20
je 0x5a1cd0
cmp sil, 9
je 0x5a1cd0
jmp 0x5a1d00
dec rdx
test rdx, rdx
jle 0x5a1d16
movzx esi, byte [rcx + rdx - 1]
cmp sil, 0x20
je 0x5a1cfd
cmp sil, 9
je 0x5a1cfd
mov rax, rcx
mov rbx, rdx
mov rcx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
call fcn.005a1e00
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
dec rax
mov r8, rax
neg rax
sar rax, 0x3f
and rax, 1
add rcx, rax
mov rax, r8
test rax, rax
jle 0x5a1c7a
movzx r8d, byte [rcx]
cmp r8b, 0x20
je 0x5a1d35
nop
cmp r8b, 9
je 0x5a1d35
jmp 0x5a1c7a
dec rax
test rax, rax
jle 0x5a1c8e
movzx r8d, byte [rax + rcx - 1]
nop dword [rax]
cmp r8b, 0x20
je 0x5a1d6b
cmp r8b, 9
je 0x5a1d6b
jmp 0x5a1c8e
mov eax, 1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
nop
ret
call fcn.00463180
mov rcx, rax
call fcn.00463100
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004609c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.005a1ba0
Function at 0x5a2020
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5a21cf
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov qword [rsp + 0x80], rax
xor ecx, ecx
jmp 0x5a2047
inc rcx
cmp rbx, rcx
jle 0x5a21c1
movzx edx, byte [rax + rcx]
cmp dl, 0x80
jb 0x5a2044
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
call fcn.00531dc0
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rsi
test rsi, rsi
mov rdx, qword [rsp + 0x88]
cmovne rbx, rdx
mov rdx, qword [rsp + 0x80]
cmovne rax, rdx
mov rdx, qword [0x00811a60]
mov r8, rax
mov rax, rdx
mov r9, rbx
mov rbx, r8
mov rcx, r9
mov edi, 1
call fcn.0059dfe0
mov rdx, qword [rsp + 0x58]
test rdx, rdx
mov rdx, qword [rsp + 0x48]
mov esi, 0
cmovne rdx, rsi
mov r8, qword [rsp + 0x60]
mov r9d, 0
cmovne r8, r9
nop dword [rax]
test rcx, rcx
jne 0x5a21b0
test rdx, rdx
je 0x5a21a1
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.00402dc0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x5a216b
xor eax, eax
lea rbx, [0x00644a76]
mov ecx, 1
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
lea r8, [0x00644b19]
mov r9d, 2
mov r10, qword [rsp + 0x60]
mov r11, qword [rsp + 0x48]
call fcn.0044d080
jmp 0x5a2192
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
lea rdi, [0x00644a6b]
mov esi, 1
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x48]
call fcn.0044cfa0
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
nop
ret
xor ecx, ecx
mov rdi, r9
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov rax, r9
mov rbx, rsi
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
nop
ret
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004609c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.005a2020
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00405ad0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x00405ae0]
mov dword [rax], 1
mov rax, qword [0x00405af0]
mov dword [rax], 1
mov rax, qword [0x00405ac0]
mov dword [rax], 1
mov rax, qword [0x00405980]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x00405ab0]
mov dword [0x00408008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x00405a70]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x00405930]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058
Function at 0x4015d2
Capabilities:
Get disk information
Get session user name
Hide graphical window

Disassembly:
push rbp
sub rsp, 0x6a0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x630], rcx
mov qword [rbp + 0x638], rdx
mov qword [rbp + 0x640], r8
mov dword [rbp + 0x648], r9d
mov rax, qword [sym.imp.KERNEL32.dll_AllocConsole]
call rax
mov edx, 0
lea rcx, str.ConsoleWindowClass
mov rax, qword [sym.imp.USER32.dll_FindWindowA]
call rax
mov qword [rbp + 0x610], rax
mov rax, qword [rbp + 0x610]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_FreeConsole]
call rax
mov dword [rbp + 0x600], 0xa
lea rdx, [rbp + 0x600]
lea rax, [rbp + 0x606]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_GetUserNameA]
call rax
lea rdx, [rbp + 0x606]
lea rax, [rbp - 0x60]
mov r8, rdx
lea rdx, str.C:Users_sDesktop
mov rcx, rax
call sym.sprintf
lea rdx, [rbp + 0x606]
lea rax, [rbp + 0x4f0]
mov r8, rdx
lea rdx, str.C:Users_sDownloads
mov rcx, rax
call sym.sprintf
lea rdx, [rbp + 0x606]
lea rax, [rbp + 0xb0]
mov r8, rdx
lea rdx, str.C:Users_sDocuments
mov rcx, rax
call sym.sprintf
lea rdx, [rbp + 0x606]
lea rax, [rbp + 0x2d0]
mov r8, rdx
lea rdx, str.C:Users_sVideos
mov rcx, rax
call sym.sprintf
lea rdx, [rbp + 0x606]
lea rax, [rbp + 0x3e0]
mov r8, rdx
lea rdx, str.C:Users_sPictures
mov rcx, rax
call sym.sprintf
lea rdx, [rbp + 0x606]
lea rax, [rbp + 0x1c0]
mov r8, rdx
lea rdx, str.C:Users_sMusic
mov rcx, rax
call sym.sprintf
mov rax, qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
call rax
mov dword [rbp + 0x61c], eax
mov byte [rbp + 0x61b], 0x41
jmp 0x401797
mov eax, dword [rbp + 0x61c]
and eax, 1
test eax, eax
je 0x401781
cmp byte [rbp + 0x61b], 0x43
jne 0x401761
lea rax, [rbp - 0x60]
mov rcx, rax
call dbg.search_directory
jmp 0x401781
movsx edx, byte [rbp + 0x61b]
lea rax, [rbp + 0x5fd]
mov r8d, edx
lea rdx, [0x0040508d]
mov rcx, rax
call sym.sprintf
shr dword [rbp + 0x61c], 1
movzx eax, byte [rbp + 0x61b]
add eax, 1
mov byte [rbp + 0x61b], al
cmp byte [rbp + 0x61b], 0x5a
jle 0x40173d
call dbg.showmsgbx
lea rax, [rbp + 0x606]
mov rcx, rax
call dbg.writenote
mov eax, 0
add rsp, 0x6a0
pop rbp
ret
Function at 0x401a7b
Capabilities:
Delete file

Disassembly:
push rbp
sub rsp, 0x170
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x100], rcx
mov dword [rbp + 0xec], 0
mov dword [rbp + 0xe8], 0
jmp 0x401b07
mov eax, dword [rbp + 0xec]
cdqe
mov rdx, qword [rbp + 0x100]
add rax, rdx
movzx eax, byte [rax]
cmp al, 0x5c
jne 0x401ad7
mov eax, dword [rbp + 0xe8]
lea edx, [rax + 1]
mov dword [rbp + 0xe8], edx
cdqe
mov byte [rbp + rax - 0x50], 0x5c
mov eax, dword [rbp + 0xec]
cdqe
mov rdx, qword [rbp + 0x100]
add rax, rdx
movzx eax, byte [rax]
mov edx, dword [rbp + 0xe8]
movsxd rdx, edx
mov byte [rbp + rdx - 0x50], al
add dword [rbp + 0xec], 1
add dword [rbp + 0xe8], 1
mov eax, dword [rbp + 0xec]
cdqe
mov rdx, qword [rbp + 0x100]
add rax, rdx
movzx eax, byte [rax]
test al, al
jne 0x401aa8
mov eax, dword [rbp + 0xe8]
cdqe
mov byte [rbp + rax - 0x50], 0
lea rax, [rbp - 0x50]
mov edx, 0x2e
mov rcx, rax
call sym.strrchr
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0
jne 0x401b60
lea rcx, str.Error:_File_has_no_extension.
call sym.puts
jmp 0x401d0a
lea rax, [rbp - 0x50]
mov rdx, qword [rbp + 0xd8]
sub rdx, rax
mov rax, rdx
mov dword [rbp + 0xd4], eax
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.strlen
mov dword [rbp + 0xd0], eax
mov eax, dword [rbp + 0xd0]
add eax, 7
mov dword [rbp + 0xcc], eax
mov eax, dword [rbp + 0xcc]
add eax, 1
cdqe
mov rcx, rax
call sym.malloc
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xc0], 0
jne 0x401bcd
lea rcx, str.Error:_Failed_to_allocate_memory.
call sym.puts
jmp 0x401d0a
mov ecx, 0
call sym.time
mov ecx, eax
call sym.srand
mov dword [rbp + 0xe4], 0
jmp 0x401c25
call sym.rand
mov ecx, eax
mov edx, 0x4ec4ec4f
mov eax, ecx
imul edx
sar edx, 3
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
imul eax, eax, 0x1a
sub ecx, eax
mov eax, ecx
add eax, 0x61
mov edx, eax
mov eax, dword [rbp + 0xe4]
cdqe
mov byte [rbp + rax - 0x57], dl
add dword [rbp + 0xe4], 1
cmp dword [rbp + 0xe4], 5
jle 0x401bea
mov byte [rbp - 0x51], 0
mov eax, dword [rbp + 0xd4]
movsxd rdx, eax
lea rax, [rbp - 0x50]
mov rcx, qword [rbp + 0xc0]
mov r8, rdx
mov rdx, rax
call sym.strncpy
mov eax, dword [rbp + 0xd4]
cdqe
mov rdx, qword [rbp + 0xc0]
add rax, rdx
mov byte [rax], 0x5f
mov eax, dword [rbp + 0xd4]
cdqe
lea rdx, [rax + 1]
mov rax, qword [rbp + 0xc0]
lea rcx, [rdx + rax]
lea rax, [rbp - 0x57]
mov r8d, 6
mov rdx, rax
call sym.strncpy
mov eax, dword [rbp + 0xd0]
sub eax, dword [rbp + 0xd4]
movsxd rcx, eax
mov eax, dword [rbp + 0xd4]
cdqe
lea rdx, [rax + 7]
mov rax, qword [rbp + 0xc0]
add rax, rdx
mov rdx, qword [rbp + 0xd8]
mov r8, rcx
mov rcx, rax
call sym.strncpy
mov eax, dword [rbp + 0xcc]
cdqe
mov rdx, qword [rbp + 0xc0]
add rax, rdx
mov byte [rax], 0
mov rdx, qword [rbp + 0xc0]
lea rax, [rbp - 0x50]
mov rcx, rax
call dbg.aesencrypt
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.remove
mov rax, qword [rbp + 0xc0]
mov rcx, rax
call sym.free
nop
add rsp, 0x170
pop rbp
ret
Function at 0x4027f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00408624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x402978
mov rax, qword [0x00408628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x40283c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x4028c5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x402820
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x4029ad
mov rax, qword [0x00408628]
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 [0x00408628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x402990
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4028be
sub eax, 0x40
and eax, 0xffffffbf
jne 0x402920
add dword [0x00408624], 1
cmp edi, 8
jae 0x4028f3
test dil, 4
jne 0x402964
test edi, edi
je 0x4028e8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x40297f
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 0x4028e8
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 0x40290c
jmp 0x4028e8
add rsi, qword [0x00408628]
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 0x4028be
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 0x4028e8
xor esi, esi
jmp 0x402847
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x4028e8
mov rax, qword [0x00408628]
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 0x403100
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00408900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004088e0]
test rbx, rbx
je 0x403154
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 0x40314b
test rsi, rsi
je 0x40314b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x403130
lea rcx, [0x00408900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x403390
Capabilities:
Parse pe header

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

Function at 0x4033b0
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 0x4033f1
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 0x4033e8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x4033f3
add rax, 0x28
cmp rax, r9
jne 0x4033d4
xor eax, eax
ret

Function at 0x403490
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00405980]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x4034fd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x4034fd
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 0x4034fd
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 0x4034f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4034ff
add rax, 0x28
cmp rax, r9
jne 0x4034e0
xor eax, eax
add rsp, 0x28
ret

Function at 0x403600
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00405980]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x403620
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x403618
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 0x40367d
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 0x403674
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x403684
add rax, 0x28
cmp rax, r9
jne 0x403660
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x4036a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x00405980]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x40370e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40370e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x40370e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x40370e
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 0x403705
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x403715
add rcx, 0x28
cmp rcx, rax
jne 0x4036f0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x403728
jmp 0x40370e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x403736
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x40370e
test r9d, r9d
jg 0x403720
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x403a50
Capabilities:
Get disk information
Get session user name

Disassembly:
sub rsp, 0x28
call sym.__main
mov rax, qword [0x004059f0]
xor edx, edx
mov r9d, dword [rax]
mov rax, qword [0x004059e0]
mov r8, qword [rax]
mov rax, qword [0x004059d0]
mov rcx, qword [rax]
add rsp, 0x28
jmp dbg.WinMain

Function at 0x403a90
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 0x140002860
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 0x1400028bd
lea rbx, [0x14004cdc0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400028a4
cmp r10, 2
jb 0x1400028a4
cmp byte [r9], r8b
jne 0x1400028a4
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 0x140002880
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400028ff
lea rbx, [0x14004cdc0]
cmp r8b, 0x23
jne 0x1400028e3
cmp byte [r9], r8b
jne 0x1400028e3
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 0x1400028d0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002a40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002a5a
mov qword [r8], 0
lea rdx, [0x14004c814]
call fcn.140002910
mov rbx, rax
test rax, rax
jne 0x140002a7a
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 0x140002b51
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 0x140002b51
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002b51
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 0x140002b51
cmp rdi, 0xffffffffffffffff
je 0x140002b51
mov rax, qword [0x140059950]
test rax, rax
je 0x140002aee
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002b51
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 0x140002b3e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140059950]
test rax, rax
je 0x140002b33
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002b5a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002b4c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002b5c
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 0x140010e60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x140059950]
lea rdx, [0x14004cdc0]
mov r8d, ecx
mov rbx, qword [rax + 0x1d18]
add rbx, 0x108
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x140010f17
lea ecx, [r9 + 1]
test r8d, r8d
je 0x140010f03
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140010f08
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140023930
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140011e70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140059040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140059950]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x140011ed0
cmp byte [rbx + 0x20d6], 0
jne 0x140011ed0
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400027e0
test dil, 1
je 0x140011ff6
jmp 0x140011f5f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400512ec]
mulss xmm1, dword [0x1400512e0]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x140051254]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.1400027e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140011fb0
lea r11, [0x14004cdc0]
nop
cmp r9b, 0x23
jne 0x140011f93
cmp byte [r8], r9b
jne 0x140011f93
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 0x140011f80
not ecx
call fcn.14000a870
test rax, rax
je 0x140011ff6
cmp byte [rax + 0xcf], 0
je 0x140011ff6
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, 0x10
mov r9d, dword [rbx + 0x3178]
call fcn.1400027e0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000d2d0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004a3c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret