joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c0c70
Capabilities:
Check os version

Disassembly:
sub esp, 0x31c
push ebx
push esi
lea eax, [esp + 8]
push edi
push eax
mov dword [esp + 0x10], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ebx, ebx
cmp eax, 2
mov dword [0x58b4ec], edx
mov dword [0x58b4f8], edx
mov dword [0x58b4f0], edx
mov dword [0x58b4f4], edx
mov dword [0x58b4fc], edx
mov dword [0x58b500], ebx
mov dword [0x58b504], edx
mov dword [0x58b508], edx
mov dword [0x58b50c], edx
mov dword [0x58b510], edx
mov dword [0x58b514], edx
mov dword [0x58b518], edx
mov esi, 1
jne 0x4c0d5c
mov eax, dword [esp + 0x10]
cmp eax, 5
jne 0x4c0d0b
mov eax, dword [esp + 0x14]
cmp eax, edx
jne 0x4c0cff
mov dword [0x58b4f8], esi
jmp 0x4c0d66
cmp eax, esi
jne 0x4c0d66
mov dword [0x58b4f0], esi
jmp 0x4c0d66
cmp eax, 6
jne 0x4c0d3e
mov eax, dword [esp + 0x14]
mov dword [0x58b4f0], esi
cmp eax, esi
mov dword [0x58b4f4], esi
jne 0x4c0d2c
mov dword [0x58b4fc], esi
jmp 0x4c0d66
jbe 0x4c0d66
mov ebx, esi
mov dword [0x58b4fc], esi
mov dword [0x58b500], ebx
jmp 0x4c0d66
jbe 0x4c0d66
mov ebx, esi
mov dword [0x58b4f0], esi
mov dword [0x58b4f4], esi
mov dword [0x58b4fc], esi
mov dword [0x58b500], ebx
jmp 0x4c0d66
cmp eax, esi
jne 0x4c0d66
mov dword [0x58b4ec], esi
mov cx, word [0x5711d0]
xor eax, eax
mov word [esp + 0x120], cx
mov ecx, 0x81
lea edi, [esp + 0x122]
cmp ebx, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x103
je 0x4c0da8
lea edx, [esp + 0x124]
push edx
call fcn.004c1c00
push eax
call fcn.0043fa10
add esp, 0xc
jmp 0x4c0db8
lea eax, [esp + 0x124]
push eax
call fcn.004c1c70
add esp, 8
mov ax, word [esp + 0x120]
cmp ax, 0x37
jne 0x4c0de0
mov dword [0x58b508], esi
call fcn.004c0fc0
pop edi
pop esi
mov dword [0x58b518], eax
pop ebx
add esp, 0x31c
ret
cmp ax, 0x36
jne 0x4c0e00
mov dword [0x58b504], esi
call fcn.004c0fc0
pop edi
pop esi
mov dword [0x58b518], eax
pop ebx
add esp, 0x31c
ret
cmp ax, 0x38
jne 0x4c0e20
mov dword [0x58b50c], esi
call fcn.004c0fc0
pop edi
pop esi
mov dword [0x58b518], eax
pop ebx
add esp, 0x31c
ret
cmp ax, 0x39
jne 0x4c0e40
mov dword [0x58b510], esi
call fcn.004c0fc0
pop edi
pop esi
mov dword [0x58b518], eax
pop ebx
add esp, 0x31c
ret
cmp ax, 0x31
jne 0x4c0e57
cmp word [esp + 0x122], 0x30
jne 0x4c0e57
mov dword [0x58b514], esi
call fcn.004c0fc0
pop edi
pop esi
mov dword [0x58b518], eax
pop ebx
add esp, 0x31c
ret

Function at 0x4c0ec0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x4c0ef4
cmp dword [esp + 4], 5
jne 0x4c0ef4
mov ecx, dword [esp + 8]
mov eax, 1
cmp ecx, eax
je 0x4c0ef6
xor eax, eax
add esp, 0x114
ret

Function at 0x4c1030
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
test esi, esi
jne 0x4c1051
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x4c1070
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x3000
call fcn.0051e250
mov eax, dword [esp + 0x3004]
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
je 0x4c1181
mov ebx, dword [esp + 0x3014]
cmp ebx, esi
je 0x4c1181
cmp dword [esp + 0x3018], esi
je 0x4c1181
mov ebp, dword [esp + 0x301c]
cmp ebp, esi
je 0x4c1181
mov edx, dword [esp + 0x3020]
cmp edx, esi
je 0x4c1181
push edi
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x1012]
mov word [esp + 0x1010], si
push edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x3018]
push 0x1000
stosw word es:[edi], ax
lea eax, [esp + 0x1018]
push eax
push 0x5711d0
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x4c1174
lea edx, [esp + 0x1010]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x4c1174
mov ecx, dword [ebp]
shr eax, 1
dec eax
cmp ecx, eax
jae 0x4c112a
mov eax, ecx
mov dword [ebp], eax
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
push 0x1000
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1014]
push eax
push ecx
call fcn.004bfbb0
mov edx, dword [ebp]
mov ecx, dword [esp + 0x3028]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.004c4790
add esp, 0x18
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3000
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3000
ret

Function at 0x4c1190
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 0x4c11fd
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4c11fd
push esi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4c11f2
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4c11f2
mov edi, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
push eax
push 0x53d4a4
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 0x4c1210
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 0x4c12b9
push esi
inc edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4c12b9
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 0x4c12a9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4c12a2
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 0x4c12a2
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 0x4c1470
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x4c14a4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x4c148d
xor eax, eax
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4c14a4
cmp eax, 0x20
je 0x4c14a4
mov eax, 1
pop esi
ret
mov eax, dword [0x58b4ec]
test eax, eax
je 0x4c14c1
push 0
push esi
call fcn.004c14e0
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 0x4c16e0
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 0x4c1769
cmp eax, 0x207
ja 0x4c1769
lea ecx, [esp]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 - 2], 0x5c
je 0x4c172a
lea edx, [esp]
push 0x53dbc8
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 0x56ca34
push eax
push 0x53dc6c
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 0x4c1780
Capabilities:
Delete file

Disassembly:
mov eax, 0x167c
call fcn.0051e250
mov edx, dword [esp + 0x1684]
push esi
xor esi, esi
cmp edx, esi
je 0x4c1890
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 [0x55b6b8]
push ecx
push edx
mov dword [esp + 0x14], eax
call ebx
mov edx, eax
add esp, 8
cmp edx, esi
je 0x4c1846
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 0x56ca40
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 0x4c17e0
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 0x4c1c00
Capabilities:
Get common file path
Get program files directory

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

Function at 0x4c1c70
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
push eax
push esi
push ecx
push 0x56c0d4
push 0x56ca8c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c1caf
cmp word [esi], ax
je 0x4c1caf
mov eax, 1
pop esi
pop ecx
ret
mov edx, dword [esp + 0x10]
push edx
push esi
call fcn.004c1c00
push eax
call fcn.0043fa10
add esp, 0xc
pop esi
pop ecx
ret

Function at 0x4c2180
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 0x4c22ab
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 0x4c229a
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 0x4c229a
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4c2295
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 0x4c229a
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 0x4c229a
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 0x4c228c
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 0x4c227c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 1
push eax
push esi
push ecx
call fcn.004c2180
add esp, 0x10
jmp 0x4c2283
cmp eax, 0x103
je 0x4c228c
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jb 0x4c2253
push esi
call fcn.0051e1fa
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x4c22ab
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x4c29e0
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 0x4c2a59
mov edx, dword [esp + 4]
test edx, edx
je 0x4c2a59
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 0x4c2a4e
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_Duplicate]
mov esi, eax
test esi, esi
je 0x4c2a4e
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 0x4c49c0
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 0x4c4aac
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 0x56cda0
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebx, eax
test ebx, ebx
jne 0x4c4a19
push esi
call fcn.0051e1fa
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x14]
push ebp
push edx
call fcn.004c4970
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.00478a60
add esp, 0xc
test eax, eax
je 0x4c4a71
mov eax, dword [esi + 4]
push eax
call ebp
test eax, eax
jne 0x4c4a71
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4c4a71
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 0x4c4a31
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.0051e1fa
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4c4e90
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 0x4c4f76
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 0x4c4ee6
push esi
call fcn.0051e1fa
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x18]
push ebp
push edx
call fcn.004c4970
mov ebp, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
add esp, 4
mov dword [esp + 0x1c], eax
test dword [esi + 0xc], 0x100000
jne 0x4c4f3b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
push eax
push ecx
push edx
call fcn.00478a60
add esp, 0xc
test eax, eax
je 0x4c4f3b
mov eax, dword [esi + 4]
push eax
call ebp
test eax, eax
jne 0x4c4f3b
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 0x4c4efe
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.0051e1fa
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4c52a0
Capabilities:
Delete file

Disassembly:
sub esp, 0x20c
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
push 0x5d0364
rep stosd dword es:[edi], eax
push 0x56c39c
lea eax, [esp + 0xc]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x5d0360]
pop edi
inc eax
mov dword [0x5d0360], eax
add esp, 0x20c
ret
jmp 0x4b9900
Function at 0x4c5450
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
call ebp
mov ebx, dword [esp + 0x1c]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4c547f
push eax
push esi
push 0xe11
call fcn.004d8260
add esp, 0xc
push 0
push ebx
call fcn.004c5360
mov eax, dword [0x58b4fc]
add esp, 8
test eax, eax
mov dword [esp + 0x10], 0
je 0x4c54d3
lea eax, [esp + 0x10]
push eax
push 0x56cf50
push 1
push 0
push 0x52aef8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4c54d3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c54d3
mov ecx, dword [eax]
push 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 ebx, eax
mov dword [esp + 0x14], ebx
call ebp
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4c550c
push eax
push edi
push 0xe12
call fcn.004d8260
add esp, 0xc
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push esi
call edi
push 0
push ebx
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x80000
push 0
push 0x401
push esi
call edi
push 0
push 1
push 0x402
push esi
call edi
mov bl, byte [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
test bl, 1
je 0x4c555f
mov eax, dword [esp + 0x24]
push eax
push 0
call fcn.004c4e90
add esp, 8
push 0x64
call ebp
push 0
push 2
push 0x402
push esi
call edi
test bl, 2
je 0x4c5585
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0
call fcn.004c4ac0
add esp, 0xc
push 0x64
call ebp
push 0
push 3
push 0x402
push esi
call edi
test bl, 4
je 0x4c55a9
mov edx, dword [esp + 0x24]
push edx
push 0
call fcn.004c4c30
add esp, 8
push 0x64
call ebp
push 0
push 4
push 0x402
push esi
call edi
test bl, 8
je 0x4c55c3
call fcn.004c5220
push 0x64
call ebp
push 0
push 5
push 0x402
push esi
call edi
test bl, 0x10
je 0x4c55dd
call fcn.004c4f80
push 0x64
call ebp
push 0
push 6
push 0x402
push esi
call edi
test bl, 0x20
je 0x4c55f7
call fcn.004c5250
push 0x64
call ebp
push 0
push 7
push 0x402
push esi
call edi
test bl, 0x40
je 0x4c5611
call fcn.004c5280
push 0x64
call ebp
push 0
push 8
push 0x402
push esi
call edi
test bl, 0x80
je 0x4c565b
call fcn.00422b70
mov eax, dword [eax + 4]
push 0xffff
push 0x76cf
push 0x405
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.004c52a0
push 0
push 0
push 9
call fcn.004478a0
mov ecx, eax
call fcn.00448a40
push 0x64
call ebp
push 0x12c
call ebp
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
mov ecx, dword [esp + 0x14]
push 5
push ecx
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c5697
mov esi, dword [esp + 0x1c]
mov edx, dword [eax]
push 0
push esi
push eax
call dword [edx + 0x28]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4c569b
mov esi, dword [esp + 0x1c]
push 1
push esi
call fcn.004c5360
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 0x4c61b0
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 0x4c6248
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 0x4c6248
mov edx, dword [esp + 0x30]
push edx
call fcn.004c25a0
mov edi, eax
add esp, 4
test edi, edi
je 0x4c6230
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.004c6290
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x4c6720
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x5c27b8]
sub esp, 0x244
test eax, eax
je 0x4c676d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c676d
mov eax, dword [0x5c27b8]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4c6759
mov ecx, dword [0x5c27b8]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x5c27b8]
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 [0x59122c]
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], 0x56cf90
mov dword [esp + 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
je 0x4c6803
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 0x4c7ab0
Capabilities:
Hide graphical window

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