joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010a50
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101ddab0
push 0x10156680
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101e3070]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101609af
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x10010c03
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, edi
mov dword [ebp - 0x1c], esi
mov ecx, 0x5c
cmp word [edi], cx
jne 0x10010b3f
cmp word [edi + 2], cx
jne 0x10010b3f
lea esi, [edi + 2]
mov dword [ebp - 0x1c], esi
add esi, 2
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
movzx eax, word [esi]
test ax, ax
je 0x10010b0c
cmp ax, cx
je 0x10010b0c
push esi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
mov ecx, 0x5c
jmp 0x10010af0
cmp word [esi], 0
je 0x10010b18
add esi, 2
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
test ax, ax
je 0x10010b31
cmp ax, cx
je 0x10010b31
push esi
call ebx
mov esi, eax
mov ecx, 0x5c
jmp 0x10010b15
cmp word [esi], 0
je 0x10010b70
add esi, 2
mov dword [ebp - 0x1c], esi
jmp 0x10010b70
cmp word [edi + 2], 0x3a
jne 0x10010b65
lea esi, [edi + 2]
mov dword [ebp - 0x1c], esi
add esi, 2
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
test ax, ax
je 0x10010b65
cmp eax, 0x5c
jne 0x10010b65
add esi, 2
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
nop dword [eax + eax]
movzx eax, word [esi]
test ax, ax
je 0x10010bc6
cmp ax, cx
jne 0x10010bb7
xor eax, eax
mov word [esi], ax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10010bab
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10010baf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10010baf
push edi
jmp 0x10010bfb
test al, 0x10
je 0x10010ba8
mov eax, 0x5c
mov word [esi], ax
push esi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
mov ecx, 0x5c
jmp 0x10010b70
mov dword [ebp - 4], 0xfffffffe
push edi
call fcn.1015bd72
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1015bd72
add esp, 4
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010e10
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x101e3070]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [edx]
push ebx
push esi
movups xmmword [ebp - 0x24], xmm0
push edi
movups xmm0, xmmword [edx + 0x10]
mov edi, ecx
xor edx, edx
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp + edx - 0x24]
add al, 0x11
add al, dl
not al
mov byte [ebp + edx - 0x24], al
inc edx
cmp edx, 0x20
jb 0x10010e36
lea esi, [edi + 2]
xor edx, edx
lea ebx, [ebp - 0x24]
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x23]
sub ebx, edi
sub ecx, edi
mov eax, esi
mov esi, ecx
mov cl, byte [ebp + edx*4 - 0x24]
lea eax, [eax + 4]
mov byte [eax - 6], cl
mov cl, byte [ebp + edx*4 - 0x23]
inc edx
mov byte [eax - 5], cl
mov cl, byte [ebx + eax - 4]
mov byte [eax - 4], cl
mov cl, byte [esi + eax - 4]
mov byte [eax - 3], cl
cmp edx, 8
jb 0x10010e60
lea eax, [edi + 1]
mov esi, edi
sub esi, eax
lea ecx, [edi + 3]
lea edx, [ecx + 0x20]
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x2c]
mov ebx, 8
mov dword [ebp - 0x34], esi
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], ecx
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
lea edx, [eax + 0x1c]
mov eax, edi
sub eax, esi
mov dword [ebp - 0x3c], eax
mov eax, ecx
sub eax, esi
sub edi, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov cl, byte [edi + edx]
mov edi, dword [ebp - 0x2c]
mov ch, byte [eax + edx]
mov al, byte [edx]
mov byte [ebp - 0x25], cl
mov cl, byte [edi + edx]
mov edi, ebx
mov byte [ebp - 0x27], al
mov byte [ebp - 0x26], cl
and edi, 7
jne 0x10010f22
movzx eax, al
mov cl, ch
mov ch, byte [eax + str.cw]
movzx eax, byte [ebp - 0x25]
mov al, byte [eax + str.cw]
mov byte [ebp - 0x27], al
movzx eax, byte [ebp - 0x26]
mov al, byte [eax + str.cw]
mov byte [ebp - 0x25], al
movzx eax, cl
mov al, byte [eax + str.cw]
mov byte [ebp - 0x26], al
mov eax, ebx
shr eax, 3
xor ch, byte [eax + 0x101cf5ac]
cmp edi, 4
jne 0x10010f59
mov cl, byte [ebp - 0x27]
movzx eax, ch
mov ch, byte [eax + str.cw]
movzx eax, cl
mov al, byte [eax + str.cw]
mov byte [ebp - 0x27], al
movzx eax, byte [ebp - 0x25]
mov al, byte [eax + str.cw]
mov byte [ebp - 0x25], al
movzx eax, byte [ebp - 0x26]
mov al, byte [eax + str.cw]
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x3c]
inc ebx
mov edi, dword [ebp - 0x30]
mov al, byte [eax + esi]
xor al, ch
mov ecx, dword [ebp - 0x40]
mov byte [ecx + edi], al
mov al, byte [edx - 0x1c]
mov cl, byte [ebp - 0x27]
xor al, cl
mov byte [edx + 4], al
add edx, 4
mov al, byte [esi]
xor al, byte [ebp - 0x25]
mov byte [esi + 0x20], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + esi]
add esi, 4
xor al, byte [ebp - 0x26]
mov byte [edi], al
add edi, 4
mov dword [ebp - 0x30], edi
cmp ebx, 0x3c
jb 0x10010ec2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
Function at 0x10010fb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ecx + 2]
mov esi, 4
nop
mov dl, byte [eax + 1]
lea eax, [eax + 4]
mov bh, byte [eax - 4]
mov dh, dl
mov cl, byte [eax - 6]
xor dh, bh
mov bl, byte [eax - 5]
mov byte [ebp - 2], cl
mov byte [ebp - 3], dl
mov dl, dh
xor dl, cl
xor dl, bl
mov byte [ebp - 1], dl
mov dl, cl
xor dl, bl
mov cl, dl
add dl, dl
shr cl, 7
movzx ecx, cl
imul ecx, ecx, 0x1b
xor cl, dl
mov dl, bl
xor cl, byte [ebp - 2]
xor dl, bh
xor cl, byte [ebp - 1]
mov byte [eax - 6], cl
mov cl, dl
shr cl, 7
add dl, dl
movzx ecx, cl
imul ecx, ecx, 0x1b
xor cl, dl
mov dl, byte [ebp - 3]
xor cl, bl
xor dl, byte [ebp - 2]
mov bl, byte [ebp - 1]
xor cl, bl
mov byte [eax - 5], cl
mov cl, dh
shr cl, 7
add dh, dh
movzx ecx, cl
imul ecx, ecx, 0x1b
xor cl, dh
xor cl, bh
xor cl, bl
mov byte [eax - 4], cl
mov cl, dl
shr cl, 7
add dl, dl
movzx ecx, cl
imul ecx, ecx, 0x1b
xor cl, dl
xor cl, byte [ebp - 3]
xor cl, bl
mov byte [eax - 3], cl
sub esi, 1
jne 0x10010fc0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10011260
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov eax, edx
mov edi, ecx
mov dword [ebp - 8], eax
sub edx, edi
mov esi, edi
mov ebx, 4
nop dword [eax]
mov ecx, 4
mov al, byte [edx + esi]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x10011285
sub ebx, 1
jne 0x10011280
mov byte [ebp - 1], 1
nop dword [eax]
mov esi, edi
mov ebx, 4
nop word [eax + eax]
mov ecx, esi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + str.cw]
mov byte [ecx - 4], al
sub edx, 1
jne 0x100112c0
inc esi
sub ebx, 1
jne 0x100112b0
cmp byte [ebp - 1], 0xe
movzx eax, byte [edi + 5]
mov cl, byte [edi + 1]
mov byte [edi + 1], al
movzx eax, byte [edi + 9]
mov byte [edi + 5], al
movzx eax, byte [edi + 0xd]
mov byte [edi + 9], al
movzx eax, byte [edi + 0xa]
mov byte [edi + 0xd], cl
mov cl, byte [edi + 2]
mov byte [edi + 2], al
movzx eax, byte [edi + 0xe]
mov byte [edi + 0xa], cl
mov cl, byte [edi + 6]
mov byte [edi + 6], al
movzx eax, byte [edi + 0xf]
mov byte [edi + 0xe], cl
mov cl, byte [edi + 3]
mov byte [edi + 3], al
movzx eax, byte [edi + 0xb]
mov byte [edi + 0xf], al
movzx eax, byte [edi + 7]
mov byte [edi + 0xb], al
mov byte [edi + 7], cl
je 0x1001136f
mov ecx, edi
call fcn.10010fb0
mov ch, byte [ebp - 1]
mov eax, edi
movzx edx, ch
mov ebx, 4
shl edx, 4
add edx, dword [ebp - 8]
nop word [eax + eax]
mov esi, 4
mov cl, byte [edx]
inc edx
xor byte [eax], cl
inc eax
sub esi, 1
jne 0x10011355
sub ebx, 1
jne 0x10011350
inc ch
mov byte [ebp - 1], ch
jmp 0x100112a0
mov ecx, dword [ebp - 8]
mov esi, 4
add ecx, 0xe0
nop dword [eax]
mov edx, 4
mov al, byte [ecx]
inc ecx
xor byte [edi], al
inc edi
sub edx, 1
jne 0x10011385
sub esi, 1
jne 0x10011380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100113a0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov eax, edx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 8], eax
mov esi, ebx
lea edi, [eax + 0xe0]
mov edx, 4
nop dword [eax]
mov ecx, 4
mov al, byte [edi]
inc edi
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x100113c5
sub edx, 1
jne 0x100113c0
mov byte [ebp - 1], 0xd
nop dword [eax]
movzx eax, byte [ebx + 9]
mov esi, ebx
mov cl, byte [ebx + 0xd]
mov edi, 4
mov byte [ebx + 0xd], al
movzx eax, byte [ebx + 5]
mov byte [ebx + 9], al
movzx eax, byte [ebx + 1]
mov byte [ebx + 5], al
movzx eax, byte [ebx + 0xa]
mov byte [ebx + 1], cl
mov cl, byte [ebx + 2]
mov byte [ebx + 2], al
movzx eax, byte [ebx + 0xe]
mov byte [ebx + 0xa], cl
mov cl, byte [ebx + 6]
mov byte [ebx + 6], al
movzx eax, byte [ebx + 7]
mov byte [ebx + 0xe], cl
mov cl, byte [ebx + 3]
mov byte [ebx + 3], al
movzx eax, byte [ebx + 0xb]
mov byte [ebx + 7], al
movzx eax, byte [ebx + 0xf]
mov byte [ebx + 0xb], al
mov byte [ebx + 0xf], cl
nop word [eax + eax]
mov ecx, esi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
mov al, byte [eax + 0x101cf6b8]
mov byte [ecx], al
add ecx, 4
sub edx, 1
jne 0x10011450
inc esi
sub edi, 1
jne 0x10011440
mov ch, byte [ebp - 1]
mov eax, ebx
movzx edx, ch
mov edi, 4
shl edx, 4
add edx, dword [ebp - 8]
nop dword [eax]
mov esi, 4
mov cl, byte [edx]
inc edx
xor byte [eax], cl
inc eax
sub esi, 1
jne 0x10011485
sub edi, 1
jne 0x10011480
test ch, ch
je 0x100114a8
mov ecx, ebx
call fcn.10011060
dec byte [ebp - 1]
jmp 0x100113e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100114b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
mov dword [ebp - 4], eax
add eax, 0xf0
mov dword [ebp - 8], eax
mov esi, eax
push edi
mov edi, edx
test ebx, ebx
je 0x10011505
dec ebx
shr ebx, 4
inc ebx
mov eax, edi
sub esi, edi
mov edx, 0x10
nop
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x100114e0
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.10011260
mov esi, edi
add edi, 0x10
sub ebx, 1
jne 0x100114d6
mov eax, dword [ebp - 8]
movups xmm0, xmmword [esi]
pop edi
pop esi
movups xmmword [eax], xmm0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10011520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], ecx
push esi
mov esi, edx
test ebx, ebx
je 0x1001156f
push edi
dec ebx
lea edi, [ecx + 0xf0]
shr ebx, 4
sub edi, esi
inc ebx
movups xmm0, xmmword [esi]
mov edx, ecx
mov ecx, esi
call fcn.100113a0
mov ecx, 0x10
mov al, byte [edi + esi]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x10011551
mov ecx, dword [ebp - 4]
sub edi, 0x10
movups xmmword [ecx + 0xf0], xmm0
sub ebx, 1
jne 0x10011540
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10012f80
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101e3070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
mov dword [ebp - 0x18], ecx
call fcn.101609af
mov esi, eax
add esp, 4
test esi, esi
je 0x100130c9
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
cmp ecx, 0x104
jae 0x100130c9
test ecx, ecx
je 0x100130c9
cmp ecx, 0xf6
ja 0x100130c9
movups xmm0, xmmword [str.kernel32.dll]
push ebx
push 0
movups xmmword [esi + ecx*2], xmm0
push esi
movq xmm0, qword [0x101d3fac]
movq qword [esi + ecx*2 + 0x10], xmm0
mov eax, dword [0x101d3fb4]
mov dword [esi + ecx*2 + 0x18], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x100130c8
push edi
push ebx
call fcn.101609af
mov edi, eax
add esp, 4
test edi, edi
je 0x100130c7
push edi
push ebx
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x100130c7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x101d37f0
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x100130c7
cmp dword [ebp - 0xc], 0x34
jb 0x100130c7
mov ebx, dword [ebp - 0x10]
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001308a
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x14]
cmp dword [ebp - 8], 0
mov ecx, 0x101d3f74
mov eax, 0x101d3f6c
cmove eax, ecx
push eax
movzx eax, word [ebx + 0x16]
push eax
movzx eax, word [ebx + 0x10]
push eax
movzx eax, word [ebx + 0x12]
push eax
push str.win__d._d._d__s
push dword [ebp - 0x18]
call fcn.1000ee00
push esi
call fcn.1015bd72
push edi
call fcn.1015bd72
add esp, 0x20
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
Function at 0x10013790
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2f28
call fcn.100a7a90
mov eax, dword [0x101e3070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x200
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.10154a20
add esp, 0xc
lea eax, [ebp - 0x608]
push 0x200
push 0
push eax
call fcn.10154a20
add esp, 0xc
cmp dword [0x101ff048], 0xffffffff
je 0x10013a67
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x2f1c], 0
lea eax, [ebp - 0x2f18]
movq qword [ebp - 0x2f28], xmm0
push 0
push eax
mov dword [ebp - 0x2f20], 0
mov dword [ebp - 0x2f28], 0
mov dword [ebp - 0x2f24], 0
call fcn.10154a20
add esp, 0xc
lea eax, [ebp - 0x2f1c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2f18]
push eax
push 0xc
lea eax, [ebp - 0x2f28]
push eax
push 0x2d1400
push dword [0x101ff048]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10013a67
push 0x400
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.10154a20
add esp, 0xc
push 0x200
push 0
push 0x101fee48
call fcn.10154a20
mov eax, dword [ebp - 0x2f0c]
add esp, 0xc
test eax, eax
je 0x100138bd
cmp eax, 0xffffffff
je 0x100138bd
push 0x100
lea ecx, [ebp - 0x2f18]
add eax, ecx
push eax
push 0x100
lea eax, [ebp - 0x808]
push eax
push 0
call fcn.10167859
add esp, 0x14
mov eax, dword [ebp - 0x2f08]
test eax, eax
je 0x100138f0
cmp eax, 0xffffffff
je 0x100138f0
push 0x100
lea ecx, [ebp - 0x2f18]
add eax, ecx
push eax
push 0x100
lea eax, [ebp - 0x608]
push eax
push 0
call fcn.10167859
add esp, 0x14
mov edx, 0x100
lea ecx, [ebp - 0x808]
call fcn.10013f30
mov edx, 0x100
lea ecx, [ebp - 0x608]
call fcn.10013f30
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x808]
push eax
push str._s__s
push 0x100
push 0x101fee48
call fcn.100130e0
add esp, 0x14
push 0x200
push 0
push 0x101ff050
call fcn.10154a20
mov eax, dword [ebp - 0x2f00]
add esp, 0xc
test eax, eax
je 0x10013a3b
cmp eax, 0xffffffff
je 0x10013a3b
cmp dword [ebp - 0x2efc], 7
jne 0x10013990
xor edx, edx
call fcn.10013150
lea ecx, [ebp - 0x2f18]
push 0x200
test eax, eax
je 0x10013a19
mov eax, dword [ebp - 0x2f00]
add eax, ecx
jmp 0x10013a24
mov edx, 1
call fcn.10013150
lea ecx, [ebp - 0x2f18]
push 0x200
test eax, eax
jne 0x10013983
add ecx, dword [ebp - 0x2f00]
call fcn.10013d30
push eax
push 0x200
lea eax, [ebp - 0x408]
push eax
push 0
call fcn.10167859
add esp, 0x14
lea ecx, [ebp - 0x408]
mov edx, 0x3e8
call fcn.10013f30
lea ecx, [ebp - 0x408]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100139e4
sub ecx, edx
sar ecx, 1
cmp ecx, 2
ja 0x10013a3b
push 0x7d0
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.10154a20
add esp, 0xc
lea ecx, [ebp - 0x2f18]
push 0x200
add ecx, dword [ebp - 0x2f00]
call fcn.10013d80
push eax
push 0x200
lea eax, [ebp - 0x408]
push eax
push 0
call fcn.10167859
add esp, 0x14
push 0x100
lea eax, [ebp - 0x408]
push eax
push 0x101ff050
call fcn.10167511
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
Function at 0x10013a80
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2f40
call fcn.100a7a90
mov eax, dword [0x101e3070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x200
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.10154a20
add esp, 0xc
lea eax, [ebp - 0x608]
push 0x200
push 0
push eax
call fcn.10154a20
add esp, 0xc
lea eax, [ebp - 0x408]
push 0x200
push 0
push eax
call fcn.10154a20
add esp, 0xc
mov dword [ebp - 0x2f1c], 0
cmp dword [0x101ff048], 0xffffffff
mov dword [ebp - 0x2f34], 0x12
mov dword [ebp - 0x2f30], 0x40
mov dword [ebp - 0x2f2c], 0x25
mov dword [ebp - 0x2f40], 0xe08a1
mov dword [ebp - 0x2f3c], 1
mov dword [ebp - 0x2f38], 0xeca0
je 0x10013d19
push 0x40
lea edx, [ebp - 0x208]
lea ecx, [ebp - 0x2f34]
call fcn.10013380
add esp, 4
test eax, eax
jne 0x10013d19
test byte [ebp - 0x207], 0x80
jne 0x10013d19
push 0x200
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.10154a20
add esp, 0xc
lea edx, [ebp - 0x208]
lea ecx, [ebp - 0x2f40]
push 0x200
call fcn.10013380
add esp, 4
test eax, eax
jne 0x10013d19
push 0x14
lea ecx, [ebp - 0x1f4]
call fcn.10013d30
push eax
push 0x100
lea eax, [ebp - 0x408]
push eax
push 0
call fcn.10167859
add esp, 0x14
cmp word [ebp - 0x408], 0
je 0x10013d19
push 0xff
lea eax, [ebp - 0x408]
push eax
push 0x200
push 0x101ff050
call fcn.101679af
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x2f20], 0
lea eax, [ebp - 0x2f18]
movq qword [ebp - 0x2f28], xmm0
push 0
push eax
mov dword [ebp - 0x2f28], 0
mov dword [ebp - 0x2f24], 0
call fcn.10154a20
add esp, 0x1c
lea eax, [ebp - 0x2f1c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2f18]
push eax
push 0xc
lea eax, [ebp - 0x2f28]
push eax
push 0x2d1400
push dword [0x101ff048]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, 1
jne 0x10013d19
push 0x200
push 0
push 0x101fee48
call fcn.10154a20
mov eax, dword [ebp - 0x2f0c]
add esp, 0xc
test eax, eax
je 0x10013c93
push 0x100
lea ecx, [ebp - 0x2f18]
add eax, ecx
push eax
push 0x100
lea eax, [ebp - 0x808]
push eax
push 0
call fcn.10167859
add esp, 0x14
mov eax, dword [ebp - 0x2f08]
test eax, eax
je 0x10013cc1
push 0x100
lea ecx, [ebp - 0x2f18]
add eax, ecx
push eax
push 0x100
lea eax, [ebp - 0x608]
push eax
push 0
call fcn.10167859
add esp, 0x14
mov edx, 0x100
lea ecx, [ebp - 0x808]
call fcn.10013f30
mov edx, 0x100
lea ecx, [ebp - 0x608]
call fcn.10013f30
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x808]
push eax
push 0x101d3fdc
push 0x100
push 0x101fee48
call fcn.100130e0
add esp, 0x14
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
Function at 0x10014cb0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017bc2f
mov eax, dword fs:[0]
push eax
mov eax, 0x1034
call fcn.100a7a90
mov eax, dword [0x101e3070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xfd0
lea eax, [ebp - 0xfe0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10154a20
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp - 0xfe0]
mov edx, dword [ebp + 0x18]
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push 0xfd0
push eax
push 0x57d20
push str.dbe113959660426ee70c233aedd166c8
push str.44e061a68ee8a76229d51517437988e92b79d45056204038beda458f5e2a827a
call fcn.10011770
add esp, 0x20
test eax, eax
jns 0x10014d38
or esi, 0xffffffff
jmp 0x10014f22
lea ecx, [ebp - 0xfe0]
call fcn.10011fe0
mov edi, eax
mov dword [ebp - 0xfe4], 7
push 2
xor eax, eax
mov dword [ebp - 0xfe8], 0
push 0x101d4174
lea ecx, [ebp - 0xff8]
mov word [ebp - 0xff8], ax
call fcn.10005450
push 0x101d3d80
lea edx, [ebp - 0xff8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1040]
call fcn.1000dc00
push str.pipe_
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1028]
call fcn.1000db90
push edi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1010]
call fcn.1000db90
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0xff8]
cmp eax, esi
je 0x10014e0c
mov eax, dword [ebp - 0xfe4]
cmp eax, 8
jb 0x10014de3
inc eax
lea ecx, [ebp - 0xff8]
push eax
push dword [ebp - 0xff8]
call fcn.10005bc0
xor eax, eax
mov dword [ebp - 0xfe4], 7
push esi
lea ecx, [ebp - 0xff8]
mov dword [ebp - 0xfe8], 0
mov word [ebp - 0xff8], ax
call fcn.1000c9a0
mov eax, dword [ebp - 0xffc]
cmp eax, 8
jb 0x10014e2a
inc eax
lea ecx, [ebp - 0x1010]
push eax
push dword [ebp - 0x1010]
call fcn.10005bc0
xor eax, eax
mov dword [ebp - 0xffc], 7
mov word [ebp - 0x1010], ax
mov eax, dword [ebp - 0x1014]
mov dword [ebp - 0x1000], 0
cmp eax, 8
jb 0x10014e65
inc eax
lea ecx, [ebp - 0x1028]
push eax
push dword [ebp - 0x1028]
call fcn.10005bc0
xor eax, eax
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
mov eax, dword [ebp - 0x102c]
mov dword [ebp - 0x1018], 0
cmp eax, 8
jb 0x10014ea0
inc eax
lea ecx, [ebp - 0x1040]
push eax
push dword [ebp - 0x1040]
call fcn.10005bc0
push edi
call fcn.1015bd72
add esp, 4
lea eax, [ebp - 0xff8]
cmp dword [ebp - 0xfe4], 8
cmovae eax, dword [ebp - 0xff8]
push 0
push 0
push 0xfd0
push 0xfd0
push 1
push 6
push 3
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10014ee7
call dword [sym.imp.KERNEL32.dll_GetLastError]
or esi, esi
mov eax, dword [ebp - 0xfe4]
cmp eax, 8
jb 0x10014f05
inc eax
lea ecx, [ebp - 0xff8]
push eax
push dword [ebp - 0xff8]
call fcn.10005bc0
xor eax, eax
mov dword [ebp - 0xfe4], 7
mov dword [ebp - 0xfe8], 0
mov word [ebp - 0xff8], ax
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x10014f37
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.10005c20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret