joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ccab
Capabilities:
Write file on windows

Disassembly:
push 8
mov eax, 0x46b45d
call fcn.0042dbd7
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.0040699e
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push dword [0x492058]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
lea ecx, [esi + 4]
call fcn.0041cef2
mov edx, dword [esi + 8]
cmp edx, 0xffffffff
jne 0x41ccfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.nError_occurred_while_connecting_to_the_server_pipe:__d
jmp 0x41cd52
mov eax, dword [ebp + 8]
lea esi, [eax + 0x10]
mov ecx, dword [esi]
inc ecx
cmp dword [eax + 0x14], 0x10
jb 0x41cd0d
mov eax, dword [eax]
push ebx
lea edi, [ebp - 0x14]
push edi
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41cd46
mov eax, dword [esi]
inc eax
cmp eax, dword [ebp - 0x14]
jne 0x41cd46
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push str.nWriteFile___was_successful__d.
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x10]
xor ebx, ebx
inc ebx
add esp, 0xc
cmp dword [esi - 4], ebx
jmp 0x41cd65
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.nError_occurred_while_writing_to_the_server_pipe:__d
lea eax, [ebp - 0x10]
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x10]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x41cd75
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406aae
mov esi, dword [ebp - 0x10]
push 3
push esi
mov ecx, 0x493f4c
call fcn.0040c5b8
lea ecx, [esi - 0x10]
call fcn.00406c57
mov al, bl
call fcn.0042dba0
ret 4

Function at 0x41d333
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x492110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, 0x493f4c
push str.Entering_IsWin7__
mov ecx, ebx
call fcn.0040c5a7
cmp dword [0x494190], 0
je 0x41d389
push dword [0x494194]
mov esi, 0x49418c
push str.Exiting_IsWin7__._Return:__d
push esi
call fcn.00406b1a
mov eax, dword [0x49418c]
add esp, 0xc
cmp dword [eax - 4], 1
jmp 0x41d432
push edi
push 0x90
lea eax, [ebp - 0x130]
mov dword [ebp - 0x134], 0x94
push 0
push eax
call fcn.0042f1f0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x134]
add esp, 0xc
push eax
call esi
xor edi, edi
inc edi
cmp dword [ebp - 0x130], 5
jb 0x41d40a
push 0x98
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xa0], 0x9c
push 0
push eax
call fcn.0042f1f0
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
call esi
cmp dword [ebp - 0x9c], 6
ja 0x41d401
jne 0x41d40a
cmp dword [ebp - 0x98], edi
jb 0x41d40a
mov eax, edi
mov dword [0x494194], eax
jmp 0x41d40f
mov eax, dword [0x494194]
push eax
push str.Exiting_IsWin7__._Return:__d
mov esi, 0x49418c
mov dword [0x494190], edi
push esi
call fcn.00406b1a
mov eax, dword [0x49418c]
add esp, 0xc
cmp dword [eax - 4], edi
pop edi
jle 0x41d443
push dword [eax - 0xc]
mov ecx, esi
call fcn.00406aae
mov eax, dword [0x49418c]
push eax
mov ecx, ebx
call fcn.0040c5a7
mov ecx, dword [ebp - 4]
mov eax, dword [0x494194]
xor ecx, ebp
pop esi
pop ebx
call fcn.0042db8f
leave
ret
Function at 0x41dd6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x492110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.Entering_DllRegisterServer__
mov ecx, 0x493f4c
call fcn.0040c5a7
xor edi, edi
inc edi
call fcn.0041d333
mov ebx, eax
xor esi, esi
push dword [esi + 0x49205c]
call fcn.0041d2f3
add esi, 8
or ebx, eax
pop ecx
cmp esi, 0x18
jb 0x41dd9d
mov esi, 0x49418c
test ebx, ebx
je 0x41de0a
push 1
call fcn.0041cf12
mov edi, eax
push edi
push str.EnablePrivilege_TRUE__returns:__d
push esi
call fcn.00406b1a
mov ecx, dword [0x49418c]
add esp, 0x10
cmp dword [ecx - 4], 1
jle 0x41ddf0
push dword [ecx - 0xc]
mov ecx, esi
call fcn.00406aae
mov ecx, dword [0x49418c]
push 5
pop eax
push 2
pop edx
test edi, edi
cmovne eax, edx
push eax
push ecx
mov ecx, 0x493f4c
call fcn.0040c5b8
and edi, 1
xor esi, esi
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0042f1f0
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.system32
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push dword [esi + 0x492060]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push str.jscript9.dll
push dword [esi + 0x492060]
call fcn.004359a0
pop ecx
pop ecx
test eax, eax
jne 0x41dee2
push ebx
lea eax, [ebp - 0x108]
push eax
push dword [esi + 0x49205c]
call fcn.0041d45e
movzx eax, al
push eax
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x108]
push eax
push str.Register__s__returns:__d
push 0x49418c
call fcn.00406b1a
mov eax, dword [0x49418c]
add esp, 0x1c
cmp dword [eax - 4], 1
jle 0x41dec2
push dword [eax - 0xc]
mov ecx, 0x49418c
call fcn.00406aae
mov eax, dword [0x49418c]
mov ecx, dword [ebp - 0x10c]
push 2
pop edx
xor ecx, 1
add ecx, edx
push ecx
push eax
mov ecx, 0x493f4c
call fcn.0040c5b8
and edi, dword [ebp - 0x10c]
add esi, 8
cmp esi, 0x18
jb 0x41de0c
call fcn.0041dd3e
movzx esi, al
push esi
push str.UnRegisterBHO___returns:__d
push 0x49418c
call fcn.00406b1a
mov eax, dword [0x49418c]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x41df26
push dword [eax - 0xc]
mov ecx, 0x49418c
call fcn.00406aae
mov eax, dword [0x49418c]
push 2
pop edx
mov ecx, esi
xor ecx, 1
add ecx, edx
push ecx
push eax
mov ecx, 0x493f4c
call fcn.0040c5b8
and esi, edi
test ebx, ebx
je 0x41df4a
push 0
call fcn.0041cf12
pop ecx
push str.Exiting_DllUnregisterServer__
mov ecx, 0x493f4c
call fcn.0040c5a7
xor ecx, ecx
mov eax, 0x80004005
test esi, esi
pop edi
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042db8f
leave
ret
Function at 0x41df74
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x492110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.Entering_DllUnregisterServer__
mov ecx, 0x493f4c
call fcn.0040c5a7
xor edi, edi
inc edi
call fcn.0041d333
mov ebx, eax
xor esi, esi
push dword [esi + 0x49205c]
call fcn.0041d2f3
add esi, 8
or ebx, eax
pop ecx
cmp esi, 0x18
jb 0x41dfa5
mov esi, 0x49418c
test ebx, ebx
je 0x41e00f
push 1
call fcn.0041cf12
mov edi, eax
push edi
push str.EnablePrivilege_TRUE__returns:__d
push esi
call fcn.00406b1a
mov ecx, dword [0x49418c]
add esp, 0x10
cmp dword [ecx - 4], 1
jle 0x41dff8
push dword [ecx - 0xc]
mov ecx, esi
call fcn.00406aae
mov ecx, dword [0x49418c]
push 5
pop eax
push 2
pop edx
test edi, edi
cmovne eax, edx
push eax
push ecx
mov ecx, 0x493f4c
call fcn.0040c5b8
xor esi, esi
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0042f1f0
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.system32
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push dword [esi + 0x492060]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push ebx
lea eax, [ebp - 0x108]
push eax
push dword [esi + 0x49205c]
call fcn.0041d45e
movzx eax, al
push eax
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x108]
push eax
push str.Register__s__returns:__d
push 0x49418c
call fcn.00406b1a
mov eax, dword [0x49418c]
add esp, 0x1c
cmp dword [eax - 4], 1
jle 0x41e0b1
push dword [eax - 0xc]
mov ecx, 0x49418c
call fcn.00406aae
mov eax, dword [0x49418c]
mov ecx, dword [ebp - 0x10c]
push 2
pop edx
xor ecx, 1
add ecx, edx
push ecx
push eax
mov ecx, 0x493f4c
call fcn.0040c5b8
and edi, dword [ebp - 0x10c]
add esi, 8
cmp esi, 0x18
jb 0x41e011
call fcn.0041dd3e
movzx esi, al
push esi
push str.UnRegisterBHO___returns:__d
push 0x49418c
call fcn.00406b1a
mov eax, dword [0x49418c]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x41e115
push dword [eax - 0xc]
mov ecx, 0x49418c
call fcn.00406aae
mov eax, dword [0x49418c]
push 2
pop edx
mov ecx, esi
xor ecx, 1
add ecx, edx
push ecx
push eax
mov ecx, 0x493f4c
call fcn.0040c5b8
and esi, edi
test ebx, ebx
je 0x41e139
push 0
call fcn.0041cf12
pop ecx
push str.Exiting_DllUnregisterServer__
mov ecx, 0x493f4c
call fcn.0040c5a7
xor ecx, ecx
mov eax, 0x80004005
test esi, esi
pop edi
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042db8f
leave
ret
Function at 0x420c1c
Capabilities:
Create process on windows

Disassembly:
push 0x14c
mov eax, 0x46c2a9
call fcn.0042dc0b
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x11c], eax
call fcn.0040699e
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebx], esi
jne 0x420e07
push esi
mov ecx, ebx
call fcn.0042041b
mov edi, eax
test edi, edi
je 0x420ca2
push edi
lea eax, [ebp - 0x118]
push str.InitIPC___failed._Error:__d
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x118]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x420c8b
push dword [eax - 0xc]
lea ecx, [ebp - 0x118]
call fcn.00406aae
push dword [ebp - 0x118]
mov ecx, 0x493f4c
call fcn.0040c5a7
mov esi, edi
jmp 0x420e07
push str.open
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004360d6
lea eax, [ebp - 0x114]
mov dword [ebp - 0x158], 0x3c
mov dword [ebp - 0x14c], eax
add esp, 0xc
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x148], eax
lea eax, [ebx + 4]
mov dword [ebp - 0x144], eax
xor ebx, ebx
lea eax, [ebp - 0x158]
mov dword [ebp - 0x154], 0x140
inc ebx
mov dword [ebp - 0x150], esi
push eax
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x120], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x420d6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x118]
push esi
push str.ShellExecuteEx___failed._Error:__d
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x118]
add esp, 0xc
cmp dword [eax - 4], ebx
jle 0x420d58
push dword [eax - 0xc]
lea ecx, [ebp - 0x118]
call fcn.00406aae
push 7
push dword [ebp - 0x118]
mov ecx, 0x493f4c
call fcn.0040c5b8
jmp 0x420e07
cmp dword [ebp - 0x120], esi
je 0x420dde
push 0xffffffffffffffff
push dword [ebp - 0x120]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp eax, 0xffffffff
jne 0x420dd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x118]
push str.WaitForInputIdle___failed._Error:__d
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x118]
add esp, 0xc
cmp dword [eax - 4], ebx
jle 0x420dbe
push dword [eax - 0xc]
lea ecx, [ebp - 0x118]
call fcn.00406aae
push 7
push dword [ebp - 0x118]
mov ecx, 0x493f4c
call fcn.0040c5b8
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x420e07
mov edi, 0x493f4c
push str.ShellExecuteEx___did_not_return_a_process_handle.
mov ecx, edi
call fcn.0040c5a7
push ebx
push str.Waiting_for_UI...
mov ecx, edi
call fcn.0040c5b8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
call fcn.00406c57
mov eax, esi
call fcn.0042dbb5
ret 4
Function at 0x420e6f
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, ecx
lea ebx, [edi + 8]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 4], eax
test eax, eax
je 0x420ea5
cmp eax, 0xffffffff
jne 0x420ec7
call esi
cmp eax, 0xe7
jne 0x420ec0
push 0x7d0
push ebx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
jne 0x420e83
call esi
pop edi
pop esi
pop ebx
leave
ret 8
push 0
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x420ef6
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [edi + 4], 0xffffffff
mov eax, esi
jmp 0x420ec0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 8]
push 0
push edx
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
add eax, 0x10
push eax
push ecx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x420ee1
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebx + 0x10]
push eax
push dword [ebp + 0xc]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x420ee1

Function at 0x421078
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x24]
xor eax, eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push eax
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
pop ebp
ret 0x20

Function at 0x421acb
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x492110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push 0x20
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x421b2a
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042db8f
leave
ret
Function at 0x421dbe
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x46bbd3
call fcn.0042dbd7
lea ecx, [ebp - 0x10]
call fcn.0040699e
movzx edi, byte [ebp + 0x10]
movzx eax, byte [ebp + 0xc]
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
push edi
push eax
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x10]
push str.Entering_RegReturn___s___d___d__
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x10]
add esp, 0x14
cmp dword [eax - 4], 1
jle 0x421e0f
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406aae
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x493f4c
call fcn.0040c5a7
xor ecx, ecx
mov bl, 1
mov dword [ebp - 0x14], ecx
test esi, esi
je 0x421f56
cmp byte [esi], cl
je 0x421f56
push ecx
lea eax, [ebp - 0x14]
push eax
push ecx
push 0xf003f
push ecx
push ecx
push ecx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jns 0x421e85
push eax
lea eax, [ebp - 0x10]
push str.RegCreateKeyEx___failed._Error:_0x_X
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x421e78
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406aae
mov eax, dword [ebp - 0x10]
push 7
push eax
mov ecx, 0x493f4c
call fcn.0040c5b8
mov eax, dword [ebp + 0x10]
push 4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 4
push 0
push str.SUCCESS
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jns 0x421eee
push eax
lea eax, [ebp - 0x10]
push str.RegSetValueEx___failed._Error:_0x_X
push eax
call fcn.00406b1a
add esp, 0xc
mov ecx, 0x493f4c
push 4
push str.Unable_to_set_SUCCESS_value.
call fcn.0040c5b8
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x421ee1
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406aae
mov eax, dword [ebp - 0x10]
push 7
push eax
mov ecx, 0x493f4c
call fcn.0040c5b8
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push 4
push 0
push str.REBOOT
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jns 0x421f67
push eax
lea eax, [ebp - 0x10]
push str.RegSetValueEx___failed._Error:_0x_X
push eax
call fcn.00406b1a
add esp, 0xc
mov ecx, 0x493f4c
push 4
push str.Unable_to_set_REBOOT_value.
call fcn.0040c5b8
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x421f47
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406aae
mov eax, dword [ebp - 0x10]
push 7
push eax
mov ecx, 0x493f4c
call fcn.0040c5b8
jmp 0x421f67
push str.No_subkey_specified_to_write_to.
mov ecx, 0x493f4c
call fcn.0040c5a7
xor bl, bl
cmp dword [ebp - 0x14], 0
je 0x421f76
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
push eax
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push esi
push str.Exiting_RegReturn___s___d___d____returning__d
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x10]
add esp, 0x18
cmp dword [esi - 4], 1
jle 0x421fa7
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406aae
mov esi, dword [ebp - 0x10]
push esi
mov ecx, 0x493f4c
call fcn.0040c5a7
lea ecx, [esi - 0x10]
call fcn.00406c57
mov al, bl
call fcn.0042dba0
ret
Function at 0x421fc3
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x421fd0
xor al, al
pop ebp
ret
push 1
push dword [ebp + 0xc]
call fcn.004218e5
push str.McAfeeMcCleanup
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004366e6
add esp, 0x14
push 0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov al, 1
pop ebp
ret

Function at 0x423120
Capabilities:
Check if file exists

Disassembly:
push 0x28
mov eax, 0x46c442
call fcn.0042dbd7
lea ecx, [ebp - 0x10]
call fcn.0040699e
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
and dword [ebp - 4], 0
mov bl, 1
push esi
push str.Entering_runPostOps___s__
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x423166
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406aae
mov eax, dword [ebp - 0x10]
mov edi, 0x493f4c
push eax
mov ecx, edi
call fcn.0040c5a7
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4231c3
push esi
lea eax, [ebp - 0x10]
push str.Could_not_locate_ini_file___s_
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x4231a7
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406aae
mov eax, dword [ebp - 0x10]
push 5
push eax
mov ecx, edi
call fcn.0040c5b8
push 3
push str.Running_post_uninstallation_operations_failed.
mov ecx, edi
call fcn.0040c5b8
xor bl, bl
jmp 0x42321e
push str.POST
push esi
lea ecx, [ebp - 0x34]
call fcn.0040bd00
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
xor edi, edi
call fcn.0040c28b
test eax, eax
je 0x42320d
push edi
lea ecx, [ebp - 0x34]
call fcn.0040c236
push eax
push esi
call fcn.00422167
pop ecx
pop ecx
and bl, al
call fcn.0041b80e
test al, al
jne 0x42320d
lea ecx, [ebp - 0x34]
inc edi
call fcn.0040c28b
cmp edi, eax
jb 0x4231e3
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.0040c0a1
mov edi, 0x493f4c
movzx eax, bl
push eax
push esi
lea eax, [ebp - 0x10]
push str.Exiting_runPostOps___s____returning__d
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x10]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x42324b
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406aae
mov esi, dword [ebp - 0x10]
push esi
mov ecx, edi
call fcn.0040c5a7
lea ecx, [esi - 0x10]
call fcn.00406c57
mov al, bl
call fcn.0042dba0
ret
Function at 0x423263
Capabilities:
Check if file exists

Disassembly:
push 0x28
mov eax, 0x46c442
call fcn.0042dbd7
lea ecx, [ebp - 0x10]
call fcn.0040699e
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
and dword [ebp - 4], 0
mov bl, 1
push esi
push str.Entering_runPreOps___s__
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x4232a9
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406aae
mov eax, dword [ebp - 0x10]
mov edi, 0x493f4c
push eax
mov ecx, edi
call fcn.0040c5a7
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x423306
push esi
lea eax, [ebp - 0x10]
push str.Could_not_locate_ini_file___s_
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x4232ea
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406aae
mov eax, dword [ebp - 0x10]
push 5
push eax
mov ecx, edi
call fcn.0040c5b8
push 3
push str.Running_pre_uninstallation_operations_failed.
mov ecx, edi
call fcn.0040c5b8
xor bl, bl
jmp 0x423361
push 0x477700
push esi
lea ecx, [ebp - 0x34]
call fcn.0040bd00
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
xor edi, edi
call fcn.0040c28b
test eax, eax
je 0x423350
push edi
lea ecx, [ebp - 0x34]
call fcn.0040c236
push eax
push esi
call fcn.00422167
pop ecx
pop ecx
and bl, al
call fcn.0041b80e
test al, al
jne 0x423350
lea ecx, [ebp - 0x34]
inc edi
call fcn.0040c28b
cmp edi, eax
jb 0x423326
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.0040c0a1
mov edi, 0x493f4c
movzx eax, bl
push eax
push esi
lea eax, [ebp - 0x10]
push str.Exiting_runPreOps___s____returning__d
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x10]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x42338e
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406aae
mov esi, dword [ebp - 0x10]
push esi
mov ecx, edi
call fcn.0040c5a7
lea ecx, [esi - 0x10]
call fcn.00406c57
mov al, bl
call fcn.0042dba0
ret
Function at 0x42376e
Capabilities:
Check if file exists

Disassembly:
push 0x440
mov eax, 0x46c50b
call fcn.0042dc0b
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x428], eax
call fcn.0040699e
and dword [ebp - 4], 0
mov edi, 0x493f4c
push str.Entering_uninstall__...__
mov ecx, edi
mov bl, 1
call fcn.0040c5a7
push 0x208
lea eax, [ebp - 0x218]
push eax
push str.master.ini
call fcn.00422008
add esp, 0xc
test al, al
je 0x423933
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x423933
push str.PRODUCTS
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x44c]
call fcn.0040bd00
mov edi, dword [ebp + 8]
mov byte [ebp - 4], bl
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x42391d
push dword [esi + 8]
lea eax, [ebp - 0x424]
push str.Removing_product__s...
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x424]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x42383e
push dword [eax - 0xc]
lea ecx, [ebp - 0x424]
call fcn.00406aae
mov eax, dword [ebp - 0x424]
push 1
push eax
mov ecx, 0x493f4c
call fcn.0040c5b8
push dword [esi + 8]
mov ecx, dword [ebp - 0x428]
call fcn.0042057f
push 0x208
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [esi + 8]
lea ecx, [ebp - 0x44c]
call fcn.0040c1cd
push eax
call fcn.0042209e
push dword [ebp + 0x10]
lea eax, [ebp - 0x420]
push eax
push dword [esi + 8]
call fcn.004239a1
add esp, 0x1c
test al, al
lea eax, [ebp - 0x424]
push dword [esi + 8]
jne 0x4238d6
push str.Product__s_was_not_successfully_removed.
push eax
xor bl, bl
call fcn.00406b1a
mov eax, dword [ebp - 0x424]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x4238d2
push dword [eax - 0xc]
lea ecx, [ebp - 0x424]
call fcn.00406aae
mov eax, dword [ebp - 0x424]
push 3
jmp 0x423906
push str.Product__s_successfully_removed.
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x424]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x423904
push dword [eax - 0xc]
lea ecx, [ebp - 0x424]
call fcn.00406aae
mov eax, dword [ebp - 0x424]
push 2
push eax
mov ecx, 0x493f4c
call fcn.0040c5b8
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [edi]
jne 0x423807
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 0
call fcn.0040c0a1
mov edi, 0x493f4c
jmp 0x423951
push 5
push str.Uninstallation_failed:_could_not_locate__master.ini_
mov ecx, edi
call fcn.0040c5b8
push 3
push str.Uninstallation_could_not_be_run.
mov ecx, edi
call fcn.0040c5b8
xor bl, bl
movzx eax, bl
push eax
lea eax, [ebp - 0x424]
push str.Exiting_uninstall__...____returning__d
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x424]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x423989
push dword [esi - 0xc]
lea ecx, [ebp - 0x424]
call fcn.00406aae
mov esi, dword [ebp - 0x424]
push esi
mov ecx, edi
call fcn.0040c5a7
lea ecx, [esi - 0x10]
call fcn.00406c57
mov al, bl
call fcn.0042dbb5
ret