joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fbe0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f286b
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0xd8
mov dword [ebp - 0x544], eax
lea eax, [ebp - 0xf0]
push 0
push eax
mov byte [ebp - 0x531], 0
call fcn.00470cd0
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
push 0x6c
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x53c], eax
cmp eax, 0x6c
jae 0x41fd01
xor esi, esi
test eax, eax
je 0x41fd01
nop
push 0x410
lea eax, [ebp - 0x500]
push 0
push eax
call fcn.00470cd0
mov eax, dword [0x502788]
add esp, 0xc
mov dword [ebp - 0x18], eax
movzx eax, word [0x50278c]
mov word [ebp - 0x14], ax
movzx eax, word [ebp + esi*2 - 0xf0]
add esi, 4
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x500]
push 0x207
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x538], esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x41fcf5
lea esi, [ebp - 0x500]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41fcc1
sub esi, ecx
mov eax, edi
sar esi, 1
cmp dword [edi + 0x14], 8
jb 0x41fcda
mov eax, dword [edi]
push esi
lea ecx, [ebp - 0x500]
push ecx
push eax
call fcn.0049db5f
add esp, 0xc
test eax, eax
je 0x41fd22
mov esi, dword [ebp - 0x538]
cmp esi, dword [ebp - 0x53c]
jb 0x41fc60
mov al, byte [ebp - 0x531]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x520], 0
mov word [ebp - 0x530], ax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x51c], 7
cmp eax, esi
jb 0x41fe42
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x41fd5d
mov edi, dword [edi]
push ecx
lea eax, [edi + esi*2]
push eax
lea ecx, [ebp - 0x530]
call fcn.00421870
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fd80
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
push 0
lea ecx, [ebp - 0x530]
call fcn.004219c0
mov esi, dword [ebp - 0x544]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x554], xmm0
movups xmmword [ebp - 0x518], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x518]
movq qword [ebp - 0x540], xmm0
movq qword [ebp - 0x508], xmm0
cmp esi, eax
je 0x41fe25
mov ecx, esi
call fcn.004212c0
movups xmm0, xmmword [ebp - 0x554]
xor eax, eax
mov dword [ebp - 0x508], 0
mov dword [ebp - 0x504], 7
movups xmmword [esi], xmm0
mov word [ebp - 0x518], ax
movq xmm0, qword [ebp - 0x540]
movq qword [esi + 0x10], xmm0
lea ecx, [ebp - 0x518]
call fcn.00417aa0
lea ecx, [ebp - 0x530]
call fcn.00417aa0
mov al, 1
jmp 0x41fd07
call fcn.00421440
int3
Function at 0x41fe50
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f28c1
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x470], esi
mov dword [ebp - 0x470], edi
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
push 0x410
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x420]
push eax
call fcn.00470cd0
add esp, 0xc
test edi, edi
je 0x420068
cmp edi, 4
je 0x420068
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x41ff57
push 0x207
lea eax, [ebp - 0x420]
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x41ff74
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ff10
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.00421870
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.0041e850
lea ecx, [ebp - 0x438]
call fcn.00417aa0
jmp 0x42008d
push dword [ebp - 0x470]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x420019
push 0x207
lea eax, [ebp - 0x420]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x420012
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x468]
call fcn.0041e890
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0041fbe0
add esp, 8
mov byte [ebp - 0x469], al
lea ecx, [ebp - 0x468]
call fcn.00417aa0
cmp byte [ebp - 0x469], 0
je 0x420007
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x438]
call fcn.0041ead0
lea ecx, [ebp - 0x450]
call fcn.00417aa0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [ebp - 0x438]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x438]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x438], ax
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
call fcn.00417aa0
jmp 0x42008d
movups xmm0, xmmword [ebp - 0x438]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret
Function at 0x420ae0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2988
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5341c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x420b5b
test al, 0x10
je 0x420b5b
push esi
mov edi, 1
call fcn.004303d0
add esp, 4
test eax, eax
jne 0x420b7e
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x420b7e
push esi
test edi, edi
jne 0x420b76
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x420b7e
push esi
push 0x502594
call fcn.00422f00
add esp, 8
jmp 0x420b7e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x420b2c
push esi
push 0x502594
call fcn.00422f00
add esp, 8
jmp 0x420b7e
call fcn.004303d0
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420bff
push esi
lea ecx, [ebp - 0x10]
call fcn.00406a20
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x420bbe
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00406f60
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x420bca
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.0041e4b0
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420bec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x422ac0
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
lea esi, [ecx + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi]
push edi
lea edx, [ecx - 0x10]
lea edi, [eax - 0x10]
cmp edx, edi
je 0x422b24
cmp dword [edi + 0xc], 0
push ebx
lea ebx, [edi + 0xc]
jl 0x422b16
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x422b16
push edx
call fcn.00406f60
add esp, 4
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x422b0f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
jmp 0x422b23
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.004089d0
mov eax, dword [esi]
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422b8a
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp dword [eax - 0xc], 0
je 0x422b8a
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x422b71
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jl 0x422b8a
jg 0x422b82
cmp dword [ebp - 8], 0x40000000
jbe 0x422b8a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x425710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f302b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x5341c4]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x828], ebx
cmp word [0x53a610], 0
jne 0x42584a
push 0x20219
push str.SOFTWAREUltra_Uninstaller
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x824]
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
call fcn.0040da70
mov edi, dword [ebp - 0x824]
test eax, eax
jne 0x42583f
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
push 0x4fda3c
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42583f
mov eax, dword [ebp - 0x818]
cmp eax, 1
je 0x4257dc
cmp eax, 2
jne 0x42583f
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x4257f9
test al, 1
jne 0x42583f
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x425802
jmp 0x42583f
xor eax, eax
mov word [ebp - 0x810], ax
mov ecx, 0x53a610
lea esi, [ebp - 0x810]
mov edx, 0x3ff
sub esi, ecx
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x425832
movzx eax, word [esi + ecx]
test ax, ax
je 0x425832
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x425814
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x42584a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x53a610
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x42589b
mov ecx, 0x53a610
mov esi, str.noset
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x42588e
movzx eax, word [esi + ecx]
test ax, ax
je 0x42588e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x425870
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
call fcn.0041d300
mov ecx, eax
test ecx, ecx
je 0x42590a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x53a610
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00406e30
test al, al
jne 0x4258ec
mov ecx, 0x53a610
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4258d0
sub ecx, edx
sar ecx, 1
push ecx
push 0x53a610
mov ecx, ebx
call fcn.004089d0
mov eax, ebx
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.0044666a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403b30
int3
Function at 0x42be50
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3e20
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5341c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push esi
push edi
push str.delet_key:__s___s
call fcn.00422f00
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x10], 0
or eax, 0x1000b
push ecx
push eax
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x42bf04
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0041d300
mov ecx, eax
test ecx, ecx
je 0x42bf70
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
push esi
push edi
lea eax, [ebp + 0x14]
mov dword [ebp - 4], ebx
push str.delet_key:__s___s_ok
push eax
call fcn.004072e0
mov esi, dword [ebp + 0x14]
push esi
push 0x5032c0
call fcn.00422f00
add esp, 0x18
jmp 0x42bf43
call fcn.0041d300
mov ecx, eax
test ecx, ecx
je 0x42bf7a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
push ebx
push esi
push edi
lea eax, [ebp + 0x14]
mov dword [ebp - 4], 1
push str.delet_key:__s___s__d
push eax
call fcn.004072e0
mov esi, dword [ebp + 0x14]
push esi
push 0x5032c0
call fcn.00422f00
add esp, 0x1c
or eax, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42bf5e
mov ecx, dword [esi]
push esi
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
push 0x80004005
call fcn.00403b30
push 0x80004005
call fcn.00403b30
int3

Function at 0x42d060
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push dword [ebp + 0x18]
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42d0c7
mov edx, dword [ebp + 0x14]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d095
sub eax, esi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42d130
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5341c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0041d300
mov ecx, eax
test ecx, ecx
je 0x42d211
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push edi
push 0x503778
push eax
mov dword [ebp - 4], 0
call fcn.004072e0
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp edi, 0x64
mov dword [ebp - 0x20], vtable.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.0
mov eax, 0x63
mov dword [ebp - 0x1c], 0x42d230
cmovl eax, edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
call fcn.0041d600
add esp, 4
mov dword [ebp - 0x20], vtable.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.0
mov dword [ebp - 0x1c], 0
add esi, 0xfffffff0
mov dword [ebp - 0x18], 0
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42d1fd
mov ecx, dword [esi]
push esi
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 4
push 0x80004005
call fcn.00403b30
int3
Function at 0x42eac0
Capabilities:
Delete registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x4f8
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.0042ce20
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x100
push eax
push str.7D0018B7_A788_9AEF_194C_BF625648C610
push str.CLSID
push SysReAllocString
call fcn.0042be50
push 0x258
lea eax, [ebp - 0x4b8]
push 0
push eax
call fcn.00470cd0
push 0x256
lea eax, [ebp - 0x25e]
push 0
push eax
call fcn.00470cd0
add esp, 0x28
lea esi, [ebp - 0x260]
mov edx, str.0Uninstaller
mov cl, byte [edx]
lea edx, [edx + 1]
movzx eax, cl
lea esi, [esi + 2]
mov word [esi - 2], ax
test cl, cl
jne 0x42eb42
xor edi, edi
nop word [eax + eax]
mov edx, dword [edi + 0x502f5c]
lea esi, [ebp - 0x4b8]
nop dword [eax]
mov cl, byte [edx]
lea edx, [edx + 1]
movzx eax, cl
lea esi, [esi + 2]
mov word [esi - 2], ax
test cl, cl
jne 0x42eb70
cmp dword [0x534038], 0
je 0x42ec6b
push str.GetNativeSystemInfo
push 0x50245c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
test eax, eax
je 0x42ec61
xorps xmm0, xmm0
mov dword [ebp - 0x4d0], 0
lea ecx, [ebp - 0x4f0]
movaps xmmword [ebp - 0x4f0], xmm0
push ecx
movaps xmmword [ebp - 0x4e0], xmm0
call eax
mov ax, word [ebp - 0x4f0]
cmp ax, 9
je 0x42ec57
cmp ax, 6
je 0x42ec57
cmp ax, 0xc
je 0x42ec57
push str.IsWow64Process2
push 0x5028a8
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x4bc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call esi
mov esi, eax
test esi, esi
je 0x42ec4e
lea eax, [ebp - 0x4bc]
push eax
lea eax, [ebp - 0x4c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x42ec4e
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x4bc], cx
sete al
mov dword [0x53a604], eax
jmp 0x42ec61
xor eax, eax
mov dword [0x53a604], eax
jmp 0x42ec61
mov dword [0x53a604], 1
mov dword [0x534038], 0
mov eax, dword [0x53a604]
neg eax
sbb eax, eax
and eax, 0x100
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x4b8]
push eax
push SysReAllocString
call fcn.0042be50
add edi, 4
add esp, 0x10
cmp edi, 0xc
jb 0x42eb60
call fcn.0042ce20
test al, al
mov dword [ebp - 0x4bc], 0
lea eax, [ebp - 0x4bc]
push eax
je 0x42ecc2
push 0x1010b
jmp 0x42ecc7
push 0x1000b
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ecfb
push str.7D0018B7_A788_9AEF_194C_BF625648C610
push eax
push dword [ebp - 0x4bc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
push dword [ebp - 0x4bc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044666a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42ee50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.0042ce20
test al, al
je 0x42ef10
push 0xf013f
push str.Uninstaller_Shell_Extension
push 0
push str.CLSID7D0018B7_A788_9AEF_194C_BF625648C610
push SysReAllocString
call fcn.0042d060
add esp, 0x14
lea eax, [ebp - 0x260]
push 0
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push str.CLSID7D0018B7_A788_9AEF_194C_BF625648C610InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42f005
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x25c]
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42eed0
push str.UninstallerShell64.dll
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ef00
jmp 0x42efab
push 0xf003f
push str.Uninstaller_Shell_Extension
push 0
push str.CLSID7D0018B7_A788_9AEF_194C_BF625648C610
push SysReAllocString
call fcn.0042d060
add esp, 0x14
mov dword [ebp - 0x260], 0
lea eax, [ebp - 0x260]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.CLSID7D0018B7_A788_9AEF_194C_BF625648C610InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42f005
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x25c]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42ef71
push str.UninstallerShell.dll
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42efa0
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x25c]
push eax
push 1
push 0
push 0
push dword [ebp - 0x260]
call esi
push 0x14
push str.Apartment
push 1
push 0
push str.ThreadingModel
push dword [ebp - 0x260]
call esi
push dword [ebp - 0x260]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret
push eax
push str.reg_shell_ex_err:__d
call fcn.00422f00
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop esi
call fcn.0044666a
mov esp, ebp
pop ebp
ret
Function at 0x42f4a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.00446680
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2004]
push edi
mov edi, dword [ebp + 0xc]
push 0x2000
push 0
push eax
call fcn.00470cd0
add esp, 0xc
lea eax, [ebp - 0x200c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x42f547
cmp eax, 0x1fff
ja 0x42f547
lea ecx, [ebp - 0x2004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42f547
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2008]
push eax
push 0x4fd870
lea eax, [ebp - 0x2004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42f547
mov eax, dword [ebp - 0x2008]
movzx eax, word [eax + 0xa]
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0044666a
mov esp, ebp
pop ebp
ret 8

Function at 0x42f8c0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00470cd0
add esp, 0xc
mov dword [ebp - 0x210], 1
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push str.ProgramFilesDir
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x42f947
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
push str.ProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x42f975
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f950
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x20e], 0x5c
je 0x42f975
mov dword [ebp + ecx*2 - 0x20c], 0x5c
push 0x103
push str.Internet_ExplorerIEXPLORE.EXE
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0049f6e9
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x210]
add esp, 0x10
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042f4a0
cmp dword [ebp - 0x210], 7
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0044666a
mov esp, ebp
pop ebp
ret 4