joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4757f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x60c78f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esi + 0x28], ebx
mov eax, dword [0x69cfe8]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x1c], 1
cmp eax, ebx
jne 0x475856
push ebx
push ebx
push ebx
push ebx
push 0xf003f
push ebx
call fcn.004748c0
test eax, eax
jne 0x475856
push ebx
push ebx
push ebx
push ebx
push 8
push ebx
mov ecx, esi
call fcn.004748c0
test eax, eax
je 0x475929
push ebp
push edi
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ebx
push ecx
push 0x12c
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 0x12c
call fcn.005ebe11
mov edi, dword [esp + 0x44]
mov edx, dword [esi + 0x24]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push eax
push edi
push edx
call ebp
cmp eax, ebx
je 0x475899
and eax, 0xffff
or eax, 0x80070000
jmp 0x47589b
xor eax, eax
mov dword [esi + 0x28], eax
and eax, 0xffff
cmp eax, 0xea
jne 0x4758f0
push ebx
lea ecx, [esp + 0x14]
call fcn.005ebe60
mov ecx, esi
call fcn.00475640
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
inc eax
push ebx
push ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], eax
call fcn.005ebe11
mov edx, dword [esi + 0x24]
push eax
push edi
push edx
call ebp
cmp eax, ebx
je 0x4758eb
and eax, 0xffff
or eax, 0x80070000
jmp 0x4758ed
xor eax, eax
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x28]
pop edi
cmp eax, ebx
pop ebp
jl 0x47591f
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.005ebe60
mov eax, dword [esp + 8]
cmp dword [eax - 8], ebx
jne 0x475929
mov ecx, dword [0x61fd48]
push ecx
lea ecx, [esp + 0xc]
call fcn.005ebb6a
jmp 0x475929
push ebx
lea ecx, [esp + 0xc]
call fcn.005ebe60
cmp dword [esi + 0x28], ebx
jl 0x475948
mov esi, dword [esp + 0x24]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.005eb756
mov dword [esp + 0x10], 1
jmp 0x475960
mov esi, dword [esp + 0x24]
push 0x6a1e40
mov ecx, esi
call fcn.005eba4f
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x1c], bl
call fcn.005eb9e1
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x476640
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60c8db
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push ebx
push ebp
push esi
push edi
push str.WS2_32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
test ebp, ebp
je 0x4767de
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSAStartup
push ebp
call esi
push str.gethostname
push ebp
mov edi, eax
call esi
push str.gethostbyname
push ebp
mov dword [esp + 0x18], eax
call esi
push str.WSACleanup
push ebp
mov ebx, eax
call esi
push str.inet_ntoa
push ebp
mov dword [esp + 0x1c], eax
call esi
test edi, edi
mov dword [esp + 0x1c], eax
je 0x4767d7
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4767d7
test ebx, ebx
je 0x4767d7
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4767d7
test eax, eax
je 0x4767d7
lea eax, [esp + 0x120]
push eax
push 0x101
call edi
test eax, eax
jne 0x4767d7
mov eax, dword [esp + 0x2c8]
test eax, eax
jne 0x476723
lea ecx, [esp + 0x20]
push 0xff
push ecx
call esi
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
je 0x4767d3
push eax
call ebx
test eax, eax
mov dword [esp + 0x18], eax
je 0x4767d3
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
je 0x4767c1
mov edi, dword [esp + 0x2c0]
mov ebx, dword [esp + 0x2c4]
xor esi, esi
mov ecx, dword [esi + eax]
xor eax, eax
xor edx, edx
mov al, byte [ecx + 3]
mov dl, byte [ecx + 2]
shl eax, 8
add eax, edx
xor edx, edx
mov dl, byte [ecx + 1]
shl eax, 8
add eax, edx
xor edx, edx
mov dl, byte [ecx]
shl eax, 8
add eax, edx
push eax
call dword [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.005eba4f
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x2c0], 0
call fcn.005ea9ac
lea ecx, [esp + 0x10]
mov dword [esp + 0x2b8], 0xffffffff
call fcn.005eb9e1
test ebx, ebx
jne 0x4767c1
mov eax, dword [esp + 0x18]
add esi, 4
mov eax, dword [eax + 0xc]
cmp dword [esi + eax], 0
jne 0x47674e
call dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x4767e0
call dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [esp + 0x2b0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2ac
ret 0xc
Function at 0x4768c0
Capabilities:
Get disk information
Get disk size

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x250
test eax, eax
push ebx
push esi
push edi
mov esi, ecx
jl 0x476aeb
cmp eax, 0x1a
jge 0x476aeb
add eax, 0x41
push eax
lea eax, [esp + 0x20]
push str._c:_
push eax
call fcn.005d0c98
add esp, 0xc
lea ecx, [esp + 0x154]
lea edx, [esp + 0x40]
lea eax, [esp + 0x28]
push 0x105
push ecx
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
lea edx, [esp + 0x60]
push 0x105
lea eax, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x48], 0x104
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x476aeb
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x268]
call fcn.005ebb6a
mov edx, dword [esp + 0x268]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov dword [edx], eax
call fcn.00476850
test eax, eax
je 0x476a77
mov eax, dword [esp + 0x24]
test eax, eax
je 0x476a77
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x476ada
push str.GetDiskFreeSpaceExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4769f8
lea edx, [esp + 0x38]
lea ecx, [esp + 0x30]
push edx
push ecx
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x24]
push edx
push ecx
call eax
test eax, eax
jle 0x476a5f
mov eax, dword [esp + 0x26c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push ebx
mov dword [eax], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x274]
mov ecx, dword [esp + 0x40]
mov dword [eax], edx
mov dword [eax + 4], ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x250
ret 0x14
lea edx, [esp + 0xc]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x476aeb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mul dword [esp + 0x10]
mov edi, edx
mov esi, eax
push edi
push esi
push 0
push ecx
call fcn.005cf700
mov ecx, dword [esp + 0x26c]
push edi
push esi
push 0
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x24]
push edx
call fcn.005cf700
mov ecx, dword [esp + 0x270]
mov dword [ecx], eax
mov dword [ecx + 4], edx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x250
ret 0x14
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x476aeb
mov eax, dword [esp + 0x14]
mul dword [esp + 0x10]
mov edi, edx
mov edx, dword [esp + 0xc]
mov esi, eax
push edi
push esi
push 0
push edx
call fcn.005cf700
mov ecx, dword [esp + 0x26c]
push edi
push esi
push 0
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
push eax
mov dword [ecx + 4], edx
call fcn.005cf700
mov ecx, dword [esp + 0x270]
mov dword [ecx], eax
mov dword [ecx + 4], edx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x250
ret 0x14
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x250
ret 0x14
Function at 0x476da0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60c92f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x69cfe8]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov edx, dword [esp + 0x20]
lea eax, [esp + 4]
push edx
push 0x6782cc
push eax
push 8
push 1
push 0x98
push ecx
mov dword [esp + 0x30], 1
call fcn.005ef384
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.005eb756
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.005eb9e1
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4d4c70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x6144ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [esp + 0x18], ecx
mov esi, dword [ecx + 8]
xor ebx, ebx
xor edi, edi
cmp esi, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc], ebx
je 0x4d4cf6
cmp edi, ebx
jne 0x4d4ccf
mov ecx, dword [esp + 0x2c]
mov eax, esi
mov esi, dword [esi]
push ecx
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
push eax
call fcn.005cf1ee
add esp, 8
test eax, eax
jne 0x4d4cc7
mov edi, 1
cmp esi, ebx
jne 0x4d4ca2
cmp edi, ebx
je 0x4d4cf6
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.005eb9e1
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov eax, dword [esp + 0x2c]
push ebp
cmp dword [eax - 8], ebx
jne 0x4d4d0d
mov dword [esp + 0x10], 1
jmp 0x4d4e50
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4d4d26
mov dword [esp + 0x10], 1
jmp 0x4d4e50
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
cmp ebp, ebx
jne 0x4d4d44
mov dword [esp + 0x10], 2
jmp 0x4d4e45
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.irPlg_GetLuaVersion
push ebp
call esi
push str.irPlg_Action_RegisterActions
push ebp
mov edi, eax
call esi
test edi, edi
mov ebx, eax
je 0x4d4e3d
test ebx, ebx
je 0x4d4e3d
mov eax, dword [0x69cfe8]
mov dword [esp + 0x18], eax
push 0x2710
mov byte [esp + 0x2c], 1
mov dword [esp + 0x18], 0x2710
call fcn.005cec99
lea ecx, [esp + 0x18]
mov esi, eax
push ecx
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4d4dc0
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.005d028f
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
call edi
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4d4dc0
mov byte [esi], 0
push esi
lea ecx, [esp + 0x1c]
push 0x6742a8
push ecx
call fcn.005e7f5e
push esi
call fcn.005cebb0
mov edi, dword [esp + 0x2c]
mov edx, dword [edi + 0x20]
push edx
call ebx
mov eax, dword [edi + 0x20]
push 0
push eax
call fcn.00562a30
push 0xc
call fcn.005eb722
add esp, 0x20
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x28], 2
je 0x4d4e0d
mov ecx, eax
call fcn.004d4b00
mov esi, eax
jmp 0x4d4e0f
xor esi, esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
push ecx
lea ecx, [esi + 4]
call fcn.005ebb1a
push esi
lea ecx, [edi + 4]
mov dword [esi + 8], ebp
call fcn.005eb118
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call fcn.005eb9e1
jmp 0x4d4e50
mov dword [esp + 0x10], 3
test ebp, ebp
je 0x4d4e50
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005eb9e1
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4e39c8
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x614f52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00456a00
mov ecx, dword [0x69cfe8]
lea edi, [esi + 0x4d8]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [edi], ecx
mov edx, dword [0x69cfe8]
lea ebx, [esi + 0x4e8]
mov dword [ebx], edx
mov ecx, dword [0x69cfe8]
lea ebp, [esi + 0x4fc]
mov dword [ebp], ecx
mov dword [esi + 0x504], eax
mov dword [esi], vtable.CAutoPlayMenuDialog.0
mov ecx, dword [esi + 0x44]
mov byte [esp + 0x1c], 3
cmp ecx, eax
je 0x4e3a3a
lea ecx, [esi + 0x40]
call fcn.005eb141
test eax, eax
je 0x4e3a33
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x4e3a1e
mov ecx, esi
call fcn.004e3bf0
mov eax, dword [esp + 0x24]
lea ecx, [esi + 4]
push eax
call fcn.005ebb1a
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x4d0], ecx
push eax
mov ecx, edi
mov dword [esi + 0x4d4], edx
call fcn.005ebb1a
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x4dc], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x4e0], edx
push ecx
mov ecx, ebx
mov dword [esi + 0x4e4], eax
call fcn.005ebb1a
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x4f0], eax
mov eax, dword [esp + 0x78]
mov dword [esi + 0x4ec], edx
mov edx, dword [esp + 0x50]
mov dword [esi + 0x4f4], ecx
push eax
mov ecx, ebp
mov dword [esi + 0x4f8], edx
call fcn.005ebb1a
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esi + 0x500], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esi + 8], edx
push ecx
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], eax
call fcn.005ebb1a
mov edx, dword [esp + 0x60]
lea ecx, [esi + 0x14]
push edx
call fcn.005ebb1a
mov eax, dword [esp + 0x64]
lea ecx, [esi + 0x18]
push eax
call fcn.005ebb1a
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [esi + 0x1c], ecx
push eax
lea ecx, [esi + 0x64]
mov dword [esi + 0x20], edx
call fcn.005ebb1a
lea ecx, [esi + 0x68]
push ecx
call fcn.005ebb1a
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x5c
Function at 0x4e89c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6155f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.005ec0e0
mov eax, dword [0x69cfe8]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x68], eax
push fcn.004244f0
push fcn.00424430
push 0xf
lea ecx, [esi + 0x78]
push 0x45c
push ecx
mov byte [esp + 0x30], 1
call fcn.005cf8f0
lea ecx, [esi + 0x4218]
mov byte [esp + 0x1c], 2
call fcn.00504ee0
mov edx, dword [0x69cfe8]
lea ebx, [esi + 0x42b0]
mov dword [ebx], edx
mov dword [esi + 0x42bc], edi
mov dword [esi + 0x42b8], 0x61bb64
lea ebp, [esi + 0x42c8]
mov byte [esp + 0x1c], 5
mov ecx, ebp
call fcn.00424430
lea ecx, [esi + 0x4724]
mov byte [esp + 0x1c], 6
call fcn.00424430
mov eax, dword [0x69cfe8]
mov dword [esi + 0x4b8c], eax
mov eax, 1
mov ecx, ebx
mov byte [esp + 0x1c], 8
mov dword [esi], vtable.CDirectShowPlayerWnd.0
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], eax
mov dword [esi + 0x54], 0xc0c0c0
mov dword [esi + 0x58], edi
call fcn.005eb96c
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esi + 0x5c], edi
call dword [edx + 4]
mov eax, 0x64
mov dword [esi + 0x3c], edi
mov dword [esi + 0x4b80], eax
mov dword [esi + 0x4b84], eax
mov eax, 1
mov dword [esi + 0x4b88], edi
mov dword [esi + 0x70], eax
mov dword [esi + 0x60], eax
xor eax, eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x74], 0x10
mov dword [esi + 0x428c], edi
mov dword [esi + 0x4290], edi
mov dword [esi + 0x4294], edi
mov dword [esi + 0x4298], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x420c], eax
mov dword [esi + 0x4210], eax
mov dword [esi + 0x4214], eax
mov dword [esi + 0x429c], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4eb510
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 1
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x4eb534
mov dword [esp + 0x10], 1
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ebx, [esi + 0x41dc]
push ebp
push eax
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
test eax, eax
je 0x4eb598
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4eb57b
mov ecx, dword [esi + 0x420c]
mov eax, 2
cmp ecx, eax
je 0x4eb5b5
mov ecx, dword [esi + 0x1c]
push 1
push ebx
mov dword [esi + 0x420c], eax
push ecx
jmp 0x4eb5b3
mov ecx, dword [esi + 0x420c]
mov eax, 1
cmp ecx, eax
je 0x4eb5b5
mov edx, dword [esi + 0x1c]
push eax
push ebx
mov dword [esi + 0x420c], eax
push edx
jmp 0x4eb5b3
mov eax, dword [esi + 0x420c]
test eax, eax
je 0x4eb5b5
mov eax, dword [esi + 0x1c]
push 1
push ebx
mov dword [esi + 0x420c], 0
push eax
call edi
mov ecx, dword [esp + 0x18]
lea ebx, [esi + 0x41ec]
push ebp
push ecx
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4eb60f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4eb5f2
mov ecx, dword [esi + 0x4210]
mov eax, 2
cmp ecx, eax
je 0x4eb62c
mov edx, dword [esi + 0x1c]
push 1
push ebx
mov dword [esi + 0x4210], eax
push edx
jmp 0x4eb62a
mov ecx, dword [esi + 0x4210]
mov eax, 1
cmp ecx, eax
je 0x4eb62c
mov dword [esi + 0x4210], eax
push eax
mov eax, dword [esi + 0x1c]
push ebx
push eax
jmp 0x4eb62a
mov eax, dword [esi + 0x4210]
test eax, eax
je 0x4eb62c
mov ecx, dword [esi + 0x1c]
push 1
push ebx
mov dword [esi + 0x4210], 0
push ecx
call edi
mov edx, dword [esp + 0x18]
lea ebx, [esi + 0x41fc]
push ebp
push edx
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4eb696
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4eb671
mov ecx, dword [esi + 0x4214]
mov eax, 2
cmp ecx, eax
je 0x4eb6b3
mov dword [esi + 0x4214], eax
mov eax, dword [esi + 0x1c]
push 1
push ebx
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov ecx, dword [esi + 0x4214]
mov eax, 1
cmp ecx, eax
je 0x4eb6b3
mov ecx, dword [esi + 0x1c]
push eax
push ebx
push ecx
mov dword [esi + 0x4214], eax
call edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esi + 0x4214]
test eax, eax
je 0x4eb6b3
mov edx, dword [esi + 0x1c]
push 1
push ebx
push edx
mov dword [esi + 0x4214], 0
call edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4f0890
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x24
push esi
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x4f08ce
mov edi, dword [esp + 0x30]
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
push 0x4f07e0
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret 4
mov ecx, 9
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x4f0960
mov eax, dword [esp + 0x14]
cmp eax, 3
ja case.default.0x4f08fd
jmp dword [eax*4 + 0x4f09a0]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
pop edi
pop esi
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [eax + 8], edx
mov eax, 1
add esp, 0x24
ret 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], edx
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax], edx
mov dword [eax + 8], ecx
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret 4
mov esi, dword [esp + 0x30]
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x4f0995
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub eax, 0x96
sub ecx, 0x1e
mov dword [esi], eax
mov dword [esi + 4], ecx
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret 4
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret 4

Function at 0x4f0fd9
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6160a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005f2d37
mov ecx, dword [0x69cfe8]
mov edi, eax
mov dword [esp + 0xc], ecx
mov ebp, dword [esp + 0x40]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], 0
push eax
call fcn.005f7f31
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
sub eax, ecx
add eax, edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 0x450
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0xa
mov eax, dword [edi]
push ecx
push 0xffffffffffffffff
push edx
mov ecx, edi
call dword [eax + 0x68]
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4f107a
mov ecx, dword [esi + 0x48]
add ecx, 4
cmp eax, ecx
jg 0x4f107a
mov eax, ecx
mov dword [ebp + 0x10], eax
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.005eb9e1
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret 4