joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aa984
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x4aa9ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov ebx, 0x550e4c
lea eax, [ebp - 4]
mov edx, esi
add dl, 0x40
call fcn.00403d4c
lea eax, [ebp - 4]
mov edx, 0x4aaa00
call fcn.00403e2c
mov eax, dword [ebp - 4]
call fcn.00403fe8
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebx], eax
inc esi
add ebx, 4
cmp esi, 0x1a
jne 0x4aa9a3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa9f3
lea eax, [ebp - 4]
call fcn.00403ba8
ret

Function at 0x4ac490
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x15c], ebx
mov ebx, ecx
test ebx, ebx
js 0x4ac4b7
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4ac4b0
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403fd8
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 8]
mov edx, dword [0x4010c4]
call fcn.00404650
xor eax, eax
push ebp
push 0x4ac645
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x4ac60d
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 4]
push 0x4ac66c
push dword [esi]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00403ee4
mov eax, dword [ebp - 0x158]
call fcn.00403fe8
push eax
call sub.kernel32.dll_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4ac601
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x4ac5e6
test al, 2
jne 0x4ac5e6
xor eax, eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push 0x4ac66c
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00403dd4
push dword [ebp - 0x15c]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00403ee4
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x10]
call fcn.00465e84
call fcn.00463740
test al, al
je 0x4ac5a4
or edi, 0xffffffff
jmp 0x4ac5b3
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00466088
mov edi, eax
mov eax, dword [ebp - 0x10]
call fcn.00465de4
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00403dd4
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax]
mov ecx, edi
mov edi, dword [eax]
call dword [edi + 0x38]
lea eax, [ebp - 0x154]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4ac539
push ebx
call sub.kernel32.dll_FindClose
add esi, 4
dec dword [ebp - 0x14]
jne 0x4ac4fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac64c
lea eax, [ebp - 0x15c]
mov edx, 2
call fcn.00403bcc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [0x4010c4]
call fcn.00404538
lea eax, [ebp - 4]
call fcn.00403ba8
ret
Function at 0x4ad798
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ad898
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x14]
mov edx, dword [0x54e6e4]
mov edx, dword [edx]
call fcn.00403f34
je 0x4ad7de
mov eax, esi
mov edx, dword [ebx + 0x14]
call fcn.00403c40
jmp 0x4ad87f
lea edx, [ebp - 0x164]
mov eax, ebx
call fcn.004ad8a8
mov edx, dword [ebp - 0x164]
lea eax, [ebx + 0x14]
call fcn.00403bfc
cmp dword [ebx + 0x14], 0
jne 0x4ad850
lea eax, [ebp - 0x160]
xor ecx, ecx
mov edx, 0x160
call fcn.00402bd8
push 0x208
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
mov eax, ebx
call fcn.004ad734
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4ad850
lea eax, [ebp - 0x154]
call fcn.0040977c
mov ecx, eax
lea edx, [ebp - 0x154]
lea eax, [ebx + 0x14]
call fcn.00403c8c
mov eax, ebx
call fcn.004ad6b8
test al, al
je 0x4ad875
mov eax, dword [ebx + 0x14]
call fcn.00403e24
mov edx, eax
sub edx, 3
lea eax, [ebx + 0x14]
mov ecx, 4
call fcn.00404068
mov eax, esi
mov edx, dword [ebx + 0x14]
call fcn.00403c40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad89f
lea eax, [ebp - 0x164]
call fcn.00403ba8
ret
Function at 0x4af2a4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00475164
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00440e7c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00474eac
mov ebx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004b0968
test al, al
je 0x4af3b8
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4af3b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004b1138
push eax
mov eax, dword [ebp - 4]
call fcn.004acfb8
mov edx, eax
lea ecx, [ebp - 0x14]
pop eax
call fcn.004ad4f8
mov edi, eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004751a0
mov eax, edi
call fcn.00463734
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x360]
mov eax, dword [ebp - 4]
call fcn.004751a0
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x364]
add edx, dword [0x54ddb4]
cmp eax, edx
jbe 0x4af480
mov ebx, dword [ebp - 0xc]
cmp ebx, dword [0x54ddac]
jge 0x4af405
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004ac0f4
jmp 0x4af42c
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x28]
sub eax, dword [0x54ddac]
cmp ebx, eax
jle 0x4af42c
mov ecx, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004ac0f4
mov ebx, dword [ebp - 8]
cmp ebx, dword [0x54ddb0]
jge 0x4af448
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004ac0f4
jmp 0x4af472
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x24]
sub eax, dword [0x54ddb0]
cmp ebx, eax
jle 0x4af472
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004ac0f4
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x364], eax
mov eax, dword [ebp + 8]
or dword [eax], 0x80000000
mov eax, dword [ebp - 4]
call fcn.00475164
cmp eax, dword [ebp - 0x18]
je 0x4af4a1
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x84]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b1b98
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b1c47
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x358], 0
jne 0x4b1be6
push 0x465
mov eax, dword [ebp - 4]
call fcn.00447124
mov ecx, eax
mov dl, 1
mov eax, dword [0x4ae234]
call fcn.004ae2a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x358], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004ae76c
lea eax, [ebp - 8]
mov edx, 0x4b1c5c
call fcn.00403c40
call sub.kernel32.dll_GetLogicalDrives
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x4b1c31
test bl, 1
je 0x4b1c2a
lea eax, [ebp - 8]
call fcn.00403ff4
lea edx, [esi + 0x41]
mov byte [eax], dl
push ebp
mov eax, dword [ebp - 8]
call fcn.004b1b2c
pop ecx
shr ebx, 1
inc esi
test ebx, ebx
jne 0x4b1c0e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1c4e
lea eax, [ebp - 8]
call fcn.00403ba8
ret

Function at 0x4b2768
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00403fd8
xor eax, eax
push ebp
push 0x4b287a
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b284d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.00403fe8
push eax
call sub.kernel32.dll_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b282a
test byte [ebp - 0x14c], 0x10
jne 0x4b280d
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403dd4
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.00408980
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4b27d0
push ebx
call sub.kernel32.dll_FindClose
mov byte [ebp - 5], 1
jmp 0x4b2836
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2854
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4b97cc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov al, byte [ebx + 4]
sub al, 1
jb 0x4b97dd
je 0x4b97e3
jmp 0x4b9809
mov eax, dword [ebx + 0xc]
pop ebx
pop ebp
ret
cmp dword [ebx + 0xc], 0
jne 0x4b9803
lea eax, [ebx + 0xc]
push eax
xor eax, eax
mov al, byte [ebx + 0x10]
push eax
mov eax, dword [0x54e5f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 0xc]
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4c0bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4c0bc9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c0dd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 0
mov eax, dword [ebx + 0x350]
mov edx, esi
call fcn.00403f34
jne 0x4c0c0b
cmp byte [ebx + 0x378], 0
je 0x4c0db2
mov byte [ebp - 2], 1
lea eax, [ebx + 0x350]
mov edx, esi
call fcn.00403bfc
mov byte [ebx + 0x378], 0
mov eax, ebx
call fcn.004c0360
test eax, eax
jne 0x4c0c49
mov eax, esi
call fcn.004091c4
test al, al
je 0x4c0db2
mov eax, esi
call fcn.004092bc
jmp 0x4c0db2
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, esi
call fcn.00403fe8
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4c0db2
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetFilePointer_1
cmp byte [ebp - 1], 0
je 0x4c0c91
mov eax, ebx
call fcn.004bf4b8
mov eax, ebx
call fcn.004c0360
mov edi, eax
dec edi
test edi, edi
jl 0x4c0da9
inc edi
xor esi, esi
cmp byte [ebp - 1], 0
je 0x4c0ccc
cmp byte [ebp - 1], 0
je 0x4c0da1
mov edx, esi
mov eax, dword [ebx + 0x37c]
call fcn.00410c50
cmp byte [eax], 0
je 0x4c0da1
mov edx, esi
mov eax, ebx
call fcn.004c054c
and eax, 0xff
lea edx, [ebp - 0x14]
call fcn.00408e3c
push dword [ebp - 0x14]
push 0x4c0df0
mov edx, esi
mov eax, ebx
call fcn.004c052c
and eax, 0xff
lea edx, [ebp - 0x18]
call fcn.00408e3c
push dword [ebp - 0x18]
push 0x4c0df0
lea ecx, [ebp - 0x1c]
mov edx, esi
mov eax, ebx
call fcn.004c06fc
push dword [ebp - 0x1c]
push 0x4c0df0
lea ecx, [ebp - 0x20]
mov edx, esi
mov eax, ebx
call fcn.004c07c0
push dword [ebp - 0x20]
push 0x4c0df0
lea ecx, [ebp - 0x24]
mov edx, esi
mov eax, ebx
call fcn.004c04a8
push dword [ebp - 0x24]
push 0x4c0df0
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, ebx
call fcn.004c04d0
push dword [ebp - 0x28]
push 0x4c0df0
mov edx, esi
mov eax, ebx
call fcn.004c04f8
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.00408e6c
push dword [ebp - 0x2c]
push 0x4c0dfc
lea eax, [ebp - 8]
mov edx, 0xe
call fcn.00403ee4
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00403e24
push eax
lea eax, [ebp - 8]
call fcn.00403ff4
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
inc esi
dec edi
jne 0x4c0ca6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0ddc
lea eax, [ebp - 0x2c]
mov edx, 7
call fcn.00403bcc
lea eax, [ebp - 8]
call fcn.00403ba8
ret
Function at 0x4c5e88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pushal
mov esi, dword [ebp + 8]
mov edi, esi
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
lodsb al, byte [esi]
xor al, bl
rol ebx, 1
add ebx, 0x139a1fc4
stosb byte es:[edi], al
loop 0x4c5e97
popal
pop ebp
ret 0xc

Function at 0x4c5eac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4c5f35
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x4c5f4c
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
jne 0x4c5efe
push 0x4c5f4c
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
je 0x4c5efe
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
add eax, 0x87654321
adc edx, 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
jne 0x4c5f1f
cmp dword [ebp - 0x18], 0xffffffff
jbe 0x4c5f28
jmp 0x4c5f21
jle 0x4c5f28
mov ebx, dword [ebp - 0x18]
inc ebx
dec ebx
jmp 0x4c5f2b
mov ebx, dword [ebp - 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c5f41
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dcaa4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0044754c
test al, al
je 0x4dcb6a
mov eax, dword [ebp - 4]
call fcn.004dca34
test eax, eax
jle 0x4dcb6a
xor edx, edx
push ebp
push 0x4dcb63
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov byte [eax + 0x30], 1
mov eax, dword [eax + 0x40]
mov ebx, dword [eax + 8]
dec ebx
cmp ebx, 0
jl 0x4dcb2a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x40]
mov edx, ebx
call fcn.004da704
call fcn.004dc494
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x40]
mov edx, ebx
call fcn.004da704
call fcn.00402f44
dec ebx
cmp ebx, 0xffffffff
jne 0x4dcafa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x40]
mov bx, 0xffff
call fcn.00403120
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dcb6a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4e91d0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e92e4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [0x54e6e4]
mov edx, dword [edx]
call fcn.00403c40
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
movzx eax, byte [edx + eax]
mov edx, dword [ebp + 8]
add eax, dword [edx - 4]
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
mov eax, dword [ebp + 8]
inc dword [eax - 4]
mov eax, dword [ebp + 8]
mov edi, dword [eax - 4]
mov eax, dword [ebp + 8]
mov ebx, dword [eax - 0xc]
sub ebx, edi
jl 0x4e9250
inc ebx
lea eax, [ebp - 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dl, byte [edx + edi]
call fcn.00403d4c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00403e2c
inc edi
dec ebx
jne 0x4e9230
mov eax, dword [ebp - 4]
mov edx, dword [0x54e6e4]
mov edx, dword [edx]
call fcn.00403c40
mov eax, dword [ebp - 8]
call fcn.00403e24
mov esi, eax
mov eax, dword [ebp - 8]
call fcn.00403e24
mov ebx, eax
test ebx, ebx
jle 0x4e92bb
mov edi, 1
imul eax, esi, 0x8088405
mov esi, eax
inc esi
mov eax, esi
shr eax, 0x18
mov edx, dword [ebp - 8]
movzx edx, byte [edx + edi - 1]
xor eax, edx
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
call fcn.00403d4c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00403e2c
mov eax, dword [ebp - 4]
inc edi
dec ebx
jne 0x4e927d
mov eax, dword [ebp - 8]
call fcn.00403e24
mov edx, dword [ebp + 8]
add dword [edx - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e92eb
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403bcc
ret
Function at 0x4e9a34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403fd8
xor eax, eax
push ebp
push 0x4e9aba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [0x54e6e4]
mov edx, dword [edx]
call fcn.00403c40
mov eax, dword [ebp - 4]
call fcn.00403e24
mov ebx, eax
test ebx, ebx
jle 0x4e9a9f
mov edi, 1
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov dl, byte [edx + edi - 1]
xor dl, 0xc8
call fcn.00403d4c
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00403e2c
inc edi
dec ebx
jne 0x4e9a7f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9ac1
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403bcc
ret
Function at 0x5054ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00505074
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x44], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2c], 0
je 0x505630
jmp 0x50558a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x45], 0
je 0x505546
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x3c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x38]
ja 0x505646
mov edx, dword [ebp - 4]
cmp byte [edx + 0x2d], 7
je 0x505646
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
cmp byte [edx + 0x4ba], 7
jne 0x505578
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x2d]
cmp al, 6
je 0x505646
cmp al, 5
je 0x505646
push 0x64
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0049b8e4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
jne 0x505646
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d], 0
jne 0x505526
jmp 0x505646
xor edx, edx
push ebp
push 0x505626
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x45], 0
je 0x5055d9
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x3c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x38]
jbe 0x5055d9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x505646
mov edx, dword [ebp - 4]
cmp byte [edx + 0x2d], 7
je 0x5055ff
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
cmp byte [edx + 0x4ba], 7
jne 0x505609
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x2d]
cmp al, 6
je 0x5055ff
cmp al, 5
jne 0x505609
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x505646
push 0x64
call sub.kernel32.dll_Sleep
mov eax, dword [0x54e5f4]
mov eax, dword [eax]
call fcn.0043b280
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x505630
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
jne 0x505646
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d], 0
jne 0x5055a5
mov eax, dword [ebp - 4]
cmp byte [eax + 0x45], 0
je 0x505669
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x3c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x38]
jbe 0x505669
mov eax, dword [ebp - 4]
mov byte [eax + 0x44], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40b8], 0x190
jl 0x50569d
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x40b8]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40bc]
mov dl, 1
mov eax, dword [0x502a3c]
call fcn.005034ac
call fcn.0040361c
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x505eec
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.00404154
mov eax, esi
call fcn.00403ff4
push eax
mov edx, ebx
add edx, 2
xor ecx, ecx
pop eax
call fcn.00402bd8
cmp byte [ebp - 1], 0
jne 0x505f5f
mov eax, esi
call fcn.00403ff4
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 0x505f78
sub al, 2
jb 0x505f7f
jmp 0x505f84
mov ebx, 2
jmp 0x505f84
mov ebx, 1
mov eax, esi
call fcn.00403ff4
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x506066
test edi, edi
jle 0x505fe0
mov eax, esi
call fcn.00403ff4
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.00403ff4
mov byte [eax + ebx - 1], 0
jmp 0x50605a
test edi, edi
jge 0x506026
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00403ff4
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 0x50605a
mov eax, esi
call fcn.00403ff4
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.00403ff4
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x505f9c
mov al, byte [ebp - 1]
sub al, 1
jb 0x506076
sub al, 2
jb 0x5060af
jmp 0x5060f6
cmp edi, 2
jne 0x50607c
dec ebx
mov eax, ebx
sub eax, 2
jl 0x5060f6
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00403ff4
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x54e0c0]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x50608c
jmp 0x5060f6
cmp edi, 2
jne 0x5060b5
dec ebx
test ebx, ebx
jle 0x5060f1
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00403ff4
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x54e0c4]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x5060c1
jmp 0x5060f1
inc ebx
mov eax, esi
call fcn.00403ff4
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x5060e4
mov eax, esi
mov edx, ebx
call fcn.00404154
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4