joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ee7d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4ee7e7
add esp, 0xfffffff0
call fcn.00405520
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044d2d0
mov eax, dword [0x602314]
cmp byte [eax], 0
jne 0x4ee814
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x602924]
cmp word [eax + 2], 0
jne 0x4ee82e
mov eax, dword [0x602924]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004f0898
mov eax, dword [0x602b38]
cmp word [eax + 2], 0
jne 0x4ee848
mov eax, dword [0x602b38]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004f0a9c
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x457138]
call fcn.0045d69c
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4f1014
mov dl, 1
mov eax, dword [0x434cc8]
call fcn.00404fc0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x434cc8]
call fcn.00404fc0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x45b834]
call fcn.00466b54
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4eea28
mov eax, dword [0x6026b0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00466fe8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4f12fc
mov dl, 1
mov eax, dword [0x434cc8]
call fcn.00404fc0
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x6026b0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041f938
test eax, eax
je 0x4ee959
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041f67c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041f91c
test eax, eax
je 0x4ee971
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004077e8
push ebx
push 0x4f0284
call fcn.004e45e0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x602314]
cmp byte [eax], 0
jne 0x4ee9c2
mov eax, ebx
call fcn.004eeb9c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004f1528
mov eax, ebx
call fcn.004f2158
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4eea1f
call fcn.00405578
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4eee68
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4eef0a
cmp dword [ebx + 0x94], 0
jne 0x4eef04
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4eedb4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4eef04
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_GetWindowLongW
test al, 8
je 0x4eeeca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4eef04
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.00440628
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4eeed9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x6082e8]
cmp dword [eax + 0x170], 0
je 0x4ef28d
test bl, bl
jne 0x4ef1db
cmp dword [esi + 0x9c], 0
jne 0x4ef1d0
mov eax, esi
call fcn.004f1fa8
push eax
push 0x4ef034
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4ef1a1
mov eax, dword [0x6082e8]
cmp byte [eax + 0xd3], 0
je 0x4ef1a1
mov eax, dword [esi + 0xd8]
call fcn.00408820
mov edi, eax
cmp edi, 0
jl 0x4ef1a1
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4ef18a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4ef1d0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00440628
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4ef1b0
inc dword [esi + 0x9c]
jmp 0x4ef28d
cmp dword [esi + 0x9c], 0
jle 0x4ef28d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4ef28d
cmp dword [esi + 0x44], 0
je 0x4ef238
mov eax, dword [0x6082e8]
cmp byte [eax + 0xd3], 0
je 0x4ef238
mov eax, dword [esi + 0xd8]
call fcn.00408820
mov edi, eax
cmp edi, 0
jl 0x4ef238
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4ef221
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4ef267
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00440628
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4ef247
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4e24b8]
call fcn.004089e0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4efed0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4eff3b
cmp byte [ebx + 0xd3], 0
jne 0x4eff3b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406be4
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4eff28
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4eff48
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406e3c
jmp 0x4eff48
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406e3c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4f1710
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4f177e
mov eax, esi
call fcn.00484770
test al, al
je 0x4f177e
mov eax, dword [ebx + 0x84]
call fcn.004843c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4f177e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4f1772
push 0
mov eax, dword [ebx + 0x84]
call fcn.004843c4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0047b340
jmp 0x4f177e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004f1548
pop esi
pop ebx
ret
Function at 0x509668
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x509790
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00509554
mov eax, dword [esi]
call fcn.00408818
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x417234]
call fcn.004089e0
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00404654
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00404654
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00408818
mov dword [ebp - 0xc], eax
mov eax, dword [0x602d48]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.004f9344
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.004049d4
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00408818
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.004f9320
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004f90d8
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004f933c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x509797
lea eax, [ebp - 4]
mov edx, dword [0x417234]
call fcn.004089ec
ret

Function at 0x52264c
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.004078c0
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x522671
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.0040774c
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x522690
mov eax, ebx
mov edx, dword [esp]
call fcn.004078c0
pop ecx
pop edx
pop ebx
ret
Function at 0x56cea4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040774c
push eax
mov eax, dword [ebp - 4]
call fcn.0040774c
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x56ced8
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040774c
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 6], al
cmp byte [ebp - 6], 0
jne 0x56cf4b
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.0040774c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x56cf42
test byte [ebp - 0xb], 4
je 0x56cf42
test byte [ebp - 0xc], 0x10
je 0x56cf42
mov eax, dword [ebp - 4]
call fcn.0040774c
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 6], al
jmp 0x56cf4b
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetLastError
mov al, byte [ebp - 6]
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x56d024
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetTempFileNameW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x572e64
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00406b40
xor eax, eax
push ebp
push 0x572fce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov ax, word [eax + 4]
mov edx, dword [ebp - 4]
mov word [edx + 4], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 6]
mov edx, dword [ebp - 4]
mov word [edx + 6], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
mov edx, dword [ebp - 4]
mov word [edx + 8], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0xa]
mov edx, dword [ebp - 4]
mov word [edx + 0x64], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.005774ec
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1e]
mov edx, dword [ebp - 4]
mov word [edx + 0x1e], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 4]
mov word [edx + 0x22], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x22]
mov edx, dword [ebp - 4]
mov word [edx + 0x24], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x24]
mov edx, dword [ebp - 4]
mov word [edx + 0x26], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2a]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0056d16c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00574b7c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0056d0d4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00574c24
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.00406a80
mov eax, dword [ebp - 4]
mov byte [eax + 0x54], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x572fd5
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00406abc
ret
Function at 0x572fdc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00406b40
xor eax, eax
push ebp
push 0x573146
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov word [eax + 4], 0
mov eax, dword [ebp - 8]
mov ax, word [eax + 4]
mov edx, dword [ebp - 4]
mov word [edx + 6], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 6]
mov edx, dword [ebp - 4]
mov word [edx + 8], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
mov edx, dword [ebp - 4]
mov word [edx + 0x64], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa]
call fcn.005774ec
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x12]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x16]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1a]
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 4]
mov word [edx + 0x20], ax
mov eax, dword [ebp - 4]
mov word [eax + 0x22], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x24], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x26], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
cmp dword [ebp - 0xc], 0
je 0x5730fe
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0056d16c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00574b7c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0056d0d4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00574c24
jmp 0x573112
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00574b7c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00574c24
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.00406a80
mov eax, dword [ebp - 4]
mov byte [eax + 0x54], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57314d
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00406abc
ret

Function at 0x577a60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b40
xor eax, eax
push ebp
push 0x577ac3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.0040774c
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
je 0x577aa9
mov eax, dword [ebp - 4]
call fcn.0040774c
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 5
jne 0x577aad
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x577aca
lea eax, [ebp - 4]
call fcn.00406a5c
ret
Function at 0x577ad4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b40
xor eax, eax
push ebp
push 0x577b39
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x1c
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
call fcn.0040774c
push eax
call sub.kernel32.dll_GetVolumeInformationW
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x2c]
call fcn.0041fa38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x577b40
lea eax, [ebp - 4]
call fcn.00406a5c
ret

Function at 0x57bf90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x57c104
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x57c0df
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x216], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x21c]
mov edx, esi
call fcn.0040776c
lea eax, [ebp - 0x21c]
mov edx, 0x57c120
call fcn.00407940
mov eax, dword [ebp - 0x21c]
call fcn.0040774c
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x57c050
lea eax, [ebp - 0x216]
call fcn.0041f630
mov ecx, eax
lea edx, [ebp - 0x216]
mov eax, ebx
call fcn.00406be4
jmp 0x57c057
mov eax, ebx
call fcn.00406a5c
cmp si, 0x61
jae 0x57c079
lea edx, [ebp - 0x220]
mov eax, dword [ebx]
call fcn.00424e88
mov edx, dword [ebp - 0x220]
mov eax, ebx
call fcn.00406e3c
jmp 0x57c093
lea edx, [ebp - 0x224]
mov eax, dword [ebx]
call fcn.00424e74
mov edx, dword [ebp - 0x224]
mov eax, ebx
call fcn.00406e3c
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0x11
lea edx, [ebp - 0x230]
xor ecx, ecx
mov eax, 0x57c134
call fcn.0041fc10
mov edx, dword [ebp - 0x228]
mov eax, ebx
call fcn.00406e3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57c0e6
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x58038d
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret

Function at 0x580904
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
mov dword [ebp - 4], eax
push 0x104
push dword [ebp + 8]
mov edx, dword [ebp + 8]
add edx, 0x104
push edx
call fcn.0057fffc
add esp, 0xc
cmp dword [ebp - 4], 0x104
jae 0x580958
mov ecx, 0x104
sub ecx, dword [ebp - 4]
push ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
push eax
mov edx, dword [ebp + 8]
call dword [edx + 0x20c]
add esp, 8
add dword [ebp - 4], eax
cmp dword [ebp - 4], 0x104
jb 0x580930
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov cl, byte [edx + eax + 0x104]
not cl
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
xor byte [edx + eax], cl
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x104
jb 0x58095d
push dword [ebp + 8]
call fcn.00580850
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0x104
push ecx
call fcn.00580850
pop ecx
pop ecx
pop ebp
ret

Function at 0x581e3e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0x581eec
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x9c], 0x40
jbe 0x581e7d
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0x10]
call fcn.0058046d
add esp, 8
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x9c], 0x14
mov edx, 0x40
mov ecx, dword [ebp + 0x10]
sub edx, dword [ecx + 0x9c]
push edx
push 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
add eax, dword [edx + 0x9c]
push eax
call fcn.0057ffe4
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
xor dword [edx + eax*4], 0x36363636
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0x581ea8
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
call fcn.0058038d
pop ecx
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
push 0x40
push dword [ebp + 0x10]
call fcn.005803d1
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x9c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x581f07
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005803d1
add esp, 0xc
pop ecx
pop ebp
ret
Function at 0x581f0a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0x581f2b
push dword [ebp + 0x10]
push 0
push 0
call fcn.00581e3e
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.0058046d
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
xor dword [ecx + edx*4], 0x6a6a6a6a
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0x581f43
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
call fcn.0058038d
pop ecx
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
push 0x40
push dword [ebp + 0x10]
call fcn.005803d1
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push 0x14
lea eax, [ebp - 0x18]
push eax
call fcn.005803d1
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.0058046d
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jae 0x581fca
mov ecx, dword [ebp - 4]
mov al, byte [ebp + ecx - 0x18]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov byte [edx + ecx], al
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jb 0x581faf
mov esp, ebp
pop ebp
ret