joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477458
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 0x477603
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4775e4
mov dl, 1
mov eax, dword [0x418da4]
call fcn.00403cac
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c1c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4775d3
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.0046967c
test al, al
je 0x4775c6
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, 0x477614
lea eax, [ebp - 0x254]
call fcn.0040ab6c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4775c6
xor eax, eax
push ebp
push 0x4775bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x47764c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4775a8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404e8c
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 0x4775a8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404e8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4775c6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4774c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041dd18
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 0x47760a
lea eax, [ebp - 0x260]
call fcn.00404c1c
ret

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

Disassembly:
push ecx
mov eax, dword [0x506ca8]
cmp byte [eax + 0xad], 0
jne 0x477fed
cmp dword [0x506cc4], 0
jne 0x477fae
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x477f38
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x506cc4], eax
cmp dword [0x506cc0], 0
jne 0x477fc9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x506cc0], eax
cmp dword [0x506cc8], 0
jne 0x477fed
push esp
push 0
push 0
push 0x477edc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x506cc8], eax
pop edx
ret
Function at 0x4781c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4781d7
add esp, 0xfffffff0
call fcn.00404040
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424a3c
mov eax, dword [0x50158c]
cmp word [eax + 2], 0
jne 0x4781ff
mov eax, dword [0x50158c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00479e30
mov eax, dword [0x5016f4]
cmp word [eax + 2], 0
jne 0x478219
mov eax, dword [0x5016f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047a03c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418738]
call fcn.00403cac
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418738]
call fcn.00403cac
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x418738]
call fcn.00403cac
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 [0x42978c]
call fcn.0043162c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4783d0
mov eax, dword [0x5013e4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00431a00
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47a710
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5013e4]
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.0040ebc4
test eax, eax
je 0x478320
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a174
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ebf8
test eax, eax
je 0x478334
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, 0x100
call fcn.00404e8c
mov byte [ebx + 0xd4], 0
push ebx
push 0x479940
call fcn.00425bb8
mov dword [ebx + 0xc8], eax
mov eax, dword [0x501188]
cmp byte [eax], 0
jne 0x478385
mov eax, ebx
call fcn.00478514
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.0047a8e8
mov eax, ebx
call fcn.0047b44c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4783c5
call fcn.00404098
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478794
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x478833
cmp dword [ebx + 0x94], 0
jne 0x47882d
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47871c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47882d
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 0x4787f3
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47882d
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.0041b0d4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x478802
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x506ca8]
cmp dword [eax + 0x30], 0
je 0x478ba9
test bl, bl
jne 0x478afa
cmp dword [esi + 0x9c], 0
jne 0x478aef
mov eax, esi
call fcn.0047b2c8
push eax
push 0x478978
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x478ac0
mov eax, dword [0x506ca8]
call fcn.0047b9a8
test al, al
je 0x478ac0
mov eax, dword [0x506ccc]
call fcn.00405f7c
mov edi, eax
cmp edi, 0
jl 0x478ac0
push 0
mov eax, dword [0x506ccc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x478aaa
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x478aef
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041b0d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x478acf
inc dword [esi + 0x9c]
jmp 0x478ba9
cmp dword [esi + 0x9c], 0
jle 0x478ba9
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x478ba9
cmp dword [esi + 0x44], 0
je 0x478b55
mov eax, dword [0x506ca8]
call fcn.0047b9a8
test al, al
je 0x478b55
mov eax, dword [0x506ccc]
call fcn.00405f7c
mov edi, eax
cmp edi, 0
jl 0x478b55
push 5
mov eax, dword [0x506ccc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x478b3f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x478b84
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041b0d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x478b64
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x506ccc
mov ecx, 1
mov edx, dword [0x478958]
call fcn.00406130
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x47963c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4796a6
mov eax, ebx
call fcn.0047b9a8
test al, al
jne 0x4796a6
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404d0c
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x479693
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4796b3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c70
jmp 0x4796b3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c70
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x47aacc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47ab3a
mov eax, esi
call fcn.004642b4
test al, al
je 0x47ab3a
mov eax, dword [ebx + 0x84]
call fcn.00463f04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47ab3a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x47ab2e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00463f04
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0045be40
jmp 0x47ab3a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0047a908
pop esi
pop ebx
ret
Function at 0x498de0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
push 0
push 1
push 2
mov eax, dword [0x501690]
mov eax, dword [eax]
call eax
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], ebx
inc ebx
jne 0x498e22
mov ecx, dword [0x501578]
mov dl, 1
mov eax, dword [0x496fdc]
call fcn.0040dc54
call fcn.00404590
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
je 0x498e4d
mov dword [ebp - 0xc], 1
push 4
lea eax, [ebp - 0xc]
push eax
push 0xfffffffffffffffb
push 0xffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.wsock32.dll_setsockopt
jmp 0x498e76
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
je 0x498e76
mov dword [ebp - 0xc], 1
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0xffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.wsock32.dll_setsockopt
xor edx, edx
push ebp
push 0x498ef7
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403ed8
cmp byte [ebp + 8], 0
je 0x498ed1
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00498d3c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x1c]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004988d0
jmp 0x498eed
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004983fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x498f25
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x49ba30
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
movzx ebx, bl
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
movzx edx, dl
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax*8 + 0x4fee54]
movzx eax, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x49ba68
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x49ba80
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x49ba79
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.004035fc
xor edx, edx
mov eax, 0x4ff054
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x49bae7
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x49ba9e
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x49bd30
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x49bd49
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x49bd42
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x49bd5b
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x49bd54
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0049b920
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x49bd75
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.0049ba30
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x49bdfd
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x49be1b
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0049b9b0
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x49be45
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4baed4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00403320
xor eax, eax
push ebp
push 0x4baf38
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
cmp word [ecx], 0x5a4d
jne 0x4baf2e
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ebx, eax
cmp dword [ebx], 0x4550
jne 0x4baf2e
mov eax, 0x7ffffffe
call fcn.00403348
mov dword [ebx + 0xf4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4baf42
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4bba40
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffed8
mov ebp, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x128
call fcn.004035fc
mov dword [esp], 0x128
xor edx, edx
mov eax, 0xf
call fcn.0049cb24
mov edi, eax
mov edx, esp
mov eax, edi
call fcn.0049cb44
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4bbab1
cmp ebp, dword [esp + 0x18]
jne 0x4bbaa2
mov eax, dword [esp + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x4bbaa2
push 0
push esi
call sub.kernel32.dll_TerminateProcess
mov edx, esp
mov eax, edi
call fcn.0049cb64
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4bba80
push ebp
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x4bbacd
push 0
push esi
call sub.kernel32.dll_TerminateProcess
push edi
call sub.kernel32.dll_CloseHandle
add esp, 0x128
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4bbae0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040509c
xor eax, eax
push ebp
push 0x4bbc17
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x12d]
xor ecx, ecx
mov edx, 0x128
call fcn.004035fc
mov dword [ebp - 0x12d], 0x128
xor edx, edx
mov eax, 0xf
call fcn.0049cb24
mov esi, eax
lea edx, [ebp - 0x12d]
mov eax, esi
call fcn.0049cb44
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4bbbe3
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.00408e8c
mov eax, dword [ebp - 0x134]
push eax
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x109]
mov ecx, 0x104
call fcn.00404e8c
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00408e8c
mov eax, dword [ebp - 0x138]
pop edx
call fcn.00409098
test eax, eax
jne 0x4bbbd0
call sub.kernel32.dll_GetCurrentProcessId
mov edi, dword [ebp - 0x125]
cmp eax, edi
je 0x4bbbd0
push 0
push edi
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov byte [ebp - 5], 1
lea edx, [ebp - 0x12d]
mov eax, esi
call fcn.0049cb64
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4bbb5f
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbc1e
lea eax, [ebp - 0x13c]
mov edx, 3
call fcn.00404c40
lea eax, [ebp - 4]
call fcn.00404c1c
ret
Function at 0x4bc740
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4bc808
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov bl, 0x43
lea eax, [ebp - 0x2c]
mov edx, ebx
call fcn.00404e04
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov ecx, 0x4bc820
call fcn.00404f34
mov eax, dword [ebp - 4]
call fcn.004050ac
mov esi, eax
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4bc7e4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
mov eax, dword [0x5014b0]
mov eax, dword [eax]
call eax
test eax, eax
je 0x4bc7e4
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0xc]
jne 0x4bc7cc
cmp eax, dword [ebp - 0x10]
jbe 0x4bc7e4
jmp 0x4bc7ce
jle 0x4bc7e4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404c70
inc ebx
cmp bl, 0x5b
jne 0x4bc771
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc80f
lea eax, [ebp - 0x2c]
call fcn.00404c1c
lea eax, [ebp - 4]
call fcn.00404c1c
ret

Function at 0x4bcb1c
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
xor ebx, ebx
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x4bcb3f
cmp dword [esp + 4], 5
jne 0x4bcb3f
mov bl, 1
mov eax, ebx
add esp, 0x94
pop ebx
ret

Function at 0x4bd10c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4bd124
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4bd11d
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.004035fc
xor edx, edx
mov eax, 0x5002cc
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4bd18b
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4bd142
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4bd3d4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4bd3ed
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4bd3e6
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4bd3ff
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4bd3f8
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004bcfc4
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4bd419
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.004bd0d4
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4bd4a1
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4bd4bf
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004bd054
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4bd4e9
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc