joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449f20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c1c2b
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x25c], eax
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
push 0x4de528
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0040a470
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x27c], 0
call fcn.0040e660
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x449f9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov byte [esp + 0xf], 0
lea ebx, [ebx]
mov ecx, 0x4de52c
lea eax, [esp + 0x40]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x449fe6
test dx, dx
je 0x449fe2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x449fe6
add eax, 4
add ecx, 4
test dx, dx
jne 0x449fc0
xor eax, eax
jmp 0x449feb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44a03d
mov ecx, 0x4de530
lea eax, [esp + 0x40]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44a01e
test dx, dx
je 0x44a01a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44a01e
add eax, 4
add ecx, 4
test dx, dx
jne 0x449ff8
xor eax, eax
jmp 0x44a023
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44a03d
lea edx, [esp + 0x40]
push 0x4de538
push edx
call fcn.0046e341
add esp, 8
test eax, eax
jne 0x44a04f
lea eax, [esp + 0x14]
push eax
push esi
call edi
test eax, eax
jne 0x449fb0
jmp 0x44a054
mov byte [esp + 0xf], 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0xf], 0
jne 0x44a06e
push str.driver_
mov ecx, ebx
call fcn.00409f90
lea ecx, [esp + 0x10]
call fcn.00409f10
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret
Function at 0x44aa70
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c5b30
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x60]
call fcn.00409d60
test eax, eax
jle 0x44acad
lea ebx, [edi + 0x78]
mov ecx, ebx
call fcn.0040e660
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ab74
lea ecx, [edi + 0x6c]
call fcn.00409d60
test eax, eax
jle 0x44ab74
mov ecx, ebx
call fcn.0040e660
push eax
lea esi, [esp + 0x18]
call fcn.0044c2d0
add esp, 4
mov ecx, esi
mov dword [esp + 0x28], 0
call fcn.00409d60
mov esi, eax
push esi
lea ecx, [esp + 0x18]
call fcn.00409c60
lea ecx, [esi + 1]
push ecx
push eax
call fcn.0046f6f1
add esp, 8
push esi
lea ecx, [esp + 0x18]
call fcn.0040b1e0
lea ecx, [edi + 0x6c]
call fcn.00448c00
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0040a520
add esp, 8
test al, al
je 0x44ab55
lea ecx, [esp + 0x14]
call fcn.00409f10
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.0040e660
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.00409f10
mov ecx, ebx
call fcn.0040e660
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44abfb
mov ecx, ebx
call fcn.0040e660
push eax
lea ecx, [edi + 0x60]
call fcn.0040e660
push eax
call fcn.0044c160
add esp, 8
test al, al
jne 0x44abfb
lea esi, [edi + 0x64]
mov ecx, esi
call fcn.00409d60
test eax, eax
je 0x44abfb
mov ecx, ebx
call fcn.0040e660
push eax
mov ecx, esi
call fcn.0040e660
push eax
call fcn.0044c160
add esp, 8
test al, al
jne 0x44abfb
lea esi, [edi + 0x68]
mov ecx, esi
call fcn.00409d60
test eax, eax
je 0x44abfb
mov ecx, ebx
call fcn.0040e660
push eax
mov ecx, esi
call fcn.0040e660
push eax
call fcn.0044c160
add esp, 8
test al, al
je 0x44acad
add edi, 0x6c
mov ecx, edi
call fcn.00409d60
test eax, eax
jle 0x44ab40
mov ecx, ebx
call fcn.0040e660
push eax
lea esi, [esp + 0x1c]
call fcn.0044c2d0
add esp, 4
mov ecx, edi
mov dword [esp + 0x28], 1
call fcn.00409d60
mov esi, eax
push esi
mov ecx, edi
call fcn.00409c60
lea ecx, [esi + 1]
push ecx
push eax
call fcn.0046f6f1
add esp, 8
push esi
mov ecx, edi
call fcn.0040b1e0
lea ecx, [esp + 0x18]
call fcn.00409d60
mov esi, eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00409c60
lea edx, [esi + 1]
push edx
push eax
call fcn.0046f6f1
add esp, 8
push esi
lea ecx, [esp + 0x1c]
call fcn.0040b1e0
lea eax, [esp + 0x18]
push edi
push eax
call fcn.0040a520
add esp, 8
test al, al
je 0x44ac96
lea ecx, [esp + 0x18]
jmp 0x44ab3b
mov ecx, ebx
call fcn.0040e660
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x18]
call fcn.00409f10
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b120
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push edi
call ebx
cmp byte [esi + 0x30], 0
mov ebp, eax
jne 0x44b16a
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
call ebx
sub eax, ebp
cmp eax, 0xea60
ja 0x44b18f
lea eax, [esi + 0x54]
call fcn.0044bff0
cmp eax, 2
je 0x44b15d
cmp eax, 1
jne 0x44b198
push 0x3e8
call edi
cmp byte [esi + 0x30], 0
je 0x44b140
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], str.user_cancel
call fcn.0046d347
push 0x4e9138
lea ecx, [esp + 0x14]
push ecx
call fcn.0046d658
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
pop edi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret

Function at 0x44b1f0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4c1bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebp, ebp
push ebp
mov ecx, ebx
call fcn.0040e660
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
push edi
call fcn.0046cf6d
add esp, 4
mov esi, eax
push esi
push edi
push ebp
mov ecx, ebx
call fcn.0040e660
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44b306
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.VarFileInfoTranslation
push esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
call sub.VERSION.dll_VerQueryValueW
lea ecx, [esp + 0x10]
call fcn.00409dd0
mov dword [esp + 0x28], ebp
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov ecx, eax
movzx edx, ax
shr ecx, 0x10
push ecx
push edx
lea eax, [esp + 0x18]
push str.StringFileInfo_04x_04xFileDescription
push eax
call fcn.0040e7a0
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], ebp
call fcn.0040e660
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44b2fd
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x44b2fd
push 0x24
push str.SAMSUNG_USB_Driver_for_Mobile_Phones
push eax
call fcn.0048729b
add esp, 0xc
test eax, eax
jne 0x44b2fd
push esi
call fcn.0046df1a
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00409f10
lea eax, [ebp + 1]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
lea ecx, [esp + 0x10]
call fcn.00409f10
push esi
call fcn.0046df1a
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
Function at 0x44b330
Capabilities:
Get number of processors
Hide graphical window
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4c4650
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea esi, [esp + 0x24]
call fcn.0044c490
mov edi, dword [esp + 0x64]
mov dword [esp + 0x58], 0
call fcn.0044c550
lea ecx, [esp + 0x14]
call fcn.00409dd0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 1
call fcn.00409f30
mov eax, dword [esp + 0x30]
test eax, eax
jl 0x44b499
mov ebp, dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44b3b0
cmp eax, 0x64
jge 0x44b499
mov ecx, dword [esp + 0x60]
cmp byte [ecx + 0x30], 0
je 0x44b477
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x44b426
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44b426
mov edx, dword [esp + 0x2c]
push 2
push 0xff
push 0
push edx
call ebp
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffec
push eax
call ebx
mov ecx, dword [esp + 0x2c]
push 0
mov esi, eax
push ecx
and esi, 0xffffff7f
call edi
mov edx, dword [esp + 0x2c]
push esi
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esp + 0x2c]
push 5
push eax
call edi
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], 1
test eax, eax
je 0x44b469
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44b456
mov edx, dword [esp + 0x38]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x60]
cmp byte [ecx + 0x30], 0
jne 0x44b510
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x18]
call fcn.00409f30
mov eax, dword [esp + 0x30]
test eax, eax
jge 0x44b3b0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x44b4bd
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x38], 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.00409f30
xor ecx, ecx
cmp dword [esp + 0x30], 0x64
sete cl
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00409f10
mov eax, dword [esp + 0x38]
test eax, eax
je 0x44b4ef
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x34]
call fcn.00409f10
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x64], str.user_cancel
call fcn.0046d347
push 0x4e9138
lea ecx, [esp + 0x1c]
push ecx
call fcn.0046d658
int3
Function at 0x44b540
Capabilities:
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
cmp byte [ecx + 0x82], 0
je 0x44b588
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
push 0
push 0x44b590
mov edi, eax
call dword [sym.imp.USER32.dll_EnumWindows]
call esi
mov ecx, dword [esp + 0xc]
sub eax, edi
pop edi
pop esi
cmp eax, ecx
jbe 0x44b57d
mov dword [esp + 4], 0
jmp 0x4aeb40
sub ecx, eax
mov dword [esp + 4], ecx
jmp 0x4aeb40
jmp 0x4aeb40
jmp dword [sym.imp.SETUPAPI.dll_CMP_WaitNoPendingInstallEvents]

Function at 0x44c160
Capabilities:
Check if file exists
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c5b00
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
lea ecx, [esp + 0x34]
call fcn.004b2880
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], vtable.FinishTrigger.0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x50], 1
call fcn.004b27d0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x34]
call fcn.004b2710
push ebx
push ebx
lea ecx, [esp + 0x38]
call fcn.004b27a0
cmp dword [esp + 0x1c], ebx
jne 0x44c213
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea esi, [edi + 0x24]
push 0x64
call ebp
mov eax, dword [esp + 0x20]
cmp eax, 0x64
jge 0x44c265
cmp eax, ebx
jg 0x44c1f9
xor eax, eax
push ebx
push ebx
push ebx
push eax
push 2
push 2
mov ecx, esi
call fcn.004b2750
cmp byte [edi + 0x30], bl
jne 0x44c26c
cmp dword [esp + 0x1c], ebx
je 0x44c1e6
lea ecx, [esp + 0x30]
call fcn.004b2840
cmp dword [esp + 0x1c], 1
je 0x44c291
mov edx, dword [esp + 0x54]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44c291
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], bl
call fcn.004bcfd0
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xffffffff
call fcn.004b2800
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, 0x64
jmp 0x44c1f9
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], str.user_cancel
call fcn.0046d347
push 0x4e9138
lea ecx, [esp + 0x28]
push ecx
call fcn.0046d658
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], bl
call fcn.004bcfd0
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xffffffff
call fcn.004b2800
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
Function at 0x44c490
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x11c], eax
push edi
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], 0xffffffff
call fcn.00409dd0
push 0x118
lea eax, [esp + 0xc]
push edi
push eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
call fcn.0046dea0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 8], 6
pop edi
jae 0x44c506
mov eax, 1
jmp 0x44c50b
call fcn.0044cf20
mov ecx, dword [esp + 0x11c]
mov dword [esi + 0x24], eax
xor ecx, esp
mov eax, esi
call fcn.0046da8a
add esp, 0x120
ret

Function at 0x44c550
Capabilities:
Check os version
Create process on windows
Create thread
Terminate process

Disassembly:
sub esp, 0x15c
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
call fcn.0044cb50
xor ebx, ebx
cmp eax, ebx
je 0x44c58a
push eax
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
je 0x44c58a
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x118
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.0046dea0
add esp, 0xc
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x38
lea edx, [esp + 0xc]
push ebx
push edx
mov dword [esp + 0x10], ebx
call fcn.0046dea0
add esp, 0xc
mov ecx, edi
call fcn.0040e660
cmp dword [esp + 0x44], 6
mov dword [esp + 0x14], eax
sbb eax, eax
not eax
lea ecx, [esp + 4]
and eax, str.runas
push ecx
mov dword [esp + 8], 0x3c
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x24], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x44c621
mov dword [esi + 0xc], 0xffffffff
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0046da8a
add esp, 0x15c
ret
mov edx, dword [esp + 0x3c]
lea ecx, [esi + 0x10]
mov dword [esi], edx
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.00409bf0
push ebx
push ebx
push esi
push 0x44c670
push ebx
push ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x15c]
pop ebx
xor ecx, esp
mov dword [esi + 0x14], eax
call fcn.0046da8a
add esp, 0x15c
ret
Function at 0x44cb50
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push 0xffffffffffffffff
push 0x4c4476
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x238], eax
push ebp
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
push str.SAMSUNGUSB_DriversSetup.exe
lea ecx, [esp + 0x18]
call fcn.00409e10
lea ecx, [esp + 0x14]
mov dword [esp + 0x254], 0
call fcn.00409d60
mov esi, eax
push esi
lea ecx, [esp + 0x18]
call fcn.00409c60
lea ecx, [esi + 1]
push ecx
push eax
call fcn.0046f6f1
add esp, 8
push esi
lea ecx, [esp + 0x18]
call fcn.0040b1e0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
je 0x44cd30
push 0x228
lea edx, [esp + 0x24]
push 0
push edx
call fcn.0046dea0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x24], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x44cc1e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44cd30
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x44cd1a
lea ecx, [esp + 0x10]
call fcn.00409dd0
push 0x104
push 0x105
lea ecx, [esp + 0x18]
mov byte [esp + 0x25c], 1
call fcn.00409c60
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
lea ecx, [esp + 0x10]
call fcn.0040b310
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.0040b280
add esp, 8
push eax
lea ecx, [esp + 0x14]
call fcn.0040b380
lea ecx, [esp + 0x10]
call fcn.00409d60
mov esi, eax
push esi
lea ecx, [esp + 0x14]
call fcn.00409c60
lea ecx, [esi + 1]
push ecx
push eax
call fcn.0046f6f1
add esp, 8
push esi
lea ecx, [esp + 0x14]
call fcn.0040b1e0
lea ecx, [esp + 0x14]
call fcn.0040e660
mov esi, eax
test esi, esi
je 0x44cd02
lea ecx, [esp + 0x10]
call fcn.00409d60
test eax, eax
jl 0x44cd02
push esi
lea ecx, [esp + 0x14]
call fcn.0040e660
push eax
call fcn.004086b0
mov esi, eax
add esp, 8
test esi, esi
je 0x44cd02
lea ecx, [esp + 0x10]
call fcn.0040e660
sub esi, eax
sar esi, 1
cmp esi, 0xffffffff
jne 0x44cd62
push edi
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x254], 0
call fcn.00409f10
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44cc24
push esi
call ebp
lea ecx, [esp + 0x14]
call fcn.00409f10
xor eax, eax
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.0046da8a
add esp, 0x248
ret
push edi
call ebp
mov eax, dword [esp + 0x18]
push eax
call ebp
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x10]
call fcn.00409f10
lea ecx, [esp + 0x14]
call fcn.00409f10
mov eax, esi
jmp 0x44cd3b
Function at 0x44cef0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esi]
test eax, eax
je 0x44cf11
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov dword [esi + 0xc], 0xffffffff
lea ecx, [esi + 0x10]
jmp fcn.00409f30

Function at 0x44cf20
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x44cf86
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov eax, dword [esp + 8]
cmp eax, ebx
pop ebx
je 0x44cf96
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp]
xor ecx, esp
call fcn.0046da8a
add esp, 0x14
ret

Function at 0x44cfb0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 8]
test eax, eax
je 0x44d01a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44d01a
mov eax, dword [esi + 8]
push ebx
push edi
push 2
push 0xff
push 0
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, dword [esi + 8]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov edi, eax
push edx
and edi, 0xffffff7f
call ebx
mov eax, dword [esi + 8]
push edi
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 8]
push 5
push ecx
call ebx
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop edi
pop ebx
ret
Function at 0x45239a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 9
push esi
push edi
mov esi, ecx
jne 0x452474
lea eax, [ebp + 0xc]
push 0x4c8a44
push eax
call fcn.004684be
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004b3e30
add esp, 0x10
push dword [esi + 0x10]
lea ecx, [ebp - 4]
call fcn.00409e90
push dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.00448b80
test eax, eax
jne 0x452444
mov ecx, dword [esi + 0x14]
call fcn.00464cbb
push 0
test al, al
jne 0x452440
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0x8bc2
push dword [esi - 0x434]
call edi
push 0
push 0
push 0x8bb8
push dword [esi - 0x434]
call edi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004085f0
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.004085f0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004085f0
jmp 0x4524c5
push 2
jmp 0x452461
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x452454
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x45244c
push 0
push 1
push 0x8bb8
push dword [esi - 0x434]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x45241a
cmp dword [ebp + 0xc], 0xb
jne 0x452480
push 0
push 1
jmp 0x4524b4
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [esi + 8]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
fild qword [ebp - 0xc]
fild qword [edi + 8]
fdivp st(1)
fmul qword [0x4c8a58]
call fcn.0046ddf0
push eax
push 3
push 0x8bb8
push dword [esi - 0x434]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop edi
inc eax
pop esi
leave
ret 0xc

Function at 0x459386
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 4]
push ebx
push esi
push dword [esp + 0x14]
mov esi, 0x400000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4593fd
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4593cc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4593cc
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4593d0
xor eax, eax
jmp 0x4593fc
mov ecx, dword [esp + 0x14]
push edi
push eax
lea eax, [edi + 1]
push eax
call fcn.0040b520
push eax
call fcn.0046e9c0
mov ecx, dword [esp + 0x20]
add esp, 0xc
push edi
call fcn.00409d80
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret