joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a988c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov dword [esp], edx
mov esi, eax
mov dl, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
mov al, byte [esi + 1]
xor ecx, ecx
mov cl, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
mov dl, byte [esi + 2]
xor ecx, ecx
mov cl, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
mov al, byte [esi + 3]
xor ecx, ecx
mov cl, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
xor edx, edx
mov dl, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
mov al, byte [esi + 4]
shl eax, 3
and al, 0xff
xor edx, edx
mov dl, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
mov al, byte [esi + 5]
shl eax, 2
and al, 0xff
xor edx, edx
mov dl, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
mov al, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov edi, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
xor ebx, ebx
mov bl, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x4a9938
mov dl, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x4a9933
mov eax, ebp
mov edx, 8
call fcn.00404df4
push 1
mov eax, ebp
call fcn.00404cc0
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.004a88c8
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ab470
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4ab479
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4ab61d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004ab7b8
xor eax, eax
push ebp
push 0x4ab5fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x4ab4c8
call fcn.0040420c
jmp 0x4ab602
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x4ab58a
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4ab518
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4ab518
lea eax, [ebp - 0x10]
call fcn.004ab240
push dword [ebp - 0x10]
push 0x4ab638
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b28
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
mov cl, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4ab54d
lea eax, [ebp - 0x18]
call fcn.004ab240
push dword [ebp - 0x18]
push 0x4ab638
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404b28
mov eax, dword [ebp - 0x14]
call fcn.00404c68
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4ab5e5
lea eax, [ebp - 0x20]
call fcn.004ab240
push dword [ebp - 0x20]
push 0x4ab638
push ebx
push 0x4ab644
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404b28
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004ab440
jmp 0x4ab5e5
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4ab5ac
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4ab5ac
push ebx
mov edi, dword [ebp - 4]
mov cl, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4ab5c2
mov eax, ebx
call fcn.00404c68
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4ab5e5
lea eax, [ebp - 0x24]
mov ecx, 0x4ab644
mov edx, ebx
call fcn.00404ab4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004ab440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab602
mov eax, dword [ebp - 4]
call fcn.004ab7c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab624
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.004047cc
ret
Function at 0x4bcd94
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
mov edx, ebx
add edx, 4
mov eax, esi
call fcn.00404df4
mov eax, esi
call fcn.00404cc0
push eax
mov edx, ebx
add edx, 2
xor ecx, ecx
pop eax
call fcn.00403280
cmp byte [ebp - 1], 0
jne 0x4bce07
mov eax, esi
call fcn.00404cc0
mov dl, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x4bce20
sub al, 2
jb 0x4bce27
jmp 0x4bce2c
mov ebx, 2
jmp 0x4bce2c
mov ebx, 1
mov eax, esi
call fcn.00404cc0
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4bcf0e
test edi, edi
jle 0x4bce88
mov eax, esi
call fcn.00404cc0
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00404cc0
mov byte [eax + ebx - 1], 0
jmp 0x4bcf02
test edi, edi
jge 0x4bcece
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00404cc0
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x4bcf02
mov eax, esi
call fcn.00404cc0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00404cc0
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4bce44
mov al, byte [ebp - 1]
sub al, 1
jb 0x4bcf1e
sub al, 2
jb 0x4bcf57
jmp 0x4bcf9e
cmp edi, 2
jne 0x4bcf24
dec ebx
mov eax, ebx
sub eax, 2
jl 0x4bcf9e
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00404cc0
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x4e9ed4]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4bcf34
jmp 0x4bcf9e
cmp edi, 2
jne 0x4bcf5d
dec ebx
test ebx, ebx
jle 0x4bcf99
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00404cc0
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x4e9ed8]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4bcf69
jmp 0x4bcf99
inc ebx
mov eax, esi
call fcn.00404cc0
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x4bcf8c
mov eax, esi
mov edx, ebx
call fcn.00404df4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4bdaec
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.00407868
ret

Function at 0x4bdc14
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.00404c58
xor eax, eax
push ebp
push 0x4bdd62
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.004bdaec
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404c68
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4bdd41
xor eax, eax
push ebp
push 0x4bdd3a
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 0x4bdd23
xor eax, eax
push ebp
push 0x4bdd1c
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 0x4bdd05
xor eax, eax
push ebp
push 0x4bdcfe
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.004bdb20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdd05
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 0x4bdd23
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 0x4bdd41
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.004bdba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdd69
lea eax, [ebp - 4]
call fcn.004047a8
ret
Function at 0x4c00fc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c026d
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 0x4c0248
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404990
lea eax, [ebp - 0x118]
mov edx, 0x4c0284
call fcn.00404a70
mov eax, dword [ebp - 0x118]
call fcn.00404c68
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4c01ba
lea eax, [ebp - 0x111]
call fcn.00409d70
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404898
jmp 0x4c01c1
mov eax, esi
call fcn.004047a8
cmp bl, 0x61
jae 0x4c01e2
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040e184
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.004047fc
jmp 0x4c01fc
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040e0f8
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.004047fc
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4c0290
call fcn.0040a474
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.004047fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c024f
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4c5558
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.00404c58
xor eax, eax
push ebp
push 0x4c5651
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.004c6ecc
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.00409bb8
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004c5f18
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409a9c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c5f8c
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 0x4c5658
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047cc
ret
Function at 0x4c5660
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.00404c58
xor eax, eax
push ebp
push 0x4c5769
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.004c6ecc
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 0x4c572f
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409bb8
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004c5f18
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409a9c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c5f8c
jmp 0x4c5741
xor edx, edx
mov eax, ebx
call fcn.004c5f18
xor edx, edx
mov eax, ebx
call fcn.004c5f8c
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 0x4c5770
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047cc
ret

Function at 0x4c7128
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.00404c58
xor eax, eax
push ebp
push 0x4c7186
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.004c7204
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x4c716e
lea eax, [ebp - 4]
call fcn.004c7204
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4c7170
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c718d
lea eax, [ebp - 4]
call fcn.004047a8
ret

Function at 0x4c7194
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.00404c58
xor eax, eax
push ebp
push 0x4c71f8
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.004c7204
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00409f84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c71ff
lea eax, [ebp - 4]
call fcn.004047a8
ret
Function at 0x4cc608
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.004cc83c
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.004cc83c
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x4cc67c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4cc6a1
inc esi
mov eax, edi
call fcn.004cc660
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.004cc608
inc ebx
dec esi
jne 0x4cc68b
pop edi
pop esi
pop ebx
ret

Function at 0x4cc730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404c58
xor eax, eax
push ebp
push 0x4cc7a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004cc6a8
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.004cc660
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.004cc608
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x4cc770
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc7ac
lea eax, [ebp - 4]
call fcn.004047a8
ret
Function at 0x4cd368
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cd54c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x4cd508
mov eax, dword [ebp - 4]
call fcn.004cece4
cmp ebx, eax
jge 0x4cd508
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.004c3c70
mov edx, dword [0x4c4ff8]
call fcn.00403b84
mov esi, eax
mov eax, esi
call fcn.004c5eac
test al, al
je 0x4cd4fe
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x4cd4f2
xor eax, eax
push ebp
push 0x4cd4eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004cd920
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041c030
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00404df4
mov eax, dword [ebp - 8]
call fcn.00404cc0
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004cd6e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd536
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x4cd4ea
mov eax, dword [ebp - 4]
call fcn.004cd9a4
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00409f84
jmp 0x4cd536
mov eax, dword [ebp - 8]
call fcn.004047a8
jmp 0x4cd536
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.004094e4
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x416cb8]
call fcn.0040d2f0
call fcn.00404160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd553
lea eax, [ebp - 0x54]
call fcn.004047a8
ret
Function at 0x4da148
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404c58
mov eax, dword [ebp - 8]
call fcn.00404c58
xor eax, eax
push ebp
push 0x4da225
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.00409a9c
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00409a9c
mov eax, dword [ebp - 0x30]
pop edx
call fcn.00408c5c
test eax, eax
jne 0x4da1b1
mov dword [ebp - 0x22], 4
jmp 0x4da1b8
mov dword [ebp - 0x22], 1
lea eax, [ebp - 0x34]
mov ecx, 0x4da23c
mov edx, dword [ebp - 4]
call fcn.00404ab4
mov eax, dword [ebp - 0x34]
call fcn.00404c68
mov dword [ebp - 0x1e], eax
lea eax, [ebp - 0x38]
mov ecx, 0x4da23c
mov edx, dword [ebp - 8]
call fcn.00404ab4
mov eax, dword [ebp - 0x38]
call fcn.00404c68
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], 0x410
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da22c
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.004047cc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047cc
ret
Function at 0x4e2464
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 - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4e2506
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea ebx, [esi + 0x41]
lea eax, [ebp - 8]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 8]
lea eax, [ebp - 0xc]
call fcn.00403164
mov edx, 0x4e2514
lea eax, [ebp - 0xc]
mov cl, 2
call fcn.00403134
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00404a0c
mov eax, dword [ebp - 4]
call fcn.00404c68
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp ax, 3
jne 0x4e24e2
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404990
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00404a70
inc esi
cmp esi, 0x1a
jne 0x4e2487
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e250d
lea eax, [ebp - 0x10]
call fcn.004047a8
lea eax, [ebp - 4]
call fcn.004047a8
ret