joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f151
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov ecx, dword [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 0x444], eax
push esi
add eax, 0xffffbdf8
mov dword [ebp - 0x450], ecx
push edi
neg ebx
mov esi, 0x400
push esi
sbb ebx, ebx
xor edi, edi
and ebx, eax
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x448], ebx
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x404]
add ebx, 4
mov dword [ebp - 0x44c], ebx
push esi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x31
push dword [ebx]
call edi
push 0x3c
mov esi, eax
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x440]
push eax
push 0x3c
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp dword [ebp - 0x43c], 0
jle 0x44f207
push 0
push 0x4375ef
push dword [ebx]
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [ebp - 0x444]
push ecx
push ecx
mov eax, esp
xor ecx, ecx
push ecx
push 2
push ecx
mov dword [eax], ecx
push ecx
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
push dword [ebx]
call fcn.004167be
push dword [ebp - 0x448]
push 0x416354
push dword [ebx]
call dword [sym.imp.USER32.dll_EnumChildWindows]
push 0
push 0
push 0x418
push dword [esi]
call edi
push 0
push 1
push 0x401
push dword [esi]
call edi
push 0
push 1
push 0x7f
push dword [ebx]
call edi
test eax, eax
jne 0x44f2dd
mov eax, dword [0xd59fbc]
test eax, eax
jne 0x44f2c3
mov esi, dword [0xd584c8]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0xc
call ebx
push eax
push 0xb
call ebx
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push 1
push esi
call edi
mov esi, dword [0xd584c8]
push 0
push 0x32
mov dword [0xd59fbc], eax
call ebx
push eax
push 0x31
call ebx
push eax
push 1
push 1
push esi
call edi
mov ebx, dword [ebp - 0x44c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0xd59fb8], eax
mov eax, dword [0xd59fbc]
push eax
push 1
mov esi, 0x80
push esi
push dword [ebx]
call edi
push dword [0xd59fb8]
push 0
push esi
push dword [ebx]
call edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.004165da
mov ecx, dword [ebp - 0x450]
xor eax, eax
pop edi
pop esi
inc eax
and dword [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4570fc
Capabilities:
Get graphical window text

Disassembly:
push 0x9c
mov eax, 0x50bce4
call fcn.0050613a
mov ebx, ecx
mov esi, dword [ebp + 8]
and dword [ebp - 0x9c], 0
and dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], esi
call fcn.004f0435
or dword [ebp - 4], 0xffffffff
mov edi, eax
pop ecx
mov dword [ebp - 0x9c], edi
jmp 0x457159
test edi, edi
jne 0x457164
xor eax, eax
jmp 0x457307
push 5
pop eax
mov word [edi + 0x10], ax
xor eax, eax
push 0x1c
mov word [edi + 0x12], ax
push 0x1c
mov dword [edi + 8], esi
mov eax, dword [ebx + 4]
push 0
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x14]
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov dword [edi + 0x24], 0x1d4
mov dword [edi + 0x28], 0x14a
mov dword [edi + 0x30], 2
push esi
mov byte [edi + 0x34], 0
call dword [sym.imp.USER32.dll_GetParent]
and dword [ebp - 0x98], 0
push 0xc0
mov dword [edi + 0xc], eax
mov dword [ebp - 4], 2
call fcn.004f0435
pop ecx
mov esi, eax
push edi
mov ecx, esi
mov dword [ebp - 0xa0], esi
call fcn.0045769c
or dword [ebp - 4], 0xffffffff
mov dword [esi], vtable.CDotNetDockingPaneChildWindow.0
jmp 0x457206
test esi, esi
je 0x45715d
push dword [ebp - 0x98]
mov eax, dword [ebp - 0xa0]
mov esi, dword [ebx + 4]
add eax, 0x20
push eax
push 0xd51c28
call fcn.004411c6
add esp, 8
movzx eax, ax
push eax
xor eax, eax
push eax
push eax
push 0x56000000
push eax
push 0xaba8b0
push esi
mov esi, dword [ebp - 0xa0]
mov ecx, esi
call fcn.0043e010
mov eax, dword [esi + 4]
and dword [ebp - 0x98], 0
push 0x80
mov dword [edi], eax
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x94]
push 0x40
push eax
push dword [ebp - 0xa4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x74
mov dword [ebp - 4], 4
call fcn.004f0435
pop ecx
mov esi, eax
push edi
mov ecx, esi
call fcn.004578e2
or dword [ebp - 4], 0xffffffff
mov dword [esi], vtable.CFloatingWindow.0
jmp 0x4572c7
test esi, esi
je 0x45715d
sub esp, 0x10
lea eax, [ebp - 0x94]
push eax
push ecx
push dword [ebx + 4]
mov ecx, esi
call fcn.004594e4
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
push dword [edi]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetParent]
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebx + 0x294]
call fcn.004390ed
call fcn.00506087
ret 8
Function at 0x458389
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov ecx, dword [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 0x444], eax
push esi
add eax, 0xffffbdfc
mov dword [ebp - 0x450], ecx
push edi
neg ebx
mov esi, 0x400
push esi
sbb ebx, ebx
xor edi, edi
and ebx, eax
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x448], ebx
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x404]
add ebx, 4
mov dword [ebp - 0x44c], ebx
push esi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x31
push dword [ebx]
call edi
push 0x3c
mov esi, eax
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x440]
push eax
push 0x3c
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp dword [ebp - 0x43c], 0
jle 0x45843f
push 0
push 0x4375ef
push dword [ebx]
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [ebp - 0x444]
push ecx
push ecx
mov eax, esp
xor ecx, ecx
push ecx
push 2
push ecx
mov dword [eax], ecx
push ecx
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
push dword [ebx]
call fcn.004167be
push dword [ebp - 0x448]
push 0x416354
push dword [ebx]
call dword [sym.imp.USER32.dll_EnumChildWindows]
push 0
push 0
push 0x418
push dword [esi]
call edi
push 0
push 1
push 0x401
push dword [esi]
call edi
push 0
push 1
push 0x7f
push dword [ebx]
call edi
test eax, eax
jne 0x458515
mov eax, dword [0xd59fbc]
test eax, eax
jne 0x4584fb
mov esi, dword [0xd584c8]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0xc
call ebx
push eax
push 0xb
call ebx
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push 1
push esi
call edi
mov esi, dword [0xd584c8]
push 0
push 0x32
mov dword [0xd59fbc], eax
call ebx
push eax
push 0x31
call ebx
push eax
push 1
push 1
push esi
call edi
mov ebx, dword [ebp - 0x44c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0xd59fb8], eax
mov eax, dword [0xd59fbc]
push eax
push 1
mov esi, 0x80
push esi
push dword [ebx]
call edi
push dword [0xd59fb8]
push 0
push esi
push dword [ebx]
call edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.004165da
mov ecx, dword [ebp - 0x450]
xor eax, eax
pop edi
pop esi
inc eax
and dword [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret 0x10
Function at 0x458a86
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
call fcn.00458544
mov esi, eax
test esi, esi
je 0x458adb
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
movzx eax, word [esi + 0x10]
cmp ax, 4
jne 0x458ab8
push esi
call fcn.00459697
jmp 0x458adb
mov ecx, eax
xor eax, eax
inc eax
cmp cx, ax
je 0x458ad3
cmp cx, 3
je 0x458ad3
test cx, cx
je 0x458ad3
cmp cx, 2
jne 0x458adb
push esi
mov ecx, edi
call fcn.004596c3
pop edi
pop esi
pop ebp
ret 4

Function at 0x459697
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp word [esi + 0x10], 4
je 0x4596a9
xor eax, eax
jmp 0x4596be
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
pop eax
mov word [esi + 0x10], ax
xor eax, eax
inc eax
pop esi
pop ebp
ret 4

Function at 0x459b31
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push edi
cmp dword [ebx + 0x74], 0
jne 0x459b55
mov eax, dword [ebx + 0x84]
push 4
push dword [ebx + 4]
mov dword [ebx + 0x80], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebp + 8]
mov ax, word [ebx + 0x88]
mov word [edi + 0x10], ax
mov ax, word [ebx + 0x88]
mov word [edi + 0x12], ax
push dword [ebx + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_SetParent]
push dword [edi]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetParent]
push 4
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 0x70]
call fcn.004390ed
push 0
push 0
push 0x74e
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop ebx
pop ebp
ret 4

Function at 0x45a458
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x45a4a0
lea ecx, [esi + 0x70]
push edi
call fcn.004062bc
mov ecx, dword [ebp + 8]
cmp dword [eax], ecx
lea ecx, [esi + 0x70]
je 0x45a48c
mov eax, dword [esi + 0x74]
inc edi
cmp edi, eax
jl 0x45a472
jmp 0x45a49e
push edi
call fcn.0045a02d
mov eax, dword [ebp + 8]
push 0
push dword [eax]
call ebx
mov eax, dword [esi + 0x74]
test eax, eax
jne 0x45a4c4
test byte [esi + 0x7c], 2
je 0x45a4b4
mov eax, dword [esi + 0x80]
mov dword [esi + 0x84], eax
and dword [esi + 0x80], 0
push 0
push dword [esi + 4]
call ebx
jmp 0x45a4d6
push 0
push 0
push 0x74e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x45f478
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507540
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0xaba010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45f4b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x24], 0
je 0x45f4cf
push dword [esi + 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x45f4cf
and dword [esi + 0x24], 0
cmp dword [esi + 0x14], 0
je 0x45f4dd
push dword [esi + 0x14]
call fcn.004ef938
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4609d5
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov ecx, dword [edi + 0x8594]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.00469ed1
mov ecx, dword [0xd58f54]
test ecx, ecx
jne 0x460a08
mov ecx, ebx
jmp 0x460a0b
add ecx, 0x5c
mov eax, dword [ebp - 4]
mov dword [ecx + 0x1dc], eax
lea ecx, [edi + 0x58]
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
call fcn.0042b65e
mov esi, ebx
mov eax, dword [0xd58f70]
cmp dword [eax + 0x30], ebx
je 0x460a3b
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x14
jl 0x460a23
push ebx
push dword [edi + 0x859c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x462a5b
Capabilities:
Create directory

Disassembly:
push 0x220
mov eax, 0x50c3b2
call fcn.005060cc
mov esi, ecx
cmp dword [esi + 0xd4], 3
jne 0x462ba0
cmp dword [0xd5b698], 0
jne 0x462ba0
mov edx, str.Backup_
mov dword [0xd5b698], 1
lea ecx, [ebp - 0x22c]
call fcn.00420609
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor eax, eax
lea edi, [ebp - 0x228]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004f1a90
movzx eax, word [ebp - 0x226]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
movzx eax, word [ebp - 0x228]
push eax
push dword [ebp - 0x22c]
lea eax, [ebp - 0x114]
push str._sAnVir_d__d.reg
push eax
call edi
add esp, 0x20
lea ecx, [ebp - 0x114]
call fcn.00423518
test eax, eax
jne 0x462b27
lea eax, [ebp - 0x114]
mov ecx, esi
push eax
call fcn.004684bc
push 0x104
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004f1a90
movzx eax, word [ebp - 0x226]
push eax
movzx eax, word [ebp - 0x228]
push eax
push dword [ebp - 0x22c]
lea eax, [ebp - 0x218]
push str._sAnVir_d__d.htm
push eax
call edi
add esp, 0x20
lea ecx, [ebp - 0x218]
call fcn.00423518
test eax, eax
jne 0x462b7f
lea eax, [ebp - 0x218]
push eax
push ecx
lea ecx, [esi + 0x58]
call fcn.0042b77e
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x462ba0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00506076
ret
Function at 0x46a40f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0xaba010]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push pe_nt_image_headers32
mov ebx, ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x46a4f9
mov eax, dword [ebp + 0xc]
cmp eax, 0x21
jb 0x46a4f9
cmp eax, 0x24
jbe 0x46a45f
cmp eax, 0x26
je 0x46a45f
cmp eax, 0x28
jne 0x46a4f9
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 9
push 0x110a
push dword [ebx + 4]
call esi
mov dword [esp + 0xc], eax
lea edi, [esp + 0x14]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 1
push 0x1104
push dword [ebx + 4]
call esi
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x24]
push eax
push 1
push 0x1104
push dword [ebx + 4]
mov dword [esp + 0x34], edi
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x28]
cmp eax, dword [esp + 0x28]
jle 0x46a4cd
mov eax, edi
jmp 0x46a4d1
mov eax, ecx
mov ecx, edi
push 2
push ecx
push eax
mov ecx, ebx
call fcn.0046aa37
push 2
push 1
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
lea ecx, [ebx + 0x40]
call fcn.004063d7
push eax
mov ecx, ebx
call fcn.0046aa99
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
and dword [eax], 0
xor eax, eax
pop ebx
xor ecx, esp
call fcn.004efcea
mov esp, ebp
pop ebp
ret 0x10

Function at 0x46a516
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
cmp esi, 0x10
jne 0x46a53a
push 0
push 9
push 0x110a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [edi + 0x28], eax
push pe_nt_image_headers32
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x46a58b
push 0
push 9
push 0x110a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [edi + 0x28], eax
jne 0x46a58b
cmp esi, 0x21
jb 0x46a58b
cmp esi, 0x24
jbe 0x46a572
cmp esi, 0x26
je 0x46a572
cmp esi, 0x28
jne 0x46a58b
xor esi, esi
cmp dword [edi + 0x48], esi
jle 0x46a58b
push 2
push 0
push esi
mov ecx, edi
call fcn.0046aa99
inc esi
cmp esi, dword [edi + 0x48]
jl 0x46a579
mov eax, dword [ebp + 0x14]
pop edi
pop esi
and dword [eax], 0
xor eax, eax
pop ebp
ret 0x10
Function at 0x46b748
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
movsx edx, ax
shr eax, 0x10
push esi
push edi
mov esi, ecx
mov ebx, dword [ebp + 0x14]
movsx ecx, ax
lea edi, [ebp - 0x18]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x1012
push dword [esi + 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x46b7b2
cmp dword [ebp - 0x14], 8
jne 0x46b7b2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x46b7b2
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0046b7eb
mov ecx, dword [ebp - 4]
xor eax, eax
and dword [ebx], 0
xor ecx, ebp
pop edi
pop esi
inc eax
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret 0x10

Function at 0x46d66d
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], edi
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push edi
call dword [sym.imp.USER32.dll_GetTopWindow]
jmp 0x46d7b1
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46d7bb
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46d7a8
cmp esi, ebx
je 0x46d7ce
mov eax, esi
mov edi, esi
test esi, esi
je 0x46d6ee
push eax
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x46d6e1
cmp edi, ebx
je 0x46d7ce
mov eax, esi
push 4
push eax
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
jne 0x46d6f8
cmp edi, ebx
je 0x46d7ce
push 0x100
xor edi, edi
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
push str.Shell_TrayWnd
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x46d7a8
push str.tooltips_class32
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x46d7a8
push str.sysshadow
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x46d7a8
mov ecx, esi
call fcn.0046d594
test eax, eax
jne 0x46d7a8
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x108]
cmp dword [ebp - 0x10c], eax
jne 0x46d7bb
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x46d6b3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret
xor eax, eax
inc eax
jmp 0x46d7bd
Function at 0x46d7d3
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0x42c
mov eax, 0x50cf4a
call fcn.005060cc
mov dword [ebp - 0x420], ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x41c], edi
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], edi
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x438]
call fcn.0044ef5e
lea eax, [ebp - 0x438]
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x42c]
push eax
push 0x48d828
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x418]
mov ebx, edi
mov ecx, dword [ebp - 0x41c]
sub eax, ecx
push 0xc
cdq
pop esi
idiv esi
test eax, eax
je 0x46d8e2
mov esi, dword [edi + ecx + 8]
lea eax, [ebp - 0x410]
push 0x400
push 0
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x400
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x46d8c5
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp + 8]
call fcn.0040d992
test eax, eax
je 0x46d94a
mov eax, dword [ebp - 0x418]
inc ebx
mov ecx, dword [ebp - 0x41c]
sub eax, ecx
push 0xc
pop esi
cdq
add edi, esi
idiv esi
cmp ebx, eax
jb 0x46d87d
xor edi, edi
mov esi, edi
lea ecx, [ebp - 0x438]
call fcn.0044f44d
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x46d924
mov eax, dword [ebp - 0x414]
sub eax, ecx
push 0xc
pop ebx
cdq
idiv ebx
push ecx
push ebx
mov edx, eax
call fcn.0040b8be
pop ecx
pop ecx
mov dword [ebp - 0x41c], edi
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x414], edi
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x46d942
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
call fcn.00506076
ret
xor edi, edi
jmp 0x46d8e4

Function at 0x46dbc9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x400
lea eax, [ebp - 0x404]
push ebx
mov edi, ecx
mov esi, edx
push 0
push eax
mov dword [ebp - 0x408], edi
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x404]
push ebx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x404]
mov ecx, edi
push eax
call fcn.004094e6
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret
Function at 0x46e265
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [ebp - 0x2c]
push esi
push edi
push 8
mov edi, ecx
xor esi, esi
pop ecx
push esi
push eax
push ecx
push 0x48
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], esi
call ebx
cmp dword [ebp - 0x28], esi
je 0x46e2ad
push 8
pop ecx
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ecx
push eax
push ecx
push 0x49
mov dword [ebp - 8], esi
call ebx
mov eax, dword [0xd58f54]
test eax, eax
jne 0x46e2ba
mov eax, esi
jmp 0x46e2bd
add eax, 0x5c
cmp dword [eax + 0x1f4], esi
je 0x46e30a
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call esi
call fcn.0048d887
test eax, eax
je 0x46e30a
lea ecx, [ebp - 0x14]
push ecx
push eax
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push 3
push edi
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 6
push edi
call esi
push 0
push edi
call esi
cmp dword [ebp - 0x28], 0
je 0x46e338
push 8
pop ecx
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ecx
push eax
push ecx
push 0x49
mov dword [ebp - 8], 1
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret