joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5cb8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
push esi
push edi
test ecx, ecx
je 0x4b5d6b
mov eax, dword [ecx]
cmp eax, 6
jne 0x4b5cf6
mov eax, dword [ecx + 8]
test eax, eax
je 0x4b5d6b
push dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
push ecx
push 1
push eax
call fcn.004d1083
add esp, 0x10
jmp 0x4b5d6d
cmp eax, 5
jne 0x4b5d40
mov esi, dword [ecx + 8]
test esi, esi
je 0x4b5d6b
mov eax, dword [esi]
mov ecx, esi
xor ebx, ebx
call dword [eax + 0x5c]
xor edi, edi
mov dword [ebp + 8], eax
test eax, eax
jbe 0x4b5d3c
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x34]
mov eax, dword [eax + 4]
test eax, eax
je 0x4b5d36
cmp dword [eax], 0
je 0x4b5d36
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push eax
call fcn.004b5cb8
add ebx, eax
inc edi
cmp edi, dword [ebp + 8]
jb 0x4b5d14
mov eax, ebx
jmp 0x4b5d6d
lea edx, [ebp + 8]
call fcn.004310b0
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, dword [eax - 0xc]
push ecx
push 1
push eax
call fcn.004d1083
mov esi, eax
add esp, 0x10
lea eax, [ebp + 8]
call fcn.0042afc0
mov eax, esi
jmp 0x4b5d6d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4b9e8d
Capabilities:
Create thread

Disassembly:
push 0x28
mov eax, 0x50168a
call fcn.004d2f7d
mov eax, dword [ebx]
push str._caller
mov ecx, ebx
call dword [eax + 0x38]
mov ecx, dword [eax + 4]
xor esi, esi
cmp ecx, esi
je 0x4b9f43
call fcn.0040c5f0
mov edi, eax
cmp edi, esi
je 0x4b9f43
mov eax, dword [ebx]
push str._selfname
mov ecx, ebx
call dword [eax + 0x38]
lea esi, [ebp - 0x34]
call fcn.0040ea10
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0
je 0x4b9f2e
lea esi, [ebp - 0x28]
call fcn.0040e9e0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
cmp dword [eax], 1
jne 0x4b9ef8
mov eax, dword [eax + 8]
jmp 0x4b9efa
xor eax, eax
mov edx, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x30]
test eax, eax
je 0x4b9f1b
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
push str._thread_env
call dword [eax + 0x38]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], vtable.os::script_shared_ptr_class__variant__.0
call fcn.0040ea60
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], vtable.os::script_shared_ptr_class__variant__.0
call fcn.0040ea60
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esi
call fcn.00408850
push esi
push esi
push 1
push esi
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x4ba05f
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
call fcn.004085a0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
push 0x4ba1b0
push dword [ebp + 0xc]
push esi
call fcn.004cd307
add esp, 0x18
mov dword [ebp + 8], eax
cmp eax, esi
jbe 0x4ba05f
mov edi, 0x54cfe0
push edi
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
mov byte [ebp - 4], 3
cmp ecx, esi
je 0x4b9fc6
mov eax, dword [ebp - 0x10]
call fcn.0041a730
jmp 0x4b9fc8
xor eax, eax
push eax
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0040ec70
push eax
mov byte [ebp - 4], 4
mov edx, dword [ebx]
push 0x516104
mov ecx, ebx
call dword [edx + 0x30]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x34], vtable.os::script_shared_ptr_class__variant__.0
call fcn.0040ea60
push edi
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
mov byte [ebp - 4], 5
test ecx, ecx
je 0x4ba019
mov eax, dword [ebp + 8]
call fcn.0041a730
jmp 0x4ba01b
xor eax, eax
push eax
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040ec70
push eax
mov byte [ebp - 4], 6
mov edx, dword [ebx]
push str.handle
mov ecx, ebx
call dword [edx + 0x30]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x28], vtable.os::script_shared_ptr_class__variant__.0
call fcn.0040ea60
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.004087f0
mov eax, esi
call fcn.004d3057
ret 0xc
Function at 0x4bf0a6
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x5308a0
push 0x4d77f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5466b0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x2c], eax
mov esi, edx
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp + 0x218]
xor ebx, ebx
cmp eax, ebx
je 0x4bf221
cmp esi, ebx
je 0x4bf221
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1c]
push eax
push 0x50cc4c
push 1
push ebx
push 0x50ccac
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4bf1e3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x50ccf0
push eax
call dword [ecx]
test eax, eax
jl 0x4bf1e3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
cmp edi, ebx
jne 0x4bf16b
mov edi, esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push dword [ebp + 0x21c]
push edi
push eax
call dword [ecx + 0x44]
xor eax, eax
mov word [ebp], ax
push 0x206
push ebx
lea eax, [ebp + 2]
push eax
call fcn.004d7710
add esp, 0xc
push 0x102
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp]
push edx
push eax
call dword [ecx + 0x24]
cmp dword [ebp - 0x24], ebx
je 0x4bf1cb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push dword [ebp - 0x24]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x2c]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x4bf1e3
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x4bf1fc
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4bf209
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4bf216
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x28]
jmp 0x4bf223
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004cb38b
add ebp, 0x20c
leave
ret
Function at 0x4bf246
Capabilities:
Query environment variable

Disassembly:
push 0x430
push 0x536ab8
call fcn.004ef72c
mov ebx, ecx
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x440], eax
xor esi, esi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x430]
push eax
push 0x50cc4c
push 1
push esi
push 0x50ccac
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x4bf3ed
mov eax, dword [ebp - 0x430]
cmp eax, esi
je 0x4bf3ed
mov ecx, dword [eax]
lea edx, [ebp - 0x434]
push edx
push 0x50ccf0
push eax
call dword [ecx]
cmp eax, esi
jl 0x4bf3be
mov eax, dword [ebp - 0x434]
cmp eax, esi
je 0x4bf3be
mov ecx, dword [ebx]
mov edx, dword [eax]
push esi
push ecx
push eax
call dword [edx + 0x14]
test eax, eax
jl 0x4bf3b2
xor eax, eax
mov word [ebp - 0x224], ax
mov ebx, 0x206
push ebx
push esi
lea eax, [ebp - 0x222]
push eax
call fcn.004d7710
add esp, 0xc
mov eax, dword [ebp - 0x430]
mov ecx, dword [eax]
push 2
push esi
mov esi, 0x104
push esi
lea edx, [ebp - 0x224]
push edx
push eax
call dword [ecx + 0xc]
lea edx, [ebp - 0x224]
call fcn.004085a0
mov eax, dword [ebp - 0x430]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x224]
push edx
push eax
call dword [ecx + 0x28]
lea edx, [ebp - 0x224]
mov edi, dword [ebp - 0x43c]
call fcn.004085a0
and dword [ebp - 0x438], 0
mov eax, dword [ebp - 0x430]
mov ecx, dword [eax]
lea edx, [ebp - 0x438]
push edx
push esi
lea edx, [ebp - 0x224]
push edx
push eax
call dword [ecx + 0x40]
xor eax, eax
mov word [ebp - 0x42c], ax
push ebx
push eax
lea eax, [ebp - 0x42a]
push eax
call fcn.004d7710
add esp, 0xc
push esi
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0x42c]
mov edi, dword [ebp - 0x440]
call fcn.004085a0
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x430]
jmp 0x4bf3e7
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
inc eax
call fcn.004ef774
ret

Function at 0x4c06f0
Capabilities:
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x4c06f7
xor eax, eax
ret
mov eax, dword [esp + 4]
jmp fcn.004c0700
Function at 0x4c1614
Capabilities:
Resume thread

Disassembly:
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x4c1622
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret

Function at 0x4c1623
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x4c1631
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
ret

Function at 0x4c1724
Capabilities:
Encrypt data using des

Disassembly:
push edi
mov edi, 0x800
push edi
call fcn.004cca0d
pop ecx
mov dword [esi], eax
test eax, eax
je 0x4c178e
push esi
call fcn.004c1bc7
push edi
call fcn.004cca0d
pop ecx
mov dword [esi + 4], eax
test eax, eax
jne 0x4c1758
push dword [esi]
call fcn.004cc15e
pop ecx
or eax, 0xffffffff
pop edi
ret
push 0x5115f8
push eax
call fcn.004c1b51
push edi
call fcn.004cca0d
pop ecx
mov dword [esi + 8], eax
test eax, eax
jne 0x4c1783
push dword [esi]
call fcn.004cc15e
push dword [esi + 4]
call fcn.004cc15e
pop ecx
jmp 0x4c1752
push 0x511638
push eax
call fcn.004c1b51
xor eax, eax
pop edi
ret

Function at 0x4c17c7
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x5466b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x80
xor edi, edi
push edi
push ebx
call fcn.004d7710
add esp, 0xc
xor ecx, ecx
movsx eax, byte [ecx + str.91__]
mov esi, dword [ebp + 8]
dec eax
mov edx, eax
sar edx, 3
movsx edx, byte [edx + esi]
and eax, 7
test dword [eax*4 + 0x511910], edx
setne al
mov byte [ebp + ecx - 0x3c], al
inc ecx
cmp ecx, 0x38
jl 0x4c17ec
movsx eax, byte [edi + 0x5116b0]
xor ecx, ecx
xor edx, edx
cmp ecx, 0x1c
setge dl
mov esi, eax
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp eax, edx
jl 0x4c1838
lea esi, [eax - 0x1c]
mov dl, byte [ebp + esi - 0x3c]
mov byte [ebp + ecx - 0x74], dl
inc ecx
inc eax
cmp ecx, 0x38
jl 0x4c1820
xor ecx, ecx
movsx eax, byte [ecx + 0x5116c0]
cmp byte [ebp + eax - 0x75], 0
je 0x4c1870
mov eax, ecx
cdq
push 6
pop esi
idiv esi
mov edx, dword [edx*4 + 0x511910]
lea eax, [eax + edi*8]
add eax, ebx
sar edx, 2
or byte [eax], dl
inc ecx
cmp ecx, 0x30
jl 0x4c1849
inc edi
cmp edi, 0x10
jl 0x4c1817
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004cb38b
leave
ret 4
Function at 0x4c1bc7
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5466b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
xor ecx, ecx
xor eax, eax
movsx edx, byte [eax + 0x5118f0]
dec edx
cmp edx, ecx
je 0x4c1bf5
inc eax
cmp eax, 0x20
jl 0x4c1be1
jmp 0x4c1bf9
mov byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0x20
jl 0x4c1bdf
and dword [ebp - 0x30], 0
push ebx
lea eax, [ebp - 0x24]
push esi
mov dword [ebp - 0x2c], eax
xor eax, eax
push edi
xor edx, edx
mov dword [ebp - 0x28], eax
mov eax, edx
sar eax, 1
mov ecx, edx
and ecx, 1
shl ecx, 4
and eax, 0xf
or eax, ecx
mov ecx, edx
and ecx, 0x20
or eax, ecx
mov ecx, dword [ebp - 0x30]
movsx eax, byte [ecx + eax + 0x5116f0]
xor edi, edi
xor esi, esi
push 8
pop ebx
mov ecx, esi
sar ebx, cl
test eax, ebx
je 0x4c1c58
mov ecx, dword [ebp - 0x2c]
movsx ebx, byte [ecx + esi]
push 0x1f
pop ecx
sub ecx, ebx
xor ebx, ebx
inc ebx
shl ebx, cl
or edi, ebx
inc esi
cmp esi, 4
jl 0x4c1c3a
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax]
add dword [ebp - 0x28], 4
inc edx
cmp edx, 0x40
mov dword [ecx + eax], edi
jl 0x4c1c13
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x30], 0x40
add dword [ebp - 0x2c], 4
cmp eax, 0x800
jl 0x4c1c0e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb38b
leave
ret 4
Function at 0x4c4710
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.004c80e0
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.004c8180
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.004cb38b
add esp, 0x68
ret
Function at 0x4c4880
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0x20119
xor edi, edi
push edi
push 0x520dbc
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c4a11
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [esp + 0x1c]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x28]
push str.Operator
mov edi, 0x400
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c4913
cmp dword [esp + 0x14], 1
jne 0x4c49f8
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi], ebx
lea ebx, [eax + ebx]
je 0x4c49f8
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.IssueDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x4c4958
cmp dword [esp + 0x14], 1
jne 0x4c49f8
mov eax, dword [esp + 0x10]
mov dword [esi + 4], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x4c49f8
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x4c498f
cmp dword [esp + 0x14], 1
jne 0x4c49f8
mov eax, dword [esp + 0x10]
mov dword [esi + 8], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x4c49f8
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.SignData
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x4c49f8
cmp dword [esp + 0x14], 3
jne 0x4c49f8
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x4c49f8
lea eax, [esi + 0xc]
call fcn.004c4780
test eax, eax
je 0x4c49f8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, 0x400
sub ecx, edi
push eax
mov dword [edx], ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4c4e00
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
lea eax, [esp + 8]
mov esi, edx
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.004c6e20
add esp, 8
test eax, eax
jne 0x4c4e6b
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004cb38b
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x4c4e80
push esi
lea ecx, [esp + 0x14]
call fcn.004c80e0
add esp, 4
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.004c8180
test edi, edi
je 0x4c4e9e
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, dword [esp + 8]
sete al
mov dword [edi], eax
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004cb38b
add esp, 0x6c
ret

Function at 0x4c4ee0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x5c], eax
xor eax, eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.004c7010
add esp, 4
test eax, eax
jne 0x4c4f3e
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004cb38b
add esp, 0x64
ret
lea esi, [esp + 8]
mov ecx, ebx
call fcn.004c8180
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.004cb38b
add esp, 0x64
ret

Function at 0x4c4f60
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.004c70f0
add esp, 8
test eax, eax
jne 0x4c4fdf
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004cb38b
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.004c7ed0
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.004cb38b
add esp, 0x74
ret

Function at 0x4c5990
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4c59bb
push 0x514b40
mov eax, 0x514b40
call fcn.004c8be0
add esp, 4
xor eax, eax
pop ecx
ret
mov eax, 1
cmp esi, dword [esp]
je 0x4c59d4
push 0x514b40
call fcn.004c8c50
add esp, 4
xor eax, eax
pop ecx
ret
Function at 0x4c6270
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
cmp eax, ebx
jne 0x4c62a3
mov dword [esp + 0x10], 0xffffffff
jmp 0x4c62a9
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push ebx
push ebx
push ebp
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4c62d7
push 0x514b40
mov eax, 0x514b40
call fcn.004c8be0
add esp, 4
jmp 0x4c63b7
push 0
lea edx, [esp + 0x1c]
push edx
push 8
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4c6307
push 0x514b40
mov eax, 0x514b40
call fcn.004c8be0
add esp, 4
jmp 0x4c63b7
mov eax, 8
cmp dword [esp + 0x18], eax
je 0x4c6329
mov eax, 1
push 0x514b40
call fcn.004c8c50
add esp, 4
jmp 0x4c63b7
cmp dword [esp + 0x40], ebx
je 0x4c6365
mov ebx, eax
cmp dword [esp + 0x10], eax
jae 0x4c634b
mov eax, 5
push 0x514b40
call fcn.004c8c50
add esp, 4
jmp 0x4c63b7
mov ecx, dword [esp + 0x24]
mov dx, word [esp + 0x28]
mov dword [esi], ecx
mov cx, word [esp + 0x2a]
mov word [esi + 4], dx
mov word [esi + 6], cx
jmp 0x4c63af
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x10]
jbe 0x4c6373
mov ebx, esi
jmp 0x4c6337
mov edx, dword [esp + 0x38]
xor ebx, ebx
push ebx
push ebx
push ebp
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4c639c
push 0x514b40
mov eax, 0x514b40
call fcn.004c8be0
add esp, 4
jmp 0x4c63b7
mov ecx, dword [esp + 0x20]
mov edx, edi
call fcn.004c5990
test eax, eax
je 0x4c63b7
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4c63c1
mov dword [eax], ebx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cb38b
add esp, 0x28
ret
Function at 0x4c6ca0
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [esi]
mov edi, dword [esi + 0x18]
lea ecx, [esp + 0x10]
push ecx
xor ebp, ebp
push eax
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4c6ce6
push 0x514b40
mov eax, 0x514b40
call fcn.004c8be0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0xb4]
xor edx, edx
sub ebx, edi
mov edi, dword [esp + 0x14]
sbb edi, edx
sub ebx, 0x298
sbb edi, ebp
xor eax, eax
cmp edi, eax
jl 0x4c6d78
jg 0x4c6d0e
cmp ebx, ecx
jb 0x4c6d78
mov ebp, dword [esi]
push 0
push 0
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4c6d3d
push 0x514b40
mov eax, 0x514b40
call fcn.004c8be0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov esi, 0x298
mov edx, ebp
call fcn.004c5990
test eax, eax
je 0x4c6d33
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c6d5e
mov dword [eax], ebx
mov dword [eax + 4], edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c6d85
mov ecx, 1
mov word [eax], cx
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x4c6d85
xor edx, edx
mov word [eax], dx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x4c7630
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x1c
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x4c7770
cmp dword [esp + 0x28], ebp
je 0x4c7770
push edi
push 0x2800
call fcn.004cca0d
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x4c7693
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004cb38b
add esp, 0x1c
ret
push ebx
push esi
xor ebx, ebx
jmp 0x4c76a0
push ebx
push str..PhysicalDrive_d
push 0x2800
call fcn.004c5830
add esp, 0xc
push ebp
push 0x80
push 3
push ebp
push 3
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4c7746
xor eax, eax
push 0x2800
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.004d7710
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2800
push edi
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4c7739
mov eax, dword [edi + 0x18]
cmp eax, ebp
jbe 0x4c7739
mov edx, dword [esp + 0x18]
add eax, edi
push eax
mov eax, dword [esp + 0x38]
push edx
push str.DISKID:
call fcn.004c73c0
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x4c7750
inc ebx
cmp ebx, 0x10
jl 0x4c76a0
push edi
call fcn.004cc15e
mov eax, dword [esp + 0x14]
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004cb38b
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.004cb38b
add esp, 0x1c
ret