joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bb80
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
lea eax, [ebx + 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
sub eax, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
pop ebx
ret

Function at 0x4949b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x419ddc]
call fcn.004052bc
xor eax, eax
push ebp
push 0x494af4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5613e0], 0
jne 0x494a03
mov ecx, dword [0x5640d4]
mov dl, 1
mov eax, dword [0x408284]
call fcn.0040d1c8
call fcn.00403fbc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030b0
mov eax, ebx
call fcn.00404ee4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x494b04
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406778
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404ef4
test eax, eax
jle 0x494a9b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x494a94
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004048b8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404884
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004090d0
test eax, eax
jne 0x494a94
mov ebx, 0x15
jmp 0x494aa0
mov ebx, 0x10
jmp 0x494aa0
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5613e0]
call fcn.00494908
mov eax, dword [ebp - 8]
call fcn.00494908
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406790
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494afb
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404640
lea eax, [ebp - 0x10]
mov edx, dword [0x419ddc]
call fcn.0040538c
ret
Function at 0x4c0398
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c053f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x11b], 0x12
test byte [ebx + 0x1c], 0x10
jne 0x4c0521
mov eax, ebx
call fcn.004ca40c
test byte [eax + 0x2ec], 8
jne 0x4c0521
push 0
mov eax, ebx
call fcn.004ca430
push eax
push 0x4514
mov eax, ebx
call fcn.004ca430
push eax
call sub.user32.dll_SendMessageA
dec eax
je 0x4c0521
cmp word [ebx + 0x1ba], 0
je 0x4c042a
mov byte [ebp - 1], 1
lea ecx, [ebp - 1]
mov edx, ebx
mov eax, dword [ebx + 0x1bc]
call dword [ebx + 0x1b8]
cmp byte [ebp - 1], 0
je 0x4c0521
mov eax, ebx
call fcn.004ca40c
test eax, eax
je 0x4c0521
mov al, byte [ebx + 0x50]
cmp al, 4
je 0x4c0516
mov byte [ebx + 0xa1], al
mov byte [ebx + 0x50], 4
cmp byte [ebx + 0x51], 0
jne 0x4c0482
mov al, byte [ebx + 0xa1]
cmp al, 2
je 0x4c0482
cmp al, 1
je 0x4c0482
cmp al, 3
je 0x4c0482
mov eax, ebx
call fcn.004ca40c
lea edx, [ebp - 0x14]
call fcn.00445654
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x91]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebx + 0x64], 0
je 0x4c04ca
lea edx, [ebp - 0x18]
mov eax, dword [0x564610]
mov eax, dword [eax]
call fcn.004662a8
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0xbc]
mov ecx, 0x3f
call fcn.00409f28
mov eax, dword [0x564610]
mov eax, dword [eax]
call fcn.004660bc
push 0
mov eax, dword [0x564610]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4c0506
mov eax, ebx
call fcn.004ca40c
test eax, eax
je 0x4c04f7
mov eax, ebx
call fcn.004ca40c
lea edx, [ebp - 0x1c]
call fcn.00445cb4
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0xbc]
mov ecx, 0x3f
call fcn.00409f28
push 0
mov eax, ebx
call fcn.004ca430
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebx + 0xa4]
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconA
jmp 0x4c051d
mov eax, ebx
call fcn.004bfe30
mov byte [ebx + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0546
lea eax, [ebp - 0x1c]
call fcn.0040461c
lea eax, [ebp - 0x18]
call fcn.0040461c
ret
Function at 0x4d4f18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d4f3f
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d4f51
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x4d4f5d
add word [ebp - 6], 0x8000
mov byte [ebp - 0xd], 0
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.004d4da8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4d4faa
xor eax, eax
push ebp
push 0x4d4fa3
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 4]
xor edx, edx
call fcn.004d4dd8
pop ecx
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4faa
ret
cmp byte [ebp - 0xd], 2
je 0x4d4f5d
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ddde4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4dde55
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x561678]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4dde3f
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004dddd4
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4d8980]
call fcn.004dde7c
mov dword [0x5616dc], eax
mov eax, dword [ebp - 4]
call fcn.004ddd84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dde5c
lea eax, [ebp - 8]
call fcn.00406778
ret
Function at 0x4e94e0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x90], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4e962d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0x10
mov eax, esi
call fcn.00404ae8
mov edi, eax
mov eax, ebx
call fcn.0040461c
push 0xf0000020
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
call sub.advapi32.dll_CryptAcquireContextA
test eax, eax
je 0x4e95ef
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CryptCreateHash
test eax, eax
je 0x4e95e4
push 0
mov eax, esi
call fcn.004048f0
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptHashData
test eax, eax
je 0x4e95db
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x8c]
push eax
push 2
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x4e95db
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jl 0x4e95db
inc edi
lea esi, [ebp - 0x8c]
lea eax, [ebp - 0x90]
push eax
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x94], 0
lea edx, [ebp - 0x98]
xor ecx, ecx
mov eax, 0x4e9644
call fcn.0040a608
mov edx, dword [ebp - 0x90]
mov eax, ebx
call fcn.004048f8
inc esi
dec edi
jne 0x4e95a0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptDestroyHash
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CryptReleaseContext
lea edx, [ebp - 0x9c]
mov eax, dword [ebx]
call fcn.00409064
mov edx, dword [ebp - 0x9c]
mov eax, ebx
call fcn.00404670
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9634
lea eax, [ebp - 0x9c]
call fcn.0040461c
lea eax, [ebp - 0x90]
call fcn.0040461c
ret
Function at 0x4e964c
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e97cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0x10
mov esi, dword [ebx + 4]
xor edx, edx
push ebp
push 0x4e9789
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xf0000020
push 1
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.advapi32.dll_CryptAcquireContextA
test eax, eax
je 0x4e9761
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8003
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptCreateHash
test eax, eax
je 0x4e9756
push 0
mov eax, ebx
call fcn.0041fa9c
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptHashData
test eax, eax
je 0x4e974d
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x90]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x4e974d
mov esi, dword [ebp - 0x10]
dec esi
test esi, esi
jl 0x4e974d
inc esi
lea ebx, [ebp - 0x90]
lea eax, [ebp - 0x94]
push eax
xor eax, eax
mov al, byte [ebx]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
lea edx, [ebp - 0x9c]
xor ecx, ecx
mov eax, 0x4e97e4
call fcn.0040a608
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 4]
call fcn.004048f8
mov eax, dword [ebp - 4]
inc ebx
dec esi
jne 0x4e970e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptDestroyHash
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptReleaseContext
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00409064
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 4]
call fcn.00404670
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e97a7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e97d2
lea eax, [ebp - 0xa0]
call fcn.0040461c
lea eax, [ebp - 0x94]
call fcn.0040461c
ret
Function at 0x4e97ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4e997b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404d54
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
mov eax, ebx
call fcn.00404ee4
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4e990f
mov eax, dword [ebp - 4]
dec eax
sub eax, 2
jae 0x4e98df
cmp dword [ebp - 8], 0
jbe 0x4e993d
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, esi
call fcn.00405258
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
push eax
lea eax, [ebp - 4]
push eax
push 0
mov eax, ebx
call fcn.00404ee4
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4e98a6
mov eax, dword [esi]
call fcn.00404ee4
push eax
call sub.kernel32.dll_lstrlenW
mov edx, eax
mov eax, esi
call fcn.00405258
jmp 0x4e993d
mov eax, esi
xor edx, edx
call fcn.00405258
lea eax, [ebp - 0x10]
mov ecx, 0x4e9990
mov edx, ebx
call fcn.00404f60
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.004048b8
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x408284]
call fcn.0040d10c
call fcn.00403fbc
jmp 0x4e993d
lea eax, [ebp - 0x18]
mov ecx, 0x4e99bc
mov edx, ebx
call fcn.00404f60
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.004048b8
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x408284]
call fcn.0040d10c
call fcn.00403fbc
jmp 0x4e993d
lea eax, [ebp - 0x20]
mov ecx, 0x4e99e8
mov edx, ebx
call fcn.00404f60
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.004048b8
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x408284]
call fcn.0040d10c
call fcn.00403fbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9982
lea eax, [ebp - 0x20]
call fcn.00404d54
lea eax, [ebp - 0x1c]
call fcn.0040461c
lea eax, [ebp - 0x18]
call fcn.00404d54
lea eax, [ebp - 0x14]
call fcn.0040461c
lea eax, [ebp - 0x10]
call fcn.00404d54
lea eax, [ebp - 0xc]
call fcn.0040461c
ret
Function at 0x4e9a38
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], edx
mov esi, eax
mov eax, esi
call fcn.004048f0
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edx, eax
shl edx, 2
mov eax, dword [esp]
call fcn.00404c74
mov eax, esi
call fcn.004048f0
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edi, eax
test edi, edi
jle 0x4e9b7f
mov ebx, 1
mov eax, esi
call fcn.004048f0
lea edx, [ebx + ebx*2]
cmp eax, edx
jge 0x4e9ab7
mov eax, esi
call fcn.004048f0
mov ecx, eax
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
sub ecx, eax
lea edx, [esp + 4]
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
lea eax, [esi + eax]
call fcn.0040298c
jmp 0x4e9ace
lea edx, [esp + 4]
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
lea eax, [esi + eax]
mov ecx, 3
call fcn.0040298c
mov al, byte [esp + 4]
mov edx, eax
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov ecx, 0x4e9c04
mov dl, byte [ecx + edx]
mov byte [esp + 7], dl
and al, 3
mov ebp, eax
and ebp, 0xff
shl ebp, 4
mov dl, byte [esp + 5]
mov eax, edx
and al, 0xf0
and eax, 0xff
shr eax, 4
or ebp, eax
mov eax, 0x4e9c04
mov al, byte [eax + ebp]
mov byte [esp + 8], al
and dl, 0xf
mov ebp, edx
and ebp, 0xff
shl ebp, 2
mov al, byte [esp + 6]
mov edx, eax
and dl, 0xc0
and edx, 0xff
shr edx, 6
or ebp, edx
mov edx, 0x4e9c04
mov dl, byte [edx + ebp]
mov byte [esp + 9], dl
and al, 0x3f
and eax, 0xff
mov edx, 0x4e9c04
mov al, byte [edx + eax]
mov byte [esp + 0xa], al
mov eax, dword [esp]
call fcn.00404b40
mov edx, ebx
dec edx
shl edx, 2
lea edx, [eax + edx]
lea eax, [esp + 7]
mov ecx, 4
call fcn.0040298c
inc ebx
dec edi
jne 0x4e9a84
mov eax, esi
call fcn.004048f0
mov ecx, 3
cdq
idiv ecx
dec edx
jne 0x4e9bc5
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.004048f0
mov ebx, eax
mov eax, dword [esp]
call fcn.00404b40
mov byte [eax + ebx - 2], 0x3d
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.004048f0
mov ebx, eax
mov eax, dword [esp]
call fcn.00404b40
mov byte [eax + ebx - 1], 0x3d
jmp 0x4e9bf2
mov eax, esi
call fcn.004048f0
mov ecx, 3
cdq
idiv ecx
cmp edx, 2
jne 0x4e9bf2
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.004048f0
mov ebx, eax
mov eax, dword [esp]
call fcn.00404b40
mov byte [eax + ebx - 1], 0x3d
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ea8a8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0xfffffffb
test esi, esi
je 0x4eaa62
test edi, edi
je 0x4eaa62
cmp dword [ebp + 0x10], 0
je 0x4eaa62
mov word [ebp - 0x16], 0
mov word [ebp - 0x14], 1
mov word [ebp - 0x12], 1
lea eax, [ebp - 0x26]
mov edx, 0x10
call fcn.00407cdc
mov eax, esi
mov dl, byte [eax + 4]
mov byte [ebp - 0x26], dl
mov dl, byte [eax + 8]
mov byte [ebp - 0x25], dl
mov dx, word [eax + 0xe]
mov word [ebp - 0x24], dx
mov dword [ebp - 0x1a], 0x16
mov edx, dword [eax + 0x14]
add edx, dword [ebp + 0xc]
add edx, dword [ebp + 8]
mov dword [ebp - 0x1e], edx
xor edx, edx
mov dl, byte [ebp - 0x25]
add edx, edx
mov dword [eax + 8], edx
push 0
push 0x8000080
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4ea95b
mov dword [ebp - 4], 0xfffffffa
jmp 0x4eaa62
xor eax, eax
push ebp
push 0x4eaa5b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x10]
push eax
push 6
lea eax, [ebp - 0x16]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x4ea993
push ebp
call fcn.004ea880
pop ecx
call fcn.00404068
jmp 0x4eaa62
mov ebx, dword [ebp - 0x10]
push 0
lea eax, [ebp - 0x10]
push eax
push 0x10
lea eax, [ebp - 0x26]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x4ea9c0
push ebp
call fcn.004ea880
pop ecx
call fcn.00404068
jmp 0x4eaa62
add ebx, dword [ebp - 0x10]
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x4ea9e9
push ebp
call fcn.004ea880
pop ecx
call fcn.00404068
jmp 0x4eaa62
add ebx, dword [ebp - 0x10]
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x14]
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x4eaa12
push ebp
call fcn.004ea880
pop ecx
call fcn.00404068
jmp 0x4eaa62
add ebx, dword [ebp - 0x10]
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x4eaa3e
push ebp
call fcn.004ea880
pop ecx
call fcn.00404068
jmp 0x4eaa62
add ebx, dword [ebp - 0x10]
mov dword [ebp - 4], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eaa62
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4eb220
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x561bb4
mov ecx, dword [esp]
lea edx, [esp + 0xc]
xor ebx, ebx
mov bl, byte [edi]
mov bl, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x4eb23f
mov esi, 1
mov edx, 0x561cbc
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
shl ecx, 2
xor ebx, ebx
mov bl, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
xor ebx, ebx
mov bl, byte [esp + eax + 0x11]
add edi, ebx
xor ebx, ebx
mov bl, byte [esp + eax + 0xd]
shl ebx, 3
movzx ebp, byte [esp + eax + 0xe]
shl ebp, 2
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x4eb2b9
dec ebx
je 0x4eb2dd
dec ebx
je 0x4eb301
dec ebx
je 0x4eb324
jmp 0x4eb33d
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 8
and ebx, 0xff
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4eb33d
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 4
and ebx, 0xff
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4eb33d
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 2
and ebx, 0xff
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4eb33d
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x4eb2a6
inc esi
add edx, 0x40
cmp esi, 9
jne 0x4eb25b
mov esi, 0x20
mov eax, 0x561be4
mov edx, dword [esp + 4]
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x4eb362
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4eb39c
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
xor eax, eax
mov al, dl
mov bl, byte [eax + 0x561c6b]
test bl, bl
jbe 0x4eb3cd
lea eax, [esi + 0x3e0]
call fcn.004eb37c
lea eax, [esi + 0x3fc]
call fcn.004eb37c
dec bl
jne 0x4eb3b3
mov cl, 0x30
mov edi, 0x561c3c
mov eax, dword [esp]
mov dl, byte [edi]
cmp dl, 0x1c
ja 0x4eb3ef
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x4eb3fe
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x4eb3d7
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4eb40c
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.004eb1b4
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4eb428
mov bl, 0x1c
mov esi, 0x561c04
lea edi, [ebp - 0x41]
mov dl, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004eb1b4
mov byte [edi], al
mov dl, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004eb1b4
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4eb444
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004eb39c
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4eb46c
mov bl, 1
mov eax, 0x561b34
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4eb4a5
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4eb4b2
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4eb491
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x4eb4dc
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.004eb220
jmp 0x4eb504
xor eax, eax
mov al, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.004eb220
mov bl, 0x20
lea eax, [ebp - 0xa1]
mov dl, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x4eb50c
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x4eb4c4
mov bl, 0x40
mov esi, 0x561b74
lea eax, [ebp - 0x3e1]
mov dl, byte [esi]
cmp dl, 0x20
ja 0x4eb572
and edx, 0xff
mov dl, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x4eb581
and edx, 0xff
mov dl, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x4eb55a
mov bl, 1
lea esi, [ebp - 0x3e1]
mov cl, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004eb1dc
inc ebx
inc esi
cmp bl, 0x41
jne 0x4eb58f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ec3d4
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 0x4ec480
mov dl, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x4ec47b
mov eax, ebp
mov edx, 8
call fcn.00404c74
push 1
mov eax, ebp
call fcn.00404b40
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.004eb40c
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret