joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c69b
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x50c800]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x43c6b8
mov edi, dword [eax + 4]
jmp 0x43c6ba
xor edi, edi
cmp edi, esi
jne 0x43c6ca
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x43c6ef
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x43c6ef
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43c6ef
push esi
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push edi
mov ecx, ebx
mov dword [ebx + 0x4d0], esi
call fcn.0043c8d8
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x18], ecx
jne 0x43c717
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x43c82c
mov eax, dword [0x50c800]
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x43c72e
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
mov eax, edi
call fcn.00410370
cmp dword [ebx + 0x4c0], esi
je 0x43c7c8
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x14]
je 0x43c78d
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x43c7a9
push esi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x43c7c8
push esi
push esi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x4d0], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x43c80d
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x43c80d
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x43c80d
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x50c800]
cmp eax, esi
je 0x43c81d
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x4d4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x43e1c6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4cba08
call fcn.004ca860
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x5040b4]
xor esi, esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x424], esi
push 2
push esi
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x14], ebx
jne 0x43e21e
call fcn.00447576
mov esi, eax
jmp 0x43e31f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x43e23b
call fcn.00447576
jmp 0x43e314
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x43e231
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
mov dword [ebp + 8], edi
jae 0x43e281
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x43e277
lea eax, [ebp - 0x424]
call fcn.0043f299
mov eax, 0x8007000e
jmp 0x43e33a
push 2
push eax
mov byte [ebp - 4], 2
call fcn.0043e36c
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x43e2a5
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.0043e34b
jmp 0x43e2b1
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x43e2cc
mov ebx, dword [ebp - 0x424]
cmp ebx, esi
jne 0x43e2dd
mov esi, 0x8007000e
jmp 0x43e316
call dword [0x5040b4]
push edi
push ebx
push edi
push dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x43e231
mov ecx, dword [ebp - 0x424]
push dword [ebp + 0x18]
mov word [ecx + eax*2], si
mov ecx, dword [ebp - 0x424]
lea edx, [ebp - 0x1c]
call fcn.0043e391
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x43e338
lea eax, [ebp - 0x424]
call fcn.0043f299
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x43f2a2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x43f2b5
push 0x80004005
call fcn.0040296e
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x43f2bc
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43f2ec
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [ecx]
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0xc]
push ecx
push 0x2001f
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, esi
jne 0x43f446
xor eax, eax
cmp dword [ebp - 8], esi
je 0x43f3c8
push dword [ebp - 8]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov dword [ebp - 8], ecx
jne 0x43f446
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push ecx
jmp 0x43f41c
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 8]
call fcn.0043f37f
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x43f459
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0x10], pe_nt_image_headers32
call edi
test eax, eax
je 0x43f3f0
cmp dword [ebp - 8], esi
je 0x43f436
push dword [ebp - 8]
call ebx
mov dword [ebp - 8], esi
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 8], esi
je 0x43f450
push dword [ebp - 8]
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], esi
je 0x43f463
push dword [ebp - 8]
call ebx
mov eax, dword [ebp - 0xc]
jmp 0x43f452
Function at 0x441ae9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4cd1b0
call fcn.004ca860
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
fld1
fstp qword [esi + 0x10]
mov dword [esi], vtable.CBkPngSkin.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov eax, vtable.CBkBitmap.0
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x70], edi
call fcn.00413d4b
lea ecx, [esi + 0x78]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x7c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x442ec4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
mov ebx, ecx
mov esi, dword [ebx + 8]
push edi
xor edi, edi
cmp esi, edi
je 0x44306a
cmp dword [ebx + 0x3c], edi
je 0x442eee
push 4
call fcn.004426c4
push dword [ebp + 8]
lea esi, [esp + 0x2c]
call fcn.00433224
mov esi, dword [ebx + 8]
call fcn.00425f93
mov esi, dword [ebx + 8]
mov dword [esp + 0x18], eax
call fcn.00425f73
fld1
fst dword [esp + 0x30]
mov dword [esp + 0x1c], eax
fldz
movzx eax, byte [ebp + 0x10]
fst dword [esp + 0x34]
mov dword [esp + 0x10], eax
fst dword [esp + 0x38]
lea eax, [esp + 0x20]
fst dword [esp + 0x3c]
push eax
fst dword [esp + 0x44]
mov dword [esp + 0x24], edi
fst dword [esp + 0x48]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fst dword [esp + 0x78]
fxch st(1)
fst dword [esp + 0x4c]
fst dword [esp + 0x64]
fild dword [esp + 0x14]
fdiv qword [0x4ed5f8]
fstp dword [esp + 0x7c]
fxch st(1)
fst dword [esp + 0x80]
fst dword [esp + 0x84]
fst dword [esp + 0x88]
fst dword [esp + 0x8c]
fstp dword [esp + 0x90]
fstp dword [esp + 0x94]
call sub.gdiplus.dll_GdipCreateImageAttributes
mov dword [esp + 0x24], eax
push 1
lea eax, [esp + 0x34]
push eax
lea esi, [esp + 0x28]
call fcn.0042808a
mov dword [esp + 0xc], edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp dword [esp + 0x18], eax
jg 0x443048
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
and dword [esp + 0x14], 0
cmp ecx, dword [esp + 0x10]
jg 0x443031
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x1c]
add eax, ecx
push eax
mov eax, dword [edi]
add eax, dword [esp + 0x18]
lea esi, [esp + 0x34]
push eax
mov eax, dword [ebx + 8]
call fcn.00425fb3
mov edx, dword [esp + 0x1c]
add dword [esp + 0x14], edx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x14]
sub ecx, eax
add esi, edx
cmp esi, ecx
mov dword [esp + 0x10], ecx
jle 0x442ff1
mov ecx, dword [esp + 0x18]
add dword [esp + 0xc], ecx
mov edx, dword [edi + 8]
mov esi, dword [esp + 0xc]
sub edx, dword [edi]
add esi, ecx
cmp esi, edx
jle 0x442fe2
cmp dword [ebx + 0x3c], 0
je 0x443058
mov esi, dword [ebx + 8]
push 4
call fcn.004426c4
push dword [esp + 0x20]
call sub.gdiplus.dll_GdipDisposeImageAttributes
push dword [esp + 0x28]
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x443671
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4cdf86
call fcn.004ca860
sub esp, 0x220
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0xc], esi
jne 0x4436a1
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
mov eax, dword [0x50bacc]
mov ecx, 0x50bacc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x206
lea eax, [ebp - 0x22a]
push esi
mov dword [ebp - 4], esi
push eax
mov word [ebp - 0x22c], si
call fcn.004a6df0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x22c]
push eax
call fcn.004a56c9
pop ecx
lea ecx, [ebp - 0x22c]
mov ebx, eax
push ecx
lea eax, [ebp - 0x14]
call fcn.004031d8
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403504
push 0x2e
lea esi, [ebp - 0x14]
call fcn.00433944
cmp eax, 0xffffffff
je 0x443753
mov ecx, eax
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.0040315b
mov edi, esi
mov byte [ebp - 4], 1
call fcn.00403197
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004027f4
mov edi, dword [ebp + 8]
mov eax, dword [0x50bacc]
mov ecx, 0x50bacc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
fld1
lea eax, [ebp - 0x14]
fstp qword [ebp - 0x24]
push eax
push edi
lea ecx, [ebp + 8]
call fcn.0044384b
test eax, eax
jne 0x4437a2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004027f4
jmp 0x44368e
mov ebx, dword [ebp + 8]
push 0x4e8648
push ebx
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4437bf
lea eax, [ebx - 0x10]
jmp 0x44378d
push esi
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x443787
push esi
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x443787
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x44380d
xor esi, esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004027f4
mov eax, esi
jmp 0x443690
mov esi, dword [ebp + 0x10]
lea edi, [ebx + 1]
push edi
call fcn.00402d5d
test eax, eax
je 0x44382a
push ebx
push dword [ebp + 0xc]
push eax
call fcn.004a5880
add esp, 0xc
mov eax, edi
call fcn.00402d44
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x443846
fld qword [ebp - 0x24]
fstp qword [eax]
xor esi, esi
inc esi
jmp 0x4437f0
Function at 0x449e20
Capabilities:
Hash data with md5

Disassembly:
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x58]
push ecx
push esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
call fcn.004a6df0
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret

Function at 0x44a647
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x44a677
push 0x98
call fcn.0046133b
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x44a66a
call fcn.00449e20
mov eax, ebx
jmp 0x44a66c
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x44a677
xor eax, eax
jmp 0x44a6ed
push ebp
push 0x4e8c78
push dword [esp + 0x14]
call fcn.004aaa18
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x44a692
xor eax, eax
jmp 0x44a6ec
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x44a6a6
push ebx
call fcn.00491d0c
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.004aacc7
add esp, 0x10
cmp eax, esi
je 0x44a6d7
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.00449e58
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.004aacc7
add esp, 0x10
test eax, eax
jne 0x44a6b9
push ebp
call fcn.004aad54
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.00449eef
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4

Function at 0x44a6f2
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push esi
push 0x58
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004a6df0
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.0044a754
push dword [ebp + 8]
mov eax, esi
call fcn.0044a7ea
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44b432
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x44b44a
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], 0x88
inc ecx
cmp ecx, dword [esp + 8]
jl 0x44b43a
ret 8
Function at 0x44d758
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x44d7f3
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
mov ebx, str.KAV7NEEDREBOOT
push ebx
push eax
call edi
cmp dword [ebp - 8], 1
je 0x44d79a
cmp dword [ebp - 8], 2
jne 0x44d7f1
push esi
mov esi, dword [ebp + 0xc]
call fcn.00403245
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.00402fc0
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push 0
push ebx
push dword [eax]
call edi
test eax, eax
jne 0x44d7d9
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x44d7e9
push eax
call fcn.004a56c9
pop ecx
mov edx, esi
call fcn.0040294d
pop esi
pop edi
pop ebx
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x44d7fa
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x44d81f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44d8e0
push edi
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [ebp - 4], 0x490
call fcn.004a6df0
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x44d88f
lea eax, [ebp - 0x20c]
push str.explorer.exe
push eax
call fcn.004a5e0c
test eax, eax
pop ecx
pop ecx
je 0x44d883
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44d859
jmp 0x44d898
mov edi, dword [ebp - 0x228]
and dword [ebp - 4], 0
jmp 0x44d898
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x44d8bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44d8df
push dword [ebp + 8]
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44d8d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push edi
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x44d9c5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
test esi, esi
jne 0x44d9d7
or eax, 0xffffffff
leave
ret
push 0x110
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004a6df0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44da1a
cmp dword [ebp - 0x110], 5
jne 0x44da1a
cmp dword [ebp - 0x10c], 0
je 0x44da27
push esi
call fcn.0044d8e3
test eax, eax
pop ecx
jne 0x44da27
leave
ret
push esi
call fcn.0044d7fa
pop ecx
leave
ret
Function at 0x44da30
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x44daf0
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 2
push dword [ebp + 8]
call esi
test eax, eax
jne 0x44da96
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44daef
push edi
push dword [ebp - 0xc]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push 2
push dword [ebp + 8]
call esi
test eax, eax
je 0x44dae3
cmp dword [edi], ebx
mov dword [ebp - 0x10], ebx
jbe 0x44dae3
lea esi, [edi + 4]
push dword [esi]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x44dadf
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add esi, 8
cmp eax, dword [edi]
jb 0x44dac1
jmp 0x44dae3
mov byte [ebp - 1], 1
cmp edi, ebx
je 0x44daee
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
cmp dword [ebp - 8], ebx
pop ebx
je 0x44daff
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov al, byte [ebp - 1]
leave
ret

Function at 0x44db04
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor edi, edi
push 1
push edi
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
jne 0x44db72
push 0x110
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.004a6df0
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44db6c
cmp dword [ebp - 0x118], 6
jne 0x44db6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44dba7
mov dword [esi], edi
xor eax, eax
jmp 0x44dba7
mov ecx, dword [ebp - 8]
xor eax, eax
cmp dword [ebp - 4], edi
push ebx
mov ebx, 0x490
jbe 0x44db9e
lea edx, [ecx + 8]
cmp dword [edx], edi
je 0x44db94
inc eax
add edx, 0xc
cmp eax, dword [ebp - 4]
jb 0x44db85
jmp 0x44db9e
imul eax, eax, 0xc
mov eax, dword [eax + ecx]
mov dword [esi], eax
xor ebx, ebx
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, ebx
pop ebx
pop edi
leave
ret
Function at 0x44e069
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4ceb2c
call fcn.004ca860
sub esp, 0x10
mov eax, dword [0x50bacc]
push ebx
push esi
mov esi, 0x50bacc
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x50bacc]
mov ecx, esi
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
mov eax, dword [0x50bacc]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
call fcn.0044dfe4
test eax, eax
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
je 0x44e138
lea eax, [ebp - 0x14]
push eax
call fcn.0044e045
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00403197
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004027f4
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x44e138
push str.binTimwp.exe
lea eax, [ebp - 0x10]
push eax
call fcn.00433844
mov edi, dword [ebp - 0x10]
push ebx
push edi
call fcn.004aa6d9
test eax, eax
pop ecx
pop ecx
jne 0x44e138
cmp dword [ebp + 8], ebx
je 0x44e138
push 1
push ebx
push dword [ebp + 8]
push edi
push str.open
push ebx
call esi
xor ecx, ecx
cmp eax, 0x20
setg cl
cmp ecx, ebx
mov dword [ebp - 0x10], ecx
jne 0x44e152
push 1
push ebx
push ebx
push dword [ebp + 0xc]
push str.open
push ebx
call esi
xor ecx, ecx
cmp eax, 0x20
setg cl
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004027f4
lea eax, [edi - 0x10]
call fcn.004027f4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004027f4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret