joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49892c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x498935
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00407204
mov eax, dword [ebp + 0xc]
call fcn.00407204
xor eax, eax
push ebp
push 0x498b72
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
push ebp
push 0x498af4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
call fcn.0040e224
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x24]
mov eax, 0x498b90
call fcn.0040eecc
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00405a98
mov ecx, dword [ebp - 0x20]
mov edx, 0x498ba8
mov eax, dword [ebp - 4]
call fcn.00498c7c
lea eax, [ebp - 0x1c]
push eax
call fcn.0040e224
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x2c]
mov eax, 0x498bc0
call fcn.0040eecc
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.00405a98
mov ecx, dword [ebp - 0x28]
mov edx, 0x498bd8
mov eax, dword [ebp - 4]
call fcn.00498c7c
push 0xffff
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41afc0]
call fcn.0042044c
mov dword [ebp - 0x10], eax
push 0xffff
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x41afc0]
call fcn.0042044c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x498adf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0047f490
add eax, 0x24
push eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [ebp - 0x30]
pop eax
call fcn.0040542c
mov eax, dword [ebp - 0x14]
push eax
mov al, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00498dec
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x498a80
cmp eax, 0
jbe 0x498a8d
jmp 0x498a82
jle 0x498a8d
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x498ac1
mov eax, dword [ebp - 0x18]
call fcn.0040c174
test al, al
je 0x498aad
mov eax, dword [ebp - 0x18]
call fcn.0040c38c
mov eax, dword [ebp - 0x1c]
call fcn.0040c174
test al, al
je 0x498ac1
mov eax, dword [ebp - 0x1c]
call fcn.0040c38c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498ae6
mov eax, dword [ebp - 0x10]
call fcn.00404284
mov eax, dword [ebp - 0x14]
call fcn.00404284
ret

Function at 0x4aefdc
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x52d5d0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4aeffe
shr eax, 1
xor eax, 0xedb88320
jmp 0x4af000
shr eax, 1
dec edx
jne 0x4aefec
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4aefe5
mov byte [0x52d9d0], 1
pop esi
pop ebx
ret
Function at 0x4af01c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x52d9d0], 0
jne 0x4af033
call fcn.004aefdc
mov eax, edi
dec eax
test eax, eax
jl 0x4af05c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x52d5d0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4af03d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4b1fd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4b2001
dec al
je 0x4b203d
dec al
je 0x4b2081
dec al
je 0x4b20ec
jmp 0x4b2176
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4b2176
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4b2011
jmp 0x4b2176
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4b2176
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4b204d
jmp 0x4b2176
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4b2176
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4b20af
xor ebp, ebp
jmp 0x4b20c0
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4b20c9
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4b2091
jmp 0x4b2176
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4b2176
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4b2144
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004af064
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4b2100
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ba1b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff988
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x678], ebx
mov dword [ebp - 0x674], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405654
mov eax, dword [ebp + 0x14]
call fcn.00405654
mov eax, dword [ebp + 8]
call fcn.00405654
xor eax, eax
push ebp
push 0x4ba3e3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x419]
mov edx, dword [ebp - 4]
call fcn.0040c898
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040c4e4
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.0040522c
lea eax, [ebp - 0x61a]
mov edx, dword [ebp - 0xc]
call fcn.0040c898
lea eax, [ebp - 0x660]
xor ecx, ecx
mov edx, 0x44
call fcn.004039ec
mov dword [ebp - 0x660], 0x44
mov dword [ebp - 0x634], 1
mov word [ebp - 0x630], bx
cmp dword [ebp + 0x14], 0
je 0x4ba289
lea edx, [ebp - 0x674]
mov eax, dword [ebp + 0x14]
call fcn.0040b530
mov ecx, dword [ebp - 0x674]
lea eax, [ebp - 0x18]
mov edx, 0x4ba400
call fcn.004054b0
jmp 0x4ba291
lea eax, [ebp - 0x18]
call fcn.00405194
xor eax, eax
push ebp
push 0x4ba370
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x61a]
push eax
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x678]
lea edx, [ebp - 0x419]
mov ecx, 0x401
call fcn.00405414
lea eax, [ebp - 0x678]
mov edx, dword [ebp - 0x18]
call fcn.0040546c
mov eax, dword [ebp - 0x678]
call fcn.00405664
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4ba2fe
or ebx, 0xffffffff
jmp 0x4ba366
mov eax, dword [0x517e08]
mov eax, dword [eax]
call fcn.00466ac8
push 0x64
mov eax, dword [ebp - 0x670]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ebx, eax
cmp dword [ebp + 0xc], 0
je 0x4ba329
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
call dword [ebp + 0xc]
mov eax, dword [0x517e08]
mov eax, dword [eax]
call fcn.00466ac8
cmp ebx, 0x102
je 0x4ba30a
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x670]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x670]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0x3e8
call sub.kernel32.dll_Sleep_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba3ea
lea eax, [ebp - 0x678]
mov edx, 2
call fcn.004051b8
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004051b8
lea eax, [ebp - 0xc]
call fcn.00405194
lea eax, [ebp - 4]
call fcn.00405194
lea eax, [ebp + 8]
call fcn.00405194
lea eax, [ebp + 0x14]
call fcn.00405194
ret
Function at 0x4ba5e0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push ecx
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
jbe 0x4ba612
push esp
push esi
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [esp]
push eax
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
jmp 0x4ba614
mov bl, 1
mov eax, ebx
pop edx
pop esi
pop ebx
ret

Function at 0x4badf8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405654
xor eax, eax
push ebp
push 0x4baeb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x437b4c]
call fcn.00437c4c
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405194
xor eax, eax
push ebp
push 0x4bae98
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.00437d28
xor ecx, ecx
mov edx, 0x4baecc
mov eax, dword [ebp - 8]
call fcn.00437d90
test al, al
je 0x4bae82
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0043850c
test al, al
je 0x4bae7a
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004383b8
mov eax, dword [ebp - 8]
call fcn.00437cf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bae9f
mov eax, dword [ebp - 8]
call fcn.00404284
ret

Function at 0x4baf10
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405654
xor eax, eax
push ebp
push 0x4bafcd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x437b4c]
call fcn.00437c4c
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405194
xor eax, eax
push ebp
push 0x4bafb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.00437d28
xor ecx, ecx
mov edx, 0x4bafe4
mov eax, dword [ebp - 8]
call fcn.00437d90
test al, al
je 0x4baf9a
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0043850c
test al, al
je 0x4baf92
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004383b8
mov eax, dword [ebp - 8]
call fcn.00437cf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bafb7
mov eax, dword [ebp - 8]
call fcn.00404284
ret

Function at 0x4bb12c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bb1c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00402e58
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bb1a5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xfe
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
push ebx
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040539c
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, 1
call fcn.004056c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb1ac
mov eax, dword [ebp - 4]
call fcn.00402e88
ret
Function at 0x4bb478
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, 1
mov eax, esi
call fcn.0040c174
test al, al
je 0x4bb4a4
push 0x80
mov eax, esi
call fcn.00405664
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, esi
call fcn.0040c38c
mov ebx, eax
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4bb9c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bba74
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, pe_nt_image_headers32
call fcn.00402e58
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bba57
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
je 0x4bba41
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x4bba39
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040539c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
call fcn.0040c800
inc eax
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp byte [eax], 0
jne 0x4bba18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bba5e
mov eax, dword [ebp - 4]
call fcn.00402e88
ret

Function at 0x4bba80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405654
xor eax, eax
push ebp
push 0x4bbb04
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405464
dec eax
jne 0x4bbac2
lea eax, [ebp - 4]
mov edx, 0x4bbb1c
call fcn.0040546c
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405664
push eax
call sub.kernel32.dll_GetVolumeInformationA
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_SetErrorMode
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbb0b
lea eax, [ebp - 4]
call fcn.00405194
ret
Function at 0x4bbb20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bbc33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [0x517f18]
mov edx, dword [edx]
call fcn.004051e8
mov dl, 1
mov eax, dword [0x41ad9c]
call fcn.00404254
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4bbc0e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.004bb9c0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4bbbf8
inc ebx
xor esi, esi
lea ecx, [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 8]
call fcn.00405664
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x4bbbf4
mov eax, dword [ebp - 8]
call fcn.004bba80
test al, al
je 0x4bbbf4
lea eax, [ebp - 8]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004056c8
lea eax, [ebp - 0x10]
mov ecx, 0x4bbc4c
mov edx, dword [ebp - 8]
call fcn.004054b0
mov eax, dword [ebp - 0x10]
call fcn.0040c174
test al, al
je 0x4bbbf4
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004051e8
jmp 0x4bbbf8
inc esi
dec ebx
jne 0x4bbb89
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbc15
mov eax, dword [ebp - 0xc]
call fcn.00404284
ret

Function at 0x4bbfd4
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bc0b8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0040c4e4
mov eax, dword [ebp - 8]
call fcn.0040c1a8
push 0xffff
mov ecx, ebx
mov dl, 1
mov eax, dword [0x41afc0]
call fcn.0042044c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bc09b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4bc07b
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x4bc04b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404b94
jmp 0x4bc0a2
mov eax, esi
call fcn.00405464
push eax
mov eax, esi
call fcn.00405664
mov edx, eax
mov eax, dword [ebp - 4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SetEndOfFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bc085
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc0a2
mov eax, dword [ebp - 4]
call fcn.00404284
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc0bf
lea eax, [ebp - 8]
call fcn.00405194
ret

Function at 0x4bdd90
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.004088c4
ret
Function at 0x4bdf2c
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405654
xor eax, eax
push ebp
push 0x4be07a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.004bdd90
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405664
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4be059
xor eax, eax
push ebp
push 0x4be052
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4be03b
xor eax, eax
push ebp
push 0x4be034
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4be01d
xor eax, eax
push ebp
push 0x4be016
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.004bddc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be01d
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be03b
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be059
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.004bde44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be081
lea eax, [ebp - 4]
call fcn.00405194
ret

Function at 0x4be710
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4be7c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, pe_nt_image_headers32
call fcn.00402e58
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4be7a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
je 0x4be791
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x4be789
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040539c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
call fcn.0040c800
inc eax
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp byte [eax], 0
jne 0x4be768
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be7ae
mov eax, dword [ebp - 4]
call fcn.00402e88
ret
Function at 0x4be7d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405654
xor eax, eax
push ebp
push 0x4be854
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405464
dec eax
jne 0x4be812
lea eax, [ebp - 4]
mov edx, 0x4be86c
call fcn.0040546c
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405664
push eax
call sub.kernel32.dll_GetVolumeInformationA
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_SetErrorMode
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be85b
lea eax, [ebp - 4]
call fcn.00405194
ret

Function at 0x4be870
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4be983
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [0x517f18]
mov edx, dword [edx]
call fcn.004051e8
mov dl, 1
mov eax, dword [0x41ad9c]
call fcn.00404254
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4be95e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.004be710
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4be948
inc ebx
xor esi, esi
lea ecx, [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 8]
call fcn.00405664
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x4be944
mov eax, dword [ebp - 8]
call fcn.004be7d0
test al, al
je 0x4be944
lea eax, [ebp - 8]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004056c8
lea eax, [ebp - 0x10]
mov ecx, 0x4be99c
mov edx, dword [ebp - 8]
call fcn.004054b0
mov eax, dword [ebp - 0x10]
call fcn.0040c174
test al, al
je 0x4be944
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004051e8
jmp 0x4be948
inc esi
dec ebx
jne 0x4be8d9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be965
mov eax, dword [ebp - 0xc]
call fcn.00404284
ret