joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c220
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46c2bf
cmp dword [ebx + 0x94], 0
jne 0x46c2b9
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46c1a8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46c2b9
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46c27f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46c2b9
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041a5d4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46c28e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46c4d8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4adca0]
cmp dword [eax + 0x30], 0
je 0x46c635
test bl, bl
jne 0x46c586
cmp dword [esi + 0x9c], 0
jne 0x46c57b
mov eax, esi
call fcn.0046ee58
push eax
push 0x46c404
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46c54c
mov eax, dword [0x4adca0]
call fcn.0046f538
test al, al
je 0x46c54c
mov eax, dword [0x4adcc4]
call fcn.00405d4c
mov edi, eax
cmp edi, 0
jl 0x46c54c
push 0
mov eax, dword [0x4adcc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46c536
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46c57b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a5d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46c55b
inc dword [esi + 0x9c]
jmp 0x46c635
cmp dword [esi + 0x9c], 0
jle 0x46c635
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46c635
cmp dword [esi + 0x44], 0
je 0x46c5e1
mov eax, dword [0x4adca0]
call fcn.0046f538
test al, al
je 0x46c5e1
mov eax, dword [0x4adcc4]
call fcn.00405d4c
mov edi, eax
cmp edi, 0
jl 0x46c5e1
push 5
mov eax, dword [0x4adcc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46c5cb
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46c610
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a5d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46c5f0
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4adcc4
mov ecx, 1
mov edx, dword [0x46c3e4]
call fcn.00405f00
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46d11c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x46d186
mov eax, ebx
call fcn.0046f538
test al, al
jne 0x46d186
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404ccc
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46d173
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46d193
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c30
jmp 0x46d193
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c30
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46e65c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46e6ca
mov eax, esi
call fcn.00456560
test al, al
je 0x46e6ca
mov eax, dword [ebx + 0x84]
call fcn.004561c0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46e6ca
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46e6be
push 0
mov eax, dword [ebx + 0x84]
call fcn.004561c0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044e030
jmp 0x46e6ca
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046e498
pop esi
pop ebx
ret

Function at 0x46f964
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040506c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
seta byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x46fa05
push ebx
call fcn.004067e8
pop ecx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x46f9fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x46f9e6
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0x46fa10
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fa05
mov eax, dword [ebp - 0x10]
push eax
call fcn.004067f8
pop ecx
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46fb74
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x46fcd9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.0040506c
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
seta byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
je 0x46fcbb
push edi
call fcn.004067e8
pop ecx
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x46fcb4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x20]
push eax
push edi
push 0
push ebx
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x46fcf0
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
mov esi, dword [ebp - 0xc]
test esi, esi
jb 0x46fc9c
inc esi
mov ebx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 2]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x40]
mov ecx, 2
mov eax, 0x46fd14
call fcn.0040a60c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.0040506c
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 6
lea edx, [ebp - 0x54]
mov ecx, 1
mov eax, 0x46fd3c
call fcn.0040a60c
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
add ebx, 4
dec esi
jne 0x46fc0a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fcbb
mov eax, dword [ebp - 0x20]
push eax
call fcn.004067f8
pop ecx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fce0
lea eax, [ebp - 0x44]
call fcn.00404bdc
lea eax, [ebp - 4]
call fcn.00404bdc
ret

Function at 0x46fe44
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov edx, ebx
lea eax, [esp + 4]
call fcn.00409d80
add esp, 0x14
pop ebx
ret
Function at 0x46fe6c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd6c
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00404bdc
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x46fef9
xor eax, eax
push ebp
push 0x46fef2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x46fedf
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x46fedf
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00404dd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fef9
call sub.wsock32.dll_WSACleanup
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46ff84
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x105
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00409d80
add esp, 0x108
pop ebx
ret

Function at 0x47000c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47008b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push esi
lea eax, [ebp - 0x105]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
je 0x47006b
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404e4c
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0046f774
jmp 0x470072
mov eax, ebx
call fcn.00404bdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470092
lea eax, [ebp - 0x10c]
call fcn.00404bdc
ret

Function at 0x4700e8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
add esp, 0xfffffc00
mov esi, edx
mov ebx, eax
push 0x400
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.0040506c
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov eax, esi
mov edx, esp
mov ecx, 0x400
call fcn.00404e4c
add esp, 0x400
pop esi
pop ebx
ret

Function at 0x470290
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp], 0x105
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
mov edx, ebx
lea eax, [esp + 4]
call fcn.00409d80
add esp, 0x10c
pop ebx
ret
Function at 0x47065c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp], eax
mov esi, 0x4a6944
mov eax, dword [esp]
movzx ecx, byte [eax + 0x40]
movzx edi, cl
mov eax, edi
add eax, 0x10
mov ebx, dword [esp]
mov byte [ebx + eax], dl
movzx eax, cl
mov ebx, dword [esp]
movzx ebx, byte [ebx + eax]
xor bl, dl
push ebx
add edi, 0x20
mov ebx, dword [esp + 4]
lea edi, [ebx + edi]
pop ebx
mov byte [edi], bl
mov ebx, dword [esp]
lea ebx, [ebx + eax + 0x30]
push ebx
mov ebx, dword [esp + 4]
xor dl, byte [ebx + 0x41]
and dl, 0xff
movzx edx, dl
movzx edx, byte [esi + edx]
pop ebx
xor byte [ebx], dl
mov edx, dword [esp]
movzx eax, byte [edx + eax + 0x30]
mov edx, dword [esp]
mov byte [edx + 0x41], al
lea eax, [ecx + 1]
and al, 0xf
mov edx, dword [esp]
mov byte [edx + 0x40], al
mov ecx, eax
test cl, cl
jne 0x470741
xor eax, eax
mov byte [esp + 4], 0
mov edx, dword [esp]
mov cl, 8
movzx eax, al
movzx eax, byte [esi + eax]
xor byte [edx], al
movzx eax, byte [edx]
inc edx
movzx eax, al
movzx eax, byte [esi + eax]
xor byte [edx], al
movzx eax, byte [edx]
inc edx
movzx eax, al
movzx eax, byte [esi + eax]
xor byte [edx], al
movzx eax, byte [edx]
inc edx
movzx eax, al
movzx eax, byte [esi + eax]
xor byte [edx], al
movzx eax, byte [edx]
inc edx
movzx eax, al
movzx eax, byte [esi + eax]
xor byte [edx], al
movzx eax, byte [edx]
inc edx
movzx eax, al
movzx eax, byte [esi + eax]
xor byte [edx], al
movzx eax, byte [edx]
inc edx
dec cl
jne 0x4706e0
add al, byte [esp + 4]
inc byte [esp + 4]
cmp byte [esp + 4], 0x12
jne 0x4706db
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4708e8
Capabilities:
Hash data with md5

Disassembly:
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x4717e8
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
push eax
mov eax, dword [eax]
mov esi, edx
or ecx, ecx
je 0x47180c
mov edx, eax
shl edx, 8
mov bl, byte [esi]
shr eax, 0x18
xor al, bl
mov eax, dword [eax*4 + 0x4a6e84]
xor eax, edx
inc esi
dec ecx
jne 0x4717f3
mov ecx, eax
pop eax
mov dword [eax], ecx
pop ebx
pop esi
ret

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

Disassembly:
push esi
push ebx
push eax
mov eax, dword [eax]
mov esi, edx
xor ebx, ebx
or ecx, ecx
je 0x471842
mov edx, eax
shr edx, 8
and edx, 0xffffff
mov bl, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [eax*4 + 0x4a6a84]
xor eax, edx
inc esi
dec ecx
jne 0x471821
mov ecx, eax
pop eax
mov dword [eax], ecx
pop ebx
pop esi
ret
Function at 0x471b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
push ebx
push esi
push edi
mov dword [ebp - 8], eax
lea edi, [ebp - 0x1c]
mov edx, edi
mov eax, dword [ebp - 8]
mov ecx, 0x14
call fcn.004030b0
xor esi, esi
lea ebx, [ebp - 0x15c]
mov eax, dword [ebp - 8]
add eax, 0x30
mov edx, esi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
call fcn.00470518
mov dword [ebx], eax
inc esi
add ebx, 4
cmp esi, 0x10
jne 0x471bb9
mov esi, 0x40
lea ebx, [ebp - 0x128]
mov eax, dword [ebx]
xor eax, dword [ebx - 0x14]
xor eax, dword [ebx - 0x2c]
xor eax, dword [ebx - 0x34]
mov dl, 1
call fcn.004704c0
mov dword [ebx + 0xc], eax
add ebx, 4
dec esi
jne 0x471be4
xor esi, esi
lea ebx, [ebp - 0x15c]
mov eax, dword [edi + 0xc]
push eax
mov eax, esi
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
call fcn.00471b24
push eax
mov dl, 5
mov eax, dword [edi]
call fcn.004704c0
pop edx
add edx, eax
add edx, dword [edi + 0x10]
push edx
mov eax, esi
call fcn.00471b68
pop edx
add edx, eax
add edx, dword [ebx]
mov dword [ebp - 4], edx
mov eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 8]
mov dword [edi + 0xc], eax
mov dl, 0x1e
mov eax, dword [edi + 4]
call fcn.004704c0
mov dword [edi + 8], eax
mov eax, dword [edi]
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
mov dword [edi], eax
inc esi
add ebx, 4
cmp esi, 0x50
jne 0x471c07
mov esi, 5
mov eax, edi
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
add dword [edx], ecx
add edx, 4
add eax, 4
dec esi
jne 0x471c6e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x471f80
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret

Function at 0x471fc0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret

Function at 0x472014
Capabilities:
Hash data using sha224

Disassembly:
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
ret
Function at 0x4720a0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
ret

Function at 0x472b8c
Capabilities:
Get disk information

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, eax
xor eax, eax
mov dword [esp], eax
push 0
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
mov eax, ebx
call fcn.0040506c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
jne 0x472bc4
call fcn.0040eb6c
mov eax, dword [esp]
add esp, 0xc
pop ebx
ret

Function at 0x472bd8
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x472cb2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0040e17c
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, 0x472ccc
call fcn.00404ef4
mov eax, dword [ebp - 0x20]
call fcn.0040506c
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x472c40
call fcn.0040eb6c
xor eax, eax
push ebp
push 0x472c8d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x10]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0x2d1080
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x472c76
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472c94
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x47304c
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x89
push 0
push 0
dec ecx
jne 0x473055
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4732d2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x418]
push eax
mov dword [ebp - 0x420], esi
mov byte [ebp - 0x41c], 0
lea edx, [ebp - 0x420]
xor ecx, ecx
mov eax, 0x4732e8
call fcn.0040a60c
mov eax, dword [ebp - 0x418]
call fcn.0040506c
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0xffffffff
jne 0x4730ce
call fcn.0040eb6c
xor eax, eax
push ebp
push 0x4732a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x414]
xor ecx, ecx
mov edx, 0xc
call fcn.00403598
xor eax, eax
mov dword [ebp - 0x414], eax
xor eax, eax
mov dword [ebp - 0x410], eax
push 0
lea eax, [ebp - 0x408]
push eax
push 0x400
lea eax, [ebp - 0x400]
push eax
push 0xc
lea eax, [ebp - 0x414]
push eax
push 0x2d1400
mov eax, dword [ebp - 0x404]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
jne 0x473136
call fcn.0040eb6c
movzx eax, byte [ebp - 0x3f8]
mov byte [edi], al
mov esi, dword [ebp - 0x3f4]
test esi, esi
jbe 0x47317a
lea edx, [ebp - 0x428]
lea eax, [ebp + esi - 0x400]
call fcn.00409d80
mov eax, dword [ebp - 0x428]
lea edx, [ebp - 0x424]
call fcn.00408fa4
mov edx, dword [ebp - 0x424]
lea eax, [edi + 1]
call fcn.00404c30
mov esi, dword [ebp - 0x3f0]
test esi, esi
jbe 0x4731b5
lea edx, [ebp - 0x430]
lea eax, [ebp + esi - 0x400]
call fcn.00409d80
mov eax, dword [ebp - 0x430]
lea edx, [ebp - 0x42c]
call fcn.00408fa4
mov edx, dword [ebp - 0x42c]
lea eax, [edi + 5]
call fcn.00404c30
mov esi, dword [ebp - 0x3ec]
test esi, esi
jbe 0x4731f0
lea edx, [ebp - 0x438]
lea eax, [ebp + esi - 0x400]
call fcn.00409d80
mov eax, dword [ebp - 0x438]
lea edx, [ebp - 0x434]
call fcn.00408fa4
mov edx, dword [ebp - 0x434]
lea eax, [edi + 9]
call fcn.00404c30
mov esi, dword [ebp - 0x3e8]
test esi, esi
jbe 0x473288
test bl, bl
je 0x473246
lea edx, [ebp - 0x444]
lea eax, [ebp + esi - 0x400]
call fcn.00409d80
mov eax, dword [ebp - 0x444]
lea edx, [ebp - 0x440]
call fcn.00408fa4
mov eax, dword [ebp - 0x440]
lea edx, [ebp - 0x43c]
call fcn.00472d14
mov edx, dword [ebp - 0x43c]
lea eax, [edi + 0xd]
call fcn.00404c30
jmp 0x473288
lea edx, [ebp - 0x450]
lea eax, [ebp + esi - 0x400]
call fcn.00409d80
mov eax, dword [ebp - 0x450]
lea edx, [ebp - 0x44c]
call fcn.00472eb0
mov eax, dword [ebp - 0x44c]
lea edx, [ebp - 0x448]
call fcn.00408fa4
mov edx, dword [ebp - 0x448]
lea eax, [edi + 0xd]
call fcn.00404c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4732a9
mov eax, dword [ebp - 0x404]
push eax
call sub.kernel32.dll_CloseHandle
ret