joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100168a0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100816f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebx + 4], eax
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.100445ed
call fcn.10016730
push 0x208
mov edi, eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10037240
add esp, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call esi
push str.NetBridge.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100169ba
lea eax, [ebp - 0x20c]
push eax
call fcn.100262e0
add esp, 4
test eax, eax
je 0x100169ba
cmp dword [edi], 0
jne 0x100169ba
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x100169ba
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x100169ba
call eax
mov dword [edi + 0xc], eax
call fcn.10016730
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100169ee
mov eax, dword [ecx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x100169f0
mov eax, dword [edi]
mov ecx, edi
push 0
push str.ungzip
call dword [eax + 0x30]
mov eax, dword [edi]
mov ecx, edi
push 0
push str.gzip
call dword [eax + 0x30]
jmp 0x100169f0
xor edi, edi
mov dword [ebx + 0x1fc], edi
test edi, edi
je 0x10016a0c
mov esi, dword [edi]
lea eax, [ebx + 0x2c]
mov edx, ebx
mov ecx, edi
neg edx
sbb edx, edx
and edx, eax
push edx
call dword [esi]
lea ecx, [ebx + 0xd0]
call fcn.1000af50
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002be91
mov esp, ebp
pop ebp
ret 8
Function at 0x100184d0
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, ecx
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x10018587
push ebx
push 4
call fcn.10017950
mov ebx, eax
test ebx, ebx
je 0x10018580
mov ecx, ebx
call fcn.10015ab0
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x10018508
mov ecx, dword [edi + 0x50]
push eax
call fcn.10008710
push esi
mov esi, dword [edi + 0x48]
mov ecx, ebx
call fcn.10015ad0
push eax
mov ecx, esi
call fcn.10018970
call fcn.100144a0
mov ecx, ebx
mov esi, eax
call fcn.10015ae0
mov ecx, dword [esi]
push 1
push dword [eax]
push esi
call dword [ecx + 4]
push 0x12345678
push dword [edi + 4]
mov dword [edi + 0x24], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [edi + 0x34]
call fcn.10012d80
mov ecx, dword [edi + 0x30]
pop esi
test ecx, ecx
je 0x10018572
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x30], 0
mov dword [edi + 0x78], 1
pop ebx
xor eax, eax
pop edi
ret 0x10
xor eax, eax
pop edi
ret 0x10
Function at 0x100194e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
mov eax, dword [esi + 4]
je 0x10019563
push 0
push 0xc8
push 0x12345678
push eax
mov dword [esi + 0x24], 8
call dword [sym.imp.USER32.dll_SetTimer]
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x48]
xor ecx, ecx
push 0xb
push 0
push 0
cmp dword [eax + 0x30], ecx
push 0
setne cl
push 0
add ecx, 0xfffffffe
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x48]
test eax, eax
je 0x100195a6
push dword [eax + 0x24]
mov ecx, dword [esi + 0x50]
call fcn.10010b70
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x50]
add eax, 0x40
push eax
call fcn.1000a960
mov ecx, eax
call fcn.1001a980
pop esi
pop ebp
ret 4
push 0x12345678
push eax
mov dword [esi + 0x24], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esi + 0x34]
call fcn.10012d80
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x1001959f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x30], 0
pop esi
pop ebp
ret 4

Function at 0x10019610
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100816f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 2
mov dword [ebx], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x1001969f
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.10037240
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10019698
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.10044457
add esp, 8
test eax, eax
je 0x100196b2
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10019673
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002be91
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x228]
push esi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002be91
mov esp, ebp
pop ebp
ret
Function at 0x1001a370
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f020
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100816f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.1000a8a0
add esp, 8
mov eax, dword [ebp - 0x10]
or esi, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x1001a51e
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x1001a55b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edx, [eax + 0x10]
mov dword [ebp + 0xc], edx
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x800
or eax, ecx
mov edi, dword [ebx]
mov byte [ebp - 4], 1
jge 0x1001a402
push 0x800
lea ecx, [ebp + 0xc]
call fcn.100035f0
mov edx, dword [ebp + 0xc]
cmp dword [edx - 8], 0x800
jl 0x1001a551
push edi
push 0x800
mov dword [edx - 0xc], 0x800
xor ecx, ecx
mov eax, dword [ebp + 0xc]
push edx
push 0x10061598
push str.spreadids
mov word [eax + 0x1000], cx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp + 0xc]
mov edi, eax
push dword [ecx - 8]
push ecx
call fcn.1003c692
mov edx, eax
add esp, 8
test edx, edx
js 0x1001a551
mov ecx, dword [ebp + 0xc]
cmp edx, dword [ecx - 8]
jg 0x1001a551
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov word [eax + edx*2], cx
cmp edi, 0x7ff
je 0x1001a47f
cmp edi, 0x7fe
jne 0x1001a4e2
mov ecx, dword [ebp + 0xc]
mov edx, 1
mov edi, dword [ebx]
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, 0x1000
or eax, edx
jge 0x1001a4a8
push 0x1000
lea ecx, [ebp + 0xc]
call fcn.100035f0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 8], 0x1000
jl 0x1001a551
push edi
push 0x1000
mov dword [ecx - 0xc], 0x1000
xor edx, edx
mov eax, dword [ebp + 0xc]
push ecx
push 0x10061598
push str.spreadids
mov word [eax + 0x2000], dx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.10005b40
push dword [ebp + 0xc]
push dword [ebx]
push str.GetSpreadId__s:_s
call fcn.100133d0
mov edx, dword [ebp + 0xc]
add esp, 0x14
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001a51e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1001a53d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.100031a0
push 0x80004005
call fcn.100031a0
int3
Function at 0x1001ade0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100816f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x220], 0
push 0
push eax
mov esi, 1
mov dword [ebp - 0x21c], 0
call fcn.10037240
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x220]
add esp, 0xc
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], 0x208
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionThemeManager
push SysReAllocString
call edi
test eax, eax
jne 0x1001aef5
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.ThemeActive
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001aee9
mov ecx, 0x10062a04
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001aeb9
test dx, dx
je 0x1001aeb5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001aeb9
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001ae93
xor eax, eax
jmp 0x1001aebe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001aee9
push str._Taskbar_IsPopByReg_ThemeManagerThemeActive0__not_pop
call fcn.100133d0
add esp, 4
call fcn.100144a0
push 1
push 0
push str.break_theme_active
mov ecx, dword [eax]
push str.SoulDancer
push eax
call dword [ecx]
xor esi, esi
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x210], 0xffffffff
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsDWM
push SysReAllocString
mov dword [ebp - 0x218], 4
mov dword [ebp - 0x214], 4
call edi
test eax, eax
jne 0x1001b006
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.CompositionPolicy
push dword [ebp - 0x21c]
call edi
test eax, eax
jne 0x1001af99
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x1001af99
cmp eax, 2
je 0x1001af99
push str._Taskbar_IsPopByReg_DWMCompositionPolicy_not_equal_to_0_or_2__not_pop
call fcn.100133d0
add esp, 4
call fcn.100144a0
push 1
push 0
push str.break_preview
mov ecx, dword [eax]
push str.SoulDancer
push eax
call dword [ecx]
xor esi, esi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 0xffffffff
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.Composition
push dword [ebp - 0x21c]
call edi
test eax, eax
jne 0x1001affa
cmp dword [ebp - 0x210], eax
jne 0x1001affa
push str._Taskbar_IsPopByReg_DWMComposition0__not_pop
call fcn.100133d0
add esp, 4
call fcn.100144a0
push 1
push 0
push str.break_composition
mov ecx, dword [eax]
push str.SoulDancer
push eax
call dword [ecx]
xor esi, esi
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, str.Not_pop
test esi, esi
mov ecx, str.Can_pop
cmove ecx, eax
push ecx
push esi
push str._Taskbar_IsPopByReg_d___s
call fcn.100133d0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.1002be91
mov esp, ebp
pop ebp
ret
Function at 0x1001d010
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f020
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100816f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.1001d200
mov eax, dword [ebp - 0x10]
or esi, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x1001d1ac
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x1001d1e9
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edx, [eax + 0x10]
mov dword [ebp + 0xc], edx
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x800
or eax, ecx
mov edi, dword [ebx]
mov byte [ebp - 4], 1
jge 0x1001d09f
push 0x800
lea ecx, [ebp + 0xc]
call fcn.100035f0
mov edx, dword [ebp + 0xc]
cmp dword [edx - 8], 0x800
jl 0x1001d1df
push edi
mov dword [edx - 0xc], 0x800
xor ecx, ecx
mov eax, dword [ebp + 0xc]
push 0x800
push edx
push 0x10061598
mov word [eax + 0x1000], cx
push dword [ebp - 0x10]
push str.PopTaskbar
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp + 0xc]
mov edi, eax
push dword [ecx - 8]
push ecx
call fcn.1003c692
mov edx, eax
add esp, 8
test edx, edx
js 0x1001d1df
mov ecx, dword [ebp + 0xc]
cmp edx, dword [ecx - 8]
jg 0x1001d1df
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov word [eax + edx*2], cx
cmp edi, 0x7ff
je 0x1001d11c
cmp edi, 0x7fe
jne 0x1001d17f
mov ecx, dword [ebp + 0xc]
mov edx, 1
mov edi, dword [ebx]
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, 0x1000
or eax, edx
jge 0x1001d145
push 0x1000
lea ecx, [ebp + 0xc]
call fcn.100035f0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 8], 0x1000
jl 0x1001d1df
push edi
mov dword [ecx - 0xc], 0x1000
xor edx, edx
mov eax, dword [ebp + 0xc]
push 0x1000
push ecx
push 0x10061598
mov word [eax + 0x2000], dx
push dword [ebp - 0x10]
push str.PopTaskbar
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.10005b40
mov edx, dword [ebp + 0xc]
add esp, 8
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001d1ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1001d1cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.100031a0
push 0x80004005
call fcn.100031a0
int3
Function at 0x1001f4b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
push str.Dwmapi.dll
mov esi, ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x1001f53e
push str.DwmInvalidateIconicBitmaps
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmSetIconicThumbnail
push edi
mov dword [esi + 0xe4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmSetIconicLivePreviewBitmap
push edi
mov dword [esi + 0xe8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmSetWindowAttribute
push edi
mov dword [esi + 0xec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xf0], eax
cmp dword [esi + 0xe4], ebx
je 0x1001f53e
cmp dword [esi + 0xe8], ebx
je 0x1001f53e
cmp dword [esi + 0xec], ebx
je 0x1001f53e
test eax, eax
je 0x1001f53e
push str._Taskbar_CTaskbarWnd::InitFunc_Dwmapi_Suc
mov ebx, 1
call fcn.100133d0
add esp, 4
xor edi, edi
test ebx, ebx
je 0x1001f57b
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.SHGetPropertyStoreForWindow
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xf4], eax
test eax, eax
je 0x1001f577
push str._Taskbar_CTaskbarWnd::InitFunc_Shell32_Suc
mov edi, 1
call fcn.100133d0
add esp, 4
test edi, edi
jne 0x1001f58f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Taskbar_CTaskbarWnd::InitFunc_Faild_err_d
call fcn.100133d0
add esp, 8
test ebx, ebx
je 0x1001f5a0
test edi, edi
je 0x1001f5a0
pop edi
pop esi
mov eax, 1
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1001f870
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push str._Taskbar_CTaskbarWnd__Get_WM_DWMSENDICONICTHUMBNAIL_suc
mov edi, ecx
call fcn.100133d0
mov eax, dword [edi + 0x54]
add esp, 4
inc dword [edi + 0x98]
cmp dword [eax + 0x34], 0
jle 0x1001f8ba
push 2
push dword [edi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [edi + 0x54]
push 0
imul eax, dword [eax + 0x34], 0x3e8
push eax
push 2
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetTimer]
mov ebx, dword [ebp + 0x10]
mov eax, dword [edi + 8]
movzx esi, bx
push esi
shr ebx, 0x10
push ebx
push str._Taskbar_CTaskbarWnd::SendThumbnail_begin__maxwidth_d__maxheight_d
mov dword [ebp - 8], eax
call fcn.100133d0
mov eax, 0xc8
add esp, 0xc
cmp ebx, eax
cmova ebx, eax
mov eax, 0x6c
cmp esi, eax
cmova esi, eax
cmp dword [edi + 0xc8], 8
mov dword [ebp - 4], esi
lea esi, [edi + 0xb4]
mov eax, esi
jb 0x1001f902
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001f92e
cmp dword [esi + 0x14], 8
jb 0x1001f915
mov esi, dword [esi]
push esi
push str.Load_Thumbnail_faild_path_s
call fcn.100133d0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1001f938
mov eax, dword [esi]
lea ecx, [edi + 0x48]
push eax
call fcn.10012b60
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x1001f969
cmp dword [esi + 0x14], 8
jb 0x1001f950
mov esi, dword [esi]
push esi
push str.LoadBitmapFromFile_Thumbnail_File_faild__path_s
call fcn.100133d0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 1
push dword [ebp - 4]
lea ecx, [edi + 0x48]
push ebx
push eax
call fcn.10012bb0
mov ebx, eax
test ebx, ebx
je 0x1001f948
push 0xff000000
lea eax, [ebp + 0x10]
push eax
push dword [ebx + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x1001f996
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xe8]
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call eax
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
push 1
mov eax, dword [ecx]
call dword [eax]
push str._Taskbar_CTaskbarWnd::SendThumbnail_End
call fcn.100133d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001f9e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push str._Taskbar_CTaskbarWnd::SendPreview_begin
mov ebx, ecx
call fcn.100133d0
lea esi, [ebx + 0xcc]
add esp, 4
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1001fa07
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001fa30
cmp dword [esi + 0x14], 8
jb 0x1001fa1a
mov esi, dword [esi]
push esi
push str._Taskbar_Load_Preview_faild_path_s
call fcn.100133d0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1001fa3a
mov eax, dword [esi]
push edi
lea ecx, [ebx + 0x48]
push eax
call fcn.10012b60
mov edi, eax
test edi, edi
jne 0x1001fa69
cmp dword [esi + 0x14], 8
jb 0x1001fa52
mov esi, dword [esi]
push esi
push str._Taskbar_LoadBitmapFromFile_Preview_File_faild__path_s
call fcn.100133d0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0x780
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0x438
push eax
call fcn.10019750
mov eax, dword [ebx + 0x68]
add esp, 8
sub eax, dword [ebx + 0x60]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x6c]
mov ecx, eax
sub eax, dword [ebx + 0x7c]
sub ecx, dword [ebx + 0x64]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x20], 0
push dword [edi + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x1001fac2
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 4], eax
ja 0x1001fb1f
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x1001fae4
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 4], eax
ja 0x1001fb1f
mov ecx, edi
call fcn.1001f3e0
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.1001f320
mov ecx, eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
jmp 0x1001fb26
mov eax, 1
mov ecx, eax
push 1
push ecx
push eax
push edi
lea ecx, [ebx + 0x48]
call fcn.10012bb0
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x1001fb59
cmp dword [esi + 0x14], 8
jb 0x1001fb42
mov esi, dword [esi]
push esi
push str.ResizeBitmap_Preview_File_faild__path_s
call fcn.100133d0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xff000000
lea ecx, [ebp - 0x10]
push ecx
push dword [eax + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
mov esi, dword [ebp - 0xc]
test eax, eax
je 0x1001fb74
mov dword [esi + 8], eax
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
mov eax, dword [ebx + 0xec]
push dword [ebp + 8]
call eax
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push str._Taskbar_CTaskbarWnd::SendPreview_End
call fcn.100133d0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10022160
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f840
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x100816f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push str.RunDll.exe
push esi
call fcn.10044457
add esp, 8
test eax, eax
je 0x100222f9
push str.32.exe
push esi
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x100222f9
push 0x10063ea4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x100221f9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push ebx
call esi
push str.Wow64RevertWow64FsRedirection
push ebx
mov dword [ebp - 0x428], eax
call esi
mov dword [ebp - 0x424], eax
jmp 0x100221ff
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x428]
test ecx, ecx
je 0x10022216
test eax, eax
je 0x10022216
lea eax, [ebp - 0x42c]
push eax
call ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
cmp dword [ebp - 0x428], 0
mov dword [ebp - 4], 0
je 0x10022241
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x10022241
push dword [ebp - 0x42c]
call ecx
test esi, esi
je 0x100222f2
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100222f2
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.10037240
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10037240
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call fcn.100445cc
add esi, eax
lea eax, [ebp - 0x420]
push esi
push eax
push str._slds__u.tmp
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10012a00
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x218]
add esp, 0x14
push 1
push eax
push edi
call esi
push 4
push 0
test eax, eax
je 0x100222ef
lea eax, [ebp - 0x218]
push eax
call esi
mov eax, 1
jmp 0x100222fb
push edi
call esi
mov eax, 1
jmp 0x100222fb
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002be91
mov esp, ebp
pop ebp
ret