joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472ac0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x472c2e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xa0]
xor ecx, ecx
mov edx, 0x9c
call fcn.004032f0
mov dword [ebp - 0xa0], 0x9c
cmp byte [0x516f64], 0
je 0x472b36
call fcn.00472eb0
cmp eax, 6
jl 0x472b36
lea eax, [ebp - 0xa0]
push eax
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x472bb9
cmp byte [ebp - 6], 1
jne 0x472b2f
mov bl, 1
jmp 0x472bb9
mov bl, 2
jmp 0x472bb9
cmp byte [0x516f68], 0
je 0x472b86
lea eax, [ebp - 0xa0]
push eax
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x472bb9
mov al, byte [ebp - 6]
cmp al, 3
jne 0x472b7e
mov ax, word [ebp - 8]
mov edx, eax
and dx, 0x80
cmp dx, 0x80
jne 0x472b6c
mov bl, 6
jmp 0x472bb9
and ax, 2
cmp ax, 2
jne 0x472b7a
mov bl, 3
jmp 0x472bb9
mov bl, 2
jmp 0x472bb9
cmp al, 1
jne 0x472bb9
mov bl, 5
jmp 0x472bb9
cmp byte [0x516f6c], 0
je 0x472bb9
lea eax, [ebp - 0xa0]
push eax
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x472bb9
cmp byte [ebp - 6], 1
jne 0x472bb9
mov ax, word [ebp - 8]
and ax, 0x200
cmp ax, 0x200
jne 0x472bb7
mov bl, 4
jmp 0x472bb9
mov bl, 5
test bl, bl
jne 0x472c18
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x472c44
mov edx, 0x472c58
mov eax, 0x80000002
call fcn.00472400
mov edx, 0x472c90
mov eax, dword [ebp - 4]
call fcn.004091e0
test eax, eax
jne 0x472bec
mov bl, 1
jmp 0x472c18
mov edx, 0x472ca0
mov eax, dword [ebp - 4]
call fcn.004091e0
test eax, eax
jne 0x472c01
mov bl, 3
jmp 0x472c18
mov edx, 0x472cb4
mov eax, dword [ebp - 4]
call fcn.004091e0
test eax, eax
jne 0x472c16
mov bl, 2
jmp 0x472c18
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472c35
lea eax, [ebp - 4]
call fcn.00404a4c
ret
Function at 0x474760
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4748c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.004032f0
lea eax, [ebp - 0x28]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x516fe0], eax
mov eax, dword [ebp - 0xc]
mov dword [0x516fe4], eax
mov eax, dword [ebp - 0x24]
mov dword [0x516fe8], eax
mov eax, dword [0x51da84]
cmp dword [eax], 2
sete byte [0x516f50]
push 0x4748d4
call sub.KERNEL32.DLL_GetModuleHandleA_1
lea edx, [ebp - 4]
call fcn.00471ae4
cmp byte [0x516f50], 0
jne 0x4747ec
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00471b14
test al, al
je 0x4747ec
mov eax, dword [ebp - 0x4c]
mov dword [0x51f29c], eax
jmp 0x4747f3
xor eax, eax
mov dword [0x51f29c], eax
call fcn.00472980
and eax, 0x7f
cmp eax, 0xb
ja case.0x474804.0
jmp dword [eax*4 + 0x47480b]
mov byte [0x516f3c], 1
jmp case.0x474804.0
mov byte [0x516f40], 1
jmp case.0x474804.0
mov byte [0x516f44], 1
jmp case.0x474804.0
mov byte [0x516f48], 1
jmp case.0x474804.0
mov byte [0x516f4c], 1
jmp case.0x474804.0
mov byte [0x516f54], 1
mov byte [0x516f58], 1
jmp case.0x474804.0
mov byte [0x516f54], 1
mov byte [0x516f5c], 1
jmp case.0x474804.0
mov byte [0x516f54], 1
mov byte [0x516f60], 1
jmp case.0x474804.0
mov byte [0x516f64], 1
jmp case.0x474804.0
mov byte [0x516f68], 1
jmp case.0x474804.0
mov byte [0x516f6c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4748d0
lea eax, [ebp - 4]
call fcn.00404a4c
ret

Function at 0x475f84
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
mov ebx, eax
xor esi, esi
push 0x40
push ebx
call sub.KERNEL32.DLL_IsBadReadPtr
test eax, eax
jne 0x475fc3
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x475fc3
cmp dword [eax + 0x3c], 0
je 0x475fc3
mov esi, dword [eax + 0x3c]
add esi, ebx
push 0xf8
push esi
call sub.KERNEL32.DLL_IsBadReadPtr
test eax, eax
jne 0x475fc1
cmp dword [esi], 0x4550
je 0x475fc3
xor esi, esi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x47c008
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404eec
xor eax, eax
push ebp
push 0x47c12e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00404efc
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x18], eax
mov byte [ebp - 5], 1
cmp dword [ebp - 0x18], 0
je 0x47c114
mov eax, dword [ebp - 0x18]
call fcn.0040277c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x47c10d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47c0f0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x47c140
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47c0ea
test ebx, ebx
je 0x47c0ab
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
call fcn.00407efc
mov word [ebx], ax
cmp dword [ebp + 0x10], 0
je 0x47c0be
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 8]
mov edx, dword [ebp + 0x10]
mov word [edx], ax
cmp dword [ebp + 0xc], 0
je 0x47c0d5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.00407efc
mov edx, dword [ebp + 0xc]
mov word [edx], ax
cmp dword [ebp + 8], 0
je 0x47c0f4
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0xc]
mov edx, dword [ebp + 8]
mov word [edx], ax
jmp 0x47c0f4
mov byte [ebp - 5], 0
jmp 0x47c0f4
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c118
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040279c
ret
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c135
lea eax, [ebp - 4]
call fcn.00404a4c
ret
Function at 0x481cbc
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x481e25
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404ae4
mov eax, dword [ebp - 0x10]
call fcn.00481790
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x481d0e
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404f9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004821a0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x481de3
xor eax, eax
push ebp
push 0x481ddc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00481900
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00481e54
test al, al
je 0x481dba
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404b3c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x481dba
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404efc
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x481db4
mov eax, dword [ebp - 0x14]
call fcn.00404efc
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404c3c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00481cbc
dec ebx
cmp ebx, 0xffffffff
jne 0x481d6d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481de3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00481900
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404efc
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004818ec
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481e2c
lea eax, [ebp - 0x3c]
call fcn.00404a4c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404a70
ret

Function at 0x481e54
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004032f0
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x51da94]
cmp byte [edx + 0xc], 0
je 0x481eb8
mov edx, dword [0x51da84]
cmp dword [edx], 2
jne 0x481eb8
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x481ebc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x481f74
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00481e54
test al, al
je 0x481f56
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404b3c
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x481f56
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404efc
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404efc
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404c3c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x481f0f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481f7b
lea eax, [ebp - 0x2c]
call fcn.00404a4c
lea eax, [ebp - 0xc]
call fcn.00404a4c
ret

Function at 0x4820a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004817a4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404efc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4820fe
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x51d7cc]
mov dl, 1
mov eax, dword [0x48169c]
call fcn.0040d130
call fcn.00404408
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x482108
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404efc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x482160
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x51daa4]
mov dl, 1
mov eax, dword [0x48169c]
call fcn.0040d130
call fcn.00404408
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004817d4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48dac4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48db9c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x51f378], 0
jne 0x48db80
lea eax, [ebp - 4]
mov edx, 0x48dbb4
call fcn.00404ae4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404efc
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x48db80
mov eax, ebx
call fcn.0040277c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48db79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x48db63
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x48dbc4
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x48db63
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x51f378], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48db80
mov eax, dword [ebp - 0xc]
call fcn.0040279c
ret
mov ebx, dword [0x51f378]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dba3
lea eax, [ebp - 4]
call fcn.00404a4c
ret
Function at 0x4b23c4
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x517443]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax - 1]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx - 1]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x55], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x31
jne 0x4b23da
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
dec eax
add eax, eax
lea eax, [eax + eax*2]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
dec eax
shl eax, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x54]
add eax, eax
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebp + edx - 0x4f]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x53]
shl eax, 3
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebp + edx - 0x52]
shl edx, 2
add eax, edx
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebp + edx - 0x51]
add edx, edx
add eax, edx
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebp + edx - 0x50]
add eax, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
dec eax
je 0x4b2489
dec eax
je 0x4b24be
dec eax
je 0x4b24f0
dec eax
je 0x4b2521
jmp 0x4b2549
mov eax, dword [ebp - 0x20]
add eax, eax
mov edx, dword [ebp - 0x10]
shl edx, 3
lea edx, [edx*8 + 0x51750c]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x24]
mov al, byte [eax + edx - 0x40]
and al, 8
and eax, 0xff
shr eax, 3
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x75], al
jmp 0x4b2549
mov eax, dword [ebp - 0x20]
add eax, eax
mov edx, dword [ebp - 0x10]
shl edx, 3
lea edx, [edx*8 + 0x51750c]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x24]
mov al, byte [eax + edx - 0x40]
and al, 4
and eax, 0xff
shr eax, 2
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x75], al
jmp 0x4b2549
mov eax, dword [ebp - 0x20]
add eax, eax
mov edx, dword [ebp - 0x10]
shl edx, 3
lea edx, [edx*8 + 0x51750c]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x24]
mov al, byte [eax + edx - 0x40]
and al, 2
and eax, 0xff
shr eax, 1
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x75], al
jmp 0x4b2549
mov eax, dword [ebp - 0x20]
add eax, eax
mov edx, dword [ebp - 0x10]
shl edx, 3
lea edx, [edx*8 + 0x51750c]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x24]
mov al, byte [eax + edx - 0x40]
and al, 1
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x75], al
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 5
jne 0x4b2471
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 9
jne 0x4b240c
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x517473]
mov al, byte [ebp + eax - 0x75]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx - 1], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x21
jne 0x4b256a
mov esp, ebp
pop ebp
ret
Function at 0x4b397c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax]
mov byte [ebp - 0x24], al
mov eax, dword [ebp - 4]
mov al, byte [eax]
shl eax, 7
and al, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 1]
shr edx, 1
or al, dl
mov byte [ebp - 0x23], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 1]
shl eax, 6
and al, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 2]
shr edx, 2
or al, dl
mov byte [ebp - 0x22], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 2]
shl eax, 5
and al, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 3]
shr edx, 3
or al, dl
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 3]
shl eax, 4
and al, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 4]
shr edx, 4
or al, dl
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 4]
shl eax, 3
and al, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 5]
shr edx, 5
or al, dl
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 5]
shl eax, 2
and al, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 6]
shr edx, 6
or al, dl
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 6]
add eax, eax
and al, 0xff
mov byte [ebp - 0x1d], al
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x24]
shl eax, cl
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x1c]
and eax, 1
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 8
jne 0x4b3a46
mov eax, dword [ebp - 0x10]
mov al, byte [ebp + eax - 0x24]
and al, 0xfe
or al, byte [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x24], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x4b3a3f
mov eax, dword [ebp - 0xc]
mov edx, 8
call fcn.00405088
push 1
mov eax, dword [ebp - 0xc]
call fcn.00404f54
mov edx, eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004b2678
mov esp, ebp
pop ebp
ret
Function at 0x4bd5c0
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 0x4bd611
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4bd5f8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4bd5e8
jmp 0x4bd611
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 0x4bd5f9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d27d4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4d27dc
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404eec
xor eax, eax
push ebp
push 0x4d29e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404a4c
lea eax, [ebp - 4]
call fcn.00404f54
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d04
mov ecx, 3
cdq
idiv ecx
mov edi, eax
test edi, edi
jle 0x4d28dd
push dword [esi]
lea eax, [ebp - 8]
xor edx, edx
mov dl, byte [ebx]
shr edx, 2
inc edx
mov ecx, 0x4d29f8
mov dl, byte [ecx + edx - 1]
call fcn.00404c2c
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov dl, byte [ebx]
and dl, 3
and edx, 0xff
shl edx, 4
inc edx
xor ecx, ecx
mov cl, byte [ebx + 1]
shr ecx, 4
add edx, ecx
mov ecx, 0x4d29f8
mov dl, byte [ecx + edx - 1]
call fcn.00404c2c
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
mov dl, byte [ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
inc edx
xor ecx, ecx
mov cl, byte [ebx + 2]
shr ecx, 6
add edx, ecx
mov ecx, 0x4d29f8
mov dl, byte [ecx + edx - 1]
call fcn.00404c2c
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov dl, byte [ebx + 2]
and dl, 0x3f
and edx, 0xff
inc edx
mov ecx, 0x4d29f8
mov dl, byte [ecx + edx - 1]
call fcn.00404c2c
push dword [ebp - 0x14]
mov eax, esi
mov edx, 5
call fcn.00404dc4
add ebx, 3
dec edi
jne 0x4d282d
mov eax, dword [ebp - 4]
call fcn.00404d04
mov ecx, 3
cdq
idiv ecx
test edx, edx
jle 0x4d29c7
push dword [esi]
lea eax, [ebp - 0x18]
xor edx, edx
mov dl, byte [ebx]
shr edx, 2
inc edx
mov ecx, 0x4d29f8
mov dl, byte [ecx + edx - 1]
call fcn.00404c2c
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
mov dl, byte [ebx]
and dl, 3
and edx, 0xff
shl edx, 4
inc edx
xor ecx, ecx
mov cl, byte [ebx + 1]
shr ecx, 4
add edx, ecx
mov ecx, 0x4d29f8
mov dl, byte [ecx + edx - 1]
call fcn.00404c2c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
mov dl, byte [ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
inc edx
xor ecx, ecx
mov cl, byte [ebx + 2]
shr ecx, 6
add edx, ecx
mov ecx, 0x4d29f8
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x2c]
call fcn.00403188
mov edx, 0x4d2a3c
lea eax, [ebp - 0x2c]
mov cl, 2
call fcn.00403158
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x24]
call fcn.00404ca8
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d04
mov ecx, 3
cdq
idiv ecx
dec edx
sete al
mov edx, 0x4d2a48
pop ecx
call fcn.004d2750
push dword [ebp - 0x20]
mov eax, esi
mov edx, 4
call fcn.00404dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d29e9
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00404a70
ret