joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4733d0
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 0x473401
dec al
je 0x47343d
dec al
je 0x473481
dec al
je 0x4734ec
jmp 0x473576
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x473576
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 0x473411
jmp 0x473576
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x473576
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 0x47344d
jmp 0x473576
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x473576
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 0x4734af
xor ebp, ebp
jmp 0x4734c0
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 0x4734c9
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 0x473491
jmp 0x473576
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x473576
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 0x473544
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.00470e64
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 0x473500
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4760ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47634c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x47614f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00475c04
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c8a8
cmp al, 1
jne 0x47614f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00475ecc
test al, al
je 0x4762db
cmp dword [ebp - 8], 0
jge 0x47616d
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00475c04
mov eax, dword [ebp - 0x210]
call fcn.0040434c
cmp ebx, eax
jge 0x4761b7
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00475c04
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5485e4]
and eax, 0xff
bt dword [edx], eax
jae 0x4761b7
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4761cb
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004760c8
cmp ebx, dword [ebp - 8]
je 0x4762cd
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4761f7
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403414
and eax, 0x7f
movzx eax, word [eax*2 + 0x5464d4]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4762ba
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403414
and eax, 0x7f
movzx eax, word [eax*2 + 0x5464d4]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00444ed0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403414
and eax, 0x7f
movzx eax, word [eax*2 + 0x5464d4]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00444ed0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4762c1
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x47632e
cmp dword [ebp - 8], 0
jge 0x4762e6
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00475c04
mov eax, dword [ebp - 0x218]
call fcn.0040434c
cmp eax, dword [ebp - 8]
jg 0x476320
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00475c04
mov eax, dword [ebp - 0x21c]
call fcn.0040434c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004760c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476353
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004040b0
ret
Function at 0x47df58
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47df86
mov eax, ebx
call fcn.0047ea0c
cmp dword [ebx + 0x40], 0
je 0x47df7f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47dff7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47dfe9
cmp dword [ebx + 8], 0
je 0x47dfa8
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 0x47dfba
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47dfe9
cmp dword [ebx + 8], 0
je 0x47df9b
cmp eax, 3
je 0x47dfcd
dec eax
jne 0x47df9b
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 0x47df9b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47df9b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47e015
cmp dword [ebx + 0x14], 0xcc
je 0x47e015
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.0047e020
pop ebx
ret

Function at 0x48ef50
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 0x48ef7a
cmp dword [ebx + 0x64], 0
jne 0x48ef7a
cmp dword [ebx + 0x6c], 0
jne 0x48ef7a
mov esi, edi
jmp 0x48f008
cmp esi, 0xffffffff
jne 0x48ef85
dec esi
jmp 0x48f008
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x48f008
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.0048e5b4
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]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x48efd0
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x48efd5
mov word [edx], 0
dec eax
test eax, eax
jne 0x48efb6
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x48effc
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x48f001
mov word [edx], 0
dec eax
test eax, eax
jne 0x48efe2
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x48f066
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0048ecd8
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x48f051
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 0x48f066
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x48ef5a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4937bc
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x54c684
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4937de
shr eax, 1
xor eax, 0xedb88320
jmp 0x4937e0
shr eax, 1
dec edx
jne 0x4937cc
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4937c5
mov byte [0x54ca84], 1
pop esi
pop ebx
ret

Function at 0x4937fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x54ca84], 0
jne 0x493813
call fcn.004937bc
mov eax, edi
dec eax
test eax, eax
jl 0x49383c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x54c684]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x49381d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x495dc0
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 0x495df1
dec al
je 0x495e2d
dec al
je 0x495e71
dec al
je 0x495edc
jmp 0x495f66
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x495f66
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 0x495e01
jmp 0x495f66
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x495f66
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 0x495e3d
jmp 0x495f66
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x495f66
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 0x495e9f
xor ebp, ebp
jmp 0x495eb0
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 0x495eb9
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 0x495e81
jmp 0x495f66
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x495f66
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 0x495f34
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.00493844
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 0x495ef0
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x498b48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x498b80]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498b5e
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498b6d
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498b7c
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4994a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x43a490]
call fcn.004033a4
test al, al
je 0x4994e2
mov eax, dword [0x5483d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4994e2
mov edx, dword [0x5483d8]
xor edx, edx
call fcn.00457840
push 0
mov eax, dword [0x5483d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x4caa30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
mov esi, dword [ebx + 0x40]
test esi, esi
je 0x4cab1d
mov eax, dword [ebx + 0x34]
mov edx, dword [eax + 0x40]
mov dword [esp], edx
mov edx, dword [eax + 0x44]
mov dword [esp + 4], edx
mov edi, dword [eax + 0x48]
mov ebp, dword [eax + 0x4c]
mov eax, dword [esi + 0x34]
sub dword [esp], eax
mov eax, dword [esi + 0x38]
sub dword [esp + 4], eax
lea eax, [esi + 0x34]
call fcn.004e1388
mov edx, dword [ebx + 0x44]
add edi, dword [edx + 8]
sub edi, eax
mov eax, dword [ebx + 0x40]
add eax, 0x34
call fcn.004e13a4
mov edx, dword [ebx + 0x44]
add ebp, dword [edx + 0xc]
sub ebp, eax
mov esi, dword [ebx + 0x88]
xor eax, eax
mov dword [ebx + 0x88], eax
push edi
push ebp
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004ca1e0
mov edi, esi
xor ebp, ebp
xor esi, esi
mov eax, edi
mov ecx, 0xf
cdq
idiv ecx
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
jne 0x4caacc
mov dword [esp + 8], 1
mov eax, dword [0x5483d8]
mov eax, dword [eax]
call fcn.0045e0b0
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
mov eax, ebp
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x4caaf9
cmp eax, 5
jbe 0x4cab19
jmp 0x4caafb
jle 0x4cab19
call sub.kernel32.dll_GetTickCount
mov ebp, eax
add esi, dword [esp + 8]
cmp edi, esi
jge 0x4cab0c
mov esi, edi
mov dword [ebx + 0x88], esi
mov eax, ebx
call fcn.004ca93c
cmp edi, esi
jg 0x4caad8
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d60ac
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
mov eax, dword [ebp - 4]
call fcn.004d6dc8
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.004d5fcc
pop ecx
call fcn.004e1194
test al, al
je 0x4d6159
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x60], 0
je 0x4d6159
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
call fcn.00444ed0
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
call fcn.00444ed0
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x61], 0
je 0x4d6140
mov eax, dword [ebp - 4]
call fcn.00444ed0
xor edx, edx
call fcn.004e11d0
jmp 0x4d6159
mov eax, dword [ebp - 4]
call fcn.00444ed0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x220]
mov dl, byte [edx + 0x62]
call fcn.004e11d0
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 [ebp - 4]
call fcn.00444ed0
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0043e5d0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x220]
cmp byte [ebx + 0x61], 0
je 0x4d6220
cmp byte [ebx + 0x60], 0
je 0x4d6220
call fcn.004e1194
test al, al
je 0x4d6220
mov eax, dword [0x5483d8]
mov eax, dword [eax]
call fcn.0045e0b0
xor ebx, ebx
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
mov ecx, 0xf
xor edx, edx
div ecx
mov edi, eax
test edi, edi
jne 0x4d61d8
mov edi, 1
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 5
jbe 0x4d620f
call sub.kernel32.dll_GetTickCount
mov esi, eax
add ebx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jle 0x4d6200
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00444ed0
mov edx, ebx
call fcn.004e11d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jl 0x4d61d8
mov eax, dword [ebp - 4]
call fcn.004d7308
mov eax, dword [ebp - 4]
call fcn.00444ed0
push eax
call sub.user32.dll_SetCapture
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ee8fc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4ee911
add esp, 0xfffffff0
call fcn.0040353c
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040453c
xor eax, eax
push ebp
push 0x4ee9ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004e963c
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041706c
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x28], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041706c
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x40], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041706c
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x38], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041706c
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x30], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00417094
push esi
lea edi, [esi + 0x44]
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 + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x56], 0
mov byte [esi + 0x57], 0
mov byte [esi + 0x58], 0
mov byte [esi + 0x59], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee9f3
lea eax, [ebp - 4]
call fcn.0040408c
ret

Function at 0x51e8e0
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 0x51e99a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404798
mov eax, dword [0x54808c]
cmp byte [eax], 0
je 0x51e94f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404bec
mov eax, dword [ebx]
call fcn.00404924
push eax
mov eax, dword [ebx]
call fcn.00404914
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404924
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404bec
jmp 0x51e981
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.00408fec
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e9a1
lea eax, [ebp - 0x3f0]
call fcn.0040408c
ret
Function at 0x521ba8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x521c02
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.00521c0c
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 0x521c09
ret

Function at 0x5274f0
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 0x527526
jmp 0x5275cc
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 0x52756a
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x168], 0
je 0x52756a
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x14]
jmp 0x52757a
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x164]
test edx, edx
je 0x52757a
mov eax, dword [edx + 0x14]
test eax, eax
je 0x527593
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00523e94
jmp 0x5275cc
mov dl, 1
mov eax, dword [0x420684]
call fcn.00422668
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00423134
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.00422218
mov edx, esp
mov eax, esi
call fcn.00422db4
mov eax, esi
call fcn.00403218
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x529bec
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00444ed0
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.0043e5d0
pop ebx
ret