joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4704cc
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 0x470677
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x470658
mov dl, 1
mov eax, dword [0x417940]
call fcn.00403f2c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404d8c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x470647
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.0045dd38
test al, al
je 0x47063a
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, 0x470688
lea eax, [ebp - 0x254]
call fcn.0040a674
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47063a
xor eax, eax
push ebp
push 0x470633
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 0x4706c0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47061c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ffc
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 0x47061c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ffc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47063a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47053d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c080
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 0x47067e
lea eax, [ebp - 0x260]
call fcn.00404d8c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4f1c10]
cmp byte [eax + 0xa5], 0
jne 0x471031
cmp dword [0x4f1c28], 0
jne 0x470ff2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x470f7c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4f1c28], eax
cmp dword [0x4f1c24], 0
jne 0x47100d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4f1c24], eax
cmp dword [0x4f1c2c], 0
jne 0x471031
push esp
push 0
push 0
push 0x470f20
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4f1c2c], eax
pop edx
ret
Function at 0x4716f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f1c10]
cmp dword [eax + 0x30], 0
je 0x47179e
cmp dword [ebx + 0x94], 0
jne 0x471798
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x471684
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x471798
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 0x47175e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x471798
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.00419994
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47176d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4722fc
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 0x472331
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.00404e7c
jmp 0x47233e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404de0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x473508
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x473549
mov eax, esi
call fcn.004592bc
test al, al
je 0x473549
mov eax, dword [ebx + 0x84]
call fcn.00458fb8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x473549
push 0
mov eax, dword [ebx + 0x84]
call fcn.00458fb8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x476c34
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x476c62
mov eax, ebx
call fcn.004776e8
cmp dword [ebx + 0x40], 0
je 0x476c5b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x476cd3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x476cc5
cmp dword [ebx + 8], 0
je 0x476c84
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 0x476c96
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x476cc5
cmp dword [ebx + 8], 0
je 0x476c77
cmp eax, 3
je 0x476ca9
dec eax
jne 0x476c77
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 0x476c77
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x476c77
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x476cf1
cmp dword [ebx + 0x14], 0xcc
je 0x476cf1
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.00476cfc
pop ebx
ret
Function at 0x488a00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x488a2f
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x488aae
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004872bc
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x488a7c
mov cx, word [esp]
sub cx, si
jmp 0x488a7e
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x488a65
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x488aa4
mov cx, word [esp]
sub cx, si
jmp 0x488aa6
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x488a8d
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x488b0b
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004886d4
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x488af6
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x488b0b
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x488a0a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48f040
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4f1c48
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x48f062
shr eax, 1
xor eax, 0xedb88320
jmp 0x48f064
shr eax, 1
dec edx
jne 0x48f050
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x48f049
mov byte [0x4f2048], 1
pop esi
pop ebx
ret

Function at 0x48f080
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4f2048], 0
jne 0x48f097
call fcn.0048f040
mov eax, edi
dec eax
test eax, eax
jl 0x48f0c0
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4f1c48]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x48f0a1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x491bdc
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 0x491c0d
dec al
je 0x491c49
dec al
je 0x491c8d
dec al
je 0x491cf8
jmp 0x491d82
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x491d82
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 0x491c1d
jmp 0x491d82
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x491d82
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 0x491c59
jmp 0x491d82
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x491d82
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 0x491cbb
xor ebp, ebp
jmp 0x491ccc
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 0x491cd5
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 0x491c9d
jmp 0x491d82
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x491d82
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 0x491d50
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.0048f0c8
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 0x491d0c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x495ba0
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 [0x41688c]
call fcn.0040589c
xor eax, eax
push ebp
push 0x495ce4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ef174], 0
jne 0x495bf3
mov ecx, dword [0x4efdfc]
mov dl, 1
mov eax, dword [0x408558]
call fcn.0040d1ac
call fcn.004046fc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403590
mov eax, ebx
call fcn.00405650
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x495cf4
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.004069f0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405660
test eax, eax
jle 0x495c8b
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 0x495c84
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00405014
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404ffc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040943c
test eax, eax
jne 0x495c84
mov ebx, 0x15
jmp 0x495c90
mov ebx, 0x10
jmp 0x495c90
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 [0x4ef174]
call fcn.00495af8
mov eax, dword [ebp - 8]
call fcn.00495af8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495ceb
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404db0
lea eax, [ebp - 0x10]
mov edx, dword [0x41688c]
call fcn.0040596c
ret
Function at 0x4a45d8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4a45e0
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a47d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4a47e8
mov eax, esi
call fcn.004a2464
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404de0
lea ecx, [ebp - 0x10]
mov edx, 0x4a47fc
mov eax, esi
call fcn.004a2464
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404de0
lea ecx, [ebp - 0x14]
mov edx, 0x4a4814
mov eax, esi
call fcn.004a2464
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404de0
lea ecx, [ebp - 0x18]
mov edx, 0x4a4830
mov eax, esi
call fcn.004a2464
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404de0
lea ecx, [ebp - 0x1c]
mov edx, 0x4a484c
mov eax, esi
call fcn.004a2464
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404de0
lea ecx, [ebp - 0x24]
mov edx, 0x4a4864
mov eax, esi
call fcn.004a2464
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004094ac
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409a48
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4a487c
mov eax, esi
call fcn.004a2464
mov eax, dword [ebp - 0x28]
call fcn.0049bf3c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4a488c
mov eax, esi
call fcn.004a2464
mov eax, dword [ebp - 0x2c]
call fcn.0049bf3c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4a48a4
mov eax, esi
call fcn.004a2464
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409a48
inc eax
je 0x4a4775
lea ecx, [ebp - 0x34]
mov edx, 0x4a48a4
mov eax, esi
call fcn.004a2464
mov eax, dword [ebp - 0x34]
call fcn.00409a0c
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040afe4
fstp qword [ebp - 0x3c]
wait
call fcn.0040b354
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4a4790
lea ecx, [ebp - 0x40]
mov edx, 0x4a48a4
mov eax, esi
call fcn.004a2464
mov eax, dword [ebp - 0x40]
call fcn.0049bf3c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4a48b4
mov eax, esi
call fcn.004a2464
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404de0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a47d9
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404db0
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404db0
ret
Function at 0x4ab564
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4ab5be
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004ab554
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0049aba8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0049a7a8
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab5c5
lea eax, [ebp - 4]
call fcn.00404d8c
ret

Function at 0x4b4ea4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b4f5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004054d4
mov eax, dword [0x4efedc]
cmp byte [eax], 0
je 0x4b4f13
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405834
mov eax, dword [ebx]
call fcn.00405660
push eax
mov eax, dword [ebx]
call fcn.00405650
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405660
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405834
jmp 0x4b4f45
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a1f4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405640
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4f65
lea eax, [ebp - 0x3f0]
call fcn.00404d8c
ret

Function at 0x4b4f6c
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040a1f4
add esp, 0x3ec
pop ebx
ret

Function at 0x4b512c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x4b51f2
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0046990c
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004b4de8
mov edi, eax
test edi, edi
je 0x4b518b
mov al, byte [0x4b5200]
cmp al, bl
jne 0x4b518b
mov edx, edi
mov eax, ebp
call fcn.004b4d20
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4b51f2
cmp byte [ebp + 0x161], 2
jne 0x4b51b6
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4f04dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0045394c
test eax, eax
jne 0x4b51f2
jmp 0x4b51ed
mov edx, dword [0x4f0328]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4b51ed
test byte [eax + 0x2f4], 8
jne 0x4b51ed
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4f0328]
mov eax, edx
mov edx, 0xb006
call fcn.0045394c
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4bb5ac
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x4f04dc]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x4bb652
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4bb5f1
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4bb62d
jmp 0x4bb5f5
pop edx
pop eax
jge 0x4bb62d
mov eax, dword [0x4f04dc]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004b5f20
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4bb652
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4bb652
cmp dword [ebx + 0x11c], 0
je 0x4bb652
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00432d60
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4c28d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c298a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004054d4
mov eax, dword [0x4efedc]
cmp byte [eax], 0
je 0x4c293f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405834
mov eax, dword [ebx]
call fcn.00405660
push eax
mov eax, dword [ebx]
call fcn.00405650
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405660
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405834
jmp 0x4c2971
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a1f4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405640
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2991
lea eax, [ebp - 0x3f0]
call fcn.00404d8c
ret

Function at 0x4c5c20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4c5c7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.004c5c84
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5c81
ret
Function at 0x4cc4b4
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4cc4ea
jmp 0x4cc590
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4cc52e
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x4cc52e
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x4cc53e
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x4cc53e
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4cc557
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004c8e40
jmp 0x4cc590
mov dl, 1
mov eax, dword [0x422328]
call fcn.00424330
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00424da8
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.00423ee0
mov edx, esp
mov eax, esi
call fcn.00424a34
mov eax, esi
call fcn.00403f5c
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4ced94
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00458fb8
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.004526b8
pop ebx
ret