joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4792e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
push 0xd
xor edi, edi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x47934d
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x47934d
push esi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x479342
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x479342
mov edi, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
push eax
push 0x50f4e4
push edi
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov word [ebx + edi*2 - 2], 0
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop esi
pop edi
ret
mov eax, edi
pop edi
ret

Function at 0x479360
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
xor esi, esi
push ebp
mov dword [esp + 0x10], esi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
add esp, 4
test edi, edi
jle 0x479409
push esi
inc edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x479409
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea esi, [edi + edi]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4793f9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4793f2
mov ecx, esi
mov edi, eax
mov eax, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x4793f2
mov dword [esp + 0x10], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x4796d0
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x479704
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x4796ed
xor eax, eax
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x479704
cmp eax, 0x20
je 0x479704
mov eax, 1
pop esi
ret
mov eax, dword [0x602ca4]
test eax, eax
je 0x479721
push 0
push esi
call fcn.00479740
add esp, 8
neg eax
sbb eax, eax
pop esi
neg eax
inc eax
ret
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, 2
pop esi
ret
Function at 0x479940
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp]
push 0x207
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4799c9
cmp eax, 0x207
ja 0x4799c9
lea ecx, [esp]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 - 2], 0x5c
je 0x47998a
lea edx, [esp]
push 0x50f9e0
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
push esi
mov esi, dword [esp + 0x214]
push edi
mov edi, dword [esp + 0x214]
lea eax, [esp + 8]
push str.wininit.ini
push eax
push 0x50f5ec
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov word [edi + esi*2 - 2], 0
mov eax, 1
pop edi
pop esi
add esp, 0x208
ret
xor eax, eax
add esp, 0x208
ret

Function at 0x4799e0
Capabilities:
Delete file

Disassembly:
mov eax, 0x167c
call fcn.004ba380
mov edx, dword [esp + 0x1684]
push esi
xor esi, esi
cmp edx, esi
je 0x479af0
push ebx
push edi
mov ecx, 0x513
xor eax, eax
lea edi, [esp + 0x23a]
mov word [esp + 0x238], si
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.MSVCRT.dll_wcstok]
lea ecx, [esp + 0xc]
stosw word es:[edi], ax
mov eax, dword [0x525a6c]
push ecx
push edx
mov dword [esp + 0x14], eax
call ebx
mov edx, eax
add esp, 8
cmp edx, esi
je 0x479aa6
push ebp
mov ebp, dword [esp + 0x1690]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], 0
rep stosd dword es:[edi], eax
push edx
push ebp
push 0x525a60
lea edx, [esp + 0x40]
push 0x103
push edx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
lea ecx, [esp + 0x4c]
lea edx, [esp + esi*2 + 0x254]
push ecx
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [esp + 0x30]
lea esi, [esi + edi + 1]
push eax
push 0
call ebx
mov edx, eax
add esp, 0x28
test edx, edx
jne 0x479a40
xor esi, esi
pop ebp
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x238]
push edx
stosw word es:[edi], ax
mov dword [esp + 0x2a], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x2e], esi
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], ecx
mov word [esp + 0x24], 0x454
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop ebx
pop esi
add esp, 0x167c
ret
xor eax, eax
pop esi
add esp, 0x167c
ret
Function at 0x479e60
Capabilities:
Get common file path
Get program files directory

Disassembly:
cmp word [0x602cd0], 0
jne 0x479e8e
push 0
push 0x26
push 0x602cd0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x525a70
push 0x602cd0
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov eax, 0x602cd0
ret

Function at 0x479ed0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0xc]
push eax
push edi
call fcn.00479e60
push eax
call fcn.0042c000
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x479f26
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edi
push edx
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x479f26
cmp word [edi], ax
mov eax, 1
jne 0x479f28
mov eax, esi
pop edi
pop esi
ret

Function at 0x47a3e0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 8], ebp
je 0x47a50b
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x24]
push eax
push 0x40000
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x47a4fa
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push ecx
push 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x47a4fa
mov eax, dword [esp + 0x30]
test eax, eax
je 0x47a4f5
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push 0x20019
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x47a4fa
push eax
push eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push ebp
lea eax, [esp + 0x40]
push edx
push eax
push ebp
push ebp
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x47a4fa
push 0x20a
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 4
xor edi, edi
test eax, eax
jbe 0x47a4ec
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edx, dword [esp + 0x10]
push 0x105
push esi
push edi
push edx
call ebx
test eax, eax
jne 0x47a4dc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 1
push eax
push esi
push ecx
call fcn.0047a3e0
add esp, 0x10
jmp 0x47a4e3
cmp eax, 0x103
je 0x47a4ec
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jb 0x47a4b3
push esi
call fcn.004ba355
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x47a50b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x47a680
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x54
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x6c]
push esi
push 1
push eax
push edi
call fcn.00479410
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
add esp, 0x10
test eax, eax
jne 0x47a6ba
lea ecx, [esp + 0x10]
push ecx
call ebx
push eax
call ebp
push esi
mov esi, dword [esp + 0x78]
push 0
push esi
push edi
call fcn.00479410
add esp, 0x10
test eax, eax
jne 0x47a6d5
push esi
call ebx
push eax
call ebp
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
call edi
push 0x52a480
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
mov ebx, 2
test esi, esi
mov dword [esp + 0x40], 0x24
mov dword [esp + 0x44], esi
je 0x47a71d
lea ecx, [esp + 0x40]
push ecx
push 4
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
mov ebx, eax
lea edx, [esp + 0x30]
push edx
push esi
call ebp
test bl, 2
jne 0x47a747
mov eax, dword [0x602cb4]
test eax, eax
jne 0x47a747
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x10]
push eax
push ecx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov esi, dword [esp + 0x70]
lea edx, [esp + 0x30]
lea eax, [esp + 0x10]
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_SubtractRect]
test bl, 1
je 0x47a7bb
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
cmp ecx, eax
je 0x47a778
add eax, 2
pop edi
mov dword [esi], eax
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 8]
cmp ecx, eax
je 0x47a791
add eax, 0xfffffffe
pop edi
mov dword [esi + 8], eax
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 4]
cmp ecx, eax
je 0x47a7aa
add eax, 2
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0xc]
cmp ecx, eax
je 0x47a7bb
add eax, 0xfffffffe
mov dword [esi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
Function at 0x47ae70
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2b8
push esi
lea eax, [esp + 4]
xor esi, esi
push eax
push esi
push esi
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x47aee9
mov edx, dword [esp + 4]
test edx, edx
je 0x47aee9
push edi
mov ecx, 0xac
lea edi, [esp + 0x10]
mov dword [esp + 0xc], eax
rep stosd dword es:[edi], eax
push 0x4009
lea ecx, [esp + 0x10]
push 0x2b4
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, eax
pop edi
test esi, esi
je 0x47aede
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_Duplicate]
mov esi, eax
test esi, esi
je 0x47aede
push 0xffffffffffffffff
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
pop esi
add esp, 0x2b8
ret

Function at 0x47c480
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
push edi
push 0xa000
mov dword [esp + 0x10], 0xa000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x47c56c
mov ecx, 0x2800
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
push esi
push 0x525b88
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebx, eax
test ebx, ebx
jne 0x47c4d9
push esi
call fcn.004ba355
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x14]
push ebp
push edx
call fcn.0047c430
mov ebp, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
push eax
push ecx
push edx
call fcn.004f34a0
add esp, 0xc
test eax, eax
je 0x47c531
mov eax, dword [esi + 4]
push eax
call ebp
test eax, eax
jne 0x47c531
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x47c531
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFileA]
mov edx, dword [esi + 4]
push edx
call ebp
mov ecx, 0x2800
xor eax, eax
mov edi, esi
mov dword [esp + 0x10], 0xa000
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push esi
push ebx
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x47c4f1
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.004ba355
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x47c580
Capabilities:
Enumerate browser history

Disassembly:
sub esp, 0x23c
push ebx
push ebp
call fcn.0043dad0
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
jne 0x47c5a0
pop ebp
xor eax, eax
pop ebx
add esp, 0x23c
ret
mov eax, 1
push esi
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x250]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
push 0x50f4e4
lea eax, [esp + 0x4c]
push 0x103
push eax
mov dword [esp + 0x20], ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
push esi
call fcn.0047c3a0
mov esi, dword [esp + 0x278]
add esp, 0x20
cmp esi, ebx
jne 0x47c6bf
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x47c654
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
push ecx
push 0x4ff6d8
push 3
push ebx
push 0x4ff658
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x47c64b
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x47c64b
mov edx, dword [eax]
push eax
call dword [edx + 0x24]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, ebp
call fcn.00440870
jmp 0x47c6d0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x20]
dec ecx
add eax, 0xfffff894
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.MSVCRT.dll_mktime]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0043e1a0
mov ecx, dword [esp + 0x268]
add esp, 0x14
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, ebp
call fcn.00440820
jmp 0x47c6d0
push esi
call fcn.0047c480
add esp, 4
mov ecx, ebp
push esi
call fcn.00440a80
push ebx
push 0xe
push 1
call fcn.00431570
mov ecx, eax
call fcn.00432660
mov eax, dword [0x602cb4]
pop edi
cmp eax, ebx
pop esi
je 0x47c6f5
push ebx
call fcn.00491f40
add esp, 4
pop ebp
mov eax, 1
pop ebx
add esp, 0x23c
ret
Function at 0x47c970
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x14000
mov dword [esp + 0x10], 0xa000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x47ca56
mov ecx, 0x5000
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
push esi
push 0
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebx, eax
test ebx, ebx
jne 0x47c9c6
push esi
call fcn.004ba355
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x18]
push ebp
push edx
call fcn.0047c430
mov ebp, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
add esp, 4
mov dword [esp + 0x1c], eax
test dword [esi + 0xc], 0x100000
jne 0x47ca1b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
push eax
push ecx
push edx
call fcn.004f34a0
add esp, 0xc
test eax, eax
je 0x47ca1b
mov eax, dword [esi + 4]
push eax
call ebp
test eax, eax
jne 0x47ca1b
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFileW]
mov edx, dword [esi + 4]
push edx
call ebp
mov ecx, 0x5000
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0xa000
push eax
push esi
push ebx
mov dword [esi], 0xa000
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x47c9de
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.004ba355
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x47cee0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
push 0
push ebx
call fcn.0047ce00
mov eax, dword [0x602cb4]
add esp, 8
test eax, eax
mov dword [esp + 0x10], 0
je 0x47cf3b
lea eax, [esp + 0x10]
push eax
push 0x525d38
push 1
push 0
push 0x4ff0a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x47cf3b
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [esp + 0x10]
push 1
push ebx
push eax
mov edx, dword [eax]
call dword [edx + 0x28]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f0
push ebx
call edi
push 1
push ebx
mov esi, eax
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, eax
push 5
push esi
mov dword [esp + 0x1c], edi
call ebp
push 0
push edi
call ebp
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x70000
push 0
push 0x401
push esi
call edi
push 0
push 1
push 0x402
push esi
call edi
mov bl, byte [esp + 0x20]
test bl, 1
je 0x47cfa7
mov eax, dword [esp + 0x24]
push eax
push 0
call fcn.0047c970
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 2
push 0x402
push esi
call edi
test bl, 2
je 0x47cfd1
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0
call fcn.0047c580
add esp, 0xc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 3
push 0x402
push esi
call edi
test bl, 4
je 0x47cff9
mov edx, dword [esp + 0x24]
push edx
push 0
call fcn.0047c710
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 4
push 0x402
push esi
call edi
test bl, 8
je 0x47d017
call fcn.0047cd00
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 5
push 0x402
push esi
call edi
test bl, 0x10
je 0x47d035
call fcn.0047ca60
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 6
push 0x402
push esi
call edi
test bl, 0x20
je 0x47d053
call fcn.0047cd30
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 7
push 0x402
push esi
call edi
test bl, 0x40
je 0x47d071
call fcn.0047cd60
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call ebp
mov eax, dword [esp + 0x14]
push 5
push eax
call ebp
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47d0ab
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0
push esi
push eax
call dword [ecx + 0x28]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x47d0af
mov esi, dword [esp + 0x1c]
push 1
push esi
call fcn.0047ce00
add esp, 8
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x47d8e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push 0x41e
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov esi, eax
push 0
push 0x1042
push esi
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47d978
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 4
push ecx
push eax
push 0x104b
push esi
mov dword [esp + 0x24], ebx
call ebp
test eax, eax
je 0x47d978
mov edx, dword [esp + 0x30]
push edx
call fcn.0047a800
mov edi, eax
add esp, 4
test edi, edi
je 0x47d960
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push ebx
push 0x1008
push esi
call ebp
mov eax, dword [esp + 0x3c]
push eax
call fcn.0047d9c0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x47de40
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x6f1540]
sub esp, 0x244
test eax, eax
je 0x47de8d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47de8d
mov eax, dword [0x6f1540]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x47de79
mov ecx, dword [0x6f1540]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x6f1540]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
add esp, 0x244
ret
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42]
mov word [esp + 0x40], 0
push 0x208
rep stosd dword es:[edi], eax
mov ecx, dword [0x6069dc]
stosw word es:[edi], ax
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 4]
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 8], 0x40
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], str._tp:4
mov dword [esp + 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
je 0x47df23
mov ecx, dword [esp + 0x38]
push 0xbb8
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x244
ret

Function at 0x47ef50
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x12b0]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret