joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
invalid
invalid

Function at 0x100025e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100021c6
push eax
push esi
invalid
invalid

Function at 0x10002740
Capabilities:
Inspect section memory permissions

Disassembly:
cmp eax, ebx
je 0x100029a5
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x1000275b
cmp dword [eax + 0xc], ebx
je 0x100027fe
mov edi, dword [eax + 0xc]
add edi, esi
invalid
invalid

Function at 0x100027a0
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [ebp + 0x10], eax
call fcn.100021b6
invalid

Function at 0x10002860
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1000286a
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
dec ebp
or byte [ebx], bh
retf 0x3f73
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x1000284f
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10002857
cmp edx, ebx
jne 0x100029a5
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10002826
add eax, dword [eax + 4]
jmp 0x10002813
mov dword [ebp + 0xc], ebx
jmp 0x10002875
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000288d
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100028ab
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
invalid
invalid
Function at 0x100028e0
Capabilities:
Inspect section memory permissions

Disassembly:
adc byte [eax], al
add byte [eax], al
or byte [ebx - 0x2cc4e7b3], 0x74
add al, 0x80
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100028f0
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100028f9
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10002903
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100028e5
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1000286f

Function at 0x10002920
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10002956
dec eax
je 0x1000294d
sub eax, 3
je 0x10002944
mov dword [ebp - 4], 0x40
jmp 0x10002973
mov dword [ebp - 4], 4
jmp 0x10002959
mov dword [ebp - 4], 0x20
jmp 0x10002959
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x100029a5
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
push dword [esi - 0x60]
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100021b6
js 0x10002a15
add esi, dword [eax - 1]
jne 0x100029b0
push 1
push esi
call edi
xlatb
mov eax, esi
jmp 0x100029b1
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
inc esi
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44

Function at 0x10002a40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.100021c6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000217b
add esp, 0xc
mov dword [ebp - 0x68c], eax

Function at 0x10002a70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
invalid
movsd dword es:[edi], dword [esi]

Function at 0x10002ea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp + 0xc], 1
je 0x10003074
cmp dword [ebp + 0xc], 8
jne 0x1000303c
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
invalid
invalid
Function at 0x10003070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x10003079
jg 0x10003054
and byte [ebp - 0x230], 0
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al

Function at 0x100030d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.10002194
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
invalid
invalid
xchg esi, eax

Function at 0x10003b50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec eax
test dword [eax], ebx
stc
invalid
lea eax, [ebp - 0x6f4]
push eax
call fcn.100021c6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000217b
add esp, 0xc
mov dword [ebp - 0x730], eax
inc dword [ebx - 0x6fb5b]
inc dword [eax]
push 1
pop eax
test eax, eax
je 0x1000425c
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x10003d31
invalid
movsd dword es:[edi], dword [esi]
test al, bh
Function at 0xaa4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xaa41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xaa407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xaa406a
add dl, dl
jne 0xaa4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xaa40dc
xor eax, eax
add dl, dl
jne 0xaa4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xaa417d
add dl, dl
jne 0xaa40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaa40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaa40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaa40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xaa40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xaa4075
mov eax, 1
add dl, dl
jne 0xaa40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaa40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xaa40e1
sub eax, ebx
mov ebx, 1
jne 0xaa4128
mov ecx, 1
add dl, dl
jne 0xaa410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xaa4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xaa4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xaa4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xaa413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xaa414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xaa4136
cmp eax, 0x7d00
jae 0xaa416d
cmp eax, 0x500
jb 0xaa4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xaa4075
cmp eax, 0x7f
ja 0xaa4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xaa4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xaa419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xaa4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x405560
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40aa950
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x40c4014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x40c50bc
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.0041a870
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x40c4a8c
push eax
call fcn.0041a870
mov esi, dword [0x40c50cc]
xor ebx, ebx
mov edi, dword [0x40c50d0]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x40c8360], bl
mov eax, ebx
mov ecx, 0x40c50bc
cmovae ecx, dword [0x40c50bc]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x40c8470], al
inc ebx
cmp ebx, 0x100
jl 0x4055e0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x40c8360]
movzx eax, byte [esi + 0x40c8470]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x405634
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x40c8360]
mov byte [esi + 0x40c8360], al
inc esi
mov byte [edi + 0x40c8360], dl
cmp esi, 0x100
jl 0x405610
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00405250
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x405689
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40567f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4056df
push edx
push ecx
call fcn.0041fe13
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4056cb
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4056c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4056df
push edx
push ecx
call fcn.0041fe13
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043941a
int3
Function at 0x4056f0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
mov esi, edx
xor edx, edx
mov dword [ebp - 4], ebx
mov ecx, 3
mov dword [ebp - 8], esi
push edi
mov eax, dword [esi + 0x10]
div ecx
push 0x3d
mov ecx, eax
mov dword [ebx + 0x10], 0
xor eax, eax
mov dword [ebx + 0x14], 0xf
cmp eax, edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
sbb eax, eax
mov byte [ebx], 0
neg eax
add eax, ecx
mov ecx, ebx
shl eax, 2
push eax
call fcn.0041a730
cmp dword [esi + 0x14], 0x10
mov edi, esi
jb 0x405749
mov edi, dword [esi]
cmp dword [ebx + 0x14], 0x10
mov esi, ebx
jb 0x405753
mov esi, dword [ebx]
mov ecx, dword [ebp - 8]
mov eax, 0xaaaaaaab
mov ecx, dword [ecx + 0x10]
mul ecx
shr edx, 1
je 0x4057d4
mov ebx, edx
movsx ecx, byte [edi]
movsx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 2]
shl ecx, 8
add edi, 3
or ecx, eax
mov eax, esi
mov edx, ecx
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + 0x40bad38]
mov byte [eax], dl
mov edx, ecx
shr edx, 0xc
lea eax, [esi + 3]
and edx, 0x3f
movzx edx, byte [edx + 0x40bad38]
mov byte [esi + 1], dl
mov edx, ecx
shr edx, 6
and ecx, 0x3f
and edx, 0x3f
movzx edx, byte [edx + 0x40bad38]
mov byte [esi + 2], dl
add esi, 4
mov cl, byte [ecx + 0x40bad38]
mov byte [eax], cl
sub ebx, 1
jne 0x405766
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
mov eax, ecx
xor edx, edx
mov ecx, 3
div ecx
sub edx, 1
je 0x405835
sub edx, 1
jne 0x40585a
movsx ecx, byte [edi]
movsx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov eax, esi
shl ecx, 8
mov edx, ecx
shr edx, 0x12
and edx, 0x3f
pop edi
movzx edx, byte [edx + 0x40bad38]
mov byte [eax], dl
mov edx, ecx
shr edx, 0xc
mov eax, ebx
and edx, 0x3f
shr ecx, 6
and ecx, 0x3f
movzx edx, byte [edx + 0x40bad38]
mov byte [esi + 1], dl
mov cl, byte [ecx + 0x40bad38]
mov byte [esi + 2], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, byte [edi]
shl eax, 0x10
mov ecx, eax
shr eax, 0xc
shr ecx, 0x12
and ecx, 0x3f
and eax, 0x3f
mov cl, byte [ecx + 0x40bad38]
mov byte [esi], cl
mov al, byte [eax + 0x40bad38]
mov byte [esi + 1], al
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408490
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x40c4014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call dword [0x40b20c8]
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x408679
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x408679
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.004368a0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call dword [0x40b20cc]
test eax, eax
je 0x408679
push 4
push 0x1000
push 4
push 0
call dword [0x40b20b8]
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call dword [0x40b2054]
test eax, eax
je 0x408679
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0x40bae58
push dword [esp + 0x30]
call dword [0x40b2064]
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x40859c
push 0x40bae5c
push 0x40bae74
call dword [0x40b20a4]
push eax
call dword [0x40b2058]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call dword [0x40b205c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x408679
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call dword [0x40b20c4]
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x408633
mov dword [esp + 0xc], eax
call fcn.004082e0
push eax
call dword [0x40b2098]
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call dword [0x40b20c4]
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x4085e2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call dword [0x40b20c4]
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call dword [0x40b2070]
push dword [esp + 0x24]
call dword [0x40b20a8]
push 0x8000
push 0
push esi
call dword [0x40b20c0]
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0041f7a1
mov esp, ebp
pop ebp
ret
Function at 0x40c270
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ab286
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x40c4014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.0043b2a6
push eax
call fcn.00438e10
add esp, 8
call fcn.00438def
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.00438def
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.00438def
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.00405170
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x40c320
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40c336
push 0x40
push 0
push 0x40ca530
sub esi, ecx
call fcn.004368a0
add esp, 0xc
mov dword [0x40ca524], 0
mov edx, esi
mov dword [0x40ca520], 0
lea ecx, [ebp - 0x410]
mov dword [0x40ca510], 0x67452301
mov dword [0x40ca514], 0xefcdab89
mov dword [0x40ca518], 0x98badcfe
mov dword [0x40ca51c], 0x10325476
call fcn.004061c0
call fcn.00406280
mov ecx, 0x40c8570
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c3c1
sub ecx, edx
push ecx
push 0x40c8570
lea ecx, [ebp - 0x42c]
call fcn.0041a870
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0x40c41c
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c412
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4dc
push edx
push ecx
call fcn.0041fe13
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0x40c4d7
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.0041a870
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x40c4b9
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c4af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4dc
push edx
push ecx
call fcn.0041fe13
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f7a1
mov esp, ebp
pop ebp
ret
call fcn.0041a9b0
call fcn.0043941a
int3
Function at 0x100084b0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c8
call fcn.10074d10
mov eax, dword [0x100a700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ecx]
lea eax, [ebp - 0x108]
xor esi, esi
push str..PhysicalDrive_d
push eax
call fcn.10008d80
add esp, 0xc
lea eax, [ebp - 0x108]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100086d3
push 0x2710
lea eax, [ebp - 0x37b8]
mov dword [ebp - 0x37bc], esi
push esi
push eax
mov dword [ebp - 0x37c0], esi
mov dword [ebp - 0x37c8], esi
mov dword [ebp - 0x37c4], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push esi
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0xc
lea eax, [ebp - 0x37c8]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100086c6
mov edx, dword [ebp - 0x37ac]
lea eax, [ebp - 0x8d8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008320
mov edx, dword [ebp - 0x37a8]
lea eax, [ebp - 0xcc0]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008320
mov edx, dword [ebp - 0x37a4]
lea eax, [ebp - 0x10a8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008320
mov edx, dword [ebp - 0x37a0]
lea eax, [ebp - 0x4f0]
push eax
push 1
lea ecx, [ebp - 0x37b8]
call fcn.10008320
add esp, 0x20
cmp byte [0x100a9e88], 0
jne 0x10008689
movsx eax, byte [ebp - 0x4f0]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x10008602
movsx eax, byte [ebp - 0x4dd]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
je 0x10008689
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x8d8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100a9a87], al
test al, al
jne 0x10008610
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xcc0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100a9287], al
test al, al
jne 0x10008630
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x4f0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100a9e87], al
test al, al
jne 0x10008650
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x10a8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100a9687], al
test al, al
jne 0x10008670
mov esi, 1
push 0x2710
lea eax, [ebp - 0x37b8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0
push 0
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x100086cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10073979
mov esp, ebp
pop ebp
ret