joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464b8c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x464d3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x464d16
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x464d16
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x464b54]
call fcn.00408924
add esp, 4
lea eax, [ebp - 4]
call fcn.00409e50
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x5493f4]
push eax
call sub.windowscodecs.dll_WICConvertBitmapSource
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00408770
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.00404b3c
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x458d00]
call fcn.0046171c
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x464cf4
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.004632a0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
push 0
call sub.gdi32.dll_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.00462390
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x464d16
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464d41
lea eax, [ebp - 8]
mov edx, dword [0x464b54]
call fcn.00408930
lea eax, [ebp - 4]
call fcn.00409e50
ret
Function at 0x4770b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x54f1b0], 0
je 0x4771f5
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x549700]
mov edx, dword [edx]
xor al, byte [edx + 0xc0]
je 0x4771f5
mov eax, dword [0x54f1b4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x54f1b0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4771c4
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x54f1b0]
call fcn.0043ea5c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4771bc
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1f2], 0
je 0x4771bc
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x68]
test al, al
je 0x4771bc
mov eax, dword [ebp - 0x14]
call fcn.0048286c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4771bc
push ebp
call fcn.00477070
pop ecx
test al, al
jne 0x4771bc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.004052a0
test al, al
je 0x4771bc
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004052a0
cmp byte [ebp - 1], 0
je 0x4771bc
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040baa4
test al, al
je 0x4771bc
mov edx, dword [ebp - 0x14]
mov eax, dword [0x54f1b4]
call fcn.004767d0
inc edi
dec ebx
jne 0x477119
mov eax, dword [0x54f1b4]
cmp dword [eax + 8], 0
jle 0x4771dc
mov eax, dword [0x54f1b4]
call fcn.00476888
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4771f5
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00476ed8
pop ecx
test al, al
jne 0x4771f5
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47f3f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040ba8c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00479660
test ebx, ebx
jne 0x47f44b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0047f274
mov ebx, eax
test ebx, ebx
je 0x47f541
cmp esi, ebx
je 0x47f474
mov eax, dword [esp]
sub eax, dword [ebx + 0x48]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x4c]
mov dword [esp + 0x118], eax
jmp 0x47f489
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x47f4c1
add eax, 0xffffff5f
sub eax, 2
jb 0x47f4d9
dec eax
sub eax, 2
jb 0x47f4ed
dec eax
sub eax, 2
jb 0x47f4e3
jmp 0x47f4f7
add eax, 0xfffffdff
sub eax, 2
jb 0x47f4d9
dec eax
sub eax, 2
jb 0x47f4ed
dec eax
sub eax, 2
jb 0x47f4e3
jmp 0x47f4f7
mov byte [esp + 0x120], 0
jmp 0x47f4ff
mov byte [esp + 0x120], 2
jmp 0x47f4ff
mov byte [esp + 0x120], 1
jmp 0x47f4ff
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004e1ba0
mov esi, eax
call fcn.00476160
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0047af04
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x47f543
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4beedc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.004bef8c
test eax, eax
je 0x4bef17
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.004bef8c
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406d04
jmp 0x4bef25
mov ecx, esi
mov edx, 0x4bef44
mov eax, ebx
call fcn.004bee24
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.00406f5c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x4d21c8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00406bac
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x4d221a
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x4d2213
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.004077d4
jmp 0x4d221a
mov eax, esi
call fcn.00406bac
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x4d7640
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d779f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x54618c], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4507ec]
call fcn.00451824
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4d7775
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004518d0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.004077d4
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x4d77b8
call fcn.00407984
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00451a68
test al, al
je 0x4d775f
lea ecx, [ebp - 4]
mov edx, 0x4d782c
mov eax, dword [ebp - 0xc]
call fcn.00451e74
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.004238f8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d775f
xor edx, edx
push ebp
push 0x4d7758
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4d7844
mov eax, dword [ebp - 8]
push eax
call fcn.0040ccb8
test eax, eax
je 0x4d7741
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x4d7741
call fcn.004d75cc
test eax, eax
je 0x4d7731
mov eax, dword [ebx + 0x50]
jmp 0x4d7734
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x54618c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d775f
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d777c
mov eax, dword [ebp - 0xc]
call fcn.00404f98
ret

Function at 0x4d78a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4d78ef
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d78d2
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d78e3
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4d78ef
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4e168c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x4e16b3
test edi, 0x40000
je 0x4e16cd
test bl, bl
jne 0x4e175c
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x4e175c
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x4e1700
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4e171c
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0x40000
or ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
jmp 0x4e1732
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0xfffbffff
and ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4e1743
cmp byte [esp + 2], 0
je 0x4e175c
cmp byte [esp + 2], 0
je 0x4e1754
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4e175c
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4e1a10
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 0x4e1a36
mov eax, esp
push eax
push 0x4e19d8
call sub.user32.dll_EnumWindows
jmp 0x4e1a49
mov eax, esp
push eax
push 0x4e19b8
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4e1b0c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4e1b5c]
test bl, 4
je 0x4e1b20
or si, 1
test bl, 8
je 0x4e1b29
or si, 4
test bl, 1
je 0x4e1b32
or si, 8
test bl, 2
je 0x4e1b3b
or si, 0x10
test bl, 0x10
je 0x4e1b44
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4e1b54
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4e1b60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4e1b9c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4e1b7b
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4e1b8b
or bx, 4
test esi, 0x20000000
je 0x4e1b97
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4ea2ec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4ea2fe
add esp, 0xfffffff0
call fcn.00405550
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00449db8
mov eax, dword [0x549344]
mov dword [eax + 4], ebx
mov dword [eax], 0x4ea72c
mov eax, dword [0x54935c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4ea738
mov eax, ebx
call fcn.004ea744
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x431950]
call fcn.00404f68
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x431950]
call fcn.00404f68
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x431950]
call fcn.00404f68
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x431950]
call fcn.00404f68
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x431950]
call fcn.00404f68
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 + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x4e55b8
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x454eac]
call fcn.0045ad78
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x454eac]
call fcn.0045ad78
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x454eac]
call fcn.0045ad78
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x454eac]
call fcn.0045ad78
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x454eac]
call fcn.0045ad78
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.004ead3c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4eab58
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4eab58
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4eab58
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4eab58
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4eab58
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ea47b
call fcn.004055a8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4ea8f8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4eaaa3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x4eaa84
mov dl, 1
mov eax, dword [0x434f60]
call fcn.00442678
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00406bac
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4eaa73
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.00488ba0
test al, al
je 0x4eaa66
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4eaab4
lea eax, [ebp - 0x394]
call fcn.0041d190
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4eaa66
xor eax, eax
push ebp
push 0x4eaa5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4eab24
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4eaa48
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004077d4
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
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 + 0x44]
jne 0x4eaa48
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004077d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eaa66
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4ea969
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004425b4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eaaaa
lea eax, [ebp - 0x3a0]
call fcn.00406bac
ret

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

Disassembly:
push ecx
mov eax, dword [0x54f2b4]
cmp byte [eax + 0xb1], 0
jne 0x4eb6ce
cmp dword [0x54f2d4], 0
jne 0x4eb68e
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x5462a0]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x54f2d4], eax
cmp dword [0x54f2d0], 0
jne 0x4eb6a9
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x54f2d0], eax
cmp dword [0x54f2d8], 0
jne 0x4eb6ce
push esp
push 0
push 0
mov eax, dword [0x54629c]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x54f2d8], eax
pop edx
ret
Function at 0x4eb998
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4eb9af
add esp, 0xfffffff0
call fcn.00405550
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00449db8
mov eax, dword [0x549150]
cmp byte [eax], 0
jne 0x4eb9dc
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x5495cc]
cmp word [eax + 2], 0
jne 0x4eb9f6
mov eax, dword [0x5495cc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004edb58
mov eax, dword [0x549758]
cmp word [eax + 2], 0
jne 0x4eba10
mov eax, dword [0x549758]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004edd5c
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x454eac]
call fcn.0045ad78
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4ee1d8
mov dl, 1
mov eax, dword [0x431950]
call fcn.00404f68
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x431950]
call fcn.00404f68
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x459684]
call fcn.00463bc4
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x4ebbf4
mov eax, dword [0x549424]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00463fc0
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4ee498
mov dl, 1
mov eax, dword [0x431950]
call fcn.00404f68
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x549424]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041cfa4
test eax, eax
je 0x4ebb24
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041cde0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041cf88
test eax, eax
je 0x4ebb3c
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004077d4
push ebx
push 0x4ed530
call fcn.004e1af0
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x549150]
cmp byte [eax], 0
jne 0x4ebb8d
mov eax, ebx
call fcn.004ebdb4
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.004ee6e0
mov eax, ebx
call fcn.004ef30c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ebbea
call fcn.004055a8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ec0ec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x4ec198
cmp dword [ebx + 0x98], 0
jne 0x4ec192
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4ec024
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x4ec192
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4ec158
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4ec192
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.0043ea5c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4ec167
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x54f2b4]
cmp dword [eax + 0x178], 0
je 0x4ec51d
test bl, bl
jne 0x4ec46b
cmp dword [esi + 0xa0], 0
jne 0x4ec460
mov eax, esi
call fcn.004ef15c
push eax
push 0x4ec2c4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x4ec431
mov eax, dword [0x54f2b4]
cmp byte [eax + 0xd7], 0
je 0x4ec431
mov eax, dword [esi + 0xdc]
call fcn.00408778
mov edi, eax
cmp edi, 0
jl 0x4ec431
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4ec41a
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4ec460
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.0043ea5c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4ec440
inc dword [esi + 0xa0]
jmp 0x4ec51d
cmp dword [esi + 0xa0], 0
jle 0x4ec51d
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x4ec51d
cmp dword [esi + 0x48], 0
je 0x4ec4c8
mov eax, dword [0x54f2b4]
cmp byte [eax + 0xd7], 0
je 0x4ec4c8
mov eax, dword [esi + 0xdc]
call fcn.00408778
mov edi, eax
cmp edi, 0
jl 0x4ec4c8
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4ec4b1
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4ec4f7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.0043ea5c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4ec4d7
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x4dea50]
call fcn.00408924
add esp, 4
pop edi
pop esi
pop ebx
ret