joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4503e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46026f
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0042a667
add esp, 4
lea ecx, [ebp - 0x78]
call fcn.00406e20
mov dword [ebp - 4], 0
call fcn.0042a646
push eax
call fcn.0042a646
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.NS_08d_05d_05d
lea eax, [ebp - 0x78]
push eax
call fcn.004075a0
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x450558
push 0
lea ecx, [ebp - 0x84]
call fcn.00412080
mov byte [ebp - 4], 1
push 0xf003f
push 0x472824
push SysReAllocString
lea ecx, [ebp - 0x84]
call fcn.00411d80
test eax, eax
jne 0x450501
mov dword [ebp - 0x88], 0x1e
push 0x64
push 0
lea ecx, [ebp - 0x74]
push ecx
call fcn.0041fb70
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x74]
push eax
push 0x472848
lea ecx, [ebp - 0x84]
call fcn.00411c20
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x14
jl 0x4504d6
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x1e
jle 0x4504f3
push 1
lea ecx, [ebp - 0x78]
call fcn.00406e70
push eax
push 0x472850
lea ecx, [ebp - 0x84]
call fcn.00411e20
jmp 0x4504ff
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
call fcn.00406c50
jmp 0x45053e
push 0
push 0
push 0x2001f
push 0
push 0
push 0x472858
push SysReAllocString
lea ecx, [ebp - 0x84]
call fcn.00411f50
push 1
lea ecx, [ebp - 0x78]
call fcn.00406e70
push eax
push 0x47287c
lea ecx, [ebp - 0x84]
call fcn.00411e20
lea ecx, [ebp - 0x84]
call fcn.00412010
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.00412060
lea ecx, [ebp - 0x78]
call fcn.00406e70
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00406d00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret
Function at 0x450970
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4602fd
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x48200c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4509b8
xor eax, eax
xor edx, edx
jmp 0x450b1e
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
cmp dword [ebp - 0x1c], 3
jne 0x4509f7
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4509f2
mov edx, dword [ebp - 0x50]
sub edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
sbb eax, dword [ebp - 0x54]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
jmp 0x450b18
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040f0b0
mov byte [ebp - 4], 1
push 0x17
push 0
push 0x4762b0
lea ecx, [ebp - 0x18]
call fcn.0040f0d0
lea ecx, [ebp - 0x14]
call fcn.0040f0b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.0040f060
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040eba0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0040f090
push eax
mov ecx, dword [ebp - 0x30]
call fcn.0040ec60
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0x54]
call ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.0040ec40
lea ecx, [ebp - 0x70]
call fcn.0040ee00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.0040f060
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [eax + 0x60]
call ecx
lea ecx, [ebp - 0x70]
call fcn.0040ee20
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0040ef00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040ef50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040ef50
jmp 0x450b02
mov dword [ebp - 4], 0xffffffff
jmp 0x450b12
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450eb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x472738
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x450ee1
xor eax, eax
jmp 0x45103b
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00443332
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x450f13
xor eax, eax
jmp 0x45103b
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x450f44
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.0044332d
add esp, 4
xor eax, eax
jmp 0x45103b
mov dword [ebp - 0x18], 0x34
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x47273c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x451024
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x472740
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x451024
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
push str._d._d._d._d
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0044332d
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x451280
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.0041fb70
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x4726d0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x108], 2
jne 0x4513ab
cmp dword [ebp - 0x114], 5
jne 0x451302
cmp dword [ebp - 0x110], 0
jne 0x451302
push str.Win2000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4513a9
cmp dword [ebp - 0x114], 5
jne 0x451328
cmp dword [ebp - 0x110], 0
jbe 0x451328
push 0x4726e8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4513a9
cmp dword [ebp - 0x114], 6
jne 0x45134b
cmp dword [ebp - 0x110], 0
jne 0x45134b
push str.Vista
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4513a9
cmp dword [ebp - 0x114], 6
jne 0x45136e
cmp dword [ebp - 0x110], 1
jne 0x45136e
push str.Win7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4513a9
cmp dword [ebp - 0x114], 6
jne 0x451391
cmp dword [ebp - 0x110], 2
jb 0x451391
push str.Win8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4513a9
cmp dword [ebp - 0x114], 0xa
jne 0x4513a9
push str.Win10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4513f6
cmp dword [ebp - 0x108], 1
jne 0x4513f6
cmp dword [ebp - 0x114], 4
jne 0x4513d5
cmp dword [ebp - 0x110], 0x5a
jae 0x4513d5
push 0x472720
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x114], 4
jne 0x4513f6
cmp dword [ebp - 0x110], 0x5a
jb 0x4513f6
push 0x472728
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret

Function at 0x451410
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.0041fb70
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x451472
cmp dword [ebp - 0x114], 6
jb 0x451472
cmp dword [ebp - 0x110], 2
jb 0x451472
mov eax, 1
jmp 0x451474
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret

Function at 0x451490
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.0041fb70
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x4514e9
cmp dword [ebp - 0x114], 6
jb 0x4514e9
mov eax, 1
jmp 0x4514eb
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret
Function at 0x451570
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x24]
cmp ecx, 9
je 0x451592
movzx edx, word [ebp - 0x24]
cmp edx, 6
jne 0x45159b
mov eax, 1
jmp 0x45159d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x451610
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x451641
xor eax, eax
jmp 0x45167a
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45165c
xor eax, eax
jmp 0x45167a
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x451680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4516b1
xor eax, eax
jmp 0x451721
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4516cc
xor eax, eax
jmp 0x451721
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4516fe
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x451721
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041fff0
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x451d90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
mov eax, dword [ebp - 0x210]
add eax, 0x10
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.update.cfg
mov edx, dword [ebp - 0x210]
add edx, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x473374
mov eax, dword [ebp - 0x210]
add eax, 0x10
push eax
call fcn.00423327
add esp, 8
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x451dfd
jmp 0x451e71
mov dword [ebp - 0x214], 0
jmp 0x451e18
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x210]
add ecx, 0x26c
call fcn.004135e0
cmp dword [ebp - 0x214], eax
jae 0x451e62
mov edx, dword [ebp - 0x218]
push edx
push 1
push 0x410
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x210]
add ecx, 0x26c
call fcn.004135c0
push eax
call fcn.00428dde
add esp, 0x10
jmp 0x451e09
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.0042370f
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret
Function at 0x4528c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 0x3f4
call fcn.0041e68d
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push 0x3f4
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041fb70
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x3e8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x3ec], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x3f0], eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push sym.Uninstall_adv.exe_private:_static_unsigned_int___stdcall_CNsUpdate::UpdateThread_void__
push 0
push 0
call fcn.00428b13
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x452950
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x452960
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46049b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], ecx
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0041fb70
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call sym.Uninstall_adv.exe_int___cdecl_GetProgramsPath_wchar_t__
add esp, 4
push 0x47380c
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp - 0x21c]
add eax, 0x13c
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x473810
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x21c]
call sym.Uninstall_adv.exe_private:_bool___thiscall_CNsUninstaller::DelDir_wchar_t_const__
lea ecx, [ebp - 0x218]
push ecx
call sym.Uninstall_adv.exe_int___cdecl_GetDesktopPath_wchar_t__
add esp, 4
lea ecx, [ebp - 0x224]
call fcn.00406e20
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x21c]
add edx, 0xd8
push edx
lea eax, [ebp - 0x218]
push eax
push 0x473814
lea ecx, [ebp - 0x224]
push ecx
call fcn.004075a0
add esp, 0x10
lea ecx, [ebp - 0x224]
call fcn.00406e70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x220], 0
jmp 0x452a7b
mov edx, dword [ebp - 0x220]
add edx, 1
mov dword [ebp - 0x220], edx
mov ecx, dword [ebp - 0x21c]
add ecx, 0x314
call fcn.00414650
cmp dword [ebp - 0x220], eax
jae 0x452ab8
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0x314
call fcn.00414630
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x452a6c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00406d00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret
Function at 0x4531e0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460542
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x674], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x473494
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x670]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x680], eax
cmp dword [ebp - 0x680], 0xffffffff
jne 0x45325e
xor al, al
jmp 0x4533cf
mov edx, 1
test edx, edx
je 0x4533b6
mov eax, dword [ebp - 0x670]
and eax, 0x10
je 0x4532f1
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x644]
cmp eax, 0x2e
je 0x4532ec
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x678]
call fcn.00406d40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x644]
push edx
lea ecx, [ebp - 0x678]
call fcn.00406c00
push 0x47349c
lea ecx, [ebp - 0x678]
call fcn.00406c00
lea ecx, [ebp - 0x678]
call fcn.00406e70
push eax
mov ecx, dword [ebp - 0x674]
call sym.Uninstall_adv.exe_private:_bool___thiscall_CNsUninstaller::DelDir_wchar_t_const__
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x678]
call fcn.00406d00
jmp 0x453397
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0041fb70
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x674]
mov ecx, dword [eax + 0xc]
add ecx, 1
mov edx, dword [ebp - 0x674]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x674]
imul eax, dword [eax + 0xc], 0x64
mov ecx, dword [ebp - 0x674]
cdq
idiv dword [ecx + 8]
mov dword [ebp - 0x67c], eax
cmp dword [ebp - 0x67c], 0
jl 0x453397
cmp dword [ebp - 0x67c], 0x64
jge 0x453397
push 0
mov edx, dword [ebp - 0x67c]
push edx
push 0x7e9
mov eax, dword [ebp - 0x674]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea edx, [ebp - 0x670]
push edx
mov eax, dword [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4533b1
jmp 0x4533b6
jmp 0x45325e
mov ecx, dword [ebp - 0x680]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret 4
Function at 0x4533f0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460575
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x478], ecx
mov dword [ebp - 0x46c], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x473488
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x474], eax
cmp dword [ebp - 0x474], 0xffffffff
jne 0x45347c
mov eax, dword [ebp - 0x46c]
jmp 0x45355d
mov edx, 1
test edx, edx
je 0x45354a
mov eax, dword [ebp - 0x468]
and eax, 0x10
je 0x45351c
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x43c]
cmp eax, 0x2e
je 0x45351a
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x470]
call fcn.00406d40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x43c]
push edx
lea ecx, [ebp - 0x470]
call fcn.00406c00
push 0x473490
lea ecx, [ebp - 0x470]
call fcn.00406c00
lea ecx, [ebp - 0x470]
call fcn.00406e70
push eax
mov ecx, dword [ebp - 0x478]
call sym.Uninstall_adv.exe_private:_int___thiscall_CNsUninstaller::CountFiles_wchar_t_const__
add eax, dword [ebp - 0x46c]
mov dword [ebp - 0x46c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call fcn.00406d00
jmp 0x45352b
mov eax, dword [ebp - 0x46c]
add eax, 1
mov dword [ebp - 0x46c], eax
lea ecx, [ebp - 0x468]
push ecx
mov edx, dword [ebp - 0x474]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x453545
jmp 0x45354a
jmp 0x45347c
mov eax, dword [ebp - 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret 4