joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a4680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fed28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov edi, dword [ebp + 8]
mov dword [esp + 0x38], 0
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 3
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], eax
call fcn.0041c140
mov edx, dword [edi + 4]
push 3
push edx
call ebx
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x4a47eb
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
call fcn.00420bb0
mov esi, eax
test esi, esi
je 0x4a4753
cmp dword [esi + 4], 0
jne 0x4a474c
mov eax, 0x190
xor ecx, ecx
call fcn.00420c60
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
test esi, esi
jne 0x4a477b
test edi, edi
je 0x4a475e
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
add ebx, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jmp 0x4a4803
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
mov eax, dword [ebx - 0xc]
cmp eax, 0xffffffff
jne 0x4a4796
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x10]
push ecx
push eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x4a47d4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov esi, dword [esp + 0x28]
sub esi, dword [esp + 0x20]
push 3
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esp + 0x10]
push 0x16
push esi
push ecx
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esp + 0x18]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test edi, edi
je 0x4a47eb
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
add ebx, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a480f
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a4830
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ff0ac
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.CExtractBase.1.0
mov dword [esi + 4], vtable.CExtractBase.0
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
xor edi, edi
add eax, 0x10
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0xffffffff
mov dword [esp + 0x14], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov byte [esp + 0x14], 1
mov dword [esi + 0x3c], edi
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esi + 0x44], eax
lea eax, [esi + 0x48]
push eax
mov byte [esp + 0x18], 2
call fcn.004aa570
lea eax, [esi + 0x68]
push eax
mov byte [esp + 0x18], 3
call fcn.004aa570
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], 1
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4a71e0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [esi + 0x90]
sub eax, 0
je 0x4a720e
sub eax, 1
jne 0x4a7229
lea eax, [esp]
push eax
push 0
push esi
push 0x4a7230
push 0
push 0
call fcn.004e5813
mov dword [esi + 8], eax
add esp, 0x18
pop ecx
ret
lea ecx, [esp]
push ecx
push 0
push esi
push 0x4a75f0
push 0
push 0
call fcn.004e5813
mov dword [esi + 8], eax
add esp, 0x18
pop ecx
ret
Function at 0x4ad7e0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x80c
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x566364]
push esi
push edi
test eax, eax
je 0x4ad80c
cmp dword [0x56632c], 0
jne 0x4ad8c1
mov ecx, dword [0x566328]
push 0x400
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 8]
push edx
call edi
xor esi, esi
cmp dword [0x566324], esi
jle 0x4ad850
lea ebx, [ebx]
lea eax, [esp + 8]
push eax
call edi
inc esi
cmp esi, dword [0x566324]
jl 0x4ad840
push str.MiniUI.dll
lea ecx, [esp + 0xc]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edi, [esp + 8]
call fcn.0041d860
test eax, eax
jne 0x4ad87f
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ad8da
jmp 0x4ad88a
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x56632c], eax
test eax, eax
jne 0x4ad8ac
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.004e3edb
add esp, 0x80c
ret
push str.GetMiniUI4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x566364], eax
test eax, eax
je 0x4ad893
call eax
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
xor ecx, esp
call fcn.004e3edb
add esp, 0x80c
ret
lea edx, [esp + 8]
push edx
mov esi, 0x55f670
call fcn.0041da10
int3
Function at 0x4b0750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ff7e1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x24], ebx
mov eax, dword [ebp]
push 0x5c
push eax
mov dword [esp + 0x1c], 1
call fcn.004e5c9d
add esp, 8
cmp eax, ebx
je 0x4b0803
sub eax, dword [ebp]
sar eax, 1
js 0x4b0803
lea ecx, [eax + 1]
lea esi, [esp + 0x18]
mov edx, ebp
call fcn.0041cdf0
mov dword [esp + 0x24], 1
call fcn.00404930
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b080a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4b080a
mov eax, ebp
call fcn.00404930
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x4b0d90
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x501e88
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
mov ebx, dword [esp + 0x28]
mov eax, dword [esi]
mov edx, dword [ebx]
push 0x518ee4
push eax
mov ecx, eax
push ecx
push edx
push str._s_s_s_s
call fcn.00404890
mov edi, dword [edi]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push edi
call ebp
test eax, eax
je 0x4b0e50
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
mov eax, dword [esi]
mov ecx, dword [ebx]
push str.zminiui.xml
push eax
push ecx
push str._s_s_s
lea edi, [esp + 0x24]
call fcn.00404890
mov esi, dword [esp + 0x24]
add esp, 0x10
push esi
call ebp
test eax, eax
jne 0x4b0e66
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b0e50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004b0c80
mov edi, eax
lea eax, [esi - 0x10]
add esp, 4
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b0e9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4b1320
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004e8fe0
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push 0x518dcc
push 0x510bac
push SHChangeNotifyDeregister
mov dword [esp + 0x1c], 0x204
mov dword [esp + 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 8]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b1390
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc]
push edx
mov eax, esi
call fcn.00401560
mov eax, dword [esi]
xor ecx, ecx
cmp dword [eax - 0xc], ecx
setne cl
mov eax, ecx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004e3edb
add esp, 0x214
ret

Function at 0x4b24f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4fda90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
xor ebp, ebp
mov dword [esp + 0x28], esi
movzx eax, word [esp + 0x30]
push 0x518f60
push eax
mov eax, dword [0x56324c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, esi
je 0x4b2620
mov ecx, dword [0x56324c]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
mov dword [esp + 0x18], ebp
cmp ebp, esi
je 0x4b2620
mov edx, dword [0x56324c]
mov ebx, dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push edx
call ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4b2620
mov eax, dword [0x56324c]
push edi
push eax
call ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.004e95a0
xor ebx, ebx
add esp, 0xc
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x30]
push ecx
push ebx
push esi
mov byte [esp + 0x34], 1
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x4b25fd
mov edx, dword [esp + 0x30]
push edx
call fcn.004b24b0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4b25fd
mov ecx, dword [edi + 4]
push ebx
lea eax, [esp + 0x18]
push eax
push ecx
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
cmp eax, ebx
je 0x4b25f3
mov dword [edi + 8], eax
mov dword [esp + 0x14], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4b2620
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x14]
test ebp, ebp
je 0x4b262f
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x4b2a10
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
sub esp, 0x80c
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x566344]
push esi
push edi
test eax, eax
jne 0x4b2ada
mov ecx, dword [0x566340]
push 0x400
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 8]
push edx
call edi
xor esi, esi
cmp dword [0x566320], esi
jle 0x4b2a71
lea eax, [esp + 8]
push eax
call edi
inc esi
cmp esi, dword [0x566320]
jl 0x4b2a61
push 0x5103fc
lea ecx, [esp + 0xc]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edi, [esp + 8]
call fcn.0041d860
test eax, eax
jne 0x4b2aa0
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b2acb
jmp 0x4b2aab
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x566344], eax
test eax, eax
jne 0x4b2ada
pop edi
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.004e3edb
add esp, 0x80c
ret
lea edx, [esp + 8]
push edx
mov esi, 0x55f670
call fcn.0041da10
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Get360CommonInstance
push eax
call esi
mov dword [0x566348], eax
mov eax, dword [0x566344]
push str.Get360ProductHistoryManager
push eax
call esi
mov ecx, dword [0x566344]
push str.Create360FireWareStateFunction
push ecx
mov dword [0x566350], eax
call esi
mov edx, dword [0x566344]
push str.GetFireWallState
push edx
mov dword [0x566354], eax
call esi
mov dword [0x566358], eax
mov eax, dword [0x566344]
push str.Create360FireWareStateFunction2
push eax
call esi
mov ecx, dword [0x566344]
push str.GetIAdMgr
push ecx
mov dword [0x56635c], eax
call esi
mov edx, dword [0x566344]
push str.GetExcludeChecker
push edx
mov dword [0x56634c], eax
call esi
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
mov dword [0x566360], eax
xor ecx, esp
mov eax, 1
call fcn.004e3edb
add esp, 0x80c
ret
Function at 0x4b42a0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x804
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x800], eax
push edi
mov edi, ecx
test edi, edi
jne 0x4b42d3
xor eax, eax
pop edi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004e3edb
add esp, 0x804
ret
push esi
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004e8fe0
add esp, 0xc
lea esi, [esp + 8]
call fcn.004b41b0
pop esi
test eax, eax
je 0x4b42bb
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x804]
pop edi
xor ecx, esp
call fcn.004e3edb
add esp, 0x804
ret

Function at 0x4b70f0
Capabilities:
Hide graphical window

Disassembly:
test eax, eax
jne 0x4b7210
mov ecx, dword [0x56610c]
push ebx
push ebp
mov ebp, dword [ecx + 8]
push esi
push edi
test ebp, ebp
jne 0x4b710e
lea ebx, [eax + 0x14]
jmp 0x4b7145
cmp ebp, 1
jne 0x4b7130
mov eax, dword [ecx + 4]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jmp 0x4b7145
mov eax, dword [ecx]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, 0x51eb851f
mul edx
mov ebx, edx
shr ebx, 5
test ebp, ebp
jne 0x4b714e
lea esi, [ebp + 0x14]
jmp 0x4b7185
cmp ebp, 1
jne 0x4b7170
mov eax, dword [ecx + 4]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jmp 0x4b7185
mov eax, dword [ecx]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, 0x51eb851f
mul edx
mov esi, edx
shr esi, 5
test ebp, ebp
jne 0x4b718e
lea edi, [ebp + 0x7e]
jmp 0x4b71b8
mov eax, 0x51eb851f
cmp ebp, 1
jne 0x4b71ac
mov edx, dword [ecx + 4]
imul edx, edx, 0x7e
imul edx
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
jmp 0x4b71b8
mov edx, dword [ecx]
imul edx, edx, 0x7e
mul edx
mov edi, edx
shr edi, 5
test ebp, ebp
jne 0x4b71c1
lea eax, [ebp + 0x50]
jmp 0x4b71f1
mov eax, 0x51eb851f
cmp ebp, 1
jne 0x4b71e2
mov ecx, dword [ecx + 4]
lea ecx, [ecx + ecx*4]
shl ecx, 4
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4b71f1
mov ecx, dword [ecx]
lea ecx, [ecx + ecx*4]
shl ecx, 4
mul ecx
mov eax, edx
shr eax, 5
mov edx, dword [esp + 0x14]
push 4
push ebx
push esi
push edi
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
mov eax, 1
ret 4
cmp eax, 1
jne 0x4b724e
mov eax, 0x14
call fcn.0041cd00
push 4
push eax
push eax
mov eax, 0x77
call fcn.0041cd00
push eax
mov eax, 0x39
call fcn.0041cd00
push eax
mov eax, dword [esp + 0x18]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, 1
ret 4
cmp eax, 2
jne 0x4b7260
mov ecx, dword [esp + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret 4
Function at 0x4b7310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push edi
push 5
mov edi, eax
push 0x478
push edi
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x4b7330
xor eax, eax
pop edi
ret
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4b732c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, 0xffff
mov dword [esi + 4], eax
cmp word [eax + 2], cx
jne 0x4b7361
movsx edx, word [eax + 0x16]
mov dword [esi + 0x10], edx
movsx eax, word [eax + 0x18]
mov dword [esi + 0x14], eax
jmp 0x4b736f
movsx ecx, word [eax + 0xe]
mov dword [esi + 0x10], ecx
movsx edx, word [eax + 0x10]
mov dword [esi + 0x14], edx
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 2
push 3
push eax
call edi
mov ecx, dword [esi + 0x14]
push 2
push 3
push ecx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
xor eax, eax
cmp dword [esi + 4], eax
pop edi
setne al
ret
Function at 0x4b8bf0
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2c4
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebp, [esi + 0x174]
push ebp
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jge 0x4b8c22
xor eax, eax
jmp 0x4b8d5a
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [esi + 0x178]
push eax
mov eax, dword [esi + 4]
push 0
push eax
call ebx
test eax, eax
jl 0x4b8c1b
mov ecx, dword [esi + 4]
lea edi, [esi + 0x17c]
push edi
push 0x11
push ecx
call ebx
test eax, eax
jge 0x4b8c61
mov eax, dword [edi]
test eax, eax
je 0x4b8c5b
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [edi], 0
mov edx, dword [esi + 4]
lea edi, [esi + 0x180]
push edi
push 0xa
push edx
call ebx
test eax, eax
jge 0x4b8c87
mov eax, dword [edi]
test eax, eax
je 0x4b8c81
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [edi], 0
mov eax, dword [esi + 4]
lea edi, [esi + 0x184]
push edi
push 3
push eax
call ebx
test eax, eax
jge 0x4b8cad
mov eax, dword [edi]
test eax, eax
je 0x4b8ca7
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [edi], 0
mov eax, dword [ebp]
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 0
lea edi, [esi + 0x188]
push edi
push 0
push 0x515740
push 0
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jge 0x4b8ce5
mov eax, dword [edi]
test eax, eax
je 0x4b8cdf
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [edi], 0
push 0x2b0
lea ecx, [esp + 0x1c]
push 0
push ecx
mov dword [esp + 0x20], 0
call fcn.004e8fe0
mov eax, dword [esi + 0x178]
add esp, 0xc
push 0x4019
push 0x2b4
lea edx, [esp + 0x1c]
push edx
push 0x10
push eax
lea edi, [esi + 0x18c]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [edi], eax
mov dword [esi + 0x7c], edi
add esi, 0x140
mov edi, 1
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
cmp dword [esi + 0x24], 0
jne 0x4b8d58
call fcn.00479ff0
mov eax, edi
mov ecx, dword [esp + 0x2d0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e3edb
add esp, 0x2c4
ret
Function at 0x4b8f70
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50285b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x23a4
call fcn.004f3c00
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x23a0], eax
push ebx
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x23b8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
push 0x2b0
lea eax, [esp + 0x34]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x38], edi
call fcn.004e8fe0
add esp, 0xc
push 0x4209
push 0x2b4
lea ecx, [esp + 0x34]
push ecx
push edi
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp dword [ebp + 0x14], edi
je 0x4b9002
lea edx, [esp + 0x3ac]
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x4b901d
push SHChangeNotifyRegister
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x1000
lea edx, [esp + 0x3b4]
call fcn.0041ec40
push edi
push 0x64
lea ecx, [esp + 0x3b4]
push ecx
lea edx, [esp + 0x2f0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCompactPathExW]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x23c0], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2e4]
mov dword [esp + 0x14], 0xf
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4b9080
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2e8]
push eax
lea eax, [esp + 0x28]
call fcn.00401560
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x14]
push ecx
lea edi, [ebx + 0x80]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
call fcn.004bf2a0
mov esi, dword [esp + 0x20]
mov edx, dword [ebx + 0x4c]
push esi
push 0
push 0x180
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x23c0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b910a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x23b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x23a0]
xor ecx, esp
call fcn.004e3edb
mov esp, ebp
pop ebp
ret 0x10