joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b771
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x45fd0f
call fcn.004553a0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 4
mov dword [esi], 0x46406c
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x14], 0x464064
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], al
push 0xf
mov byte [ebp - 4], 1
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
call fcn.004014f2
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x433a51
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x461f5c
call fcn.004553a0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 1
mov dword [esi], 0x464268
lea ecx, [esi + 0x30]
mov byte [esi + 0x1c], al
push 0xf
mov dword [ebp - 4], eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
call fcn.00404fff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4399f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x31
call fcn.004390c0
push 0x41
mov ecx, esi
call fcn.004390c0
push 0x59
mov ecx, esi
call fcn.004390c0
push 0x26
mov ecx, esi
call fcn.004390c0
push 0x53
mov ecx, esi
call fcn.004390c0
push 0x59
mov ecx, esi
call fcn.004390c0
mov ecx, dword [esp + 0x1c]
or eax, 0xffffffff
xor edi, edi
xor ebp, ebp
mov bl, byte [ecx]
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x1c]
cmp edi, 4
mov cl, byte [edx + ebp]
mov byte [esp + 0x14], cl
jne 0x439a80
test cl, cl
jbe 0x439a7c
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
and edx, 0xff
and ecx, 0xff
mov edi, eax
shr edi, 0x18
xor edi, edx
shl eax, 8
mov edi, dword [edi*4 + 0x476118]
xor eax, edi
dec ecx
jne 0x439a66
xor edi, edi
jmp 0x439aaf
cmp bl, cl
jne 0x439a87
inc edi
jmp 0x439a92
mov bl, cl
mov edi, 1
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
and edx, 0xff
xor ecx, edx
shl eax, 8
mov ecx, dword [ecx*4 + 0x476118]
xor eax, ecx
mov ecx, dword [esp + 0x20]
inc ebp
cmp ebp, ecx
jb 0x439a3e
not eax
mov edi, eax
mov ecx, esi
push edi
call fcn.00439100
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.00439200
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x448cc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x31
call fcn.00448380
push 0x41
mov ecx, esi
call fcn.00448380
push 0x59
mov ecx, esi
call fcn.00448380
push 0x26
mov ecx, esi
call fcn.00448380
push 0x53
mov ecx, esi
call fcn.00448380
push 0x59
mov ecx, esi
call fcn.00448380
mov ecx, dword [esp + 0x1c]
or eax, 0xffffffff
xor edi, edi
xor ebp, ebp
mov bl, byte [ecx]
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x1c]
cmp edi, 4
mov cl, byte [edx + ebp]
mov byte [esp + 0x14], cl
jne 0x448d50
test cl, cl
jbe 0x448d4c
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
and edx, 0xff
and ecx, 0xff
mov edi, eax
shr edi, 0x18
xor edi, edx
shl eax, 8
mov edi, dword [edi*4 + 0x490b18]
xor eax, edi
dec ecx
jne 0x448d36
xor edi, edi
jmp 0x448d7f
cmp bl, cl
jne 0x448d57
inc edi
jmp 0x448d62
mov bl, cl
mov edi, 1
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
and edx, 0xff
xor ecx, edx
shl eax, 8
mov ecx, dword [ecx*4 + 0x490b18]
xor eax, ecx
mov ecx, dword [esp + 0x20]
inc ebp
cmp ebp, ecx
jb 0x448d0e
not eax
mov edi, eax
mov ecx, esi
push edi
call fcn.004483c0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.004484c0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x448f90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x8ce0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 8
mov byte [esp + 0x1c], bl
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x8cd4], ebx
mov eax, dword [edx + 0x16c]
mov edx, dword [esi]
push edi
push eax
push ecx
push edx
mov ecx, esi
call fcn.00448dc0
mov ecx, dword [esi + 0x8ce0]
cmp byte [ecx + 0x198], bl
je 0x44900c
mov eax, dword [esi + 0x8cd8]
lea edx, [eax + eax*8]
shl edx, 3
sub edx, eax
mov eax, dword [ecx + 0x174]
shl edx, 9
mov ecx, dword [edx + eax + 0x8cf0]
call 0x467d40
mov eax, dword [esi + 0x8cd4]
xor edx, edx
cmp eax, ebx
jbe 0x449049
lea edi, [esi + 0x7cd4]
mov eax, dword [esi + 0x8ce0]
add edi, 4
add eax, 0x170
mov ecx, dword [eax]
mov ebp, ecx
add ecx, ecx
shr ebp, 0x1f
or ebp, ecx
mov ecx, dword [edi - 4]
xor ebp, ecx
inc edx
mov dword [eax], ebp
mov eax, dword [esi + 0x8cd4]
cmp edx, eax
jb 0x44901e
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esi + 8]
lea ecx, [eax*8 + 8]
mov eax, dword [esp + 0x20]
sub ecx, eax
push ecx
mov ecx, dword [esi + 0x8ce0]
push edx
call fcn.00449120
mov eax, dword [esi + 0x8ce0]
cmp byte [eax + 0x198], bl
je 0x449107
mov edi, dword [esi + 0x8cd8]
mov ecx, dword [eax + 0x194]
inc edi
cmp edi, ecx
jne 0x449094
xor edi, edi
cmp dword [eax + 0x1ac], ebx
je 0x4490e4
lea ebx, [eax + 0x138]
mov ecx, ebx
call fcn.0040e891
mov ebp, dword [ebx + 0x28]
mov ecx, 0xf
sub ecx, ebp
xor ebx, ebx
shr ecx, 3
add eax, ecx
adc edx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x8ce0]
mov eax, dword [edx + 0x1ac]
lea edx, [esp + 0x10]
push edx
lea edx, [esi + 0x8cf8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [esi + 0x8ce0]
lea ecx, [edi + edi*8]
shl ecx, 3
mov edx, dword [eax + 0x174]
sub ecx, edi
shl ecx, 9
lea ecx, [edx + ecx + 0x8cf0]
call 0x467d90
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x453df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [esp + 0x18]
xor edx, edx
mov ecx, dword [esi + 4]
mov ebx, dword [esi]
mov eax, ecx
push edi
imul eax, dword [esp + 0x18]
div ebp
xor edx, edx
lea edi, [eax + ebx - 1]
mov eax, ecx
imul eax, dword [esp + 0x14]
div ebp
mov ecx, dword [esi + 8]
mov ebp, 0x10000
sub ecx, eax
add ebx, eax
mov dword [esi + 8], ecx
mov dword [esi], ebx
mov eax, dword [esi]
mov ecx, eax
xor ecx, edi
test ch, 0x80
je 0x453e53
test ah, 0x40
je 0x453ec0
test edi, 0x4000
jne 0x453ec0
and eax, 0x3fff
or edi, 0x4000
mov dword [esi], eax
mov edx, dword [esi]
and edi, 0x7fff
and edx, 0x7fff
shl edx, 1
mov dword [esi], edx
mov eax, dword [esi + 0x10]
shl edi, 1
or edi, 1
cmp eax, ebp
jb 0x453ea1
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0x18]
cmp eax, edx
jb 0x453e89
call fcn.0040d102
mov byte [esp + 0x18], al
jmp 0x453e92
mov dl, byte [eax]
inc eax
mov byte [esp + 0x18], dl
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
and eax, 0xff
or ah, 1
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x10]
mov eax, ecx
add ecx, ecx
mov dword [esi + 0x10], ecx
mov edx, dword [esi + 8]
shr eax, 7
and eax, 1
shl edx, 1
or edx, eax
mov dword [esi + 8], edx
jmp 0x453e2a
sub edi, dword [esi]
inc edi
mov dword [esi + 4], edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x456740
Capabilities:
Encode data using xor

Disassembly:
call fcn.00456ef0
mov eax, dword [esp + 0x50]
push esi
push eax
mov ecx, ebx
mov dword [ebx + 0x20], 0
call fcn.00457700
lea ecx, [esp + 0xc]
push ecx
mov ecx, ebx
call fcn.004577a0
jmp 0x456783
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x36
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x456785
mov ecx, ebx
call fcn.00456ef0
lea eax, [esp + 0xc]
push 0x40
push eax
mov ecx, ebx
mov dword [ebx + 0x20], 0
call fcn.00457700
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x6a
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x4567b4
lea esi, [ebx + 0x68]
mov ecx, esi
call fcn.00456ef0
lea ecx, [esp + 0xc]
push 0x40
push ecx
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.00457700
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x45686f
Capabilities:
Encode data using xor

Disassembly:
cmp edi, 0x40
jbe 0x4568d8
lea ecx, [esp + 0x60]
call fcn.00456ef0
mov eax, dword [esp + 0xcc]
push edi
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x88], 0
call fcn.00457700
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x64]
call fcn.004577a0
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dh, byte [esp + eax + 0xc]
mov cl, byte [esp + eax + 0xe]
mov dl, byte [esp + eax + 0xd]
add eax, 4
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [esp + eax + 0xb]
shl edx, 8
or edx, ecx
cmp eax, 0x14
mov dword [esp + eax + 0x1c], edx
jb 0x4568aa
jmp 0x456911
xor eax, eax
test edi, edi
jbe 0x456911
push ebp
mov ebp, dword [esp + 0xd0]
mov edx, eax
mov ecx, 3
shr edx, 2
lea esi, [esp + edx*4 + 0x24]
mov edx, eax
and edx, 3
sub ecx, edx
xor edx, edx
mov dl, byte [eax + ebp]
shl ecx, 3
shl edx, cl
mov ecx, dword [esi]
or ecx, edx
inc eax
cmp eax, edi
mov dword [esi], ecx
jb 0x4568e6
pop ebp
lea eax, [esp + 0x20]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x36363636
dec ecx
mov dword [eax - 4], edi
jne 0x45691a
mov ecx, ebx
call fcn.00456ef0
lea eax, [esp + 0x20]
push 0x10
push eax
mov ecx, ebx
mov dword [ebx + 0x20], 0
call fcn.004578b0
lea eax, [esp + 0x20]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edi
jne 0x456950
lea esi, [ebx + 0x68]
mov ecx, esi
call fcn.00456ef0
lea ecx, [esp + 0x20]
push 0x10
push ecx
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.004578b0
pop edi
pop esi
pop ebx
add esp, 0xbc
ret 8

Function at 0x456ef0
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 0x18], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x1c], eax
ret
Function at 0x458170
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
sub esp, 0xa8
and eax, 0xff
mov dl, al
push ebx
mov dh, dl
push esi
mov eax, edx
mov esi, ecx
shl eax, 0x10
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
mov ax, dx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
xor ecx, ecx
sub esi, eax
mov bl, byte [esp + ecx + 0xc]
lea eax, [esp + ecx + 0xc]
mov dl, byte [esi + eax]
xor bl, dl
inc ecx
cmp ecx, 0x14
mov byte [eax], bl
jb 0x4581a1
lea ecx, [esp + 0x4c]
call fcn.00456ef0
lea eax, [esp + 0xc]
lea ecx, [esp + 0x4c]
push 0x40
push eax
mov dword [esp + 0x74], 0
call fcn.00457700
mov ecx, dword [esp + 0xb8]
push ecx
lea ecx, [esp + 0x50]
call fcn.004577a0
pop edi
pop esi
pop ebx
add esp, 0xa8
ret 4

Function at 0x45a0b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x2c], 0x20
mov dword [ecx + 0x54], 1
mov dword [ecx + 0x48], 4
mov dword [ecx + 0x58], edx
lea esi, [ecx + 0x70]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x45a0d7
pop esi
ret
Function at 0x401440
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x47cfe8]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00407960
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00407a00
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.0043bd7f
add esp, 0x68
ret

Function at 0x4014b0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x47cfe8]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00407960
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00407a00
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.0043bd7f
add esp, 0x68
ret
Function at 0x401640
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0x20119
xor edi, edi
push edi
push 0x474308
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4017d1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [esp + 0x1c]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x28]
push str.Operator
mov edi, 0x400
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4016d3
cmp dword [esp + 0x14], 1
jne 0x4017b8
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi], ebx
lea ebx, [eax + ebx]
je 0x4017b8
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.IssueDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x401718
cmp dword [esp + 0x14], 1
jne 0x4017b8
mov eax, dword [esp + 0x10]
mov dword [esi + 4], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x4017b8
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x40174f
cmp dword [esp + 0x14], 1
jne 0x4017b8
mov eax, dword [esp + 0x10]
mov dword [esi + 8], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x4017b8
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.SignData
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x4017b8
cmp dword [esp + 0x14], 3
jne 0x4017b8
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x4017b8
lea eax, [esi + 0xc]
call fcn.00401520
test eax, eax
je 0x4017b8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, 0x400
sub ecx, edi
push eax
mov dword [edx], ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x401da0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x47cfe8]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
lea eax, [esp + 8]
mov esi, edx
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.00405820
add esp, 8
test eax, eax
jne 0x401e0b
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0043bd7f
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x401e20
push esi
lea ecx, [esp + 0x14]
call fcn.00407960
add esp, 4
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.00407a00
test edi, edi
je 0x401e3e
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, dword [esp + 8]
sete al
mov dword [edi], eax
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0043bd7f
add esp, 0x6c
ret

Function at 0x401ed0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x47cfe8]
xor eax, esp
mov dword [esp + 0x5c], eax
xor eax, eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00405a20
add esp, 4
test eax, eax
jne 0x401f2e
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0043bd7f
add esp, 0x64
ret
lea esi, [esp + 8]
mov ecx, ebx
call fcn.00407a00
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0043bd7f
add esp, 0x64
ret

Function at 0x401f50
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x47cfe8]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.00405b10
add esp, 8
test eax, eax
jne 0x401fcf
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0043bd7f
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.00407010
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.0043bd7f
add esp, 0x74
ret

Function at 0x403660
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403692
push str.ReadFile__
push 0xfc
push str..QHImageHlp.c
xor edx, edx
call fcn.00408ae0
add esp, 0xc
xor eax, eax
pop ecx
ret
cmp esi, dword [esp]
je 0x4036b7
push 0x4744a0
push 0xfe
push str..QHImageHlp.c
mov edx, 1
call fcn.00408ee0
add esp, 0xc
xor eax, eax
pop ecx
ret
mov eax, 1
pop ecx
ret
Function at 0x404530
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x47cfe8]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
cmp eax, ebx
jne 0x404563
mov dword [esp + 0x10], 0xffffffff
jmp 0x404569
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push ebx
push ebx
push ebp
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x404658
push 0
lea edx, [esp + 0x1c]
push edx
push 8
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4045bb
push str.ReadFile__
push 0xfc
push str..QHImageHlp.c
xor edx, edx
call fcn.00408ae0
add esp, 0xc
jmp 0x40468e
mov eax, 8
cmp dword [esp + 0x18], eax
je 0x4045e5
push 0x4744a0
push 0xfe
lea edx, [eax - 7]
push str..QHImageHlp.c
call fcn.00408ee0
add esp, 0xc
jmp 0x40468e
cmp dword [esp + 0x40], ebx
je 0x40462b
mov ebx, eax
cmp dword [esp + 0x10], eax
jae 0x404611
push 0x4745c0
push 0x321
mov edx, 5
push str..QHImageHlp.c
call fcn.00408ee0
add esp, 0xc
jmp 0x40468e
mov ecx, dword [esp + 0x24]
mov dx, word [esp + 0x28]
mov dword [esi], ecx
mov cx, word [esp + 0x2a]
mov word [esi + 4], dx
mov word [esi + 6], cx
jmp 0x404686
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x10]
jbe 0x404643
push 0x4745c0
mov ebx, esi
push 0x32d
jmp 0x4045fd
mov edx, dword [esp + 0x38]
xor ebx, ebx
push ebx
push ebx
push ebp
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x404673
push str.SetFilePointerEx__
push 0xf9
push str..QHImageHlp.c
xor edx, edx
call fcn.00408ae0
add esp, 0xc
jmp 0x40468e
mov ecx, dword [esp + 0x20]
mov edx, edi
call fcn.00403660
test eax, eax
je 0x40468e
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x404698
mov dword [eax], ebx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043bd7f
add esp, 0x28
ret
Function at 0x406210
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x1c
mov eax, dword [0x47cfe8]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x406350
cmp dword [esp + 0x28], ebp
je 0x406350
push ebx
push 0x2800
call fcn.0043d9e8
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x406273
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0043bd7f
add esp, 0x1c
ret
push esi
push edi
xor edi, edi
jmp 0x406280
push edi
push str..PhysicalDrive_d
mov ecx, 0x2800
call fcn.00403370
add esp, 8
push ebp
push 0x80
push 3
push ebp
push 3
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x406326
xor eax, eax
push 0x2800
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.0043bd90
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2800
push ebx
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x406319
mov eax, dword [ebx + 0x18]
cmp eax, ebp
jbe 0x406319
mov edx, dword [esp + 0x18]
add eax, ebx
push eax
mov eax, dword [esp + 0x38]
push edx
push str.DISKID:
call fcn.00405fb0
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x406330
inc edi
cmp edi, 0x10
jl 0x406280
push ebx
call fcn.0043d1d2
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0043bd7f
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.0043bd7f
add esp, 0x1c
ret