joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455a20
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 0x455bcb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x455bac
mov dl, 1
mov eax, dword [0x415be8]
call fcn.004034dc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042b8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x455b9b
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.0044359c
test al, al
je 0x455b8e
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, 0x455bdc
lea eax, [ebp - 0x254]
call fcn.004095e0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x455b8e
xor eax, eax
push ebp
push 0x455b87
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 0x455c14
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x455b70
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404528
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 0x455b70
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404528
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455b8e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x455a91
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a028
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 0x455bd2
lea eax, [ebp - 0x260]
call fcn.004042b8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4cdbb4]
cmp byte [eax + 0xa5], 0
jne 0x456585
cmp dword [0x4cdbcc], 0
jne 0x456546
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4564d0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4cdbcc], eax
cmp dword [0x4cdbc8], 0
jne 0x456561
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4cdbc8], eax
cmp dword [0x4cdbd0], 0
jne 0x456585
push esp
push 0
push 0
push 0x456474
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4cdbd0], eax
pop edx
ret
Function at 0x456c18
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4cdbb4]
cmp dword [eax + 0x30], 0
je 0x456cc2
cmp dword [ebx + 0x94], 0
jne 0x456cbc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456ba8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x456cbc
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 0x456c82
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x456cbc
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.00417b34
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x456c91
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457820
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x457855
push pe_nt_image_headers32
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.004043a8
jmp 0x457862
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040430c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x458a1c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458a5d
mov eax, esi
call fcn.0043eb40
test al, al
je 0x458a5d
mov eax, dword [ebx + 0x84]
call fcn.0043e83c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458a5d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043e83c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x459e58
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x459e82
cmp dword [ebx + 0x64], 0
jne 0x459e82
cmp dword [ebx + 0x6c], 0
jne 0x459e82
mov esi, edi
jmp 0x459f1a
cmp esi, 0xffffffff
jne 0x459e8d
dec esi
jmp 0x459f1a
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x459f1a
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.00459368
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x459eda
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x459ee2
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x459ec1
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x459f0b
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x459f13
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x459ef2
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x459f78
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.00459b7c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x459f63
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x459f78
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x459e62
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45ea18
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4cecf0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x45ea3a
shr eax, 1
xor eax, 0xedb88320
jmp 0x45ea3c
shr eax, 1
dec edx
jne 0x45ea28
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x45ea21
mov byte [0x4cf0f0], 1
pop esi
pop ebx
ret

Function at 0x45ea58
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4cf0f0], 0
jne 0x45ea6f
call fcn.0045ea18
mov eax, edi
dec eax
test eax, eax
jl 0x45ea98
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4cecf0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x45ea79
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4610c4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4610f5
dec al
je 0x461131
dec al
je 0x461175
dec al
je 0x4611e0
jmp 0x46126a
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x46126a
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x461105
jmp 0x46126a
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46126a
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x461141
jmp 0x46126a
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46126a
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4611a3
xor ebp, ebp
jmp 0x4611b4
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4611bd
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x461185
jmp 0x46126a
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46126a
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x461238
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0045eaa0
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4611f4
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ab25c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4ab271
add esp, 0xfffffff0
call fcn.00403844
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404768
xor eax, eax
push ebp
push 0x4ab34c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004a6438
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004166d8
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004166d8
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004166d8
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004166d8
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00416700
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
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 esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab353
lea eax, [ebp - 4]
call fcn.004042b8
ret
Function at 0x4b11a8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b131f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4b1338
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.0040430c
push 0xffffffffffffffff
mov ecx, 0x4b1348
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
push 0xffffffffffffffff
mov ecx, 0x4b1364
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x34], eax
mov ecx, 0x4b1384
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0049f13c
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4b13a0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0049f028
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
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 esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4b13b4
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0049f028
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
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 esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4b13cc
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0049f028
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 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]
pop esi
mov ecx, 0x4b13e8
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0049f13c
mov byte [ebx + 0x48], al
mov ecx, 0x4b13fc
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004a5f84
mov byte [ebx + 0x49], al
push 0xffffffffffffffff
mov ecx, 0x4b1410
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x4c], eax
push 0xffffffffffffffff
mov ecx, 0x4b1430
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x50], eax
push 0
mov ecx, 0x4b1454
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x54], eax
push 0
mov ecx, 0x4b1470
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x58], eax
push 0xff
mov ecx, 0x4b148c
mov edx, dword [ebx + 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1326
lea eax, [ebp - 4]
call fcn.004042b8
ret
Function at 0x4c15c8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x14]
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 dword [ebp - 4], eax
lea edi, [ebp - 4]
mov eax, dword [edi]
call fcn.004c22a0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push ebp
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.004c14e8
pop ecx
call fcn.0049eba8
test al, al
je 0x4c1670
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x60], 0
je 0x4c1670
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.0043e83c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.0043e83c
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x61], 0
je 0x4c1659
mov eax, dword [edi]
call fcn.0043e83c
xor edx, edx
call fcn.0049ebe4
jmp 0x4c1670
mov eax, dword [edi]
call fcn.0043e83c
mov edx, dword [edi]
mov edx, dword [edx + 0x220]
mov dl, byte [edx + 0x62]
call fcn.0049ebe4
push 0x51
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [edi]
call fcn.0043e83c
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, dword [edi]
call fcn.00437f74
mov eax, dword [edi]
mov ebx, dword [eax + 0x220]
cmp byte [ebx + 0x61], 0
je 0x4c1709
cmp byte [ebx + 0x60], 0
je 0x4c1709
call fcn.0049eba8
test al, al
je 0x4c1709
mov eax, dword [0x4cc17c]
mov eax, dword [eax]
call fcn.00457b60
xor ebx, ebx
xor esi, esi
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 5
jbe 0x4c16f9
call sub.kernel32.dll_GetTickCount
mov esi, eax
add ebx, 0xa
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jle 0x4c16eb
mov ebx, eax
mov eax, dword [edi]
call fcn.0043e83c
mov edx, ebx
call fcn.0049ebe4
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jl 0x4c16c3
mov eax, dword [edi]
call fcn.004c27d4
mov eax, dword [edi]
call fcn.0043e83c
push eax
call sub.user32.dll_SetCapture
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c3400
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4c3438]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4c3416
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4c3425
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4c3434
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x4c3d84
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x434164]
call fcn.004036a4
test al, al
je 0x4c3dc6
mov eax, dword [0x4cc17c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4c3dc6
mov edx, dword [0x4cc17c]
xor edx, edx
call fcn.0045121c
push 0
mov eax, dword [0x4cc17c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4c510c
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 0x4c5175
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4cbe08]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4c515f
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004c50fc
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c4ed4]
call fcn.004c519c
mov dword [0x4cbe6c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c517c
lea eax, [ebp - 8]
call fcn.00405e40
ret

Function at 0x4c5eb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4c5ee8]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4c5ec6
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4c5ed5
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4c5ee4
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4c7284
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4cc17c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4c72aa
push 0
mov eax, dword [0x4cc17c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x4035e6
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4040c8
push 0x403bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov eax, 1
invalid

Function at 0x4036b7
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4040d8
push 0x403bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x564d5868
mov dword [ebp - 4], 0
push ebx
mov eax, dword [ebp - 0x1c]
mov ebx, 0x8685d465
mov ecx, 0xa
mov dx, 0x5658
in eax, dx
mov dword [ebp - 0x20], ebx
pop ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x40372e
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
jne 0x40373d
mov eax, 1
jmp 0x40373f
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4037d8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
jmp 0x4037fb
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x403813
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x408], edx
jmp 0x4037f2
mov dword [ebp - 8], 0
jmp 0x403825
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x40389c
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
add esi, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + edx]
add esi, ecx
and esi, 0x800000ff
jns 0x40385d
dec esi
or esi, 0xffffff00
inc esi
mov dword [ebp - 4], esi
mov edx, dword [ebp - 8]
mov al, byte [ebp + edx*4 - 0x408]
mov byte [ebp - 0x410], al
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + edx*4 - 0x408]
mov dword [ebp + ecx*4 - 0x408], eax
mov ecx, dword [ebp - 0x410]
and ecx, 0xff
mov edx, dword [ebp - 4]
mov dword [ebp + edx*4 - 0x408], ecx
jmp 0x40381c
mov dword [ebp - 0x40c], 0
jmp 0x4038b7
mov eax, dword [ebp - 0x40c]
add eax, 1
mov dword [ebp - 0x40c], eax
mov ecx, dword [ebp - 0x40c]
cmp ecx, dword [ebp + 0x10]
jae 0x40397f
mov edx, dword [ebp - 8]
add edx, 1
and edx, 0x800000ff
jns 0x4038dc
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp + eax*4 - 0x408]
and ecx, 0x800000ff
jns 0x4038fc
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov al, byte [ebp + edx*4 - 0x408]
mov byte [ebp - 0x410], al
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + edx*4 - 0x408]
mov dword [ebp + ecx*4 - 0x408], eax
mov ecx, dword [ebp - 0x410]
and ecx, 0xff
mov edx, dword [ebp - 4]
mov dword [ebp + edx*4 - 0x408], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + eax*4 - 0x408]
mov edx, dword [ebp - 4]
add ecx, dword [ebp + edx*4 - 0x408]
and ecx, 0x800000ff
jns 0x40395d
dec ecx
or ecx, 0xffffff00
inc ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x40c]
mov dl, byte [eax]
xor dl, byte [ebp + ecx*4 - 0x408]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x40c]
sti
invalid
dec dword [eax - 0xd616f0]
invalid
invalid
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret