joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483810
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4839bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x48399c
mov dl, 1
mov eax, dword [0x41c748]
call fcn.00404b08
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405a98
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x48398b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00475450
test al, al
je 0x48397e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4839cc
lea eax, [ebp - 0x254]
call fcn.0040c560
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48397e
xor eax, eax
push ebp
push 0x483977
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x483a04
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x483960
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405d08
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x483960
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405d08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48397e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x483881
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00421bf4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4839c2
lea eax, [ebp - 0x260]
call fcn.00405a98
ret

Function at 0x484444
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5dbcf0]
cmp byte [eax + 0xad], 0
jne 0x4844b5
cmp dword [0x5dbd0c], 0
jne 0x484476
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x484400
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5dbd0c], eax
cmp dword [0x5dbd08], 0
jne 0x484491
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5dbd08], eax
cmp dword [0x5dbd10], 0
jne 0x4844b5
push esp
push 0
push 0
push 0x4843a4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5dbd10], eax
pop edx
ret
Function at 0x484688
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x48469f
add esp, 0xfffffff0
call fcn.00404e9c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042a930
mov eax, dword [0x5d5bc8]
cmp word [eax + 2], 0
jne 0x4846c7
mov eax, dword [0x5d5bc8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004860e4
mov eax, dword [0x5d5dbc]
cmp word [eax + 2], 0
jne 0x4846e1
mov eax, dword [0x5d5dbc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004862f0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41c0dc]
call fcn.00404b08
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41c0dc]
call fcn.00404b08
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41c0dc]
call fcn.00404b08
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4324d0]
call fcn.0043b1bc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x484898
mov eax, dword [0x5d59d4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043b5a4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4869b4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5d59d4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0041058c
test eax, eax
je 0x4847e8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040bedc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004105c0
test eax, eax
je 0x4847fc
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405d08
mov byte [ebx + 0xd4], 0
push ebx
push 0x485db0
call fcn.0042baac
mov dword [ebx + 0xc8], eax
mov eax, dword [0x5d56c8]
cmp byte [eax], 0
jne 0x48484d
mov eax, ebx
call fcn.004849dc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00486b8c
mov eax, ebx
call fcn.004876f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48488d
call fcn.00404ef4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484c5c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x484cfb
cmp dword [ebx + 0x94], 0
jne 0x484cf5
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x484be4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x484cf5
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x484cbb
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x484cf5
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041eb9c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x484cca
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x484f14
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5dbcf0]
cmp dword [eax + 0x30], 0
je 0x485071
test bl, bl
jne 0x484fc2
cmp dword [esi + 0x9c], 0
jne 0x484fb7
mov eax, esi
call fcn.0048756c
push eax
push 0x484e40
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x484f88
mov eax, dword [0x5dbcf0]
call fcn.00487c4c
test al, al
je 0x484f88
mov eax, dword [0x5dbd14]
call fcn.004072d0
mov edi, eax
cmp edi, 0
jl 0x484f88
push 0
mov eax, dword [0x5dbd14]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x484f72
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x484fb7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041eb9c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x484f97
inc dword [esi + 0x9c]
jmp 0x485071
cmp dword [esi + 0x9c], 0
jle 0x485071
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x485071
cmp dword [esi + 0x44], 0
je 0x48501d
mov eax, dword [0x5dbcf0]
call fcn.00487c4c
test al, al
je 0x48501d
mov eax, dword [0x5dbd14]
call fcn.004072d0
mov edi, eax
cmp edi, 0
jl 0x48501d
push 5
mov eax, dword [0x5dbd14]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x485007
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x48504c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041eb9c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x48502c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x5dbd14
mov ecx, 1
mov edx, dword [0x484e20]
call fcn.00407484
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b0794
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.00405f18
xor eax, eax
push ebp
push 0x4b0817
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00405a98
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b07d0
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
test ebx, ebx
jle 0x4b07fc
mov edi, 1
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + edi - 1]
xor dl, 0x27
call fcn.00405c80
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00405d64
inc edi
dec ebx
jne 0x4b07db
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b081e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405abc
ret

Function at 0x4b087c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f18
xor eax, eax
push ebp
push 0x4b08d2
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_SetFileApisToANSI
mov eax, dword [ebp - 4]
call fcn.00405f28
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4b08b6
test al, 0x10
jne 0x4b08ba
xor ebx, ebx
jmp 0x4b08bc
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b08d9
lea eax, [ebp - 4]
call fcn.00405a98
ret

Function at 0x4b09b0
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x4b09fa
push ebx
push ecx
push dword fs:[0]
mov dword fs:[0], esp
mov ebx, 0
mov eax, 1
invalid
Function at 0x4b13b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x411ee8]
call fcn.00406794
xor eax, eax
push ebp
push 0x4b1551
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5cf1e0], 0
jne 0x4b140b
mov ecx, dword [0x5d570c]
mov dl, 1
mov eax, dword [0x409a6c]
call fcn.0040f614
call fcn.004053ec
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403d74
mov eax, ebx
call fcn.00406448
mov dword [ebp - 0x24], eax
mov esi, 0x4b1560
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00407cbc
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00406458
test eax, eax
jle 0x4b14f4
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4b14e0
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405d08
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4b1486
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00405d20
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4b149c
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00405d20
mov eax, dword [ebp - 0x54]
call fcn.00405f28
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405d08
mov eax, dword [ebp - 0x58]
call fcn.00405f28
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x4b14e2
xor eax, eax
test al, al
je 0x4b14ed
mov ebx, 0x15
jmp 0x4b14f9
mov ebx, 0x10
jmp 0x4b14f9
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x5cf1e0]
call fcn.004b11d4
mov eax, dword [ebp - 4]
call fcn.004b11d4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00407cd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1558
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405abc
lea eax, [ebp - 0xc]
mov edx, dword [0x411ee8]
call fcn.00406864
ret
Function at 0x4c23c0
Capabilities:
Create process on windows
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
mov eax, dword [0x5d6114]
cmp dword [eax], 1
jne 0x4c24b5
push 0x4c25ac
push 0x4c25c4
call sub.user32.dll_FindWindowA
test eax, eax
je 0x4c23f2
mov byte [ebp - 1], 1
jmp 0x4c259f
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.00403d74
mov dword [ebp - 0x54], 0x44
mov eax, 0x104
call fcn.00402fc0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4c24ae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0x104
push 0
push 0x4c25d4
push 0
call sub.kernel32.dll_SearchPathA
test eax, eax
jne 0x4c244f
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete byte [ebp - 1]
jmp 0x4c2498
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0x210
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4c2482
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete byte [ebp - 1]
jmp 0x4c2498
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c259f
mov eax, dword [ebp - 8]
call fcn.00402fdc
ret
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
jne 0x4c24d6
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete byte [ebp - 1]
jmp 0x4c259f
push 4
push 0x4c25e0
push ebx
call sub.advapi32.dll_OpenServiceA
mov esi, eax
test esi, esi
jne 0x4c24f8
push 0x10
push 0x4c25e0
push ebx
call sub.advapi32.dll_OpenServiceA
mov esi, eax
push ebx
call sub.advapi32.dll_CloseServiceHandle
test esi, esi
jne 0x4c2512
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete byte [ebp - 1]
jmp 0x4c259f
lea eax, [ebp - 0x80]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
jne 0x4c2533
push esi
call sub.advapi32.dll_CloseServiceHandle
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete byte [ebp - 1]
jmp 0x4c259f
cmp dword [ebp - 0x7c], 4
jne 0x4c2545
push esi
call sub.advapi32.dll_CloseServiceHandle
mov byte [ebp - 1], 1
jmp 0x4c259f
xor eax, eax
mov dword [ebp - 0x10], eax
push esi
call sub.advapi32.dll_CloseServiceHandle
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
push 0x10
push 0x4c25e0
push ebx
call sub.advapi32.dll_OpenServiceA
mov esi, eax
push ebx
call sub.advapi32.dll_CloseServiceHandle
lea eax, [ebp - 0x10]
push eax
push 0
push esi
call sub.advapi32.dll_StartServiceA
test eax, eax
jne 0x4c2595
push esi
call sub.advapi32.dll_CloseServiceHandle
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete byte [ebp - 1]
jmp 0x4c259f
push esi
call sub.advapi32.dll_CloseServiceHandle
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c4578
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x4c4588
call sub.user32.dll_FindWindowA
ret
Function at 0x4c4814
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
call fcn.004c4620
test al, al
je 0x4c484e
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov al, 1
call fcn.004c462c
jmp 0x4c4843
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x7d0
jae 0x4c484e
push 0
call sub.kernel32.dll_Sleep_2
xor eax, eax
call fcn.004c462c
test al, al
jne 0x4c482e
pop ebx
ret

Function at 0x4c96bc
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, 0x5cf384
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x4c96db
mov esi, 1
mov edx, 0x5cf48c
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
add ecx, ecx
add ecx, ecx
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
add ebx, ebx
add ebx, ebx
add ebx, ebx
movzx ebp, byte [esp + eax + 0xe]
add ebp, ebp
add ebp, ebp
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 0x4c9754
dec ebx
je 0x4c9776
dec ebx
je 0x4c9798
dec ebx
je 0x4c97b9
jmp 0x4c97d3
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4c97d3
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4c97d3
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4c97d3
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x4c9744
inc esi
add edx, 0x40
cmp esi, 9
jne 0x4c96f7
mov esi, 0x20
mov eax, 0x5cf3b4
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x4c97f8
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c9834
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x5cf43b]
test bl, bl
jbe 0x4c9865
lea eax, [esi + 0x3e0]
call fcn.004c9810
lea eax, [esi + 0x3fc]
call fcn.004c9810
dec bl
jne 0x4c984b
mov cl, 0x30
mov edi, 0x5cf40c
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x4c9886
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x4c9893
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x4c986f
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4c98a0
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.004c9654
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4c98bc
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004c9654
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004c9654
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4c98d8
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004c9834
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4c9902
mov bl, 1
mov eax, 0x5cf304
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4c993b
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4c9948
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4c9927
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
Function at 0x4e66ac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4e66da
mov eax, ebx
call fcn.004e7160
cmp dword [ebx + 0x40], 0
je 0x4e66d3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4e674b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4e673d
cmp dword [ebx + 8], 0
je 0x4e66fc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4e670e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4e673d
cmp dword [ebx + 8], 0
je 0x4e66ef
cmp eax, 3
je 0x4e6721
dec eax
jne 0x4e66ef
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4e66ef
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4e66ef
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4e6769
cmp dword [ebx + 0x14], 0xcc
je 0x4e6769
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004e6774
pop ebx
ret

Function at 0x4f7388
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4f73d9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4f73c0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4f73b0
jmp 0x4f73d9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4f73c1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x502a3c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5dc42c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x502a5e
shr eax, 1
xor eax, 0xedb88320
jmp 0x502a60
shr eax, 1
dec edx
jne 0x502a4c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x502a45
mov dword [0x5d2370], 1
pop esi
pop ebx
ret

Function at 0x502a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [0x5d2370]
test al, al
jne 0x502a9e
call fcn.00502a3c
mov eax, 4
lea edx, [ebp - 8]
movzx ebx, byte [edx]
mov ecx, dword [ebp - 4]
xor ebx, ecx
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x5dc42c]
shr ecx, 8
xor ebx, ecx
mov dword [ebp - 4], ebx
inc edx
dec eax
jne 0x502aa6
mov edx, dword [ebp + 8]
dec edx
test edx, edx
jl 0x502af4
inc edx
xor eax, eax
movzx ebx, byte [esi + eax]
mov ecx, dword [ebp - 4]
xor ebx, ecx
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x5dc42c]
shr ecx, 8
xor ebx, ecx
mov dword [ebp - 4], ebx
inc eax
dec edx
jne 0x502ad2
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4