joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405a29
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push 0x4263e4
push 0x4263ec
push str._s__s
push 0x42f8ec
call fcn.00403c61
mov eax, dword [0x42f8ec]
add esp, 0x10
push eax
push 1
xor edi, edi
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405ab6
push esi
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp esi, edi
je 0x405ab6
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x405a95
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
cmp ebx, edi
je 0x405aae
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x405ba1
call fcn.0040bfae
test al, al
jne 0x405ad5
push 0x30
push dword [0x42f8ec]
push 0x426404
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x405aa3
call fcn.0040b38f
mov esi, eax
call fcn.0040b3da
call fcn.0040b38f
push eax
call fcn.0040b488
test eax, eax
jne 0x405b16
push 0x20
push dword [0x42f8ec]
push str.gb0R
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp ebx, edi
je 0x405b0f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x405ba1
call fcn.00405787
test eax, eax
jne 0x405b36
call fcn.00405897
cmp ebx, edi
je 0x405b2f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00405967
jmp 0x405b0f
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.00405cdc
call fcn.00407fb7
call fcn.004055f0
mov esi, eax
mov eax, dword [0x42f69c]
cmp eax, edi
je 0x405b89
push edi
push edi
push 0x10
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00405c4f
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp ebx, edi
je 0x405b9f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x406b28
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x406b36
push 0xd
pop eax
jmp 0x406b69
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x406b3d
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x406ff3
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x42b268]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
push ecx
push dword [esi]
mov dword [ebp - 0x21c], ecx
xor edi, edi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call fcn.00406fb5
mov ebx, eax
cmp ebx, edi
je 0x407059
cmp dword [ebp - 0x214], edi
je 0x407052
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x4070f1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x407081
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00406ff3
mov dword [ebp - 0x220], eax
cmp eax, edi
jne 0x407102
lea eax, [ebp - 0x228]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x407061
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x214], edi
je 0x4070cc
push dword [ebp - 0x214]
call ebx
mov dword [ebp - 0x214], edi
push dword [ebp - 0x21c]
mov dword [ebp - 0x210], edi
call fcn.0040716f
mov esi, eax
cmp dword [ebp - 0x214], edi
je 0x4070ef
push dword [ebp - 0x214]
call ebx
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d325
leave
ret 4
cmp dword [ebp - 0x214], edi
je 0x407116
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x220]
jmp 0x4070f1

Function at 0x40716f
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x42f93c], 0
jne 0x40719f
push 0x426480
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407198
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42f940], eax
mov byte [0x42f93c], 1
mov eax, dword [0x42f940]
test eax, eax
je 0x4071b7
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x4071c3
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x407fb7
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x42f69c], esi
jne 0x408009
push 0x24
call fcn.0040d9ea
pop ecx
cmp eax, esi
je 0x407feb
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 4], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], ecx
mov dword [eax], vtable.CUtilWindow.0
jmp 0x407fed
xor eax, eax
push esi
push esi
push esi
push 0x407f09
push esi
push esi
mov dword [0x42f69c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x4083ed
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x7a0]
sub esp, 0x820
mov eax, dword [0x42b268]
xor eax, ebp
mov dword [ebp + 0x79c], eax
mov eax, dword [ebp + 0x7a8]
push ebx
push edi
mov edi, ecx
push 1
push edi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edi
call dword [sym.imp.GDI32.dll_SetBkMode]
xor eax, eax
cmp dword [esi + 0x28], eax
jne 0x408438
push eax
push eax
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x28], eax
push dword [esi + 0x28]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call ebx
push dword [esi + 0x24]
mov dword [ebp - 0x70], eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xfffffffffffffff0
push dword [esi + 4]
xor edi, edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
je 0x408465
inc edi
jmp 0x40846c
test al, 2
je 0x40846c
push 2
pop edi
lea eax, [ebp - 0x80]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push eax
call fcn.0040de60
add esp, 0xc
push 0x400
lea eax, [ebp - 0x64]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
or edi, 0x20
push edi
lea eax, [ebp - 0x80]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x70]
push dword [ebp - 0x68]
call ebx
push dword [ebp - 0x6c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp + 0x79c]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop ebx
call fcn.0040d325
add ebp, 0x7a0
leave
ret 4
Function at 0x408522
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x878
mov eax, dword [0x42b268]
xor eax, esp
mov dword [esp + 0x874], eax
mov eax, dword [ebx + 4]
push esi
push edi
lea ecx, [esp + 0x38]
push ecx
xor esi, esi
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x30], eax
lea eax, [esp + 0xc]
push eax
push dword [ebx + 4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_SetBkMode]
push esi
push esi
push 0x31
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_SelectObject]
lea esi, [esp + 0xc]
lea edi, [esp + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
push edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
push pe_nt_image_headers32
push dword [ebx + 4]
add eax, 0xf
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_SendMessageW]
neg eax
sbb eax, eax
mov esi, 0x400
and eax, esi
push eax
push 4
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x3c]
call dword [sym.imp.USER32.dll_DrawFrameControl]
xor eax, eax
push 0x7fe
mov word [esp + 0x7c], ax
lea eax, [esp + 0x7e]
push edi
push eax
call fcn.0040de60
add esp, 0xc
push esi
lea eax, [esp + 0x7c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
push 0x14
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 0x24
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x40]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esp + 0x1c]
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x38]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x87c]
pop edi
xor eax, eax
pop esi
xor ecx, esp
inc eax
call fcn.0040d325
mov esp, ebp
pop ebp
ret
Function at 0x408bdc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x42b268]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push edi
lea eax, [ebp - 0x820]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
push 0x7fe
mov word [ebp - 0x80c], ax
xor edi, edi
lea eax, [ebp - 0x80a]
push edi
push eax
call fcn.0040de60
add esp, 0xc
push dword [esi + 0x64]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x400
lea eax, [ebp - 0x80c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x408ce9
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
push edi
push edi
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp + 8]
call ebx
push 0xfffffffffffffff0
push dword [esi + 4]
mov dword [ebp - 0x810], eax
inc edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x300
je 0x408c8c
xor edi, edi
inc edi
jmp 0x408ca1
test eax, 0x100
je 0x408c97
xor edi, edi
jmp 0x408ca1
test eax, 0x200
je 0x408ca1
push 2
pop edi
test byte [esi + 0x44], 4
je 0x408cb8
push 1
push 1
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x70]
sub dword [ebp - 0x81c], eax
or edi, 0x24
push edi
lea eax, [ebp - 0x820]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x810]
push dword [ebp + 8]
call ebx
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop ebx
call fcn.0040d325
leave
ret 4

Function at 0x4093b9
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
call fcn.00403dac
mov esi, eax
cmp dword [esi + 4], 0
jne 0x4093f2
push 0x10c
call fcn.0040d9ea
pop ecx
test eax, eax
je 0x4093e5
mov edi, eax
call fcn.0040a703
jmp 0x4093e7
xor eax, eax
lea ebx, [eax + 0xc]
mov dword [esi + 4], eax
call fcn.00403e16
mov eax, dword [esp + 0x24]
mov edi, dword [esi + 4]
mov esi, dword [eax + 0x10]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push esi
call ebx
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x40942d
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 8]
add eax, 0x10
push eax
lea eax, [esp + 0x14]
call fcn.00405baa
jmp 0x409437
mov eax, dword [edi + 8]
push 5
push dword [eax + 0x10]
call ebp
push esi
call ebx
test eax, eax
je 0x409443
push 0
push esi
call ebp
mov eax, dword [esp + 0x24]
push 0
push dword [eax + 0x10]
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 4
Function at 0x40a83b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x3f5
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea esi, [ebx + 0x30]
and dword [esi + 0x24], 0
mov dword [ebp - 4], eax
mov eax, dword [esi]
push esi
mov ecx, esi
call dword [eax + 8]
lea edi, [esi + 8]
call fcn.00403f84
test eax, eax
je 0x40a88c
push dword [esi + 0x14]
mov edi, dword [ebp - 4]
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x40a88c
mov dword [esi + 0x20], eax
mov dword [esi + 4], edi
push 0x408
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea esi, [ebx + 0x88]
call fcn.004097dd
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 5
xor eax, eax
push eax
push eax
push 0x99
push 0x26
push eax
push dword [ebx + 0x34]
call edi
push 4
push 0x33
push 0x9a
push 0xc8
push 0xa4
push 0
push dword [ebx + 0x8c]
call edi
call fcn.0040acfa
mov eax, dword [eax]
mov dword [ebx + 0x58], eax
call fcn.0040acfa
push 1
push dword [eax + 8]
push 0x30
push dword [ebx + 0x8c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebx + 0x10]
add ebx, 0x5c
xor eax, eax
mov dword [ebx + 0x28], eax
mov dword [ebp - 0x14], 0x26
mov dword [ebp - 0x10], 0xa8
mov dword [ebp - 0xc], 0x1bc
mov dword [ebp - 8], 0xb6
cmp dword [0x42d310], eax
jne 0x40a931
mov dword [0x42d310], eax
push dword [ebp + 8]
lea eax, [ebx + 0x20]
push eax
push 0x42d2e0
call fcn.00408200
add esp, 0xc
movzx eax, ax
push eax
xor eax, eax
push eax
push eax
push 0x50000000
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.0040a0af
mov ebx, dword [ebp + 8]
push 5
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebx + 0xac], 1
call fcn.0040acfa
mov edi, eax
cmp dword [edi + 0x44], 0
jne 0x40a9c7
push 0
push 3
push 0x20
push 0x33
push 0x9a
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0x426850
mov dword [edi + 0x44], eax
push 0xd2
push dword [0x42d760]
call fcn.0040bfe5
add esp, 0xc
push 0
push eax
push dword [edi + 0x44]
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
push 3
push dword [edi + 0x44]
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
mov eax, dword [edi + 0x44]
call fcn.0040981e
xor edi, edi
push edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], 2
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], edi
push dword [ebx + 0x8c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push 0xf060
push edi
push dword [ebx + 0x10]
mov dword [ebx + 0x100], edi
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push edi
push 0x1e
push 1
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_SetTimer]
push dword [ebx + 0x10]
push 0x1401
call fcn.0040800b
pop ecx
pop ecx
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8
Function at 0x40b3da
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x42b268]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov ecx, esi
call fcn.0040b7a1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0040de60
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x103
lea edi, [esi + 4]
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [esi + 0x20c]
push eax
call fcn.0040e005
pop ecx
test eax, eax
jle 0x40b45e
lea eax, [esi + eax*2 + 0x20a]
cmp word [eax], 0x5c
jne 0x40b45e
xor ecx, ecx
mov word [eax], cx
push edi
call fcn.0040e005
pop ecx
pop edi
test eax, eax
jle 0x40b479
lea eax, [esi + eax*2 + 2]
cmp word [eax], 0x5c
jne 0x40b479
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.0040d325
leave
ret
Function at 0x40b7a1
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x421580
call fcn.0040fc2e
mov edi, ecx
lea eax, [ebp - 0x24]
push eax
lea ebx, [edi + 0x20c]
push ebx
lea eax, [ebp - 0x28]
push eax
push str.Path
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsAdClean.exe
push 0x80000002
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40b882
lea esi, [ebp - 0x10]
call fcn.0040bf27
push 0x4269a0
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0040be2b
push 0x4269a4
lea eax, [ebp - 0x10]
push eax
call fcn.0040be2b
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b865
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.0040c194
push dword [ebp - 0x14]
add edi, 0x414
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push str._d._d._d._d
push edi
call fcn.00403c61
add esp, 0x2c
jmp 0x40b875
push str.1.0.0.2021
lea eax, [edi + 0x414]
call fcn.00403d2f
lea esi, [ebp - 0x10]
call fcn.00403c73
xor eax, eax
inc eax
jmp 0x40b884
xor eax, eax
call fcn.0040fd06
ret

Function at 0x40b88a
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x42b268]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
push ebx
push esi
push edi
mov dword [ebp - 0x80], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
mov esi, ecx
call fcn.0040de60
lea eax, [esi + 0x20c]
push eax
push str._sAdClean.exe
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
push 0x103
push eax
call fcn.0040f1bd
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x1c
push 0x1f4
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x78]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x40b95f
push 0x35
push dword [0x42f8ec]
push 0x426a08
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
jne 0x40b96c
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.0040de60
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push str._sAdClean.exe
push 0x103
push eax
call fcn.0040f1bd
add esp, 0x1c
push 0x1f4
call esi
lea eax, [ebp - 0x78]
push eax
call edi
lea eax, [ebp - 0x78]
push eax
call ebx
test eax, eax
jne 0x40b909
inc eax
jmp 0x40b96e
xor eax, eax
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d325
add ebp, 0x194
leave
ret 4
Function at 0x40b9ea
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4213e1
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x42b268]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov eax, dword [0x42b268]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov word [esp + 0x18], ax
xor esi, esi
lea eax, [esp + 0x1a]
push esi
push eax
call fcn.0040de60
add esp, 0xc
push esi
push 0x17
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [0x42c8c4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x230], esi
mov esi, 0x4263ec
push esi
lea eax, [esp + 0x18]
push eax
mov ebx, 0x426098
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00403c61
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [esp + 0x10]
call edi
test eax, eax
je 0x40ba9d
push dword [esp + 0x10]
call fcn.0040c258
pop ecx
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00403c61
add esp, 0x10
push dword [esp + 0x10]
call edi
test eax, eax
je 0x40bac5
push dword [esp + 0x10]
call fcn.0040c258
pop ecx
push 0
push 0x19
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push 0x426a38
push eax
call fcn.00403c61
add esp, 0x10
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [esp + 0x10]
call fcn.00403c73
xor eax, eax
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0040d325
mov esp, ebp
pop ebp
ret
Function at 0x40bb27
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4213a8
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x42b268]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov eax, dword [0x42b268]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esi, [eax + 0x20c]
cmp word [esi], 0
jne 0x40bb9e
xor eax, eax
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0040d325
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ebx, 0x2005
test eax, eax
je 0x40bbce
mov ecx, esi
call fcn.0040c427
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0
push esi
push ebx
push 0x10
call edi
xor eax, eax
push 0x206
mov word [esp + 0x20], ax
xor esi, esi
lea eax, [esp + 0x22]
push esi
push eax
call fcn.0040de60
add esp, 0xc
push esi
push 0x1a
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, esi
je 0x40bb76
mov eax, dword [0x42c8c4]
mov dword [esp + 0x14], eax
push str.AdClean
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push 0x426098
push eax
mov dword [esp + 0x248], esi
call fcn.00403c61
add esp, 0x10
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40bc67
push dword [esp + 0x14]
call fcn.0040c258
pop ecx
push esi
push dword [esp + 0x18]
mov dword [esp + 0x20], eax
push ebx
push 0x10
call edi
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x14]
call fcn.00403c73
mov eax, edi
jmp 0x40bb78
xor edi, edi
inc edi
jmp 0x40bc57

Function at 0x40bca9
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x42b268]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov esi, ecx
call fcn.0040de60
push str.AdClean.exe
add esi, 0x20c
push esi
lea eax, [ebp - 0x20c]
push 0x426098
push eax
call fcn.00403d96
add esp, 0x1c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
test eax, eax
je 0x40bd19
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d325
leave
ret

Function at 0x40bfae
Capabilities:
Delete registry key
Set registry value

Disassembly:
push esi
push edi
push 2
push 0x424d30
push 4
push 0x4265d0
mov edi, str.CLSID1A893393_71A8_4a50_95A1_2B89DE87B24C
push edi
mov esi, 0x80000000
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x40bfe0
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov al, 1
jmp 0x40bfe2
xor al, al
pop edi
pop esi
ret