joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10040b70
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016feeb
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push ebx
call edi
push 0
lea eax, [ebp - 0x34]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x44]
push ecx
push eax
call edi
lea eax, [ebp - 0x54]
push eax
push esi
call edi
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov eax, 0x55555556
imul ecx
mov eax, dword [0x101ed740]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [ebp - 0x20], ecx
cmovg esi, dword [ebp - 0x20]
test eax, eax
jne 0x10040c3a
push 0x44
call fcn.10092352
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10040c2c
mov ecx, eax
call fcn.10064b50
jmp 0x10040c2e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x101ed740], eax
push esi
push edi
push ebx
mov ecx, eax
call fcn.10065d40
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10040c80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xd4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [0x101ed6c8]
test ecx, ecx
jne 0x10040cd4
push 8
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10040ccc
mov dword [ecx], vtable.CImeProc.0
mov byte [ecx + 4], 1
mov dword [0x101e88a8], 0
jmp 0x10040cce
xor ecx, ecx
mov dword [0x101ed6c8], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x101ed6c8]
test ecx, ecx
jne 0x10040d11
push 8
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10040d09
mov dword [ecx], vtable.CImeProc.0
mov byte [ecx + 4], 1
mov dword [0x101e88a8], 0
jmp 0x10040d0b
xor ecx, ecx
mov dword [0x101ed6c8], ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [0x101ed6c8]
test ecx, ecx
jne 0x10040d4e
push 8
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10040d46
mov dword [ecx], vtable.CImeProc.0
mov byte [ecx + 4], 1
mov dword [0x101e88a8], 0
jmp 0x10040d48
xor ecx, ecx
mov dword [0x101ed6c8], ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [0x101ed6c8]
test ecx, ecx
jne 0x10040d8b
push 8
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10040d83
mov dword [ecx], vtable.CImeProc.0
mov byte [ecx + 4], 1
mov dword [0x101e88a8], 0
jmp 0x10040d85
xor ecx, ecx
mov dword [0x101ed6c8], ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
push 5
push dword [ebp + 8]
mov dword [esi + 0xdc], 0
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop esi
pop ebp
ret 4
Function at 0x10042020
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x101ed730]
test eax, eax
jne 0x1004206c
push 0x10
call fcn.10092352
add esp, 4
test eax, eax
je 0x10042065
mov dword [eax + 0xc], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
jmp 0x10042067
xor eax, eax
mov dword [0x101ed730], eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [0x101ed6c8]
test ecx, ecx
jne 0x100420ab
push 8
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100420a3
mov dword [ecx], vtable.CImeProc.0
mov byte [ecx + 4], 1
mov dword [0x101e88a8], 0
jmp 0x100420a5
xor ecx, ecx
mov dword [0x101ed6c8], ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [0x101ed6c8]
test ecx, ecx
jne 0x100420e8
push 8
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100420e0
mov dword [ecx], vtable.CImeProc.0
mov byte [ecx + 4], 1
mov dword [0x101e88a8], 0
jmp 0x100420e2
xor ecx, ecx
mov dword [0x101ed6c8], ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [0x101ed6c8]
test ecx, ecx
jne 0x10042125
push 8
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1004211d
mov dword [ecx], vtable.CImeProc.0
mov byte [ecx + 4], 1
mov dword [0x101e88a8], 0
jmp 0x1004211f
xor ecx, ecx
mov dword [0x101ed6c8], ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
push 5
push dword [ebp + 8]
mov dword [edi + 0xdc], 0
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop ebp
ret 4

Function at 0x10042560
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov dword [esi + 0xc], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov edi, dword [ebp + 8]
push 0
push ecx
push edi
mov ecx, esi
mov dword [esi + 0x30], 0
call fcn.100424a0
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100425ad
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100425ad
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0
push dword [edi]
call esi
test eax, eax
je 0x10042611
push 4
push eax
call esi
mov esi, eax
test esi, esi
je 0x10042611
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1004260a
mov edi, dword [eax + 0x18]
call fcn.1003e7c0
test edi, edi
jne 0x100425f6
push edi
push dword [eax + 0x60]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
pop ebp
ret 0xc
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1004260a
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10047250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call fcn.10096b40
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp + 8]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, dword [ebp + 8]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x10047333
lea eax, [ebp + 0xc]
push eax
push edi
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp + 0xc], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [esi + 4]
mov dword [ebp + 0xc], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x100472f9
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
mov dword [ebp + 0xc], 0
mov dword [ebx], eax
lea eax, [ebp + 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x1004731c
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
pop edi
mov dword [ebx + 0xc], esi
mov dword [ebx + 4], eax
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10047340
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1004742a
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x1004742a
cmp dword [ebp + 8], 0
jne 0x1004742a
push ebx
call fcn.10090f8f
add esp, 4
lea ecx, [ebp + 8]
push 0
push ecx
push ebx
push eax
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1004742a
lea eax, [ebp - 4]
push eax
push 1
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x10047423
mov eax, dword [ebp - 4]
push 0
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov ecx, dword [eax]
push 0
push dword [ebp + 8]
push ebx
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x10047411
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
test eax, eax
je 0x1004740c
push ecx
push dword [ebp - 4]
mov ecx, eax
call fcn.100471f0
jmp 0x1004740e
xor eax, eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebx
call fcn.1009503c
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10047453
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
test eax, eax
je 0x1004745e
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1004744c
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0xc], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esi + 0xc]
lea eax, [ebp + 8]
push eax
push dword [edi + 4]
mov dword [ebp + 8], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x1004747c
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
mov edi, dword [esi + 0xc]
mov dword [esi], eax
lea eax, [ebp + 8]
push eax
push dword [edi + 4]
mov dword [ebp + 8], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x1004749f
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
pop edi
mov dword [esi + 4], eax
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1004c070
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x101bd92c]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 0x113
ja 0x1004c1c9
je 0x1004c172
lea eax, [ebx - 1]
cmp eax, 0x1f
ja case.0x1004c0b4.2
movzx eax, byte [eax + 0x1004c268]
jmp dword [eax*4 + 0x1004c254]
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 6
push esi
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.USER32.dll_ReleaseCapture]
push esi
call dword [sym.imp.USER32.dll_SetCapture]
jmp case.0x1004c0b4.1
mov eax, dword [ebp + 0x14]
movsx ecx, ax
shr eax, 0x10
cwde
test ecx, ecx
jle case.0x1004c0b4.2
test eax, eax
jle case.0x1004c0b4.2
push dword [ebp + 0x14]
mov dword [edi + 0x44], ecx
push dword [ebp + 0x10]
mov dword [edi + 0x48], eax
push ebx
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_BeginPaint]
push dword [esp + 0x18]
push ecx
mov ecx, edi
call fcn.1004c870
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_EndPaint]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, esi
je case.0x1004c0b4.2
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 6
push esi
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 0x10
mov eax, ebx
sub eax, 0x200
je 0x1004c22f
dec eax
je 0x1004c20b
sub eax, 0xa2
jne case.0x1004c0b4.2
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi + 0x4c], 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 0x10
mov dword [esp + 0x10], esi
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp + 0x14]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.1004ce60
jmp case.0x1004c0b4.1
push dword [ebp + 0x14]
push ecx
push esi
call fcn.1004cc10
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1009174c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1004cc10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x18]
push eax
push esi
mov ebx, ecx
mov dword [ebp - 0x24], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 0x10]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1004cc9f
mov dword [ebx + 0x10], 0xffffffff
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x1004cd22
mov edi, dword [esi]
cmp dword [edi + 0x14], 0
jne 0x1004ccf2
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x10]
push edx
mov dword [ebp - 0xc], eax
push ecx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1004ccec
mov eax, dword [ebx + 0x10]
cmp eax, dword [edi]
jne 0x1004cd10
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x1004ccb5
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
push 1
push 0
push dword [ebp - 0x24]
mov dword [ebx + 0x10], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009174c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1004cd40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
je 0x1004cd86
push 0x11
push 0
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x10], 0xffffffff
push dword [ebp + 0xc]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [esi]
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 4
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 0xc
Function at 0x1004ce60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
push esi
mov dword [ebx + 0x10], 0xffffffff
mov esi, dword [eax]
push edi
cmp esi, dword [eax + 4]
je 0x1004ced6
lea esp, [esp]
mov edi, dword [esi]
cmp dword [edi + 0x14], 0
jne 0x1004cec4
mov eax, dword [edi + 4]
push dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 8]
push dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1004ced1
mov eax, dword [ebx + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x1004ce90
jmp 0x1004ced6
mov eax, dword [edi]
mov dword [ebx + 0x10], eax
push 0xffffffffffffffff
mov ecx, ebx
call fcn.1004cf10
mov eax, dword [ebp - 0x1c]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [ebx + 0x4c], 0
xor ecx, ebp
pop ebx
call fcn.1009174c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1004d550
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x38], esi
call fcn.10014110
mov ebx, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
mov dword [esi + 0xdc], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x30
call ebx
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xe0], eax
call fcn.10013e50
push 0
mov dword [esi + 0xe4], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x30
call ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.Shell_TrayWnd
call ebx
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
call edi
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
push 0
mov dword [ecx + 0xe8], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call ebx
mov esi, eax
call edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
push 0
mov dword [ecx + 0xec], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call ebx
mov esi, eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x14]
push ecx
push eax
call ebx
lea eax, [ebp - 0x24]
push eax
push esi
call ebx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
pop edi
mov dword [ecx + 0xf0], eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1009174c
mov esp, ebp
pop ebp
ret
Function at 0x1004f4b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xd4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [0x101ed6c8]
test ecx, ecx
jne 0x1004f504
push 8
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1004f4fc
mov dword [ecx], vtable.CImeProc.0
mov byte [ecx + 4], 1
mov dword [0x101e88a8], 0
jmp 0x1004f4fe
xor ecx, ecx
mov dword [0x101ed6c8], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x101ed6c8]
test ecx, ecx
jne 0x1004f541
push 8
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1004f539
mov dword [ecx], vtable.CImeProc.0
mov byte [ecx + 4], 1
mov dword [0x101e88a8], 0
jmp 0x1004f53b
xor ecx, ecx
mov dword [0x101ed6c8], ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [0x101ed6c8]
test ecx, ecx
jne 0x1004f57e
push 8
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1004f576
mov dword [ecx], vtable.CImeProc.0
mov byte [ecx + 4], 1
mov dword [0x101e88a8], 0
jmp 0x1004f578
xor ecx, ecx
mov dword [0x101ed6c8], ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [0x101ed6c8]
test ecx, ecx
jne 0x1004f5bb
push 8
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1004f5b3
mov dword [ecx], vtable.CImeProc.0
mov byte [ecx + 4], 1
mov dword [0x101e88a8], 0
jmp 0x1004f5b5
xor ecx, ecx
mov dword [0x101ed6c8], ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
push 5
push dword [ebp + 8]
mov dword [esi + 0xf4], 0
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop esi
pop ebp
ret 4
Function at 0x10052050
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x101bd92c]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
push 0
push 0x10199228
lea ecx, [esi + 0x44]
mov dword [esp + 0x14], eax
call fcn.100048b0
cmp dword [esi + 0x6c], 0
jne 0x10052092
mov edi, 1
jmp 0x100520b1
push 7
lea ecx, [esi + 0x5c]
push str.default
push dword [ecx + 0x10]
push 0
call fcn.10009c10
test eax, eax
jne 0x100520af
lea edi, [eax + 1]
jmp 0x100520b1
xor edi, edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
mov dword [esi], edi
call fcn.10098090
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
cmp dword [esi + 0xc], 0
je 0x10052119
test edi, edi
lea edi, [esi + 0x14]
mov dword [esi], 0
cmp dword [edi + 0x14], 8
jb 0x100520ee
mov eax, dword [edi]
jmp 0x100520f0
mov eax, edi
push eax
lea eax, [esp + 0x14]
push str._sTempSkinSkin.xml
push eax
call fcn.10091da4
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
jne 0x10052137
cmp dword [edi + 0x14], 8
jb 0x10052116
mov edi, dword [edi]
push edi
jmp 0x10052125
cmp dword [esi + 0x28], 8
lea eax, [esi + 0x14]
jb 0x10052124
mov eax, dword [eax]
push eax
lea eax, [esp + 0x14]
push str._sSkinSkin.xml
push eax
call fcn.10091da4
add esp, 0xc
cmp dword [esi], 0
jne 0x10052226
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
jne 0x10052226
mov ecx, dword [0x101ed6cc]
mov dword [esi], 1
test ecx, ecx
jne 0x1005217f
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10052177
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x10052179
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push 0
push 0x57
call dword [eax + 0xc]
mov ecx, dword [0x101ed6cc]
test ecx, ecx
jne 0x100521b2
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100521aa
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x100521ac
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push str.default
push 0x9f
call dword [eax + 8]
mov ecx, dword [0x101ed6cc]
test ecx, ecx
jne 0x100521eb
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100521e3
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x100521e5
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push 0x57
call dword [eax + 0x14]
mov ecx, dword [0x101ed6cc]
test ecx, ecx
jne 0x1005221c
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10052214
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x10052216
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push 0x9f
call dword [eax + 0x14]
mov ecx, esi
call fcn.100540f0
mov ecx, esi
call fcn.10054410
push dword [esp + 0xc]
mov ecx, esi
call fcn.10052260
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 4