joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402859
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x56a658
call fcn.004f9d14
push ecx
mov eax, dword [0x64f020]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], eax
mov eax, dword [0x64f020]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x34], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 2
call fcn.004028fa
push 1
mov edi, 0x656dbc
pop eax
lea ecx, [esi + 0x24]
push 4
mov dword [esi + 4], eax
mov dword [esi + 8], eax
pop eax
push edi
mov byte [ebp - 4], 3
mov dword [esi], 0x580a4c
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call fcn.005553aa
push edi
lea ecx, [esi + 0x34]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.005553aa
push edi
lea ecx, [esi + 0x38]
call fcn.005553aa
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x411f39
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx]
push dword [esp + 4]
call dword [eax + 0xc8]
mov eax, dword [eax + 0x44]
xor ecx, ecx
cmp dword [eax - 8], ecx
jne 0x411f54
or eax, 0xffffffff
jmp 0x411f67
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 4

Function at 0x412217
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push 1
push eax
push eax
push dword [esp + 0x10]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 4
Function at 0x41b100
Capabilities:
Check os version

Disassembly:
mov eax, 0x56bbc3
call fcn.004f9d14
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.00555bf1
mov eax, dword [0x64f020]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x585a68
jne 0x41b186
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.004f9e20
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x41b17f
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x41b186
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.004fa9de
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x41b19b
call fcn.0054e927
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.0041b360
push eax
call fcn.004f9e20
push 0x200002
call fcn.00551a68
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.0041b360
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.0041b360
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.0041b360
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.0041b360
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.0041b360
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.0041b360
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.0041b360
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x41b258
mov ecx, esi
call fcn.0041b360
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.00566569
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.0041b360
mov ecx, esi
mov dword [eax + 8], edi
call fcn.0041b360
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x41af89
je 0x41b291
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x41b2d0
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.005553aa
push ebx
mov ecx, edi
call fcn.00555658
push 0x7c
push eax
call fcn.004fa9b5
pop ecx
cmp eax, ebx
pop ecx
je 0x41b2c3
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x41b2ad
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.0041b360
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x41c77c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56bd80
call fcn.004f9d14
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00555287
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 8], edi
jne 0x41c7b6
push eax
mov ecx, esi
call fcn.00554d70
or ebx, 0xffffffff
jmp 0x41c848
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0xe0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41c828
mov eax, dword [esi]
or dword [ebp - 0x10], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0xd4]
push ebx
mov ecx, esi
call fcn.0054fb23
cmp dword [ebp - 0x10], edi
jge 0x41c812
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c812
push edi
push 1
push dword [ebp + 8]
call fcn.0041efb5
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp + 8]
push edi
call dword [eax + 0xd8]
jmp 0x41c836
push dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xf0]
mov ebx, eax
push edi
push ebx
push 0x14e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00555213
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x41d7b5
Capabilities:
Find taskbar

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
xor edi, edi
push edi
push str.Shell_TrayWnd
push edi
push edi
call esi
cmp eax, edi
jne 0x41d7d1
xor eax, eax
jmp 0x41d7db
push edi
push str.TrayNotifyWnd
push edi
push eax
call esi
pop edi
pop esi
ret

Function at 0x41d98e
Capabilities:
Read clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x656dbc
mov ecx, edi
call fcn.005553aa
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x41d9c0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x41d9c4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
jmp 0x41d9eb
push eax
mov ecx, edi
call fcn.005553aa
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esp + 0x10], 0
je 0x41d9e8
mov ecx, edi
call fcn.0054e1ab
mov ecx, edi
call fcn.0054e11f
push 1
pop eax
pop edi
pop esi
ret 8
Function at 0x41daa8
Capabilities:
Copy file

Disassembly:
mov eax, 0x56bf54
call fcn.004f9d14
mov eax, 0x1024
call fcn.004fabd0
push ebx
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.00555287
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
jne 0x41daf8
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.0041e7d2
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0055535a
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.00555213
push dword [ebp - 0x10]
call fcn.0041ea47
cmp eax, 0xffffffff
pop ecx
jne 0x41db0d
push 0xfffffffffffffffe
jmp 0x41dbd3
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x830]
push dword [ebp + 8]
push eax
call fcn.004f9fd8
lea eax, [ebp - 0x830]
push eax
call fcn.004fa261
mov word [ebp + eax*2 - 0x82e], bx
lea eax, [ebp - 0x830]
push 0x7c
push eax
call fcn.004fa9b5
add esp, 0x18
cmp eax, ebx
je 0x41db5e
mov word [eax], bx
add eax, 2
push 0x7c
push eax
call fcn.004fa9b5
pop ecx
pop ecx
jmp 0x41db48
push esi
lea eax, [ebp - 0x1030]
push dword [ebp + 0xc]
push eax
call fcn.004f9fd8
lea eax, [ebp - 0x1030]
push eax
call fcn.004fa261
mov word [ebp + eax*2 - 0x102e], bx
push 0x1e
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.004f9e20
mov eax, dword [ebp + 0x18]
add esp, 0x1c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x830]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1030]
mov dword [ebp - 0x24], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
pop esi
je 0x41dbcc
or ebx, 0xffffffff
jmp 0x41dbd4
cmp dword [ebp - 0x1e], ebx
je 0x41dbd4
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00555213
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41dca1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push 0x3ff
lea eax, [ebp - 0x820]
push dword [ebp + 8]
push eax
call fcn.004f9fd8
lea eax, [ebp - 0x820]
push eax
call fcn.004fa261
and word [ebp + eax*2 - 0x81e], 0
push 0x1e
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.004f9e20
mov eax, dword [ebp + 0x10]
add esp, 0x1c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x820]
mov dword [ebp - 0x18], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x41dd14
or eax, 0xffffffff
leave
ret
xor eax, eax
cmp dword [ebp - 0xe], eax
setne al
leave
ret
Function at 0x41e5a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
push esi
jne 0x41e5ce
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
neg eax
sbb eax, eax
inc eax
jmp 0x41e61d
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41e61b
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x10]
push 1
push 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41e61b
test esi, esi
jne 0x41e61b
push 1
pop eax
jmp 0x41e61d
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x41e622
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
push dword [ebp + 0xc]
call fcn.004fa27e
pop ecx
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
test eax, eax
je 0x41e69e
and word [eax], 0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41e69e
lea eax, [ebp - 0x20c]
xor edi, edi
push 0x105
push eax
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x41e67b
push 1
pop edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x41e69e
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x5c
push esi
call fcn.004fab18
pop ecx
pop ecx
jmp 0x41e642
push esi
call fcn.004fa178
pop ecx
push 1
pop eax
pop edi
pop esi
leave
ret 8
Function at 0x41ec32
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56c17b
call fcn.004f9d14
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.00555287
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.0054e168
push dword [ebp + 0x10]
lea ecx, [ebp + 0x14]
call fcn.00555287
mov eax, dword [0x64f020]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
mov edi, str._s_s._s
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
push eax
call fcn.0054e079
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x41ecb3
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.00554f80
mov dword [ebp - 0x1c], ebx
jmp 0x41ed09
push ebx
mov dword [ebp - 0x18], ebx
push dword [ebp + 0x10]
mov ebx, str._s___d_
lea eax, [ebp + 0x14]
push ebx
push eax
call fcn.0054e079
add esp, 0x10
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
push eax
call fcn.0054e079
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x41ecf6
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x41ecbf
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.00554f80
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00555213
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.00555213
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00555213
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41ed3f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56c1b7
call fcn.004f9d14
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.00555287
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.0054e168
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.00555287
mov eax, dword [0x64f020]
mov dword [ebp + 0x14], eax
push dword [ebp - 0x14]
mov edi, str._s_s._s
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
push eax
call fcn.0054e079
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
jne 0x41edc0
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.00554f80
mov dword [ebp - 0x1c], ebx
jmp 0x41ee16
push ebx
mov dword [ebp - 0x18], ebx
push dword [ebp + 0x10]
mov ebx, str._s___d_
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0054e079
add esp, 0x10
lea eax, [ebp + 0x14]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
push eax
call fcn.0054e079
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
je 0x41ee03
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x41edcc
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.00554f80
mov dword [ebp - 0x1c], 1
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.00555213
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00555213
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00555213
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41ef01
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov edi, 0x2b4
mov esi, ecx
push edi
push 0
push eax
call fcn.004f9e20
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0xc
lea eax, [esp + 0x10]
mov ebp, 0x5c0830
push 0x4001
push edi
push eax
push 0
push ebp
call ebx
mov dword [esi + 4], eax
push 0x4000
lea eax, [esp + 0x14]
push edi
push eax
push 0
push ebp
call ebx
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
test ecx, ecx
je 0x41ef8a
test eax, eax
je 0x41ef8a
push ecx
lea ecx, [esi + 0xc]
call fcn.0054f218
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
push 0xffffffffffffffff
push dword [esi + 0x10]
call edi
push dword [esi + 8]
lea ecx, [esi + 0x14]
call fcn.0054f218
push 0xffffffffffffffff
push dword [esi + 0x18]
call edi
xor eax, eax
jmp 0x41ef8d
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b4
ret
Function at 0x41efb5
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push esi
lea eax, [ebp - 0x2b4]
push 0
push eax
call fcn.004f9e20
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
neg eax
sbb eax, eax
mov ecx, 0x4010
and al, 0x90
add eax, 0x80
cmp dword [ebp + 0xc], 0
je 0x41eff6
inc ecx
cmp dword [ebp + 0x10], 0
je 0x41efff
or ecx, 2
push ecx
lea ecx, [ebp - 0x2b4]
push esi
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
pop esi
jne 0x41f01c
or eax, 0xffffffff
leave
ret
mov eax, dword [ebp - 0x2b0]
leave
ret

Function at 0x41f0c2
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x56c20c
call fcn.004f9d14
push ecx
push ecx
push ebx
push 0x656dbc
lea ecx, [ebp - 0x10]
call fcn.00555287
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0041e922
pop ecx
test eax, eax
pop ecx
je 0x41f0fe
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.005553aa
mov eax, dword [0x64f020]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str._select___s_
push eax
call fcn.0054e079
add esp, 0xc
push 1
push ebx
push dword [ebp - 0x14]
push str.explorer.exe
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00555213
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00555213
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41f157
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x56c228
call fcn.004f9d14
push ecx
push ecx
push ebx
push 0x656dbc
lea ecx, [ebp - 0x10]
call fcn.00555287
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0041e922
pop ecx
test eax, eax
pop ecx
je 0x41f193
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.005553aa
mov eax, dword [0x64f020]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str._e___s_
push eax
call fcn.0054e079
add esp, 0xc
push 1
push ebx
push dword [ebp - 0x14]
push str.explorer.exe
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00555213
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00555213
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41f275
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x28
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41f2d7
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x41f2d7
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x41f2d9
xor eax, eax
pop esi
leave
ret

Function at 0x41f31d
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x56c23c
call fcn.004f9d14
sub esp, 0x808
push esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00555287
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00555750
push str..url
push dword [ebp - 0x10]
call fcn.004fa015
pop ecx
cmp eax, esi
pop ecx
je 0x41f365
or esi, 0xffffffff
jmp 0x41f3bd
push edi
mov ecx, 0x200
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x812]
mov word [ebp - 0x814], si
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x814]
push 0x400
push eax
push esi
push 0x5c005c
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x814]
push eax
call fcn.004fa261
pop ecx
pop edi
test eax, eax
je 0x41f360
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x814]
push eax
call fcn.005553aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00555213
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x420cd5
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 0x60]
lea ebx, [esi + 4]
mov dword [ebp - 4], eax
push ebx
mov dword [eax], edi
lea eax, [esi + 0x14]
push eax
push edi
push edi
push 0x20
push edi
push edi
push edi
mov dword [esi + 0x5c], edi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x420d0d
or eax, 0xffffffff
jmp 0x420d82
cmp dword [ebp + 0xc], edi
mov dword [esi + 0x5c], 0xa
je 0x420d49
mov dword [ebp + 8], edi
push 0x64
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x420d53
mov eax, dword [ebp + 0xc]
cmp dword [eax], edi
je 0x420d1c
add dword [ebp + 8], 0x64
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x58]
jl 0x420d1c
push 1
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x420d53
push 0xffffffffffffffff
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], 0x64
cmp eax, edi
je 0x420d6a
cmp dword [eax], edi
je 0x420d6a
push 1
pop eax
jmp 0x420d82
mov esi, dword [ebp - 4]
push esi
push dword [ebx]
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x420d89
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea eax, [esi + 0x60]
lea edi, [esi + 4]
mov dword [ebp - 4], eax
push edi
mov dword [eax], ebx
lea eax, [esi + 0x14]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
mov dword [esi + 0x5c], ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x420dc1
or eax, 0xffffffff
jmp 0x420e39
cmp dword [ebp + 0xc], ebx
mov dword [esi + 0x5c], 0xa
je 0x420e00
mov dword [ebp + 8], ebx
push 0x64
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x420e0a
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x10]
jne 0x420dd0
add dword [ebp + 8], 0x64
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x58]
jl 0x420dd0
push 1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x420e0a
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], 0x64
cmp eax, ebx
je 0x420e21
cmp dword [eax], ebx
je 0x420e21
push 1
pop eax
jmp 0x420e39
mov esi, dword [ebp - 4]
push esi
push dword [edi]
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc