joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7b2a
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, ecx
lea esi, [ebx + 0x2c]
push esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, dword [ebp + 8]
call fcn.00472219
test al, al
jne 0x4a7b5b
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
xor al, al
jmp 0x4a7c6e
push edi
xor eax, eax
lea edi, [ebx + 8]
mov ecx, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
call fcn.0048e806
push eax
lea ecx, [ebp - 0x18]
call fcn.0048dc4a
push str..tmp
lea ecx, [ebp - 0x18]
call fcn.0048dc4a
lea ecx, [ebp - 8]
call fcn.0044502c
lea ecx, [ebp - 0x18]
call fcn.0048de59
push eax
lea ecx, [ebp - 8]
call fcn.0048e513
mov ecx, ebx
call fcn.004a79dc
lea ecx, [ebp - 8]
call fcn.0048e806
push eax
mov ecx, edi
call fcn.0048e806
push eax
call fcn.0042ebe6
add esp, 8
lea ecx, [ebp - 8]
call fcn.0048e806
push eax
mov ecx, edi
call fcn.0048e806
mov esi, dword [sym.imp.KERNEL32.DLL_MoveFileW]
push eax
call esi
test eax, eax
mov ecx, edi
setne byte [ebp - 1]
call fcn.0048e806
push eax
push dword [ebp + 8]
call fcn.0042ebe6
add esp, 8
mov ecx, edi
call fcn.0048e806
push eax
push dword [ebp + 8]
call esi
test eax, eax
setne byte [ebp + 0xb]
cmp byte [ebp + 0xb], 0
jne 0x4a7c3d
cmp byte [ebp - 1], 0
je 0x4a7c3d
mov ecx, edi
call fcn.0048e806
push eax
lea ecx, [ebp - 8]
call fcn.0048e806
push eax
call fcn.0042ebe6
add esp, 8
mov ecx, edi
call fcn.0048e806
push eax
lea ecx, [ebp - 8]
call fcn.0048e806
push eax
call esi
mov ecx, ebx
call fcn.004a79ff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp byte [ebp - 1], 0
pop edi
je 0x4a7c63
lea ecx, [ebp - 8]
call fcn.0048e806
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 8]
call fcn.0048e50a
mov al, byte [ebp + 0xb]
pop esi
pop ebx
leave
ret 4

Function at 0x4a8b55
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
push 0x25
mov edi, ecx
call esi
push 0x27
movsx ebx, ax
call esi
cwde
push 0x26
mov dword [ebp - 8], eax
call esi
cwde
push 0x28
mov dword [ebp - 0xc], eax
call esi
cmp byte [edi + 0x14], 1
cwde
mov dword [ebp - 4], eax
jne 0x4a8bcb
test bl, 1
je 0x4a8b9b
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.004a848a
test byte [ebp - 8], 1
je 0x4a8bac
push 0
push 1
mov ecx, edi
call fcn.004a848a
test byte [ebp - 0xc], 1
je 0x4a8bbb
push 1
mov ecx, edi
call fcn.004a8451
test byte [ebp - 4], 1
jne 0x4a8bc7
cmp dword [ebp - 4], 0
jge 0x4a8bcb
mov byte [edi + 0x15], 0xa
cmp byte [edi + 0x16], 0
jne 0x4a8be5
inc byte [edi + 0x15]
cmp byte [edi + 0x15], 0xa
jb 0x4a8be5
mov ecx, edi
mov byte [edi + 0x15], 0
call fcn.004a8abc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a9415
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
call fcn.004a3b4a
push dword [esi + 4]
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x24], edx
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [ebp - 0x10]
mov edi, eax
mov eax, dword [esi]
push ecx
push edi
mov ecx, esi
call dword [eax + 0x10]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esi + 0xe4], 0
je 0x4a94ac
push 0x50
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x4a9488
mov edi, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x4a9488
xor byte [esi + 0x102], 1
lea ecx, [esi + 0xec]
call fcn.004a8b55
mov ecx, dword [esi + 0x104]
lea eax, [esi + 0xe8]
cmp ecx, dword [eax]
je 0x4a94ac
mov dword [eax], ecx
mov ecx, esi
call fcn.004a8eaa
pop edi
pop esi
leave
ret 4

Function at 0x4a96ef
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x54ae3c]
test eax, eax
je 0x4a9702
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
ret
push esi
push 0x1a8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
test eax, eax
je 0x4a971d
mov ecx, eax
call fcn.004a968b
mov esi, eax
jmp 0x4a971f
xor esi, esi
push 0
push 0x1e
mov ecx, esi
call fcn.004683fc
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x4a9ceb
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, 0x4fa354
call fcn.0048bfe7
push 1
mov edi, eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4a9d6c
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4a9d6c
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4a9d66
push 4
push 0x4f19fc
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
je 0x4a9d48
push 4
push 0x4f19bc
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x4a9d66
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a9d4d
sub eax, edx
cmp eax, 0x12c
jae 0x4a9d66
mov ecx, esi
call fcn.0048bfe7
mov edi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push 0xffffffffffffffff
push edi
call fcn.004a9c82
pop edi
pop esi
ret
Function at 0x4abb0b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x30
mov edi, ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
test eax, eax
je 0x4abb2b
push edi
mov ecx, eax
call fcn.004aba2b
mov ecx, eax
jmp 0x4abb2d
xor ecx, ecx
push 0
push 0x134
mov dword [0x54ae54], ecx
call fcn.004683fc
push 0
push dword [0x54bcc4]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov eax, dword [0x54ae54]
push 5
push dword [eax + 4]
call esi
mov eax, dword [0x54ae54]
push 3
push dword [eax + 4]
call esi
mov eax, dword [edi]
push 0x4f3aa0
lea ecx, [eax + 0x24]
call fcn.0048e806
push eax
lea eax, [ebp - 4]
push 0x50efc8
push eax
call fcn.0048ee25
mov eax, dword [0x54ae54]
mov esi, dword [eax + 4]
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.0048e806
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x54ae54]
mov esi, dword [eax + 0x28]
lea ecx, [ebp - 4]
call fcn.0048e50a
pop edi
mov eax, esi
pop esi
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
mov byte [ebp - 4], 0
je 0x4ac94b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4ac947
mov byte [ebp - 4], 1
test al, 0x10
jne 0x4ac94b
mov byte [ebp - 4], 0
push dword [ebp - 4]
mov ecx, esi
push 0x51d
call fcn.00467b92
push dword [ebp - 4]
mov ecx, esi
push 0x51e
call fcn.00467b92
pop esi
leave
ret 4

Function at 0x4b2ff4
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
lea ecx, [esi + 0x3c]
call fcn.0048e82b
or dword [esi + 0x40], 0xffffffff
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x24]
call fcn.004b2d8b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
pop esi
test eax, eax
je 0x4b303b
push 0
push 0
push 0x8068
push dword [0x54bcc4]
call dword [sym.imp.USER32.dll_SendMessageW]
ret

Function at 0x4b33e7
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.004b31a1
test al, al
je 0x4b33fe
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
Function at 0x4b3682
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
dec eax
push esi
push edi
mov dword [ebp - 4], ecx
je 0x4b37e3
dec eax
je 0x4b37df
sub eax, 0xffff
je 0x4b374a
dec eax
jne 0x4b37df
cmp dword [ebx + 0x24], 3
jne 0x4b37df
lea eax, [ebp - 0x14]
push eax
push 0
push 0x41a
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
dec dword [ebp - 8]
dec dword [ebp - 0xc]
inc dword [ebp - 0x14]
inc dword [ebp - 0x10]
lea esi, [ebp - 0x14]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x34]
push eax
push 0
movsd dword es:[edi], dword [esi]
push 0x419
push dword [ebx]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x34]
mov esi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x666666
mov dword [ebp - 0x1c], eax
call esi
mov edi, dword [sym.imp.USER32.dll_FillRect]
push eax
mov dword [ebp + 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x10]
call edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x3f8500
call esi
mov esi, eax
push esi
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 0x10]
call edi
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 4
jmp 0x4b37e5
mov eax, dword [ebx + 0x24]
cmp eax, 2
jne 0x4b37d6
lea eax, [ebx + 0x14]
mov esi, eax
mov edi, 0x54ae9c
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 esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x42
mov ecx, 0x54b004
movsd dword es:[edi], dword [esi]
call fcn.0045bd6c
mov edi, eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 8]
xor esi, esi
sub eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
push eax
push esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 3
push esi
push esi
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
jmp 0x4b3743
cmp eax, 3
jne 0x4b37df
push 0x14
jmp 0x4b37e5
xor eax, eax
jmp 0x4b37e6
push 0x30
pop eax
mov ecx, dword [ebp - 4]
or dword [ecx + 8], 0x40
pop edi
pop esi
mov dword [0x54888c], eax
pop ebx
leave
ret 4
Function at 0x4b4c03
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
push edi
mov ebx, edx
call sub.MSVCRT.dll__waccess
pop ecx
pop ecx
test eax, eax
je 0x4b4c29
xor al, al
jmp 0x4b4cc7
cmp ebx, esi
je 0x4b4ca7
push 0x230
lea eax, [ebp - 0x230]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x118
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
lea eax, [ebp + eax*2 - 0x230]
push eax
mov eax, str.hh.exe
call fcn.00485161
push ebx
push edi
push str.ms_its:_s::_s
lea eax, [ebp - 0x668]
push 0x438
push eax
call fcn.0048d35b
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0042ebe6
add esp, 0x1c
push 1
push esi
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x230]
push eax
jmp 0x4b4cac
push 1
push esi
push esi
push edi
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setle cl
mov eax, ecx
xor ecx, ecx
cmp eax, esi
sete cl
mov al, cl
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4b5183
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x260
push ebx
push ebp
push esi
movzx esi, byte [0x54b0a2]
xor ebx, ebx
neg esi
push edi
mov edi, ecx
mov ecx, dword [0x54b1b4]
sbb esi, esi
mov byte [esp + 0x13], bl
and esi, 4
mov dword [esp + 0x14], ebx
call fcn.004887e3
mov ebp, eax
mov dword [esp + 0x18], ebp
call fcn.0048fdce
mov ecx, eax
call fcn.0048fd25
mov edx, eax
mov ecx, ebp
call fcn.004a208b
test al, al
je 0x4b51f6
push str.Torrent_storage_folder_cant_be_the_same_as_the_autoload_folder_
call fcn.0041ff68
pop ecx
mov ecx, dword [esp + 0x18]
mov dl, 1
call fcn.0046b197
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x260
ret 4
lea eax, [esp + 0x20]
push eax
mov edx, 0x510e9c
mov ecx, ebp
call fcn.004a307f
mov ecx, eax
call fcn.0048c0e5
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x4b52cc
test byte [esp + 0x20], 0x10
jne 0x4b52a4
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x4c]
call fcn.004a307f
push ebx
push ebx
push 3
push ebx
push ebx
mov ebp, eax
push 0xc0000000
push ebp
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
je 0x4b5286
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
inc byte [edi + 0x85]
push ebx
push 2
push ebx
push ebx
push ebx
mov ecx, ebp
call fcn.00422199
push eax
push 0x4b5105
push ebx
mov edx, esi
push ebx
or edx, 0x100
mov ecx, ebp
call fcn.00420a11
inc dword [esp + 0x14]
jmp 0x4b528b
mov byte [esp + 0x13], 1
mov dl, 1
mov ecx, ebp
call fcn.0046b197
cmp byte [edi + 0x85], 0x19
jb 0x4b52bd
cmp dword [esp + 0x14], 0x64
jb 0x4b52bd
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4b5222
jmp 0x4b52c2
mov byte [esp + 0x13], 1
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov bl, byte [esp + 0x13]
jmp 0x4b51dc
Function at 0x4b52d5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x10]
mov esi, ecx
push eax
push dword [esi + 4]
call edi
cmp byte [0x54b188], 0
mov eax, dword [esi + 4]
push 0x1bc
push eax
je 0x4b530f
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x20]
push ecx
push eax
call edi
jmp 0x4b5322
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
and dword [esi + 0x48], 0
lea edx, [esi + 0x44]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x14]
mov dword [esi + 0x50], eax
mov esi, dword [esi + 0x24]
test esi, esi
je 0x4b534c
mov ecx, dword [esi + 4]
call fcn.004679c0
pop edi
pop esi
leave
ret

Function at 0x4b55c3
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x4b5583
call dword [sym.imp.USER32.dll_EnumWindows]
xor eax, eax
cmp dword [ebp - 4], 2
setle al
leave
ret
Function at 0x4bdefc
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 5
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x44]
push 0x254
sub edx, eax
push edx
mov edx, dword [esi + 0x4c]
sub edx, ecx
push edx
push eax
push ecx
push 0
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
ret

Function at 0x4c0288
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov esi, ecx
call fcn.004c01e5
lea eax, [esi + ebx*4 + 0x10c]
mov edi, dword [eax]
mov dword [ebp - 4], eax
test edi, edi
jne 0x4c030d
cmp ebx, 7
ja case.default.0x4c02b5
jmp dword [ebx*4 + 0x4c037c]
mov ecx, esi
call fcn.004d855e
jmp 0x4c0302
mov ecx, esi
call fcn.004dd4b3
jmp 0x4c0302
mov ecx, esi
call fcn.004d9755
jmp 0x4c0302
mov ecx, esi
call fcn.004d9c97
jmp 0x4c0302
mov ecx, esi
call fcn.004d6ac9
jmp 0x4c0302
mov ecx, esi
call fcn.004dca5f
jmp 0x4c0302
mov ecx, esi
call fcn.004d8d5c
jmp 0x4c0302
mov ecx, esi
call fcn.004daeba
mov edi, eax
test edi, edi
je case.default.0x4c02b5
mov eax, dword [ebp - 4]
mov dword [eax], edi
mov eax, dword [esi + 0xfc]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4c0324
push 0
push dword [eax + 4]
call ebx
mov ecx, esi
mov dword [esi + 0xfc], edi
call fcn.004bf176
mov eax, dword [ebp + 8]
mov dword [0x54b1d4], eax
lea eax, [ebp - 0x14]
push eax
push 0x1a
mov ecx, esi
call fcn.00467de0
push 2
pop ecx
call fcn.00467081
mov dword [ebp + 8], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004c0158
mov ecx, dword [ebp + 8]
call fcn.004671ea
mov eax, dword [esi + 0xfc]
push 5
push dword [eax + 4]
call ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4c039c
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x78]
push edi
call fcn.00459732
lea edi, [esi + 0xe4]
add esi, 0xe0
mov eax, dword [esi]
cmp eax, dword [edi]
je 0x4c03c7
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
mov dword [esi], eax
pop edi
pop esi
ret

Function at 0x4c03ca
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xe0]
push edi
mov edi, dword [esp + 0xc]
cmp edi, eax
je 0x4c0439
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, dword [esi + 0xe4]
jne 0x4c03f5
mov ecx, dword [esi + 0x78]
call fcn.0045973f
jmp 0x4c042d
mov ecx, dword [esi + 0xc0]
cmp eax, ecx
jne 0x4c0423
cmp edi, ecx
je 0x4c0423
call fcn.004a56cd
test al, al
je 0x4c0423
push 0
push 0
push 0x8067
push dword [esi + 0xc0]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c042d
push 0
push dword [esi + 0xe0]
call ebx
push 5
push edi
call ebx
mov dword [esi + 0xe0], edi
pop ebx
pop edi
pop esi
ret 4
Function at 0x4c153c
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax + 0xc]
cmp dword [esi], 1
mov dword [ebp - 4], ecx
jne 0x4c15bb
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 8]
push 0x419
push dword [ecx + 0xa8]
call ebx
mov ecx, eax
cmp ecx, 0xffffffff
je 0x4c15ba
push edi
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push ecx
push 0x417
push dword [eax + 0xa8]
call ebx
mov eax, dword [esi + 0x1c]
push 0
push dword [esi + 0x20]
sub eax, 0xc
push eax
push dword [esi + 0x18]
push dword [ebp - 0x18]
push dword [0x54bcdc]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 1
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x4c23cd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x54bccc]
mov eax, dword [eax + 4]
sub esp, 0x14
push ebx
push esi
push edi
push 0x1b
push eax
mov edi, ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov ecx, ebx
call fcn.004294d6
mov esi, eax
cmp esi, 0xffffffff
je 0x4c24b6
cmp dword [edi + 0x22c], esi
jne 0x4c24b6
push 0xd
push ebx
mov ecx, edi
call fcn.004c0d65
and dword [ebp - 0x14], 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0x1038
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
cmp eax, 0x41
jle 0x4c2443
add eax, 0xffffffbf
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
jmp 0x4c2447
and dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
push dword [ebx + 4]
lea eax, [ebp - 0x14]
push dword [ebx]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4c24b6
mov eax, dword [edi + 0x58]
mov esi, dword [eax + esi*4]
cmp dword [esi + 0x1c], 0
jne 0x4c24b6
cmp dword [esi + 0x150], 0
jne 0x4c24b6
mov eax, dword [ebx]
sub eax, dword [ebp - 4]
push 0xd
sub eax, dword [ebp - 0x14]
pop ecx
add eax, 0xa
cdq
idiv ecx
mov edi, eax
test edi, edi
jge 0x4c248b
xor edi, edi
cmp edi, 5
jle 0x4c2493
push 5
pop edi
call fcn.0046e3c9
mov esi, dword [esi + 0xc4]
mov ecx, esi
call fcn.00490c85
test al, al
je 0x4c24b1
push edi
mov ecx, esi
call fcn.0040b21c
call fcn.0046e3e5
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4c48c8
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [eax]
cmp ecx, dword [esi + 0xcc]
jne 0x4c4919
push edi
push 5
xor edi, edi
push edi
push edi
add eax, 0x7c
push eax
push 0x4f6aac
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.004b7aa8
test byte [0x54bbdc], 2
mov dword [0x54ba08], eax
mov dword [0x54ba0c], edx
je 0x4c4911
mov dword [0x54ba10], edi
mov dword [0x54ba14], edi
mov ecx, esi
call fcn.004c334c
pop edi
pop esi
ret 4
Function at 0x4ce17b
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x54bd18]
test eax, eax
je 0x4ce18e
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
ret
push esi
push 0x8c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
test eax, eax
je 0x4ce1a9
mov ecx, eax
call fcn.004cdc7c
mov esi, eax
jmp 0x4ce1ab
xor esi, esi
push 0
push 0x25
mov ecx, esi
call fcn.004683fc
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x4cf70f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
mov esi, ecx
lea ecx, [esi + 0x20]
call fcn.00467de0
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp + 8]
mov edi, dword [eax + ecx*4]
movzx eax, word [ebp + 0xc]
mov esi, dword [esi + 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfe
lea ecx, [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
xor esi, esi
push esi
push dword [0x548870]
push esi
push edi
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x210]
push dword [ebp - 0x10]
push 0x50010000
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push str._A_HREF__s___s__A_
push eax
call fcn.0048ee25
add esp, 0x10
mov ecx, eax
call fcn.0048e806
push eax
push 0x4f6c50
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
lea ecx, [ebp + 0xc]
call fcn.0048e50a
pop edi
pop esi
leave
ret 0x10

Function at 0x4d22ce
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x54bd44]
push esi
push edi
mov edi, ecx
test eax, eax
je 0x4d22ec
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [0x54bd44]
jmp 0x4d231e
push 0x190
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
test eax, eax
je 0x4d2306
mov ecx, eax
call fcn.004d1e6c
mov esi, eax
jmp 0x4d2308
xor esi, esi
push 0
push 0x13
mov ecx, esi
call fcn.004683fc
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 0xffffffff
je 0x4d232b
push edi
mov ecx, esi
call fcn.004cf00b
pop edi
pop esi
ret