joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b835
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cd585
call fcn.004cc790
push ecx
push ebx
push esi
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b898
cmp dword [ebp + 0xc], 0
je 0x43b898
mov esi, dword [ebp + 8]
call fcn.00419917
push esi
push eax
call fcn.00432867
call fcn.00417c1e
mov ebx, eax
call fcn.00417d7f
push 0x1770
call fcn.00447ba1
mov dword [esp], 0x1771
call fcn.004406ec
mov dword [esp], 0x1772
call fcn.004402c7
jmp 0x43b8ba
push 0x2710
call fcn.004406ec
mov dword [esp], 0x2711
call fcn.004402c7
mov dword [esp], 0x2712
call fcn.00447ba1
mov eax, dword [ebp + 8]
pop ecx
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x43b95b
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d2501
call fcn.004cc790
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
xor ebx, ebx
call fcn.00401367
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push esi
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0047c204
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
test edi, edi
je 0x43b9e9
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov edi, esp
call fcn.00401367
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov edi, esp
call fcn.00401367
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
call fcn.0043b09e
pop ecx
pop ecx
mov ebx, eax
lea eax, [esi - 0x10]
call fcn.004011c0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43cb0d
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x50f9a4]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x43cb2a
mov edi, dword [eax + 4]
jmp 0x43cb2c
xor edi, edi
cmp edi, esi
jne 0x43cb3c
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x43cb61
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x43cb61
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43cb61
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.0043cf97
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x43cb87
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x43cc89
mov edx, eax
call fcn.0041a6e5
mov dword [esp + 0x20], eax
mov eax, edi
call fcn.0040e530
cmp dword [ebx + 0x4c0], esi
je 0x43cc2c
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 0x43cbf1
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 0x43cc0d
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 0x43cc2c
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 0x43cc71
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x43cc71
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x43cc71
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0041a6e5
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 0x43cd5f
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x50f9a4]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x43cd7c
mov ebp, dword [eax + 4]
jmp 0x43cd7e
xor ebp, ebp
cmp ebp, esi
jne 0x43cd8e
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x43cdb3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x43cdb3
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43cdb3
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [ebx + 0x51c], esi
push ebp
mov dword [eax], esi
call fcn.0043d12f
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x43cddc
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x43ceb8
mov edx, eax
call fcn.0041a6e5
mov dword [esp + 0x20], eax
mov eax, ebp
call fcn.0040e530
cmp dword [ebx + 0x510], esi
je 0x43ce5e
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, 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 edi, dword [esp + 0x14]
je 0x43ce42
push 1
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x14]
je 0x43ce5e
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.0040e7fe
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x51c], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x43cea3
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x43cea3
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x43cea3
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0041a6e5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x43eafd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4ce17c
call fcn.004cc790
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x5070b4]
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 0x43eb55
call fcn.00447eb2
mov esi, eax
jmp 0x43ec56
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x43eb72
call fcn.00447eb2
jmp 0x43ec4b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x43eb68
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 0x43ebb8
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x43ebae
lea eax, [ebp - 0x424]
call fcn.0043fc37
mov eax, 0x8007000e
jmp 0x43ec71
push 2
push eax
mov byte [ebp - 4], 2
call fcn.0043ec82
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x43ebdc
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.0043fc40
jmp 0x43ebe8
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x43ec03
mov ebx, dword [ebp - 0x424]
cmp ebx, esi
jne 0x43ec14
mov esi, 0x8007000e
jmp 0x43ec4d
call dword [0x5070b4]
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 0x43eb68
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.0043eca7
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x43ec6f
lea eax, [ebp - 0x424]
call fcn.0043fc37
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x43fbc2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x43fbd5
push 0x80004005
call fcn.0040131e
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 0x43fbdc
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 0x43fc0c
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 0x43fcd6
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 0x43fd9d
xor eax, eax
cmp dword [ebp - 8], esi
je 0x43fd1f
push dword [ebp - 8]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov dword [ebp - 8], ecx
jne 0x43fd9d
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 0x43fd73
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 8]
call fcn.0043fcd6
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x43fdb0
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 0x43fd47
cmp dword [ebp - 8], esi
je 0x43fd8d
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 0x43fda7
push dword [ebp - 8]
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], esi
je 0x43fdba
push dword [ebp - 8]
call ebx
mov eax, dword [ebp - 0xc]
jmp 0x43fda9
Function at 0x4423e5
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4ceea0
call fcn.004cc790
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.00412576
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 0x4437b1
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 0x443957
cmp dword [ebx + 0x3c], edi
je 0x4437db
push 4
call fcn.00442fb1
push dword [ebp + 8]
lea esi, [esp + 0x2c]
call fcn.00431f00
mov esi, dword [ebx + 8]
call fcn.004248dd
mov esi, dword [ebx + 8]
mov dword [esp + 0x18], eax
call fcn.004248bd
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 [0x4ef9d8]
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.004269ac
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 0x443935
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 0x44391e
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.004248fd
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 0x4438de
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 0x4438cf
cmp dword [ebx + 0x3c], 0
je 0x443945
mov esi, dword [ebx + 8]
push 4
call fcn.00442fb1
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 0x443f5e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4cfe6f
call fcn.004cc790
sub esp, 0x220
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0xc], esi
jne 0x443f8e
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 [0x50ec24]
mov ecx, 0x50ec24
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.004954a0
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.004953a9
pop ecx
lea ecx, [ebp - 0x22c]
mov ebx, eax
push ecx
lea eax, [ebp - 0x14]
call fcn.0040140a
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00432867
push 0x2e
lea esi, [ebp - 0x14]
call fcn.00432773
cmp eax, 0xffffffff
je 0x444040
mov ecx, eax
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.004326e7
mov edi, esi
mov byte [ebp - 4], 1
call fcn.004013c9
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov edi, dword [ebp + 8]
mov eax, dword [0x50ec24]
mov ecx, 0x50ec24
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.00444138
test eax, eax
jne 0x44408f
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
jmp 0x443f7b
mov ebx, dword [ebp + 8]
push 0x4ea880
push ebx
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4440ac
lea eax, [ebx - 0x10]
jmp 0x44407a
push esi
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x444074
push esi
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x444074
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x4440fa
xor esi, esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, esi
jmp 0x443f7d
mov esi, dword [ebp + 0x10]
lea edi, [ebx + 1]
push edi
call fcn.0041c456
test eax, eax
je 0x444117
push ebx
push dword [ebp + 0xc]
push eax
call fcn.00497cd0
add esp, 0xc
mov eax, edi
call fcn.004195b5
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x444133
fld qword [ebp - 0x24]
fstp qword [eax]
xor esi, esi
inc esi
jmp 0x4440dd
Function at 0x44a5db
Capabilities:
Create thread

Disassembly:
push 0x18
call fcn.00462151
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x44a5ec
xor eax, eax
ret
mov edx, dword [esp + 4]
push ecx
push ecx
push eax
mov dword [eax], edx
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x14]
push 0x44a616
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
push ecx
push ecx
mov dword [eax + 0xc], edx
call fcn.00499bda
add esp, 0x18
ret

Function at 0x44ac22
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.004954a0
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret

Function at 0x44b47a
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x44b4aa
push 0x98
call fcn.00462151
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x44b49d
call fcn.0044ac22
mov eax, ebx
jmp 0x44b49f
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x44b4aa
xor eax, eax
jmp 0x44b520
push ebp
push 0x4eaf08
push dword [esp + 0x14]
call fcn.0049a1d5
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x44b4c5
xor eax, eax
jmp 0x44b51f
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x44b4d9
push ebx
call fcn.00493c3c
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0049a484
add esp, 0x10
cmp eax, esi
je 0x44b50a
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.0044ac5a
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0049a484
add esp, 0x10
test eax, eax
jne 0x44b4ec
push ebp
call fcn.0049a511
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.0044acf1
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4

Function at 0x44b525
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.004954a0
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.0044b587
push dword [ebp + 8]
mov eax, esi
call fcn.0044b61d
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44c28b
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x44c2a3
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], 0x88
inc ecx
cmp ecx, dword [esp + 8]
jl 0x44c293
ret 8
Function at 0x44e394
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 0x44e42f
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 0x44e3d6
cmp dword [ebp - 8], 2
jne 0x44e42d
push esi
mov esi, dword [ebp + 0xc]
call fcn.00401477
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.004011f9
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 0x44e415
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 0x44e425
push eax
call fcn.004953a9
pop ecx
mov edx, esi
call fcn.004011d8
pop esi
pop edi
pop ebx
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x44e436
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 0x44e45b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44e51c
push edi
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [ebp - 4], 0x490
call fcn.004954a0
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 0x44e4cb
lea eax, [ebp - 0x20c]
push str.explorer.exe
push eax
call fcn.00497c14
test eax, eax
pop ecx
pop ecx
je 0x44e4bf
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44e495
jmp 0x44e4d4
mov edi, dword [ebp - 0x228]
and dword [ebp - 4], 0
jmp 0x44e4d4
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 0x44e4f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44e51b
push dword [ebp + 8]
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44e515
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 0x44e601
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
test esi, esi
jne 0x44e613
or eax, 0xffffffff
leave
ret
push 0x110
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004954a0
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 0x44e656
cmp dword [ebp - 0x110], 5
jne 0x44e656
cmp dword [ebp - 0x10c], 0
je 0x44e663
push esi
call fcn.0044e51f
test eax, eax
pop ecx
jne 0x44e663
leave
ret
push esi
call fcn.0044e436
pop ecx
leave
ret