joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bf6dc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004050bc
xor eax, eax
push ebp
push 0x4bf79d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x4bf7b4
call fcn.00405210
test eax, eax
jne 0x4bf724
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4bf7c0
call fcn.00404f18
test bl, bl
je 0x4bf763
lea edx, [ebp - 8]
mov eax, 0x4bf7d0
call fcn.004bf35c
cmp dword [ebp - 8], 0
je 0x4bf763
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004050cc
push eax
mov eax, dword [ebp - 8]
call fcn.004050cc
push eax
push 0x4bf7d8
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4bf782
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004050cc
push eax
push 0x4bf7d8
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf7a4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404c20
ret

Function at 0x4bf7e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bf896
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x106]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x106]
call fcn.0040a9f0
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040f164
mov eax, dword [ebx]
call fcn.004bf8a4
test al, al
jne 0x4bf878
lea edx, [ebp - 0x114]
mov eax, dword [0x535d5c]
mov eax, dword [eax]
call fcn.0046cb68
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.0040a5a4
mov eax, dword [ebp - 0x110]
mov edx, ebx
call fcn.0040f164
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf89d
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.00404c20
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004050cc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4bf8bd
test al, 0x10
jne 0x4bf8c1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4c09ec
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
mov eax, esi
call fcn.004050cc
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4c0aa6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
call sub.kernel32.dll_GetFileTime
fld qword [ebp + 0x18]
fcomp dword [0x4c0ab0]
fnstsw ax
sahf
je 0x4c0a50
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
lea eax, [ebp - 8]
call fcn.004c0998
fld qword [ebp + 8]
fcomp dword [0x4c0ab0]
fnstsw ax
sahf
je 0x4c0a6c
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
call fcn.004c0998
fld qword [ebp + 0x10]
fcomp dword [0x4c0ab0]
fnstsw ax
sahf
je 0x4c0a88
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
call fcn.004c0998
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
call sub.kernel32.dll_SetFileTime
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4c0af0
Capabilities:
Get file size

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, eax
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
push 0
push 0x80
push 3
push 0
push 3
push 0
mov eax, ebx
call fcn.004050cc
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4c0b4b
lea eax, [esp + 8]
push eax
push ebx
call sub.kernel32.dll_GetFileSize_1
mov edx, eax
mov eax, dword [esp + 8]
call fcn.004c0ab4
mov dword [esp], eax
mov dword [esp + 4], edx
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0xc
pop ebx
ret

Function at 0x4c0b58
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, eax
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
je 0x4c0bdb
push ecx
push edx
push edi
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x4c0bdb
push ebx
push edi
call sub.kernel32.dll_LoadResource
mov esi, eax
test esi, esi
je 0x4c0bdb
push esi
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
push esi
call sub.kernel32.dll_FreeResource
cmp dword [ebp - 8], 0
je 0x4c0bdb
push ebx
push edi
call sub.kernel32.dll_SizeofResource
test eax, eax
je 0x4c0bdb
xor edx, edx
push ebp
push 0x4c0bd1
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 8]
mov ecx, eax
mov eax, dword [ebp + 8]
call fcn.004213b8
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c0bdb
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x4c0cd8
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push ecx
mov byte [esp], dl
mov esi, eax
xor ebx, ebx
test byte [esp], 1
je 0x4c0ceb
add ebx, 0x20
test byte [esp], 2
je 0x4c0cf4
add ebx, 2
test byte [esp], 4
je 0x4c0cfb
inc ebx
test byte [esp], 8
je 0x4c0d04
add ebx, 4
test byte [esp], 0x10
je 0x4c0d10
add ebx, 0x100
test byte [esp], 0x20
je 0x4c0d1c
add ebx, 0x1000
push ebx
mov eax, esi
call fcn.004050cc
push eax
call sub.kernel32.dll_SetFileAttributesA
cmp eax, 1
sbb eax, eax
inc eax
pop edx
pop esi
pop ebx
ret

Function at 0x4c1c60
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004050bc
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x4c1de7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x4c1e04
call fcn.00405210
test eax, eax
jne 0x4c1cab
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4c1e10
call fcn.00404f18
mov eax, esi
mov edx, 0x3c
call fcn.004c0c10
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x20], 0x81
mov dword [esi + 0x28], 0x81
mov dword [esi + 0x30], 0x801
mov dword [esi + 0x38], 0x801
mov eax, 0x21
call fcn.00402bf8
mov dword [esi + 4], eax
mov eax, 0x101
call fcn.00402bf8
mov dword [esi + 0x10], eax
mov eax, 0x81
call fcn.00402bf8
mov dword [esi + 0x1c], eax
mov eax, 0x81
call fcn.00402bf8
mov dword [esi + 0x24], eax
mov eax, 0x801
call fcn.00402bf8
mov dword [esi + 0x2c], eax
mov eax, 0x801
call fcn.00402bf8
mov dword [esi + 0x34], eax
push esi
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404ecc
push eax
mov eax, dword [ebp - 4]
call fcn.004050cc
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x4c1da1
mov eax, edi
mov edx, dword [esi + 4]
call fcn.00404e04
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x10]
call fcn.00404e04
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
call fcn.00404e04
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
call fcn.00404e04
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
call fcn.00404e04
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
call fcn.00404e04
mov eax, dword [ebp + 8]
mov dx, word [esi + 0x18]
mov word [eax], dx
mov eax, dword [esi + 0x34]
call fcn.00402c28
mov eax, dword [esi + 0x2c]
call fcn.00402c28
mov eax, dword [esi + 0x24]
call fcn.00402c28
mov eax, dword [esi + 0x1c]
call fcn.00402c28
mov eax, dword [esi + 0x10]
call fcn.00402c28
mov eax, dword [esi + 4]
call fcn.00402c28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1dee
lea eax, [ebp - 4]
call fcn.00404bfc
ret
Function at 0x4c2008
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x4c2021
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x4c202e
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x4c204c
cld
pop edi
pop esi
xor ecx, ecx
mov cl, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c2070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
mov dword [ebp - 0x184], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
xor ecx, ecx
mov cl, byte [ebp - 0x80]
lea edx, [ebp - 0x7f]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
push esi
push edi
xor eax, eax
lea esi, [ebp - 0x80]
lodsb al, byte [esi]
push esi
push eax
mov ecx, eax
mov edx, eax
mov edi, esi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x4c20b7
pop eax
pop esi
lea edi, [ebp - 0x100]
mov cl, byte [esi]
inc ecx
sub eax, ecx
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x180]
stosb byte es:[edi], al
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, esi
lea edx, [ebp - 0x100]
call fcn.00404e70
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.00404e70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c2418
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
test dl, dl
je 0x4c2435
add esp, 0xfffffff0
call fcn.004040e8
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x4c2534
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
je 0x4c2482
mov eax, esi
call fcn.004050cc
push eax
call sub.kernel32.dll_GetFileAttributesA
mov edi, eax
mov eax, edi
and eax, 2
cmp eax, 2
je 0x4c2473
mov eax, edi
and eax, 1
cmp eax, 1
jne 0x4c2482
push 0x20
mov eax, esi
call fcn.004050cc
push eax
call sub.kernel32.dll_SetFileAttributesA
push 0
push 0x80
xor eax, eax
mov al, byte [ebp + 0xc]
mov eax, dword [eax*4 + 0x534724]
push eax
push 0
push 3
push 0xc0000000
mov eax, esi
call fcn.004050cc
push eax
call sub.kernel32.dll_CreateFileA_1
mov ecx, eax
xor edx, edx
mov eax, ebx
call fcn.00421544
cmp dword [ebx + 4], 0
jge 0x4c2505
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.0040a658
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x1c]
call fcn.0040dbd8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x14]
push eax
push 1
mov ecx, dword [0x536060]
mov dl, 1
mov eax, dword [0x41baf4]
call fcn.0040e518
call fcn.00404550
cmp byte [ebp + 8], 0
je 0x4c2519
push edi
mov eax, esi
call fcn.004050cc
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c253b
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404c20
ret
Function at 0x4c2dd4
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x4c2ef1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.004c2c9c
pop ecx
test al, al
je 0x4c2ecc
mov eax, dword [ebp + 8]
push eax
call fcn.004c2ae0
pop ecx
test al, al
jne 0x4c2ecc
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x140]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x4c2ecc
mov eax, dword [ebp + 8]
push eax
mov eax, 0x13
call fcn.004c2b20
pop ecx
test al, al
je 0x4c2ecc
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.00404e7c
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00409e50
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x188], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x188]
cmp esi, 0xc8
je 0x4c2e97
mov eax, dword [ebp + 8]
cmp esi, 0xce
jne 0x4c2ecc
mov eax, dword [ebp + 8]
push eax
mov eax, 5
call fcn.004c2b20
pop ecx
test al, al
je 0x4c2ecc
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.00404e7c
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00409e50
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.004c2ae0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2ef8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404c20
ret
Function at 0x4c81c0
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c8314
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push pe_nt_image_headers32
push 2
push 0
push 3
push 0x40000000
mov eax, dword [0x538ecc]
call fcn.004050cc
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4c8287
mov dl, 1
mov eax, dword [0x41c8e4]
call fcn.00403d80
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4c8277
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x4c8320
mov edx, 0x4c8320
mov eax, dword [0x537668]
call fcn.004c0b58
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c827e
mov eax, dword [ebp - 0x10]
call fcn.00403db0
ret
push 1
push dword [0x538ecc]
push 0x4c8330
lea edx, [ebp - 0x1c]
mov eax, dword [0x535d5c]
mov eax, dword [eax]
call fcn.0046cb68
push dword [ebp - 0x1c]
push 0x4c833c
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404f8c
mov eax, dword [ebp - 0x18]
call fcn.004050cc
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 4]
mov byte [eax + 0x264], 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x1fa], 0
je 0x4c82f4
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1fc]
call dword [ebx + 0x1f8]
jmp 0x4c82f9
call fcn.004c0be8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c831b
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404c20
ret

Function at 0x4c83e4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
xor edx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], edx
xor eax, eax
push ebp
push 0x4c84cf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x140]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [0x535d5c]
mov eax, dword [eax]
call fcn.0046cb68
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.0040a5a4
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.0040f164
lea eax, [ebp - 0x144]
mov edx, 0x4c84e4
call fcn.00404ed4
mov eax, dword [ebp - 0x144]
call fcn.004050cc
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4c84b1
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404e7c
mov eax, dword [ebp - 0x150]
call fcn.0040a470
lea eax, [ebp - 0x140]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4c8479
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c84d6
lea eax, [ebp - 0x150]
mov edx, 4
call fcn.00404c20
ret
Function at 0x4cf1c0
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 0x4cf27a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405354
mov eax, dword [0x535880]
cmp byte [eax], 0
je 0x4cf22f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004056c0
mov eax, dword [ebx]
call fcn.004054ec
push eax
mov eax, dword [ebx]
call fcn.004054dc
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004054ec
mov edx, eax
dec edx
mov eax, ebx
call fcn.004056c0
jmp 0x4cf261
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.0040a9f0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004054cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cf281
lea eax, [ebp - 0x3f0]
call fcn.00404bfc
ret

Function at 0x4d2510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4d256a
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.004d2574
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 0x4d2571
ret

Function at 0x4d8da4
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 0x4d8dda
jmp 0x4d8e80
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 0x4d8e1e
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x4d8e1e
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x4d8e2e
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x4d8e2e
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4d8e47
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004d5730
jmp 0x4d8e80
mov dl, 1
mov eax, dword [0x42739c]
call fcn.004293c4
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00429ef8
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.00428f54
mov edx, esp
mov eax, esi
call fcn.00429ac8
mov eax, esi
call fcn.00403db0
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4db684
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00452d00
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.0044c400
pop ebx
ret
Function at 0x4e1fd8
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 0x4e2092
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405354
mov eax, dword [0x535880]
cmp byte [eax], 0
je 0x4e2047
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004056c0
mov eax, dword [ebx]
call fcn.004054ec
push eax
mov eax, dword [ebx]
call fcn.004054dc
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004054ec
mov edx, eax
dec edx
mov eax, ebx
call fcn.004056c0
jmp 0x4e2079
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.0040a9f0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004054cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2099
lea eax, [ebp - 0x3f0]
call fcn.00404bfc
ret

Function at 0x4e20a0
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.0040a9f0
add esp, 0x3ec
pop ebx
ret

Function at 0x4e2260
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 0x4e2326
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00463634
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004e1f1c
mov edi, eax
test edi, edi
je 0x4e22bf
mov al, byte [0x4e2334]
cmp al, bl
jne 0x4e22bf
mov edx, edi
mov eax, ebp
call fcn.004e1e54
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4e2326
cmp byte [ebp + 0x161], 2
jne 0x4e22ea
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x535f1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0044d694
test eax, eax
jne 0x4e2326
jmp 0x4e2321
mov edx, dword [0x535d5c]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4e2321
test byte [eax + 0x2f4], 8
jne 0x4e2321
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x535d5c]
mov eax, edx
mov edx, 0xb006
call fcn.0044d694
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e86e0
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 [0x535f1c]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x4e8786
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 0x4e8725
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4e8761
jmp 0x4e8729
pop edx
pop eax
jge 0x4e8761
mov eax, dword [0x535f1c]
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.004e3054
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4e8786
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4e8786
cmp dword [ebx + 0x11c], 0
je 0x4e8786
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00438204
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