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

Disassembly:
mov eax, 0x56aeff
call fcn.004f8f84
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.00554eb2
mov eax, dword [0x64d578]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x584828
jne 0x41a987
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.004f9090
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 0x41a980
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x41a987
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.004f9c4e
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x41a99c
call fcn.0054dbe9
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.0041ab61
push eax
call fcn.004f9090
push 0x200002
call fcn.00550d29
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.0041ab61
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.0041ab61
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.0041ab61
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.0041ab61
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.0041ab61
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.0041ab61
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.0041ab61
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x41aa59
mov ecx, esi
call fcn.0041ab61
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.00565826
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.0041ab61
mov ecx, esi
mov dword [eax + 8], edi
call fcn.0041ab61
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x41a78a
je 0x41aa92
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x41aad1
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.0055466b
push ebx
mov ecx, edi
call fcn.00554919
push 0x7c
push eax
call fcn.004f9c25
pop ecx
cmp eax, ebx
pop ecx
je 0x41aac4
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x41aaae
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.0041ab61
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 0x41c32f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56b0bc
call fcn.004f8f84
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00554548
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 8], edi
jne 0x41c369
push eax
mov ecx, esi
call fcn.00554031
or ebx, 0xffffffff
jmp 0x41c3fb
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0xe0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41c3db
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.0054ede5
cmp dword [ebp - 0x10], edi
jge 0x41c3c5
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c3c5
push edi
push 1
push dword [ebp + 8]
call fcn.0041ecae
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 0x41c3e9
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.005544d4
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x41d3ad
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 0x41d3c9
xor eax, eax
jmp 0x41d3d3
push edi
push str.TrayNotifyWnd
push edi
push eax
call esi
pop edi
pop esi
ret

Function at 0x41d586
Capabilities:
Read clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x65535c
mov ecx, edi
call fcn.0055466b
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x41d5b8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x41d5bc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
jmp 0x41d5e3
push eax
mov ecx, edi
call fcn.0055466b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esp + 0x10], 0
je 0x41d5e0
mov ecx, edi
call fcn.0054d41b
mov ecx, edi
call fcn.0054d38f
push 1
pop eax
pop edi
pop esi
ret 8
Function at 0x41d6a0
Capabilities:
Copy file

Disassembly:
mov eax, 0x56b290
call fcn.004f8f84
mov eax, 0x1024
call fcn.004f9e40
push ebx
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.00554548
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
jne 0x41d6f0
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.0041e4cb
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0055461b
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.005544d4
push dword [ebp - 0x10]
call fcn.0041e740
cmp eax, 0xffffffff
pop ecx
jne 0x41d705
push 0xfffffffffffffffe
jmp 0x41d7cb
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x830]
push dword [ebp + 8]
push eax
call fcn.004f9248
lea eax, [ebp - 0x830]
push eax
call fcn.004f93e8
mov word [ebp + eax*2 - 0x82e], bx
lea eax, [ebp - 0x830]
push 0x7c
push eax
call fcn.004f9c25
add esp, 0x18
cmp eax, ebx
je 0x41d756
mov word [eax], bx
add eax, 2
push 0x7c
push eax
call fcn.004f9c25
pop ecx
pop ecx
jmp 0x41d740
push esi
lea eax, [ebp - 0x1030]
push dword [ebp + 0xc]
push eax
call fcn.004f9248
lea eax, [ebp - 0x1030]
push eax
call fcn.004f93e8
mov word [ebp + eax*2 - 0x102e], bx
push 0x1e
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.004f9090
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 0x41d7c4
or ebx, 0xffffffff
jmp 0x41d7cc
cmp dword [ebp - 0x1e], ebx
je 0x41d7cc
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005544d4
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41d899
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.004f9248
lea eax, [ebp - 0x820]
push eax
call fcn.004f93e8
and word [ebp + eax*2 - 0x81e], 0
push 0x1e
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.004f9090
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 0x41d90c
or eax, 0xffffffff
leave
ret
xor eax, eax
cmp dword [ebp - 0xe], eax
setne al
leave
ret
Function at 0x41e198
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
push esi
jne 0x41e1c6
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 0x41e215
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 0x41e213
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 0x41e213
test esi, esi
jne 0x41e213
push 1
pop eax
jmp 0x41e215
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x41e21a
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.004f9405
pop ecx
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
test eax, eax
je 0x41e296
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 0x41e296
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 0x41e273
push 1
pop edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x41e296
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x5c
push esi
call fcn.004f9d88
pop ecx
pop ecx
jmp 0x41e23a
push esi
call fcn.004f9722
pop ecx
push 1
pop eax
pop edi
pop esi
leave
ret 8
Function at 0x41e2c7
Capabilities:
Get file version info

Disassembly:
mov eax, 0x56b420
call fcn.004f8f84
sub esp, 0x50
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
push eax
xor edi, edi
push dword [ebp + 8]
mov dword [ebp - 0x10], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
cmp ebx, edi
je 0x41e369
mov esi, 0x58562c
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
jbe 0x41e30e
push ebx
lea ecx, [ebp - 0x28]
call fcn.0041e3d8
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x10]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41e355
push 0x34
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.004f9090
add esp, 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
push eax
lea eax, [ebp - 0x18]
push eax
push 0x5be5b4
push dword [ebp - 0x20]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41e37f
cmp dword [ebp - 0x14], 0x34
je 0x41e36e
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], edi
mov dword [ebp - 0x28], esi
je 0x41e369
lea ecx, [ebp - 0x28]
call fcn.0041e416
or eax, 0xffffffff
jmp 0x41e3b7
push 0x34
lea eax, [ebp - 0x5c]
push dword [ebp - 0x18]
push eax
call fcn.004f98f0
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp + 0xc]
shr ecx, 0x10
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
movzx ecx, word [ebp - 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x50]
shr ecx, 0x10
cmp dword [ebp - 0x24], edi
mov dword [eax + 8], ecx
movzx ecx, word [ebp - 0x50]
mov dword [eax + 0xc], ecx
mov dword [ebp - 0x28], esi
je 0x41e3b5
lea ecx, [ebp - 0x28]
call fcn.0041e416
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41e92b
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56b4cb
call fcn.004f8f84
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.00554548
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.0054d3d8
push dword [ebp + 0x10]
lea ecx, [ebp + 0x14]
call fcn.00554548
mov eax, dword [0x64d578]
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.0054d2e9
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x41e9ac
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.00554241
mov dword [ebp - 0x1c], ebx
jmp 0x41ea02
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.0054d2e9
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.0054d2e9
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x41e9ef
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x41e9b8
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.00554241
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.005544d4
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.005544d4
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005544d4
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 0x41ea38
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56b507
call fcn.004f8f84
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.00554548
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.0054d3d8
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.00554548
mov eax, dword [0x64d578]
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.0054d2e9
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
jne 0x41eab9
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.00554241
mov dword [ebp - 0x1c], ebx
jmp 0x41eb0f
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.0054d2e9
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.0054d2e9
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
je 0x41eafc
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x41eac5
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.00554241
mov dword [ebp - 0x1c], 1
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005544d4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.005544d4
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005544d4
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 0x41ebfa
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.004f9090
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0xc
lea eax, [esp + 0x10]
mov ebp, 0x5bf7a0
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 0x41ec83
test eax, eax
je 0x41ec83
push ecx
lea ecx, [esi + 0xc]
call fcn.0054e4da
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.0054e4da
push 0xffffffffffffffff
push dword [esi + 0x18]
call edi
xor eax, eax
jmp 0x41ec86
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b4
ret
Function at 0x41ecae
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.004f9090
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 0x41ecef
inc ecx
cmp dword [ebp + 0x10], 0
je 0x41ecf8
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 0x41ed15
or eax, 0xffffffff
leave
ret
mov eax, dword [ebp - 0x2b0]
leave
ret

Function at 0x41edbb
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x56b55c
call fcn.004f8f84
push ecx
push ecx
push ebx
push 0x65535c
lea ecx, [ebp - 0x10]
call fcn.00554548
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0041e61b
pop ecx
test eax, eax
pop ecx
je 0x41edf7
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0055466b
mov eax, dword [0x64d578]
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.0054d2e9
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.005544d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005544d4
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41ee50
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x56b578
call fcn.004f8f84
push ecx
push ecx
push ebx
push 0x65535c
lea ecx, [ebp - 0x10]
call fcn.00554548
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0041e61b
pop ecx
test eax, eax
pop ecx
je 0x41ee8c
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0055466b
mov eax, dword [0x64d578]
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.0054d2e9
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.005544d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005544d4
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41ef6e
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 0x41efd0
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 0x41efd0
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x41efd2
xor eax, eax
pop esi
leave
ret

Function at 0x41f016
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x56b58c
call fcn.004f8f84
sub esp, 0x808
push esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00554548
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00554a11
push str..url
push dword [ebp - 0x10]
call fcn.004f9285
pop ecx
cmp eax, esi
pop ecx
je 0x41f05e
or esi, 0xffffffff
jmp 0x41f0b6
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 0x5bed4c
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x814]
push eax
call fcn.004f93e8
pop ecx
pop edi
test eax, eax
je 0x41f059
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x814]
push eax
call fcn.0055466b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005544d4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x420b8c
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 0x420bc4
or eax, 0xffffffff
jmp 0x420c39
cmp dword [ebp + 0xc], edi
mov dword [esi + 0x5c], 0xa
je 0x420c00
mov dword [ebp + 8], edi
push 0x64
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x420c0a
mov eax, dword [ebp + 0xc]
cmp dword [eax], edi
je 0x420bd3
add dword [ebp + 8], 0x64
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x58]
jl 0x420bd3
push 1
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x420c0a
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 0x420c21
cmp dword [eax], edi
je 0x420c21
push 1
pop eax
jmp 0x420c39
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 0x420c40
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 0x420c78
or eax, 0xffffffff
jmp 0x420cf0
cmp dword [ebp + 0xc], ebx
mov dword [esi + 0x5c], 0xa
je 0x420cb7
mov dword [ebp + 8], ebx
push 0x64
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x420cc1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x10]
jne 0x420c87
add dword [ebp + 8], 0x64
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x58]
jl 0x420c87
push 1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x420cc1
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 0x420cd8
cmp dword [eax], ebx
je 0x420cd8
push 1
pop eax
jmp 0x420cf0
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