joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a8c38
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5a8c66
mov eax, ebx
call fcn.005a96ec
cmp dword [ebx + 0x40], 0
je 0x5a8c5f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5a8cd7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5a8cc9
cmp dword [ebx + 8], 0
je 0x5a8c88
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5a8c9a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5a8cc9
cmp dword [ebx + 8], 0
je 0x5a8c7b
cmp eax, 3
je 0x5a8cad
dec eax
jne 0x5a8c7b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5a8c7b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5a8c7b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5a8cf5
cmp dword [ebx + 0x14], 0xcc
je 0x5a8cf5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005a8d00
pop ebx
ret
Function at 0x5c1a40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.005c1664
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.005051dc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x5c1a9e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x627958]
mov dl, 1
mov eax, dword [0x5c14f0]
call fcn.0050da38
call fcn.00504660
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x5c1aa8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.005051dc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x5c1b00
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x627ce8]
mov dl, 1
mov eax, dword [0x5c14f0]
call fcn.0050da38
call fcn.00504660
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.005c1694
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x5c3fd8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ebx, 0xe
mov eax, 0x61c25c
xor edx, edx
mov dl, byte [eax]
mov ecx, 0x1f
sub ecx, edx
mov edx, 1
shl edx, cl
or esi, edx
inc eax
dec ebx
jne 0x5c3fe6
xor ebx, ebx
mov ecx, 0x61be5c
mov eax, ebx
mov edx, 8
test al, 1
je 0x5c4016
shr eax, 1
xor eax, esi
jmp 0x5c4018
shr eax, 1
dec edx
jne 0x5c400c
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x5c4005
pop esi
pop ebx
ret
Function at 0x5c402c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, edx
mov esi, eax
mov ebp, 0x61be5c
test esi, esi
je 0x5c4041
test edi, edi
jg 0x5c4048
xor eax, eax
jmp 0x5c4150
mov ebx, 0xdbc66688
cmp dword [0x61be58], 0
je 0x5c405b
call fcn.005c3fd8
xor ebx, 0xffffffff
cmp edi, 8
jl 0x5c412b
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jge 0x5c4067
test edi, edi
je 0x5c414b
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
jne 0x5c412f
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5c607c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x5c60a9
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x5c6128
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.005c469c
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x5c60f6
mov cx, word [esp]
sub cx, si
jmp 0x5c60f8
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x5c60df
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x5c611e
mov cx, word [esp]
sub cx, si
jmp 0x5c6120
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x5c6107
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x5c6185
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.005c5d50
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x5c6170
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x5c6185
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x5c6086
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5cbcf0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jle 0x5cbd10
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x5cbcfe
pop edi
pop esi
pop ebx
ret
Function at 0x5cdf0c
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x5cdfaa
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 2
mov dl, byte [edx + 0x6209e0]
mov byte [ebp + edi], dl
mov dl, byte [esi + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
xor ecx, ecx
mov cl, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x6209e0]
push edx
pop edx
mov byte [ebp + edi + 1], dl
mov dl, byte [esi + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
xor ecx, ecx
mov cl, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x6209e0]
push edx
pop edx
mov byte [ebp + edi + 2], dl
mov dl, byte [esi + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x6209e0]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x5cdf2b
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x5cdfc0
dec edx
je 0x5cdff5
jmp 0x5ce046
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x6209e0]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [eax + 0x6209e0]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x5ce046
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x6209e0]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [eax + 0x6209e0]
mov byte [ebp + edi + 1], al
mov al, byte [esi + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [eax + 0x6209e0]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5ce0a8
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, eax
mov dword [esp + 8], edx
xor esi, esi
xor ebp, ebp
xor eax, eax
mov edx, dword [esp]
test edx, edx
jns 0x5ce0c7
add edx, 3
sar edx, 2
test edx, edx
jle 0x5ce1d4
mov dword [esp + 0xc], edx
mov edx, 4
lea eax, [esp + 4]
xor ecx, ecx
mov cl, byte [edi + esi]
cmp ecx, 0x3d
jg 0x5ce0fd
je 0x5ce13d
sub ecx, 0x2b
je 0x5ce133
sub ecx, 4
je 0x5ce138
dec ecx
sub ecx, 0xa
jb 0x5ce126
jmp 0x5ce140
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x5ce10f
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x5ce119
jmp 0x5ce140
mov cl, byte [edi + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x5ce140
mov cl, byte [edi + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x5ce140
mov cl, byte [edi + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x5ce140
mov byte [eax], 0x3e
jmp 0x5ce140
mov byte [eax], 0x3f
jmp 0x5ce140
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x5ce0df
mov al, byte [esp + 4]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 5]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp], al
lea eax, [ebp + 1]
mov dl, byte [esp + 6]
cmp dl, 0xff
je 0x5ce191
cmp byte [esp + 7], 0xff
jne 0x5ce191
mov al, byte [esp + 5]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
lea eax, [ebp + 2]
inc ebp
jmp 0x5ce1c9
cmp dl, 0xff
je 0x5ce1c9
mov al, byte [esp + 5]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 6]
shl edx, 6
or dl, byte [esp + 7]
mov byte [eax + ebp + 2], dl
lea eax, [ebp + 3]
add ebp, 2
inc ebp
dec dword [esp + 0xc]
jne 0x5ce0d6
add esp, 0x10
pop ebp
pop edi
pop esi
ret
Function at 0x5cf8a4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0050a724
mov dword [esp], eax
mov edx, dword [esp]
dec edx
test edx, edx
jl 0x5cf8cf
inc edx
xor eax, eax
mov ecx, edi
xor cl, byte [esi + eax]
mov byte [ebx + eax], cl
inc eax
dec edx
jne 0x5cf8c3
mov edx, dword [esp]
dec edx
test edx, edx
jl 0x5cf8e2
inc edx
xor eax, eax
sub byte [ebx + eax], 0x20
inc eax
dec edx
jne 0x5cf8da
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5d1474
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5d1577
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.005036a0
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
test bl, bl
je 0x5d14c2
mov word [ebp - 0x1c], 1
jmp 0x5d14c8
mov word [ebp - 0x1c], 0
lea edx, [ebp - 4]
mov eax, edi
call fcn.0050a460
mov eax, esi
call fcn.00504fdc
test eax, eax
jle 0x5d1503
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0x68], 0xb
mov dword [ebp - 0x64], esi
mov byte [ebp - 0x60], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 1
mov eax, 0x5d1590
call fcn.0050ae44
jmp 0x5d151d
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x74], edi
mov byte [ebp - 0x70], 0xb
lea edx, [ebp - 0x74]
xor ecx, ecx
mov eax, 0x5d15a0
call fcn.0050ae44
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
call fcn.005051dc
push eax
push 0
push 0x30
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.005051dc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x5d1551
mov ebx, dword [ebp - 0x5c]
jmp 0x5d1553
xor ebx, ebx
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d157e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00504d30
ret

Function at 0x5d15a8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.0050a92c
add esp, 0x104
pop ebx
ret

Function at 0x5d1818
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov bl, 1
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x5d183a
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x5d2114
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x5d218e
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push 0
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00504f8c
mov eax, dword [ebp - 0x110]
mov edx, ebx
call fcn.005096fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d2195
lea eax, [ebp - 0x110]
call fcn.00504d0c
ret
Function at 0x5d23a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005051cc
xor eax, eax
push ebp
push 0x5d250a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x628
call fcn.005036a0
lea edx, [ebp - 8]
mov eax, dword [0x627600]
call fcn.005690cc
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, 0x5d2518
call fcn.00506a5c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, 0x5d2528
call fcn.00506a5c
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.005055c8
push 0
mov eax, dword [ebp - 0x14]
call fcn.005055d8
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
push 2
lea eax, [ebp - 0x154]
push eax
push 0x104
push ebx
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x104
lea eax, [ebx + 0x105]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
lea eax, [ebx + 0x310]
push eax
push 0x104
lea eax, [ebx + 0x20a]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
push 0x104
lea eax, [ebx + 0x314]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
push 0x104
lea eax, [ebx + 0x314]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
lea eax, [ebx + 0x620]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
lea eax, [ebx + 0x624]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
lea eax, [ebp - 0x10]
call fcn.00506a18
lea eax, [ebp - 0xc]
call fcn.00506a18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d2511
lea eax, [ebp - 0x14]
call fcn.00505464
lea eax, [ebp - 0x10]
call fcn.00506a18
lea eax, [ebp - 0xc]
call fcn.00506a18
lea eax, [ebp - 8]
call fcn.00506a18
lea eax, [ebp - 4]
call fcn.00504d0c
ret

Function at 0x5d2e30
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.0050813c
ret
Function at 0x5d2f8c
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.005051cc
xor eax, eax
push ebp
push 0x5d30da
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.005d2e30
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.005051dc
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x5d30b9
xor eax, eax
push ebp
push 0x5d30b2
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 0x5d309b
xor eax, eax
push ebp
push 0x5d3094
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 0x5d307d
xor eax, eax
push ebp
push 0x5d3076
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.005d2e64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d307d
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 0x5d309b
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 0x5d30b9
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.005d2ee4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d30e1
lea eax, [ebp - 4]
call fcn.00504d0c
ret

Function at 0x5d53ec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005051cc
xor eax, eax
push ebp
push 0x5d544a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.005d54c8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x5d5432
lea eax, [ebp - 4]
call fcn.005d54c8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x5d5434
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d5451
lea eax, [ebp - 4]
call fcn.00504d0c
ret
Function at 0x5d5458
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005051cc
xor eax, eax
push ebp
push 0x5d54bc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.005d54c8
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0050a92c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d54c3
lea eax, [ebp - 4]
call fcn.00504d0c
ret

Function at 0x5d5ab4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.005051cc
xor eax, eax
push ebp
push 0x5d5bad
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.005d5190
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0050a548
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.005d6474
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0050a42c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.005d64e8
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d5bb4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00504d30
ret
Function at 0x5d5bbc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.005051cc
xor eax, eax
push ebp
push 0x5d5cc5
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.005d5190
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x5d5c8b
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0050a548
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.005d6474
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0050a42c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.005d64e8
jmp 0x5d5c9d
xor edx, edx
mov eax, ebx
call fcn.005d6474
xor edx, edx
mov eax, ebx
call fcn.005d64e8
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d5ccc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00504d30
ret