joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409be5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x409c24
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x409c24
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x409c24
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x409c24
cmp dword [ecx + 0x74], 0xe
jbe 0x409c24
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40c88c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x438004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40c8d7
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040ca27
test al, al
jne 0x40c8d1
sub edx, 2
cmp edx, edi
jne 0x40c8b7
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40c8f9
lea eax, [edi + 2]
cmp edx, eax
je 0x40c8f9
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040c7d8
add esp, 0x10
jmp 0x40c9f3
push esi
lea ecx, [ebp - 0x255]
call fcn.0040ca27
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c93c
push dword [ebp - 0x25c]
jmp 0x40c8e9
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40c979
cmp word [ebp - 0x226], 0
je 0x40c99a
cmp word [ebp - 0x226], ax
jne 0x40c979
cmp word [ebp - 0x224], 0
je 0x40c99a
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040c7d8
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40c9e6
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40c953
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40c9ce
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40c9f3
push 0x40c608
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00408920
add esp, 0x10
jmp 0x40c9c3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010c7
leave
ret

Function at 0x40e244
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c7e4
push 0x42c7dc
push str.FlsAlloc
push 0x1f
call fcn.0040e17f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40e278
push dword [ebp + 8]
mov ecx, esi
call dword [0x42a4ac]
call esi
jmp 0x40e27e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x40e2c2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c7f4
push 0x42c7ec
push str.FlsGetValue
push 0x21
call fcn.0040e17f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40e2f9
push dword [ebp + 8]
mov ecx, esi
call dword [0x42a4ac]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40e301
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c7fc
push 0x42c7f4
push str.FlsSetValue
push 0x22
call fcn.0040e17f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40e33b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42a4ac]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x415070
Capabilities:
Create process on windows
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x494
mov eax, dword [0x438004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
push 0x42fee0
push ebx
xor esi, esi
call fcn.00401c22
add esp, 8
test eax, eax
je 0x4150a3
lea esi, [edi + 1]
jmp 0x4150cc
push 0x42fee8
push ebx
call fcn.00401c22
add esp, 8
test eax, eax
je 0x4150cc
push 0xa
add eax, 4
mov esi, 1
push 0
push eax
call fcn.00404ba8
add esp, 0xc
mov edi, eax
call dword [sym.imp.dcapi.dll_is_win_vista]
mov ebx, eax
test ebx, ebx
je 0x41514b
lea eax, [ebp - 0x41c]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41514b
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], 0x208
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x438df4
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41513f
push 0x438df4
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, 1
call fcn.004152c0
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x415162
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004010c7
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4152a5
test edi, edi
jne 0x41526a
push edi
push 0x18
lea eax, [ebp - 0x490]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jne 0x415254
push 0x208
lea eax, [ebp - 0x418]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [ebp - 0x47c]
lea eax, [ebp - 0x418]
push eax
push str.__s___p_u
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00401010
add esp, 0x14
mov dword [ebp - 0x478], 0x44
lea eax, [ebp - 0x430]
xorps xmm0, xmm0
movlpd qword [ebp - 0x474], xmm0
movlpd qword [ebp - 0x46c], xmm0
push eax
lea eax, [ebp - 0x478]
movlpd qword [ebp - 0x464], xmm0
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x210]
movlpd qword [ebp - 0x45c], xmm0
push eax
push edi
movlpd qword [ebp - 0x454], xmm0
movlpd qword [ebp - 0x44c], xmm0
movlpd qword [ebp - 0x444], xmm0
movlpd qword [ebp - 0x43c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x415254
push dword [ebp - 0x430]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x42c]
call esi
mov eax, 0x1a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004010c7
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x415290
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41529b
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call fcn.004152c0
mov ecx, dword [ebp - 4]
mov eax, 0x19
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010c7
mov esp, ebp
pop ebp
ret
Function at 0x4152c0
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x438004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x418]
mov dword [ebp - 0x41c], 0
push eax
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x418]
push eax
push 0x42fed0
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00401010
add esp, 0x10
call dword [sym.imp.dcapi.dll_is_win_vista]
test eax, eax
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea eax, [ebp - 0x41c]
cmove ecx, edx
push eax
push ecx
push 0x80000002
test esi, esi
je 0x41538e
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x41534b
mov esi, 0xd
jmp 0x4153bd
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415354
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push 0x438df4
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4153bb
mov esi, 0xd
jmp 0x4153bd
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x41539f
mov esi, 0xd
jmp 0x4153bd
push 0x438df4
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4153bb
mov esi, 0xd
jmp 0x4153bd
xor esi, esi
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x4153ce
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004010c7
mov esp, ebp
pop ebp
ret

Function at 0x4153e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
push 0xffffffffffffffeb
push edi
call ebx
mov esi, eax
test esi, esi
je 0x4154a3
xor ecx, ecx
cmp dword [esi + 4], ecx
sete cl
cmp dword [esi + 0x10], 0
mov dword [esi + 4], ecx
je 0x415480
push edi
call dword [sym.imp.USER32.dll_GetParent]
push 0xffffffffffffffeb
push eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x4154a3
mov eax, dword [ebp - 4]
mov dword [ebx + 8], eax
add eax, 4
mov dword [ebx], edi
cmp dword [esi + eax*4], 0xffffffff
lea eax, [esi + eax*4]
mov dword [ebp - 4], eax
je 0x41546a
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 4]
call esi
mov ecx, dword [ebp - 4]
push 5
mov eax, dword [ecx]
push eax
mov dword [ebx + 4], eax
call esi
push 1
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x415491
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [sym.imp.USER32.dll_GetParent]
push 0
push edi
push 0x401
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417420
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x438004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.004023d0
add esp, 0xc
mov dword [ebp - 0x42c], esi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x428], 0
lea edi, [esi + 0x1244]
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], eax
push 0
push 0
push edi
mov dword [ebp - 0x41c], 0
call dword [sym.imp.dcapi.dll_dc_mount_volume]
add esp, 0xc
test eax, eax
je 0x417568
lea eax, [ebp - 0x42c]
push eax
push 0x420790
push dword [0x43ad48]
push 0x6b
push 0
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x41758b
xor ecx, ecx
mov eax, 8
cmp word [ebp - 0x210], cx
cmovne ecx, eax
mov eax, dword [ebp - 0x41c]
neg eax
sbb eax, eax
and eax, 0x20
or ecx, eax
push ecx
push dword [ebp - 0x428]
push edi
call dword [sym.imp.dcapi.dll_dc_mount_volume]
add esp, 0xc
mov edi, eax
push dword [ebp - 0x428]
call dword [sym.imp.dcapi.dll_secure_free]
add esp, 4
test edi, edi
jne 0x41759b
cmp word [ebp - 0x210], di
je 0x417568
lea eax, [esi + 0x144c]
push eax
push 0x431dd8
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.00401010
add esp, 0x10
lea ecx, [ebp - 0x210]
call fcn.004264b0
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
test eax, eax
jne 0x417568
push eax
push str.Error_when_adding_mount_point
push dword [0x43ad48]
call fcn.00426320
add esp, 0xc
test byte [0x43acc4], 4
je 0x41758b
push 1
push 0
push 0
lea eax, [esi + 0x1678]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004010c7
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x1678]
push eax
push edi
push str.Error_mount_volume___s_
push dword [0x43ad48]
call fcn.00426320
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
call fcn.004010c7
mov esp, ebp
pop ebp
ret
Function at 0x419f60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.dcapi.dll_secure_alloc]
push edi
mov edi, ecx
mov dword [ebp - 8], edx
push 0x104
mov dword [ebp - 0xc], edi
call esi
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41a072
push 0x102
call esi
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x41a072
push 0x81
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419fb4
sub ecx, edx
sar ecx, 1
je 0x419fff
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419fd0
push dword [ebp - 4]
sub ecx, edx
lea edi, [ebx + 4]
sar ecx, 1
lea eax, [ecx + ecx]
mov ecx, 0x100
cmp eax, ecx
cmovb ecx, eax
mov dword [ebx], ecx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.dcapi.dll_secure_free]
add esp, 4
cmp dword [ebp - 8], 0
je 0x41a069
cmp dword [ebp + 8], 1
mov edi, 0x43acb0
mov eax, 0x43aca8
cmovne edi, eax
mov esi, dword [edi]
cmp esi, edi
je 0x41a069
test esi, esi
je 0x41a069
lea eax, [esi + 8]
push eax
push ebx
call dword [sym.imp.dcapi.dll_dc_add_keyfiles]
add esp, 8
test eax, eax
jne 0x41a045
mov esi, dword [esi]
cmp esi, edi
je 0x41a069
test esi, esi
jne 0x41a020
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push str.Keyfiles_not_loaded
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00426320
add esp, 0xc
push ebx
call dword [sym.imp.dcapi.dll_secure_free]
add esp, 4
xor ebx, ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41dd30
Capabilities:
Extract resource via kernel32 functions
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x438004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x2c
lea eax, [ebp - 0x614]
mov dword [ebp - 0x618], 0x30
push 0
push eax
mov edi, ecx
call fcn.004023d0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x4329c0
push 0x4329cc
push str._s__S
push 0x104
push eax
call fcn.00401010
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0
push 0x15
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x43accc
mov ecx, edi
call fcn.00419090
mov ebx, dword [sym.imp.USER32.dll_RegisterHotKey]
xor esi, esi
nop word [eax + eax]
mov ecx, dword [esi*4 + 0x43accc]
test ecx, ecx
je 0x41dde1
movzx eax, word [esi*4 + 0x43acce]
push eax
movzx eax, cx
push eax
push esi
push dword [0x43ad48]
call ebx
inc esi
cmp esi, 4
jl 0x41ddc0
mov eax, dword [0x43ad48]
push 0x7b
push dword [0x43ad5c]
mov dword [ebp - 0x5e8], 0x3a8
mov dword [ebp - 0x5e4], eax
mov dword [ebp - 0x5e0], 0x7b
mov dword [ebp - 0x5dc], 7
mov dword [ebp - 0x5d8], 0x8001
call dword [sym.imp.USER32.dll_LoadIconW]
movups xmm0, xmmword [0x4329cc]
push 0x378
mov dword [ebp - 0x5d4], eax
lea eax, [ebp - 0x5b8]
movups xmmword [ebp - 0x5d0], xmm0
push 0
movq xmm0, qword [0x4329dc]
push eax
movq qword [ebp - 0x5c0], xmm0
call fcn.004023d0
add esp, 0xc
lea eax, [ebp - 0x5e8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
lea eax, [ebp - 0x618]
mov dword [ebp - 0x614], 0x100
push eax
push 0
push 0x9c59
push edi
mov dword [ebp - 0x610], 0x4000
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push 0
push dword [0x43ad64]
push 0x30
push 0x493
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 5
push 0x65
push dword [0x43ad5c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41df89
push esi
push dword [0x43ad5c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [0x43ad5c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41df89
movsx ecx, word [eax + 0x12]
mov dword [ebp - 0x220], ecx
movsx ecx, word [eax + 0x14]
mov dword [ebp - 0x21c], ecx
movsx ecx, word [eax + 0x16]
movsx eax, word [eax + 0x18]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x220]
push eax
push edi
mov dword [ebp - 0x218], ecx
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x214]
mov dword [0x439c38], eax
mov eax, dword [ebp - 0x224]
mov dword [0x439c40], ecx
cmp ecx, eax
je 0x41df89
movzx ecx, ax
movzx eax, word [ebp - 0x228]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 5
push edi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010c7
mov esp, ebp
pop ebp
ret
Function at 0x426210
Capabilities:
Shutdown system
Terminate process

Disassembly:
push ecx
push str.SeShutdownPrivilege
call dword [sym.imp.dcapi.dll_enable_privilege]
add esp, 4
test eax, eax
jne 0x426234
push eax
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push eax
push 0
push 0
call fcn.00426320
add esp, 0xc
pop ecx
ret
Function at 0x428250
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x438004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, edx
push eax
push ecx
xor edi, edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebx + 4]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x428285
sub edx, esi
sar edx, 1
je 0x4282f1
nop word [eax + eax]
lea ecx, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4282cc
test dx, dx
je 0x4282c8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4282cc
add eax, 4
add ecx, 4
test dx, dx
jne 0x4282a6
xor eax, eax
jmp 0x4282d1
sbb eax, eax
or eax, 1
test eax, eax
je 0x428305
mov eax, dword [ebx + edi*8 + 0xc]
inc edi
mov edx, eax
lea esi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4282e0
sub edx, esi
sar edx, 1
jne 0x4282a0
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004010c7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + edi*8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010c7
mov esp, ebp
pop ebp
ret
Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x407ccd
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x3d
xor ebx, ebx
push esi
mov dword [ebp - 8], ebx
call 0x3ccb62
cmp eax, ebx
pop ecx
pop ecx
je 0x407e38
mov word [eax], bx
mov cx, word [esi]
cmp cx, 0x53
jne 0x407d10
add eax, 2
push eax
lea eax, [ebp - 0x30]
push eax
call 0x3b9495
mov byte [ebp + 0xf], bl
jmp 0x407d3b
cmp cx, 0x4f
jne 0x407e38
push 0x10
lea ecx, [ebp - 0x18]
push ecx
add eax, 2
push eax
call 0x3ecf91
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x407e38
mov byte [ebp + 0xf], 1
push dword [ebp + 8]
call 0x3c84b9
mov edi, eax
cmp word [edi + 6], bx
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 4], ebx
jbe 0x407e34
cmp dword [esi + 0xc], ebx
je 0x407e21
cmp dword [esi + 8], ebx
je 0x407e21
cmp byte [ebp + 0xf], bl
jne 0x407dbc
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x1e], 8
mov word [ebp - 0x20], bx
movzx eax, word [ebp - 0x20]
cmp byte [eax + esi], bl
je 0x407d92
inc word [ebp - 0x20]
cmp word [ebp - 0x20], 8
jb 0x407d7e
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call 0x3c6d1b
test eax, eax
jl 0x407e38
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call 0x3cfb88
test eax, eax
je 0x407dcb
cmp byte [ebp + 0xf], 1
jne 0x407e13
mov eax, dword [ebp - 4]
inc eax
cmp dword [ebp - 8], eax
jne 0x407e21
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
call 0x3c58d0
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push 0x7c94fc42
push 3
push 0x57
call 0x3d6cd5
add esp, 0x1c
cmp byte [ebp + 0xf], 1
je 0x407e34
cmp byte [ebp + 0xf], bl
jne 0x407e21
lea eax, [ebp - 0x28]
push eax
call 0x3c8646
movzx eax, word [edi + 6]
inc dword [ebp - 4]
add esi, 0x28
cmp dword [ebp - 4], eax
jb 0x407d5a
mov al, 1
jmp 0x407e3a
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4084c9
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
add eax, 0xc
cmp edi, eax
je 0x40850c
cmp dword [edi + 8], ebx
je 0x408508
push edi
push esi
call 0x41f0ab
test al, al
jne 0x40850c
mov edi, dword [edi]
jmp 0x4084e5
cmp dword [esi + 0x24], ebx
jne 0x408518
mov eax, 0xc0000135
jmp 0x408542
mov eax, dword [esi + 0x2c]
push ebx
push ebx
push dword [eax + 0x18]
call 0x3d5cd2
cmp eax, ebx
jl 0x408542
push ebx
push esi
call 0x41eb21
push ebx
mov edi, eax
mov eax, dword [esi + 0x2c]
push 1
push dword [eax + 0x18]
call 0x3d5cd2
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x40c05f
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edi, dword [eax + 0xc]
add edi, 0x1c
mov esi, dword [edi]
jmp 0x40c08c
push dword [ebp + 8]
push dword [esi + 0x20]
call 0x3cb558
test eax, eax
pop ecx
pop ecx
je 0x40c0aa
mov esi, dword [esi]
cmp esi, edi
jne 0x40c079
push dword [ebp + 8]
push 0x7c953ec4
call 0x3e7d3f
pop ecx
pop ecx
call 0x3b940e
pop edi
pop esi
pop ebp
ret 4
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [edi + 4]
mov dword [esi], edi
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [edi + 4], esi
jmp 0x40c0a4

Function at 0x40c9ab
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x30]
ret