joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46972f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, edx
call fcn.00444d11
and dword [ebp - 4], 0
mov edi, eax
jmp 0x46978f
inc dword [ebp - 4]
cmp dword [ebp - 4], 5
jl 0x469784
cmp dword [0x4c81d4], 0
jne 0x469784
push edi
push dword [0x4cf058]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0x32
call fcn.00450a20
add esp, 0xc
cmp eax, 5
je 0x46979e
cmp eax, 3
je 0x4697c5
push 0xc8
call dword [sym.imp.KERNEL32.DLL_Sleep]
push edi
mov ecx, ebx
call fcn.004046e9
mov esi, eax
cmp esi, 3
je 0x469747
cmp esi, 1
jne 0x4697b1
push edi
push dword [0x4cf05c]
call fcn.00488f98
pop ecx
pop ecx
mov ecx, edi
call fcn.00444521
xor eax, eax
pop edi
cmp esi, 1
pop esi
setle al
pop ebx
leave
ret
push 1
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x46b2d1
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 0x46b347
test bl, 1
je 0x46b317
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.0046aaa8
test byte [ebp - 8], 1
je 0x46b328
push 0
push 1
mov ecx, edi
call fcn.0046aaa8
test byte [ebp - 0xc], 1
je 0x46b337
push 1
mov ecx, edi
call fcn.0046aa6f
test byte [ebp - 4], 1
jne 0x46b343
cmp dword [ebp - 4], 0
jge 0x46b347
mov byte [edi + 0x15], 0xa
cmp byte [edi + 0x16], 0
jne 0x46b361
inc byte [edi + 0x15]
cmp byte [edi + 0x15], 0xa
jb 0x46b361
mov ecx, edi
mov byte [edi + 0x15], 0
call fcn.0046b238
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46b7bb
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push dword [esi + 4]
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x30]
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 + 0xc]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esi + 0xd4], 0
je 0x46b850
push 0x50
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x46b82c
mov edi, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x46b82c
xor byte [esi + 0xf2], 1
lea ecx, [esi + 0xdc]
call fcn.0046b2d1
mov ecx, dword [esi + 0xf4]
lea eax, [esi + 0xd8]
cmp ecx, dword [eax]
je 0x46b850
mov dword [eax], ecx
mov ecx, esi
call fcn.0046b49b
pop edi
pop esi
leave
ret 4
Function at 0x46ba0d
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4c8050]
test eax, eax
je 0x46ba20
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
ret
push esi
push 0x198
call fcn.00444d68
mov esi, eax
pop ecx
test esi, esi
je 0x46ba41
mov ecx, esi
call fcn.0044eea0
mov dword [esi], 0x4a3138
jmp 0x46ba43
xor esi, esi
push 0
push 0x1e
mov ecx, esi
call fcn.0044fa2a
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x46befe
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0x2c
call fcn.00444d68
pop ecx
test eax, eax
je 0x46bf1e
push dword [esp + 0xc]
mov ecx, eax
push dword [esp + 0xc]
call fcn.0046beb1
mov esi, eax
jmp 0x46bf20
xor esi, esi
push 0
push 0xe9
mov ecx, esi
call fcn.0044fa2a
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 8

Function at 0x46bf4f
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, str.http:__
call fcn.0043ad70
push 1
mov edi, eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x46bfd0
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x46bfd0
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x46bfca
push 4
push 0x48f73c
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
je 0x46bfac
push 4
push 0x495888
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x46bfca
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46bfb1
sub eax, edx
cmp eax, 0x12c
jae 0x46bfca
mov ecx, esi
call fcn.0043ad70
mov edi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0xffffffffffffffff
push edi
call fcn.0046befe
pop edi
pop esi
ret
Function at 0x46cda9
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
push 0x54
mov esi, edx
mov edi, ecx
call fcn.00444d68
pop ecx
test eax, eax
je 0x46cdd0
push dword [esp + 0x10]
mov ecx, eax
push dword [esp + 0x10]
push esi
push edi
call fcn.0046ca6c
mov esi, eax
jmp 0x46cdd2
xor esi, esi
push 0
push 0x29
mov ecx, esi
call fcn.0044fa2a
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 8

Function at 0x46de71
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x34]
mov dword [esi], 0x4a3334
call fcn.00444521
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x38]
call fcn.00444521
mov ecx, dword [esi + 0x3c]
call fcn.00444521
cmp byte [esi + 0x78], 0
je 0x46deab
mov ecx, dword [esi + 0x74]
call fcn.00444521
mov ecx, esi
pop esi
jmp fcn.0044eeb1

Function at 0x46e3e2
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 0x46e40d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46e409
mov byte [ebp - 4], 1
test al, 0x10
jne 0x46e40d
mov byte [ebp - 4], 0
push dword [ebp - 4]
mov ecx, esi
push 0x51d
call fcn.0044f260
push dword [ebp - 4]
mov ecx, esi
push 0x51e
call fcn.0044f260
pop esi
leave
ret 4
Function at 0x470ca1
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
push ebx
xor ebx, ebx
push ebx
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
call sub.MSVCRT.dll__waccess
pop ecx
pop ecx
test eax, eax
je 0x470cc7
xor al, al
jmp 0x470d6c
cmp dword [ebp - 8], ebx
je 0x470d4a
push esi
push edi
mov edi, 0x230
push edi
lea eax, [ebp - 0x238]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x238]
push eax
mov esi, str.hh.exe
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
lea eax, [ebp + eax*2 - 0x238]
sub eax, esi
movzx ecx, word [esi]
mov word [eax + esi], cx
inc esi
inc esi
cmp cx, bx
jne 0x470d00
push dword [ebp - 8]
lea eax, [ebp - 0x670]
push dword [ebp - 4]
push str.ms_its:_s::_s
push 0x438
push eax
call fcn.0043c65e
add esp, 0x14
push 1
push ebx
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x238]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
jmp 0x470d59
push 1
push ebx
push ebx
push dword [ebp - 4]
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setle cl
mov eax, ecx
xor ecx, ecx
cmp eax, ebx
sete cl
mov al, cl
pop ebx
leave
ret

Function at 0x47139c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x47135c
call dword [sym.imp.USER32.dll_EnumWindows]
xor eax, eax
cmp dword [ebp - 4], 2
setle al
leave
ret

Function at 0x471df1
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
and dword [esi + 0x2c], 0
cmp dword [esp + 8], 0
je 0x471e40
push edi
push dword [esp + 0xc]
call fcn.0046d47e
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.004019ad
test eax, eax
je 0x471e29
mov edi, dword [edi]
test edi, edi
jne 0x471e22
mov edi, 0x48e94c
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
push 0
push 0x8017
push dword [0x4c8b68]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
jmp 0x471e54
push esi
push 0
push 0x801c
push dword [0x4c8b68]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret 4
Function at 0x472bc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
jne 0x472bdb
xor eax, eax
pop edi
pop ebx
leave
ret 8
mov eax, dword [edi + 0x10]
push esi
mov esi, eax
cmp eax, ebx
jne 0x472bea
mov esi, 0x48e94c
mov ecx, dword [0x4c2a18]
call fcn.00450da4
mov edx, esi
mov ecx, eax
call fcn.00444f48
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 1], bl
mov byte [ebp - 2], bl
mov esi, 0x48f13b
cmp eax, ebx
jne 0x472c15
mov eax, esi
lea ecx, [ebp - 1]
push ecx
push ebx
push eax
lea ecx, [ebp - 0x68]
call fcn.0040dcf4
lea eax, [ebp - 2]
push eax
push ebx
push str.http:__apps.bittorrent.com_store_store.btapp
lea ecx, [ebp - 0xa0]
call fcn.0040dcf4
xor al, al
cmp byte [ebp - 1], al
je 0x472c63
mov ecx, dword [ebp - 0x68]
mov edx, str.bittorrent.com
call fcn.0043a910
test al, al
jne 0x472c61
mov ecx, dword [ebp - 0x68]
mov edx, str.utorrent.com
call fcn.0043a910
test al, al
je 0x472c63
mov al, 1
cmp byte [ebp + 0xc], bl
je 0x472cff
test al, al
jne 0x472cff
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 1
cmp dword [ebp - 0x68], ebx
je 0x472ca7
push dword [ebp - 0x68]
push dword [0x4cdf30]
call fcn.0043c79a
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00439f78
mov ecx, dword [edi + 0x5c]
cmp ecx, ebx
je 0x472cb7
call fcn.0043b591
mov ebx, eax
jmp 0x472cb9
mov ebx, esi
mov ecx, dword [edi + 0x50]
mov esi, dword [0x4cdf3c]
call fcn.0043b591
mov ecx, dword [edi + 0x44]
push eax
push ebx
call fcn.0043b591
push eax
push 0x490b48
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00450a20
add esp, 0x18
cmp byte [ebp - 0xc], 0
mov esi, eax
je 0x472cf4
mov ecx, dword [ebp - 0x10]
call fcn.00444521
cmp esi, 6
jne 0x472da9
xor ebx, ebx
mov ecx, dword [0x4c2a18]
push ebx
call fcn.00450da4
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x472d1e
mov eax, 0x48e94c
mov ecx, eax
mov eax, dword [ebp - 8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x472d49
cmp dx, bx
je 0x472d45
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x472d49
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x472d23
xor eax, eax
jmp 0x472d4e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x472db5
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x472d5e
mov eax, 0x48e94c
mov edx, dword [ebp - 8]
xor esi, esi
inc esi
push esi
push esi
push ebx
mov ecx, eax
call fcn.00444601
test eax, eax
jne 0x472db5
mov ecx, dword [0x4c2a18]
mov dword [ebp - 0x30], esi
mov esi, dword [0x4cdf2c]
mov dword [ebp - 0x2c], 0x10
call fcn.00450da4
mov ecx, dword [edi + 0x44]
push eax
call fcn.0043b591
push eax
push 0x494b60
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00450a20
add esp, 0x14
lea ecx, [ebp - 8]
call fcn.0043b2c4
xor esi, esi
jmp 0x472db8
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0xa0]
call fcn.00406485
lea ecx, [ebp - 0x68]
call fcn.00406485
mov eax, esi
pop esi
jmp 0x472bd5
Function at 0x473a4a
Capabilities:
Persist via run registry key

Disassembly:
cmp byte [0x4c8314], 0
je 0x473a67
mov ecx, dword [0x4c8310]
call fcn.00445103
mov ecx, eax
call fcn.0043b32f
jmp 0x473a69
xor eax, eax
push eax
mov ecx, 0x4c7f2c
call fcn.0044fe51
mov ecx, dword [0x4c8078]
test ecx, ecx
je 0x473a97
push esi
mov esi, ecx
call fcn.0047119d
push 0
mov ecx, esi
call fcn.004737d6
mov ecx, esi
call fcn.004715aa
pop esi
mov cl, byte [0x4c82fb]
jmp fcn.00460f3e
Function at 0x47489d
Capabilities:
Terminate process

Disassembly:
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
cmp byte [0x4c81e0], bl
jne 0x474a79
mov byte [0x4c81e0], 1
cmp byte [0x4c8968], bl
je 0x4748cd
push 4
call fcn.00471030
mov byte [0x4c8968], bl
call fcn.004671b2
mov ecx, esi
call fcn.00473950
call fcn.0046fd26
lea ecx, [esi + 0x30]
call fcn.0044cece
mov ecx, esi
call fcn.00472dd3
call fcn.00435fa2
call fcn.00429592
call fcn.0041827f
xor edx, edx
xor cl, cl
call fcn.00416b50
mov eax, dword [0x4c5f94]
or byte [eax + 0x20], 1
mov eax, dword [0x4c5f90]
cmp eax, ebx
je 0x47491b
or byte [eax + 0x20], 1
mov eax, dword [0x4c5f8c]
or byte [eax + 0x18], 1
mov eax, dword [0x4c5f88]
cmp eax, ebx
je 0x474931
or byte [eax + 0x18], 1
mov ecx, dword [0x4c2930]
cmp ecx, ebx
je 0x474941
push ebx
call fcn.0042a9ea
mov ecx, dword [0x4c292c]
cmp ecx, ebx
je 0x474951
push ebx
call fcn.0042a9ea
push ebp
push edi
call fcn.004295a3
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4c81e4]
cmp ecx, ebx
je 0x474980
mov edi, ecx
call fcn.00402602
push edi
call fcn.004445ee
pop ecx
mov dword [0x4c81e4], ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x13], bl
call fcn.00412569
inc dword [esp + 0x14]
mov ecx, eax
mov eax, dword [0x4b52b4]
mov edi, ecx
cmp eax, ebx
je 0x4749b3
imul eax, eax, 0x3e8
push 0x32
cdq
pop ebp
idiv ebp
cmp dword [esp + 0x14], eax
jl 0x4749b3
and edi, 0xfffffff7
cmp byte [0x4b52ad], bl
jne 0x4749c7
cmp dword [esp + 0x14], 0xc8
jl 0x4749c7
xor edi, edi
test cl, 2
jne 0x4749e7
cmp byte [esp + 0x13], bl
jne 0x4749e7
mov cl, 1
mov byte [esp + 0x13], 1
call fcn.00470b7a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp edi, ebx
je 0x4749f5
push 0x32
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x474988
pop edi
pop ebp
cmp byte [esp + 0xb], bl
jne 0x474a0d
xor cl, cl
call fcn.00470b7a
xor dl, dl
mov cl, 1
call fcn.00411fac
call fcn.00429592
mov ecx, dword [0x4c5f94]
push ebx
call fcn.0042a9ea
mov ecx, dword [0x4c5f90]
cmp ecx, ebx
je 0x474a2e
push ebx
call fcn.0042a9ea
mov ecx, dword [0x4c5f8c]
push ebx
call fcn.0042a9ea
mov ecx, dword [0x4c5f88]
cmp ecx, ebx
je 0x474a4a
push ebx
call fcn.0042a9ea
call fcn.004295a3
cmp byte [esp + 0x14], bl
je 0x474a72
push dword [0x4c807c]
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
push dword [0x4c807c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.00453f21
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
pop esi
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x474d37
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
movzx esi, byte [0x4c824b]
neg esi
push edi
mov edi, ecx
mov ecx, dword [0x4c8310]
sbb esi, esi
mov byte [ebp - 1], 0
and esi, 4
call fcn.00445103
mov dword [ebp - 8], eax
call fcn.00411ae8
mov ecx, eax
call fcn.00411a6e
push eax
push dword [ebp - 8]
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x474d9c
push str.Torrent_storage_folder_cant_be_the_same_as_the_autoload_folder_
call fcn.00488f98
pop ecx
xor bl, bl
mov ecx, dword [ebp - 8]
call fcn.00444521
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x25c]
push eax
mov edx, 0x4a4880
call fcn.00444f48
mov ecx, eax
call fcn.0043b32f
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x474e4f
test byte [ebp - 0x25c], 0x10
jne 0x474e2c
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x230]
call fcn.00444f48
mov ebx, eax
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
je 0x474e21
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
inc byte [edi + 0x7d]
push ebx
push 0x4710d8
push 0
mov edx, esi
push 0
or edx, 0x100
mov ecx, ebx
call fcn.00473cdf
jmp 0x474e2c
mov ecx, ebx
mov byte [ebp - 1], 1
call fcn.00444521
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x474e46
cmp byte [edi + 0x7d], 0xc8
jb 0x474dca
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov bl, byte [ebp - 1]
jmp 0x474d8d
Function at 0x478301
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
push 0x1a
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
xor esi, esi
mov eax, dword [ebp + 8]
sub eax, esi
neg eax
sbb eax, eax
and eax, 7
add eax, esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push 0x1306
push ebx
mov dword [ebp - 0x1c], 2
call dword [sym.imp.USER32.dll_SendMessageA]
inc esi
cmp esi, 7
jl 0x47831c
mov eax, dword [ebp + 8]
lea ebx, [edi + eax*4 + 0xc8]
mov esi, dword [ebx]
test esi, esi
jne 0x4783b6
sub eax, esi
je 0x4783a7
dec eax
je 0x47839e
dec eax
je 0x478395
dec eax
je 0x47838c
dec eax
je 0x478383
dec eax
je 0x47837a
dec eax
jne 0x4783e5
mov ecx, edi
call fcn.0048913d
jmp 0x4783ae
mov ecx, edi
call fcn.0048ba46
jmp 0x4783ae
mov ecx, edi
call fcn.00487c0d
jmp 0x4783ae
mov ecx, edi
call fcn.0048a530
jmp 0x4783ae
mov ecx, edi
call fcn.0048a0f9
jmp 0x4783ae
mov ecx, edi
call fcn.0048c383
jmp 0x4783ae
mov ecx, edi
call fcn.00488b45
mov esi, eax
test esi, esi
je 0x4783e5
mov dword [ebx], esi
lea ebx, [edi + 0xb4]
mov eax, dword [ebx]
test eax, eax
je 0x4783cd
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
mov dword [ebx], esi
call fcn.0047757d
mov eax, dword [ebp + 8]
mov ecx, edi
mov dword [0x4c8330], eax
call fcn.004782a9
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4783ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 0xa4]
cmp ebx, eax
je 0x47841d
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
mov byte [esi + 0xf3], 1
call edi
push 5
push ebx
call edi
mov dword [esi + 0xa4], ebx
pop edi
pop esi
pop ebx
ret 4

Function at 0x47943a
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 0x4794b9
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 8]
push 0x419
push dword [ecx + 0x8c]
call ebx
mov ecx, eax
cmp ecx, 0xffffffff
je 0x4794b8
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 + 0x8c]
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 [0x4c8b7c]
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 0x47aa0e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi]
xor ebx, ebx
cmp edx, 0xffffffff
jne 0x47aa41
cmp dword [esi + 8], 1
jne 0x47ab5e
call fcn.00404f95
cmp eax, 0x3e8
jne 0x47ab5e
xor edx, edx
mov ecx, dword [edi]
imul edx, edx, 0x34
add edx, dword [esi]
push edx
call fcn.0041e948
mov ecx, eax
mov dword [ebp - 4], ecx
call fcn.004458fa
test al, al
je 0x47ab5e
mov ecx, dword [ebp - 4]
call fcn.004436f3
mov ecx, eax
call fcn.0044394b
test al, al
jne 0x47aacd
push dword [ebp - 4]
lea eax, [ebp - 0x484]
cmp byte [ebp + 8], bl
je 0x47aa89
push dword [0x4ce6f4]
jmp 0x47aa8f
push dword [0x4ce6e4]
push 0x230
push eax
call fcn.0043c65e
add esp, 0x10
lea eax, [ebp - 0x484]
push eax
xor edi, edi
lea eax, [ebp - 0x24]
push 0x4983cc
inc edi
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x34
call fcn.00450a20
add esp, 0xc
cmp eax, 6
jne 0x47ab5e
jmp 0x47aad0
xor edi, edi
inc edi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push ebx
push ebx
push dword [ebp - 4]
push ebx
push ebx
call esi
cmp eax, 0x20
jg 0x47ab56
push dword [ebp - 4]
push str.shell32.dll_OpenAs_RunDLL__s
call fcn.0043c79a
pop ecx
pop ecx
push edi
push ebx
push eax
push str.RUNDLL32.EXE
push ebx
push ebx
mov dword [ebp + 8], eax
call esi
cmp eax, 0x20
jg 0x47ab4e
push str.Error_occurred_opening_the_file.
call fcn.00488f98
push dword [ebp - 4]
lea eax, [ebp - 0x484]
push dword [0x4ce6e8]
push 0x230
push eax
call fcn.0043c65e
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x24]
push 0x4983cc
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x30
call fcn.00450a20
add esp, 0x20
lea ecx, [ebp + 8]
call fcn.0043b2c4
lea ecx, [ebp - 4]
call fcn.0043b2c4
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x47ab65
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
test byte [ecx + 0x44], 0x10
je 0x47acbe
test byte [ecx + 0x3c], 2
jne 0x47acbe
push ebx
push esi
mov esi, dword [ecx]
mov eax, dword [esi]
push edi
mov edi, edx
imul edi, edi, 0x34
add eax, edi
mov ecx, dword [eax + 0x18]
call fcn.004436f3
xor ebx, ebx
cmp byte [0x4c8928], bl
je 0x47acbb
cmp byte [0x4c8929], bl
je 0x47ac1f
cmp eax, ebx
je 0x47abfb
push ebx
lea ecx, [ebp - 4]
push ecx
lea ecx, [eax - 2]
xor edx, edx
call fcn.00462776
test al, al
je 0x47abfb
mov ecx, dword [ebp - 4]
call fcn.00444521
mov eax, dword [esi]
add eax, edi
push eax
mov ecx, esi
call fcn.0041e948
mov esi, eax
cmp esi, ebx
je 0x47acbb
push 5
push ebx
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, esi
jmp 0x47acb6
push dword [0x4ce6f8]
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 0x30
call fcn.00450a20
pop ecx
pop ecx
jmp 0x47acbb
mov eax, dword [esi]
add eax, edi
push eax
mov ecx, esi
call fcn.0041e948
cmp eax, ebx
je 0x47acbb
mov edx, dword [0x4c8924]
push 0x31
pop ecx
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x14]
mov word [ebp - 0x14], cx
push eax
lea ecx, [ebp - 0xc]
call fcn.0043a737
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
pop esi
push esi
stosd dword es:[edi], eax
lea eax, [ebp - 0x88]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebp - 0x88], esi
cmp eax, ebx
jne 0x47ac80
mov eax, 0x48e94c
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x88]
push ecx
push ebx
push ebx
push 8
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x47acae
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
cmp byte [ebp - 8], bl
je 0x47acbb
mov ecx, dword [ebp - 0xc]
call fcn.00444521
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47bb32
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [eax + 0xc]
push edi
mov edi, dword [eax + 8]
call fcn.00435c8a
test eax, eax
je 0x47bb7a
push ebx
mov ebx, dword [eax + 4]
push 0x10
push 0
push 0
push 1
push edi
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
test eax, eax
je 0x47bb79
add esi, 0xc4
mov ecx, dword [esi]
push eax
call fcn.0045136f
test eax, eax
jl 0x47bb79
mov ecx, dword [esi]
push eax
push ebx
call fcn.00450d45
pop ebx
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ecx, edi
call fcn.00444521
pop edi
pop esi
ret 4

Function at 0x47c401
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [eax]
cmp ecx, dword [esi + 0xa0]
jne 0x47c449
push edi
push 5
xor edi, edi
push edi
push edi
add eax, 0x7c
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00473aa2
mov ecx, esi
mov dword [0x4c8a4c], eax
mov dword [0x4c8a50], edx
mov dword [0x4c8a54], edi
mov dword [0x4c8a58], edi
call fcn.0047a0e2
pop edi
pop esi
ret 4