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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, edx
call fcn.00444cee
and dword [ebp - 4], 0
mov edi, eax
jmp 0x4699d2
inc dword [ebp - 4]
cmp dword [ebp - 4], 5
jl 0x4699c7
cmp dword [0x4c91f4], 0
jne 0x4699c7
push edi
push dword [0x4d0078]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0x32
call fcn.00450a13
add esp, 0xc
cmp eax, 5
je 0x4699e1
cmp eax, 3
je 0x469a08
push 0xc8
call dword [sym.imp.KERNEL32.DLL_Sleep]
push edi
mov ecx, ebx
call fcn.00404762
mov esi, eax
cmp esi, 3
je 0x46998a
cmp esi, 1
jne 0x4699f4
push edi
push dword [0x4d007c]
call fcn.004891ee
pop ecx
pop ecx
mov ecx, edi
call fcn.004444fe
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 0x46b515
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 0x46b58b
test bl, 1
je 0x46b55b
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.0046acec
test byte [ebp - 8], 1
je 0x46b56c
push 0
push 1
mov ecx, edi
call fcn.0046acec
test byte [ebp - 0xc], 1
je 0x46b57b
push 1
mov ecx, edi
call fcn.0046acb3
test byte [ebp - 4], 1
jne 0x46b587
cmp dword [ebp - 4], 0
jge 0x46b58b
mov byte [edi + 0x15], 0xa
cmp byte [edi + 0x16], 0
jne 0x46b5a5
inc byte [edi + 0x15]
cmp byte [edi + 0x15], 0xa
jb 0x46b5a5
mov ecx, edi
mov byte [edi + 0x15], 0
call fcn.0046b47c
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46b9ff
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 0x46ba94
push 0x50
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x46ba70
mov edi, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x46ba70
xor byte [esi + 0xf2], 1
lea ecx, [esi + 0xdc]
call fcn.0046b515
mov ecx, dword [esi + 0xf4]
lea eax, [esi + 0xd8]
cmp ecx, dword [eax]
je 0x46ba94
mov dword [eax], ecx
mov ecx, esi
call fcn.0046b6df
pop edi
pop esi
leave
ret 4
Function at 0x46bc51
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4c9070]
test eax, eax
je 0x46bc64
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
ret
push esi
push 0x198
call fcn.00444d45
mov esi, eax
pop ecx
test esi, esi
je 0x46bc85
mov ecx, esi
call fcn.0044ee96
mov dword [esi], 0x4a41c8
jmp 0x46bc87
xor esi, esi
push 0
push 0x1e
mov ecx, esi
call fcn.0044fa1d
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x46c142
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0x2c
call fcn.00444d45
pop ecx
test eax, eax
je 0x46c162
push dword [esp + 0xc]
mov ecx, eax
push dword [esp + 0xc]
call fcn.0046c0f5
mov esi, eax
jmp 0x46c164
xor esi, esi
push 0
push 0xe9
mov ecx, esi
call fcn.0044fa1d
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 8

Function at 0x46c193
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, str.http:__
call fcn.0043adb2
push 1
mov edi, eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x46c214
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x46c214
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x46c20e
push 4
push 0x49073c
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
je 0x46c1f0
push 4
push 0x496888
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x46c20e
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46c1f5
sub eax, edx
cmp eax, 0x12c
jae 0x46c20e
mov ecx, esi
call fcn.0043adb2
mov edi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0xffffffffffffffff
push edi
call fcn.0046c142
pop edi
pop esi
ret
Function at 0x46cfed
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
push 0x54
mov esi, edx
mov edi, ecx
call fcn.00444d45
pop ecx
test eax, eax
je 0x46d014
push dword [esp + 0x10]
mov ecx, eax
push dword [esp + 0x10]
push esi
push edi
call fcn.0046ccb0
mov esi, eax
jmp 0x46d016
xor esi, esi
push 0
push 0x29
mov ecx, esi
call fcn.0044fa1d
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 8

Function at 0x46e0b2
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x34]
mov dword [esi], 0x4a43c4
call fcn.004444fe
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x38]
call fcn.004444fe
mov ecx, dword [esi + 0x3c]
call fcn.004444fe
cmp byte [esi + 0x78], 0
je 0x46e0ec
mov ecx, dword [esi + 0x74]
call fcn.004444fe
mov ecx, esi
pop esi
jmp fcn.0044eea7

Function at 0x46e623
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 0x46e64e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46e64a
mov byte [ebp - 4], 1
test al, 0x10
jne 0x46e64e
mov byte [ebp - 4], 0
push dword [ebp - 4]
mov ecx, esi
push 0x51d
call fcn.0044f253
push dword [ebp - 4]
mov ecx, esi
push 0x51e
call fcn.0044f253
pop esi
leave
ret 4
Function at 0x470ec6
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 0x470eec
xor al, al
jmp 0x470f91
cmp dword [ebp - 8], ebx
je 0x470f6f
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 0x470f25
push dword [ebp - 8]
lea eax, [ebp - 0x670]
push dword [ebp - 4]
push str.ms_its:_s::_s
push 0x438
push eax
call fcn.0043c6a0
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 0x470f7e
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 0x4715c1
Capabilities:
Enumerate gui resources

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

Function at 0x471ff7
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
and dword [esi + 0x2c], 0
cmp dword [esp + 8], 0
je 0x472046
push edi
push dword [esp + 0xc]
call fcn.0046d6bf
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.004019ad
test eax, eax
je 0x47202f
mov edi, dword [edi]
test edi, edi
jne 0x472028
mov edi, 0x48f94c
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
push 0
push 0x8017
push dword [0x4c9b88]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
jmp 0x47205a
push esi
push 0
push 0x801c
push dword [0x4c9b88]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret 4
Function at 0x472dc6
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 0x472de1
xor eax, eax
pop edi
pop ebx
leave
ret 8
mov eax, dword [edi + 0x10]
push esi
mov esi, eax
cmp eax, ebx
jne 0x472df0
mov esi, 0x48f94c
mov ecx, dword [0x4c3a18]
call fcn.00419789
mov edx, esi
mov ecx, eax
call fcn.00444f25
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 1], bl
mov byte [ebp - 2], bl
mov esi, 0x49013b
cmp eax, ebx
jne 0x472e1b
mov eax, esi
lea ecx, [ebp - 1]
push ecx
push ebx
push eax
lea ecx, [ebp - 0x68]
call fcn.0040dd33
lea eax, [ebp - 2]
push eax
push ebx
push str.xxxx:__xxxx.bittorrent.xxx_store_store.xxxxx
lea ecx, [ebp - 0xa0]
call fcn.0040dd33
xor al, al
cmp byte [ebp - 1], al
je 0x472e69
mov ecx, dword [ebp - 0x68]
mov edx, str.xxxtorrent.xxx
call fcn.0043a952
test al, al
jne 0x472e67
mov ecx, dword [ebp - 0x68]
mov edx, str.xtorrent.xxx
call fcn.0043a952
test al, al
je 0x472e69
mov al, 1
cmp byte [ebp + 0xc], bl
je 0x472f05
test al, al
jne 0x472f05
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 0x472ead
push dword [ebp - 0x68]
push dword [0x4cef50]
call fcn.0043c7dc
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004019c6
mov ecx, dword [edi + 0x5c]
cmp ecx, ebx
je 0x472ebd
call fcn.0043b5d3
mov ebx, eax
jmp 0x472ebf
mov ebx, esi
mov ecx, dword [edi + 0x50]
mov esi, dword [0x4cef5c]
call fcn.0043b5d3
mov ecx, dword [edi + 0x44]
push eax
push ebx
call fcn.0043b5d3
push eax
push 0x491b48
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00450a13
add esp, 0x18
cmp byte [ebp - 0xc], 0
mov esi, eax
je 0x472efa
mov ecx, dword [ebp - 0x10]
call fcn.004444fe
cmp esi, 6
jne 0x472faf
xor ebx, ebx
mov ecx, dword [0x4c3a18]
push ebx
call fcn.00419789
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x472f24
mov eax, 0x48f94c
mov ecx, eax
mov eax, dword [ebp - 8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x472f4f
cmp dx, bx
je 0x472f4b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x472f4f
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x472f29
xor eax, eax
jmp 0x472f54
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x472fbb
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x472f64
mov eax, 0x48f94c
mov edx, dword [ebp - 8]
xor esi, esi
inc esi
push esi
push esi
push ebx
mov ecx, eax
call fcn.004445de
test eax, eax
jne 0x472fbb
mov ecx, dword [0x4c3a18]
mov dword [ebp - 0x30], esi
mov esi, dword [0x4cef4c]
mov dword [ebp - 0x2c], 0x10
call fcn.00419789
mov ecx, dword [edi + 0x44]
push eax
call fcn.0043b5d3
push eax
push 0x495b60
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00450a13
add esp, 0x14
lea ecx, [ebp - 8]
call fcn.0043b306
xor esi, esi
jmp 0x472fbe
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0xa0]
call fcn.004064fe
lea ecx, [ebp - 0x68]
call fcn.004064fe
mov eax, esi
pop esi
jmp 0x472ddb
Function at 0x473c51
Capabilities:
Persist via run registry key

Disassembly:
cmp byte [0x4c9334], 0
je 0x473c6e
mov ecx, dword [0x4c9330]
call fcn.004450e0
mov ecx, eax
call fcn.0043b371
jmp 0x473c70
xor eax, eax
push eax
mov ecx, 0x4c8f4c
call fcn.0044fe44
mov ecx, dword [0x4c9098]
test ecx, ecx
je 0x473c9e
push esi
mov esi, ecx
call fcn.004713c2
push 0
mov ecx, esi
call fcn.004739dd
mov ecx, esi
call fcn.004717cf
pop esi
mov cl, byte [0x4c931b]
jmp fcn.00461063
Function at 0x474aa4
Capabilities:
Terminate process

Disassembly:
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
cmp byte [0x4c9200], bl
jne 0x474c80
mov byte [0x4c9200], 1
cmp byte [0x4c9988], bl
je 0x474ad4
push 4
call fcn.00471255
mov byte [0x4c9988], bl
call fcn.004673f5
mov ecx, esi
call fcn.00473b57
call fcn.0046ff4b
lea ecx, [esi + 0x30]
call fcn.0044cec4
mov ecx, esi
call fcn.00472fda
call fcn.00435fd0
call fcn.00429550
call fcn.004182bb
xor edx, edx
xor cl, cl
call fcn.00416b8e
mov eax, dword [0x4c6f94]
or byte [eax + 0x20], 1
mov eax, dword [0x4c6f90]
cmp eax, ebx
je 0x474b22
or byte [eax + 0x20], 1
mov eax, dword [0x4c6f8c]
or byte [eax + 0x18], 1
mov eax, dword [0x4c6f88]
cmp eax, ebx
je 0x474b38
or byte [eax + 0x18], 1
mov ecx, dword [0x4c3930]
cmp ecx, ebx
je 0x474b48
push ebx
call fcn.0042a9a8
mov ecx, dword [0x4c392c]
cmp ecx, ebx
je 0x474b58
push ebx
call fcn.0042a9a8
push ebp
push edi
call fcn.00429561
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4c9204]
cmp ecx, ebx
je 0x474b87
mov edi, ecx
call fcn.0040265c
push edi
call fcn.004445cb
pop ecx
mov dword [0x4c9204], ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x13], bl
call fcn.00412571
inc dword [esp + 0x14]
mov ecx, eax
mov eax, dword [0x4b62b4]
mov edi, ecx
cmp eax, ebx
je 0x474bba
imul eax, eax, 0x3e8
push 0x32
cdq
pop ebp
idiv ebp
cmp dword [esp + 0x14], eax
jl 0x474bba
and edi, 0xfffffff7
cmp byte [0x4b62ad], bl
jne 0x474bce
cmp dword [esp + 0x14], 0xc8
jl 0x474bce
xor edi, edi
test cl, 2
jne 0x474bee
cmp byte [esp + 0x13], bl
jne 0x474bee
mov cl, 1
mov byte [esp + 0x13], 1
call fcn.00470d9f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp edi, ebx
je 0x474bfc
push 0x32
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x474b8f
pop edi
pop ebp
cmp byte [esp + 0xb], bl
jne 0x474c14
xor cl, cl
call fcn.00470d9f
xor dl, dl
mov cl, 1
call fcn.00411fb4
call fcn.00429550
mov ecx, dword [0x4c6f94]
push ebx
call fcn.0042a9a8
mov ecx, dword [0x4c6f90]
cmp ecx, ebx
je 0x474c35
push ebx
call fcn.0042a9a8
mov ecx, dword [0x4c6f8c]
push ebx
call fcn.0042a9a8
mov ecx, dword [0x4c6f88]
cmp ecx, ebx
je 0x474c51
push ebx
call fcn.0042a9a8
call fcn.00429561
cmp byte [esp + 0x14], bl
je 0x474c79
push dword [0x4c909c]
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
push dword [0x4c909c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.00453ef8
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
pop esi
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x474f3e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
movzx esi, byte [0x4c926b]
neg esi
push edi
mov edi, ecx
mov ecx, dword [0x4c9330]
sbb esi, esi
mov byte [ebp - 1], 0
and esi, 4
call fcn.004450e0
mov dword [ebp - 8], eax
call fcn.00411af0
mov ecx, eax
call fcn.00411a76
push eax
push dword [ebp - 8]
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x474fa3
push str.Torrent_storage_folder_cant_be_the_same_as_the_autoload_folder_
call fcn.004891ee
pop ecx
xor bl, bl
mov ecx, dword [ebp - 8]
call fcn.004444fe
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x25c]
push eax
mov edx, 0x4a5910
call fcn.00444f25
mov ecx, eax
call fcn.0043b371
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x475056
test byte [ebp - 0x25c], 0x10
jne 0x475033
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x230]
call fcn.00444f25
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 0x475028
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
inc byte [edi + 0x7d]
push ebx
push 0x4712fd
push 0
mov edx, esi
push 0
or edx, 0x100
mov ecx, ebx
call fcn.00473ee6
jmp 0x475033
mov ecx, ebx
mov byte [ebp - 1], 1
call fcn.004444fe
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x47504d
cmp byte [edi + 0x7d], 0xc8
jb 0x474fd1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov bl, byte [ebp - 1]
jmp 0x474f94
Function at 0x478509
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 0x478524
mov eax, dword [ebp + 8]
lea ebx, [edi + eax*4 + 0xc8]
mov esi, dword [ebx]
test esi, esi
jne 0x4785be
sub eax, esi
je 0x4785af
dec eax
je 0x4785a6
dec eax
je 0x47859d
dec eax
je 0x478594
dec eax
je 0x47858b
dec eax
je 0x478582
dec eax
jne 0x4785ed
mov ecx, edi
call fcn.00489393
jmp 0x4785b6
mov ecx, edi
call fcn.0048bc9d
jmp 0x4785b6
mov ecx, edi
call fcn.00487e60
jmp 0x4785b6
mov ecx, edi
call fcn.0048a787
jmp 0x4785b6
mov ecx, edi
call fcn.0048a350
jmp 0x4785b6
mov ecx, edi
call fcn.0048c5da
jmp 0x4785b6
mov ecx, edi
call fcn.00488d9b
mov esi, eax
test esi, esi
je 0x4785ed
mov dword [ebx], esi
lea ebx, [edi + 0xb4]
mov eax, dword [ebx]
test eax, eax
je 0x4785d5
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
mov dword [ebx], esi
call fcn.00477782
mov eax, dword [ebp + 8]
mov ecx, edi
mov dword [0x4c9350], eax
call fcn.004784b1
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4785f4
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 0x478625
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 0x479673
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 0x4796f2
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 0x4796f1
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 [0x4c9b9c]
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 0x47ac47
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 0x47ac7a
cmp dword [esi + 8], 1
jne 0x47ad97
call fcn.0040500e
cmp eax, 0x3e8
jne 0x47ad97
xor edx, edx
mov ecx, dword [edi]
imul edx, edx, 0x34
add edx, dword [esi]
push edx
call fcn.0041e94c
mov ecx, eax
mov dword [ebp - 4], ecx
call fcn.004458d7
test al, al
je 0x47ad97
mov ecx, dword [ebp - 4]
call fcn.004436d0
mov ecx, eax
call fcn.00443928
test al, al
jne 0x47ad06
push dword [ebp - 4]
lea eax, [ebp - 0x484]
cmp byte [ebp + 8], bl
je 0x47acc2
push dword [0x4cf714]
jmp 0x47acc8
push dword [0x4cf704]
push 0x230
push eax
call fcn.0043c6a0
add esp, 0x10
lea eax, [ebp - 0x484]
push eax
xor edi, edi
lea eax, [ebp - 0x24]
push 0x4993cc
inc edi
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x34
call fcn.00450a13
add esp, 0xc
cmp eax, 6
jne 0x47ad97
jmp 0x47ad09
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 0x47ad8f
push dword [ebp - 4]
push str.shell32.dll_OpenAs_RunDLL__s
call fcn.0043c7dc
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 0x47ad87
push str.Error_occurred_opening_the_file.
call fcn.004891ee
push dword [ebp - 4]
lea eax, [ebp - 0x484]
push dword [0x4cf708]
push 0x230
push eax
call fcn.0043c6a0
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x24]
push 0x4993cc
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x30
call fcn.00450a13
add esp, 0x20
lea ecx, [ebp + 8]
call fcn.0043b306
lea ecx, [ebp - 4]
call fcn.0043b306
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x47ad9e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
test byte [ecx + 0x44], 0x10
je 0x47aef7
test byte [ecx + 0x3c], 2
jne 0x47aef7
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.004436d0
xor ebx, ebx
cmp byte [0x4c9948], bl
je 0x47aef4
cmp byte [0x4c9949], bl
je 0x47ae58
cmp eax, ebx
je 0x47ae34
push ebx
lea ecx, [ebp - 4]
push ecx
lea ecx, [eax - 2]
xor edx, edx
call fcn.004628b6
test al, al
je 0x47ae34
mov ecx, dword [ebp - 4]
call fcn.004444fe
mov eax, dword [esi]
add eax, edi
push eax
mov ecx, esi
call fcn.0041e94c
mov esi, eax
cmp esi, ebx
je 0x47aef4
push 5
push ebx
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, esi
jmp 0x47aeef
push dword [0x4cf718]
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 0x30
call fcn.00450a13
pop ecx
pop ecx
jmp 0x47aef4
mov eax, dword [esi]
add eax, edi
push eax
mov ecx, esi
call fcn.0041e94c
cmp eax, ebx
je 0x47aef4
mov edx, dword [0x4c9944]
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.0043a779
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 0x47aeb9
mov eax, 0x48f94c
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 0x47aee7
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 0x47aef4
mov ecx, dword [ebp - 0xc]
call fcn.004444fe
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47bd6b
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.00435cb7
test eax, eax
je 0x47bdb3
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 0x47bdb2
add esi, 0xc4
mov ecx, dword [esi]
push eax
call fcn.00451346
test eax, eax
jl 0x47bdb2
mov ecx, dword [esi]
push eax
push ebx
call fcn.00450d38
pop ebx
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ecx, edi
call fcn.004444fe
pop edi
pop esi
ret 4

Function at 0x47c63a
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 0x47c682
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.00473ca9
mov ecx, esi
mov dword [0x4c9a6c], eax
mov dword [0x4c9a70], edx
mov dword [0x4c9a74], edi
mov dword [0x4c9a78], edi
call fcn.0047a31b
pop edi
pop esi
ret 4