joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c684
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 0x48c722
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 2
mov dl, byte [edx + 0x4cc1ec]
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 + 0x4cc1ec]
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 + 0x4cc1ec]
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 + 0x4cc1ec]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x48c6a3
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x48c738
dec edx
je 0x48c76d
jmp 0x48c7be
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x4cc1ec]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [eax + 0x4cc1ec]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x48c7be
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x4cc1ec]
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 + 0x4cc1ec]
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 + 0x4cc1ec]
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 0x494e28
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x494ee2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004048e4
mov eax, dword [0x4cd654]
cmp byte [eax], 0
je 0x494e97
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404c44
mov eax, dword [ebx]
call fcn.00404a70
push eax
mov eax, dword [ebx]
call fcn.00404a60
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404a70
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404c44
jmp 0x494ec9
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004098dc
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404a50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494ee9
lea eax, [ebp - 0x3f0]
call fcn.004041d8
ret
Function at 0x498010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x49806a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.00498074
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498071
ret

Function at 0x49fefc
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.004510d8
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.0044a7d0
pop ebx
ret
Function at 0x4a52e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a539a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004048e4
mov eax, dword [0x4cd654]
cmp byte [eax], 0
je 0x4a534f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404c44
mov eax, dword [ebx]
call fcn.00404a70
push eax
mov eax, dword [ebx]
call fcn.00404a60
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404a70
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404c44
jmp 0x4a5381
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004098dc
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404a50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a53a1
lea eax, [ebp - 0x3f0]
call fcn.004041d8
ret

Function at 0x4ab570
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4ab5a4
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4ab5e0
jmp 0x4ab5a8
pop edx
pop eax
jge 0x4ab5e0
mov eax, dword [0x4cdac0]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004a63ec
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4ab605
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4ab605
cmp dword [ebx + 0x11c], 0
je 0x4ab605
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00432378
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4b5cdc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b5e4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4b5e32
lea eax, [ebp - 0x10d]
push eax
push 0x100
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.004098dc
mov dl, 1
mov eax, dword [0x491430]
call fcn.00491488
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x418048]
call fcn.004033d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00491504
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4b5e2f
mov dl, 1
mov eax, dword [0x4925a8]
call fcn.00492610
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x4b5e64
call fcn.00491850
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004044e4
xor eax, eax
push ebp
push 0x4b5e28
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00492910
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004b5e6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5e2f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00403404
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403404
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403404
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5e54
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004041fc
ret
Function at 0x4b90b4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b916e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004048e4
mov eax, dword [0x4cd654]
cmp byte [eax], 0
je 0x4b9123
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404c44
mov eax, dword [ebx]
call fcn.00404a70
push eax
mov eax, dword [ebx]
call fcn.00404a60
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404a70
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404c44
jmp 0x4b9155
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004098dc
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404a50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9175
lea eax, [ebp - 0x3f0]
call fcn.004041d8
ret

Function at 0x4b917c
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.004098dc
add esp, 0x3ec
pop ebx
ret

Function at 0x4be404
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.00404688
xor eax, eax
push ebp
push 0x4be44c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404698
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be453
lea eax, [ebp - 4]
call fcn.004041d8
ret

Function at 0x4bf8e4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4bf9cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ebx, [esi + 0x314]
cmp dword [ebx + 8], 0
jne 0x4bf9b7
mov dword [ebx], 0x58
mov eax, esi
call fcn.004510d8
mov dword [ebx + 4], eax
mov dword [ebx + 8], 1
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], 0x4c8
mov eax, dword [0x4cd968]
mov eax, dword [eax]
mov eax, dword [eax + 0x98]
call fcn.0042a998
mov dword [ebx + 0x14], eax
mov eax, dword [0x4cd968]
mov eax, dword [eax]
mov eax, dword [eax + 0x98]
call fcn.0042a998
mov dword [ebx + 0x14], eax
mov ecx, dword [esi + 0x36c]
mov edx, dword [0x4cda44]
mov edx, dword [edx]
lea eax, [ebp - 4]
call fcn.004044e4
mov eax, dword [ebp - 4]
call fcn.00404498
mov edx, eax
dec edx
test edx, edx
jl 0x4bf990
inc edx
xor eax, eax
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + eax]
mov byte [ebx + eax + 0x18], cl
inc eax
dec edx
jne 0x4bf982
push 0
mov eax, dword [0x4cd968]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
call fcn.004671f8
lea eax, [esi + 0x314]
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf9d4
lea eax, [ebp - 4]
call fcn.004041d8
ret
Function at 0x4c14c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4c14c9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404688
mov eax, dword [ebp - 8]
call fcn.00404688
mov eax, dword [ebp + 0xc]
call fcn.00404688
xor eax, eax
push ebp
push 0x4c16a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004bfdd4
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004bfc68
push dword [ebp - 4]
push 0x4c16bc
push dword [0x4cc4b4]
push 0x4c16bc
push dword [0x4cc4b8]
push 0x4c16bc
lea eax, [ebp - 0x14]
mov edx, 6
call fcn.00404558
mov eax, dword [ebp - 0x14]
call fcn.00409260
test al, al
jne 0x4c1566
mov eax, dword [0x4cd950]
mov eax, dword [eax]
call fcn.00489a2c
jmp 0x4c1680
lea ecx, [ebp - 0x10]
mov dl, 2
mov eax, dword [ebp - 0xc]
call fcn.004c75ac
cmp dword [ebp - 0x10], 0
je 0x4c1597
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004045e4
je 0x4c1597
mov eax, dword [0x4cd5ac]
mov eax, dword [eax]
call fcn.00489a2c
jmp 0x4c1680
mov eax, dword [ebp - 0xc]
call fcn.00409250
test al, al
je 0x4c15cf
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.004c75ac
mov eax, dword [ebp - 0x18]
mov edx, 0x4c16c8
call fcn.004045e4
je 0x4c15cf
mov eax, dword [ebp - 0xc]
call fcn.004c7650
test al, al
jne 0x4c1679
mov eax, dword [ebp - 0xc]
call fcn.004093b4
push 0x4c16d4
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c1304
mov eax, esi
mov edx, 0x4c16d4
call fcn.0040422c
lea eax, [ebp - 0x1c]
mov ecx, 0x4c16e4
mov edx, dword [ebp - 4]
call fcn.004044e4
mov eax, dword [ebp - 0x1c]
mov edx, 0x20
call fcn.00409298
lea eax, [ebp - 0x20]
mov ecx, 0x4c16e4
mov edx, dword [ebp - 4]
call fcn.004044e4
mov eax, dword [ebp - 0x20]
call fcn.004093b4
push 0
lea eax, [ebp - 0x24]
mov ecx, 0x4c16fc
mov edx, dword [ebp - 4]
call fcn.004044e4
mov eax, dword [ebp - 0x24]
call fcn.00404698
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404698
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x4cd6b8]
mov eax, dword [eax]
call fcn.00489a2c
lea ecx, [ebp - 0x28]
mov eax, dword [esi]
mov edx, 0x3c
call fcn.004c4a30
mov edx, dword [ebp - 0x28]
mov eax, esi
call fcn.0040422c
jmp 0x4c1680
mov eax, esi
call fcn.004041d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c16aa
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.004041fc
lea eax, [ebp + 0xc]
call fcn.004041d8
ret
Function at 0x4c28b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
xor eax, eax
push ebp
push 0x4c294a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [0x4cd968]
mov eax, dword [eax]
call fcn.0046ada8
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00409470
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4c2960
call fcn.004044e4
mov eax, dword [ebp - 4]
call fcn.00409250
test al, al
jne 0x4c2917
mov ecx, dword [ebp - 4]
mov edx, 0x4c2974
mov eax, 0x4c2988
call fcn.0048af38
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404698
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2951
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004041fc
ret

Function at 0x4c3824
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x4c3844
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 0x4c3832
pop edi
pop esi
pop ebx
ret

Function at 0x4c49a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404688
xor eax, eax
push ebp
push 0x4c4a22
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, 1
cmp dword [ebp - 4], 0
je 0x4c4a0c
mov eax, dword [ebp - 4]
call fcn.00404498
mov esi, eax
test esi, esi
jle 0x4c4a01
mov ebx, 1
lea eax, [ebp - 4]
call fcn.004046f0
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
xor edx, edi
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4c49e7
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040422c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4a29
lea eax, [ebp - 4]
call fcn.004041d8
ret

Function at 0x4c4a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404688
xor eax, eax
push ebp
push 0x4c4aab
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4c4a95
mov eax, dword [ebp - 4]
call fcn.00404498
mov esi, eax
test esi, esi
jle 0x4c4a8a
mov ebx, 1
lea eax, [ebp - 4]
call fcn.004046f0
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
xor edx, edi
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4c4a70
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040422c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4ab2
lea eax, [ebp - 4]
call fcn.004041d8
ret
Function at 0x4c5ab4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404688
mov eax, dword [ebp - 8]
call fcn.00404688
xor eax, eax
push ebp
push 0x4c5cb3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
call fcn.00409250
test al, al
je 0x4c5c88
mov eax, dword [ebp - 4]
call fcn.004c4e28
test al, al
jne 0x4c5c88
mov eax, dword [ebp - 4]
call fcn.00409284
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x15c]
mov eax, dword [ebp - 4]
call fcn.004c4d3c
mov byte [ebp - 0x19], al
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.00409298
xor ecx, ecx
push ebp
push 0x4c5c7e
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor ecx, ecx
push ebp
push 0x4c5c46
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x12
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x417f58]
call fcn.0041bed4
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 0x10]
call fcn.004c4bac
mov eax, dword [ebp - 0x160]
mov edx, 0x4c5ccc
call fcn.004045e4
jne 0x4c5ba1
call fcn.00403c3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c5c88
mov dword [ebp - 0x18], 0x1fff
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4c5bbd
cmp eax, 0x1fff
ja 0x4c5bc9
jmp 0x4c5bbf
jg 0x4c5bc9
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x18], eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0041ba40
mov edx, 0x4cef54
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x18]
test edx, edx
jl 0x4c5bf9
inc edx
mov eax, 0x4cef54
xor byte [eax], 0x24
inc eax
dec edx
jne 0x4c5bf2
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0041ba40
mov edx, 0x4cef54
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x10]
mov eax, 0x4c5ccc
mov edx, dword [ebp - 8]
call fcn.004c4c18
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5c4d
mov eax, dword [ebp - 0x10]
call fcn.00403404
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5cba
lea eax, [ebp - 0x164]
mov edx, 2
call fcn.004041fc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041fc
ret
Function at 0x4c5cd8
Capabilities:
Clear file content
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404688
mov eax, dword [ebp - 8]
call fcn.00404688
xor eax, eax
push ebp
push 0x4c5ebc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
call fcn.00409250
test al, al
je 0x4c5ea1
mov eax, dword [ebp - 4]
call fcn.00409284
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 4]
call fcn.004c4d3c
mov byte [ebp - 0x1d], al
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.00409298
xor ecx, ecx
push ebp
push 0x4c5e97
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor ecx, ecx
push ebp
push 0x4c5e5f
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x12
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x417f58]
call fcn.0041bed4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x1fff
mov dword [ebp - 0x1c], 0x106
mov ecx, 0x4c5ed8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004c4abc
test al, al
jne 0x4c5da9
call fcn.00403c3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c5ea1
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 0x1c]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x4c5dcd
cmp eax, 0x1fff
ja 0x4c5ddc
jmp 0x4c5dcf
jg 0x4c5ddc
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0041ba40
mov edx, 0x4cef54
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x14]
test edx, edx
jl 0x4c5e0c
inc edx
mov eax, 0x4cef54
xor byte [eax], 0x24
inc eax
dec edx
jne 0x4c5e05
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0041ba40
mov edx, 0x4cef54
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp - 0x1c]
neg edx
mov cx, 2
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SetEndOfFile
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5e66
mov eax, dword [ebp - 0x10]
call fcn.00403404
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5ec3
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041fc
ret
Function at 0x4c70a4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404688
mov eax, dword [ebp - 8]
call fcn.00404688
mov eax, dword [ebp - 0xc]
call fcn.00404688
xor eax, eax
push ebp
push 0x4c725d
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.0040422c
xor eax, eax
push ebp
push 0x4c7223
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x158]
mov ecx, 0x4c7274
mov edx, dword [ebp - 4]
call fcn.004044e4
mov eax, dword [ebp - 0x158]
call fcn.00404698
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4c720c
jmp 0x4c7204
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00404448
test byte [ebp - 0x154], 0x10
je 0x4c71ee
cmp byte [ebp - 0x128], 0x2e
je 0x4c71ee
lea edx, [ebp - 0x15c]
mov eax, dword [ebp - 0x14]
call fcn.00408840
mov eax, dword [ebp - 0x15c]
push eax
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 0xc]
call fcn.00408840
mov eax, dword [ebp - 0x160]
pop edx
call fcn.004047dc
test eax, eax
jne 0x4c71ee
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x24]
mov ecx, 0xe
call fcn.00404448
cmp dword [ebp - 0x164], 0
je 0x4c71da
mov eax, esi
lea edx, [ebp - 0x24]
mov ecx, 0xe
call fcn.00404448
jmp 0x4c720c
mov eax, esi
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00404448
jmp 0x4c720c
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4c7155
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c722a
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose_1
ret