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

Disassembly:
push 0xffffffffffffffff
push 0x60bcaf
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 [0x69c108]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x1c], 1
cmp eax, ebx
jne 0x4755a6
push ebx
push ebx
push ebx
push ebx
push 0xf003f
push ebx
call fcn.00474610
test eax, eax
jne 0x4755a6
push ebx
push ebx
push ebx
push ebx
push 8
push ebx
mov ecx, esi
call fcn.00474610
test eax, eax
je 0x475679
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.005eb525
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 0x4755e9
and eax, 0xffff
or eax, 0x80070000
jmp 0x4755eb
xor eax, eax
mov dword [esi + 0x28], eax
and eax, 0xffff
cmp eax, 0xea
jne 0x475640
push ebx
lea ecx, [esp + 0x14]
call fcn.005eb574
mov ecx, esi
call fcn.00475390
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.005eb525
mov edx, dword [esi + 0x24]
push eax
push edi
push edx
call ebp
cmp eax, ebx
je 0x47563b
and eax, 0xffff
or eax, 0x80070000
jmp 0x47563d
xor eax, eax
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x28]
pop edi
cmp eax, ebx
pop ebp
jl 0x47566f
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.005eb574
mov eax, dword [esp + 8]
cmp dword [eax - 8], ebx
jne 0x475679
mov ecx, dword [0x61fd48]
push ecx
lea ecx, [esp + 0xc]
call fcn.005eb27e
jmp 0x475679
push ebx
lea ecx, [esp + 0xc]
call fcn.005eb574
cmp dword [esi + 0x28], ebx
jl 0x475698
mov esi, dword [esp + 0x24]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.005eae6a
mov dword [esp + 0x10], 1
jmp 0x4756b0
mov esi, dword [esp + 0x24]
push 0x6a0f60
mov ecx, esi
call fcn.005eb163
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x1c], bl
call fcn.005eb0f5
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x476390
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60bdfb
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 0x47652e
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 0x476527
mov esi, dword [esp + 0x10]
test esi, esi
je 0x476527
test ebx, ebx
je 0x476527
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x476527
test eax, eax
je 0x476527
lea eax, [esp + 0x120]
push eax
push 0x101
call edi
test eax, eax
jne 0x476527
mov eax, dword [esp + 0x2c8]
test eax, eax
jne 0x476473
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 0x476523
push eax
call ebx
test eax, eax
mov dword [esp + 0x18], eax
je 0x476523
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
je 0x476511
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.005eb163
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x2c0], 0
call fcn.005ea1ef
lea ecx, [esp + 0x10]
mov dword [esp + 0x2b8], 0xffffffff
call fcn.005eb0f5
test ebx, ebx
jne 0x476511
mov eax, dword [esp + 0x18]
add esi, 4
mov eax, dword [eax + 0xc]
cmp dword [esi + eax], 0
jne 0x47649e
call dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x476530
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 0x476610
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 0x47683b
cmp eax, 0x1a
jge 0x47683b
add eax, 0x41
push eax
lea eax, [esp + 0x20]
push str._c:_
push eax
call fcn.005d0398
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 0x47683b
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x268]
call fcn.005eb27e
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.004765a0
test eax, eax
je 0x4767c7
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4767c7
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x47682a
push str.GetDiskFreeSpaceExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x476748
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 0x4767af
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 0x47683b
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.005cede0
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.005cede0
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 0x47683b
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.005cede0
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.005cede0
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 0x476af0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60be4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x69c108]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov edx, dword [esp + 0x20]
lea eax, [esp + 4]
push edx
push 0x6772d4
push eax
push 8
push 1
push 0x98
push ecx
mov dword [esp + 0x30], 1
call fcn.005eea97
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.005eae6a
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.005eb0f5
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4d4450
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x613aba
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 0x4d44d6
cmp edi, ebx
jne 0x4d44af
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.005ce8ce
add esp, 8
test eax, eax
jne 0x4d44a7
mov edi, 1
cmp esi, ebx
jne 0x4d4482
cmp edi, ebx
je 0x4d44d6
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.005eb0f5
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 0x4d44ed
mov dword [esp + 0x10], 1
jmp 0x4d4630
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4d4506
mov dword [esp + 0x10], 1
jmp 0x4d4630
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
cmp ebp, ebx
jne 0x4d4524
mov dword [esp + 0x10], 2
jmp 0x4d4625
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 0x4d461d
test ebx, ebx
je 0x4d461d
mov eax, dword [0x69c108]
mov dword [esp + 0x18], eax
push 0x2710
mov byte [esp + 0x2c], 1
mov dword [esp + 0x18], 0x2710
call fcn.005ce37a
lea ecx, [esp + 0x18]
mov esi, eax
push ecx
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4d45a0
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.005cf98f
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
call edi
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4d45a0
mov byte [esi], 0
push esi
lea ecx, [esp + 0x1c]
push 0x6732ac
push ecx
call fcn.005e764e
push esi
call fcn.005ce291
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.00562120
push 0xc
call fcn.005eae36
add esp, 0x20
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x28], 2
je 0x4d45ed
mov ecx, eax
call fcn.004d42b0
mov esi, eax
jmp 0x4d45ef
xor esi, esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
push ecx
lea ecx, [esi + 4]
call fcn.005eb22e
push esi
lea ecx, [edi + 4]
mov dword [esi + 8], ebp
call fcn.005e9f6c
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call fcn.005eb0f5
jmp 0x4d4630
mov dword [esp + 0x10], 3
test ebp, ebp
je 0x4d4630
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005eb0f5
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 0x4e3178
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x614512
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.004568f0
mov ecx, dword [0x69c108]
lea edi, [esi + 0x4d8]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [edi], ecx
mov edx, dword [0x69c108]
lea ebx, [esi + 0x4e8]
mov dword [ebx], edx
mov ecx, dword [0x69c108]
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 0x4e31ea
lea ecx, [esi + 0x40]
call fcn.005e9f95
test eax, eax
je 0x4e31e3
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x4e31ce
mov ecx, esi
call fcn.004e33a0
mov eax, dword [esp + 0x24]
lea ecx, [esi + 4]
push eax
call fcn.005eb22e
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.005eb22e
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.005eb22e
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.005eb22e
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.005eb22e
mov edx, dword [esp + 0x60]
lea ecx, [esi + 0x14]
push edx
call fcn.005eb22e
mov eax, dword [esp + 0x64]
lea ecx, [esi + 0x18]
push eax
call fcn.005eb22e
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.005eb22e
lea ecx, [esi + 0x68]
push ecx
call fcn.005eb22e
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 0x4e8550
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x614c00
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.005eb7f4
mov eax, dword [0x69c108]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x68], eax
push fcn.004247c0
push fcn.00424700
push 0xf
lea ecx, [esi + 0x78]
push 0x45c
push ecx
mov byte [esp + 0x30], 1
call fcn.005cefe6
lea ecx, [esi + 0x4218]
mov byte [esp + 0x1c], 2
call fcn.005045e0
mov edx, dword [0x69c108]
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.00424700
lea ecx, [esi + 0x4724]
mov byte [esp + 0x1c], 6
call fcn.00424700
mov eax, dword [0x69c108]
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.005eb080
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 0x4eb0d0
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 0x4eb0f4
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 0x4eb158
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4eb13b
mov ecx, dword [esi + 0x420c]
mov eax, 2
cmp ecx, eax
je 0x4eb175
mov ecx, dword [esi + 0x1c]
push 1
push ebx
mov dword [esi + 0x420c], eax
push ecx
jmp 0x4eb173
mov ecx, dword [esi + 0x420c]
mov eax, 1
cmp ecx, eax
je 0x4eb175
mov edx, dword [esi + 0x1c]
push eax
push ebx
mov dword [esi + 0x420c], eax
push edx
jmp 0x4eb173
mov eax, dword [esi + 0x420c]
test eax, eax
je 0x4eb175
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 0x4eb1cf
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4eb1b2
mov ecx, dword [esi + 0x4210]
mov eax, 2
cmp ecx, eax
je 0x4eb1ec
mov edx, dword [esi + 0x1c]
push 1
push ebx
mov dword [esi + 0x4210], eax
push edx
jmp 0x4eb1ea
mov ecx, dword [esi + 0x4210]
mov eax, 1
cmp ecx, eax
je 0x4eb1ec
mov dword [esi + 0x4210], eax
push eax
mov eax, dword [esi + 0x1c]
push ebx
push eax
jmp 0x4eb1ea
mov eax, dword [esi + 0x4210]
test eax, eax
je 0x4eb1ec
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 0x4eb256
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4eb231
mov ecx, dword [esi + 0x4214]
mov eax, 2
cmp ecx, eax
je 0x4eb273
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 0x4eb273
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 0x4eb273
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 0x4f0480
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 0x4f04be
mov edi, dword [esp + 0x30]
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
push 0x4f03d0
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 0x4f0550
mov eax, dword [esp + 0x14]
cmp eax, 3
ja case.default.0x4f04ed
jmp dword [eax*4 + 0x4f0590]
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 0x4f0585
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 0x4f0bc9
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6156a8
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.005f244b
mov ecx, dword [0x69c108]
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.005f768a
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 0x4f0c6a
mov ecx, dword [esi + 0x48]
add ecx, 4
cmp eax, ecx
jg 0x4f0c6a
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.005eb0f5
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x4f18e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x615740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6a1210]
push esi
push edi
mov esi, ecx
mov edi, dword [eax + 0x2d60]
inc edi
mov dword [eax + 0x2d60], edi
mov eax, dword [0x69c108]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 8], eax
mov edi, dword [esp + 0x24]
push 0x6a0f60
push 0
push 1
mov eax, dword [edi]
push 0x67422c
push eax
lea ecx, [esi + 0x14]
mov byte [esp + 0x30], 1
call fcn.0040f040
mov eax, dword [esi + 4]
push eax
call fcn.00477280
add esp, 4
test eax, eax
je 0x4f199d
mov ecx, dword [0x69c108]
mov dword [esp + 0x24], ecx
push 0x67422c
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 2
call fcn.005eb27e
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.005eae6a
mov eax, dword [esi + 4]
push eax
call fcn.00477310
add esp, 8
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call fcn.005eb0f5
mov ecx, dword [0x6a1210]
add ecx, 0x2ae4
call fcn.005eb080
mov eax, dword [edi]
mov edx, dword [esi + 4]
push eax
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
call fcn.00564980
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4f1a4f
push eax
push eax
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00562c40
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4f1a7e
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push ecx
call fcn.00562530
add esp, 8
lea ecx, [esp + 0x24]
push eax
call fcn.005eb163
mov edx, dword [esi + 4]
push 0xfffffffffffffffe
push edx
mov byte [esp + 0x24], 3
call fcn.00562120
mov eax, dword [esp + 0x2c]
push str.__NOREPORT__
push eax
call fcn.005cebb3
add esp, 0x10
test eax, eax
jne 0x4f1a27
xor edi, edi
jmp 0x4f1a3f
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.005eae6a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call fcn.005eb0f5
jmp 0x4f1a7e
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push ecx
call fcn.00562530
add esp, 4
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005eb163
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 4]
push 0xfffffffffffffffe
push eax
call fcn.00562120
add esp, 8
mov eax, dword [0x6a1210]
mov byte [esp + 0x1c], 0
mov ecx, dword [eax + 0x2d60]
dec ecx
mov dword [eax + 0x2d60], ecx
lea ecx, [esp + 8]
call fcn.005eb0f5
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005eb0f5
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 4