joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b285
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x59cd24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5a0fd0]
push esi
test eax, eax
jne 0x42b376
mov esi, 0x11c
push esi
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.004c4160
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x42b2f0
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x42b376
mov eax, dword [ebp - 0x110]
sub eax, 1
je 0x42b33b
sub eax, 1
jne 0x42b371
cmp dword [ebp - 0x11c], 4
ja 0x42b30d
push 3
jmp 0x42b35c
push 5
pop eax
cmp dword [ebp - 0x11c], eax
jne 0x42b32e
cmp dword [ebp - 0x118], 0
je 0x42b35d
cmp dword [ebp - 0x118], 1
jne 0x42b371
push 6
jmp 0x42b35c
cmp dword [ebp - 0x11c], 6
jb 0x42b371
push 8
jmp 0x42b35c
push 4
pop edx
cmp dword [ebp - 0x11c], edx
jne 0x42b371
mov ecx, dword [ebp - 0x118]
test ecx, ecx
jne 0x42b355
xor eax, eax
inc eax
jmp 0x42b35d
cmp ecx, 0xa
jne 0x42b364
push 2
pop eax
mov dword [0x5a0fd0], eax
jmp 0x42b376
mov eax, dword [0x5a0fd0]
cmp ecx, 0x5a
cmove eax, edx
jmp 0x42b35d
mov eax, dword [0x5a0fd0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049fb26
leave
ret

Function at 0x42b383
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
je 0x42b40a
cmp dword [ebp + 0xc], esi
je 0x42b40a
cmp dword [ebp + 0x10], esi
je 0x42b40a
cmp edi, 0x80000001
jne 0x42b3b6
call fcn.0042b285
cmp eax, 8
jne 0x42b3b6
call fcn.0042afc4
mov edi, eax
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
mov eax, dword [ebp + 0x14]
or eax, 0x20019
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b3f7
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
cmove esi, dword [ebp - 4]
cmp dword [ebp + 8], 0
je 0x42b406
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x42b40c
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x42b494
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x59cd24]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x42b5e8
call fcn.0042b92b
test eax, eax
jne 0x42b5e0
push ebx
push esi
call fcn.0042b198
mov esi, eax
call fcn.0042b084
mov ebx, eax
test esi, esi
je 0x42b5d7
test ebx, ebx
je 0x42b5d7
push str.LoadUserProfileW
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
push str.ImpersonateLoggedOnUser
push ebx
mov dword [ebp - 0x214], eax
call esi
push str.RevertToSelf
push ebx
mov dword [ebp - 0x210], eax
call esi
cmp dword [ebp - 0x214], 0
mov ebx, eax
je 0x42b5d7
cmp dword [ebp - 0x210], 0
je 0x42b5d7
test ebx, ebx
je 0x42b5d7
mov ecx, edi
call fcn.0042b5f5
mov esi, eax
test esi, esi
je 0x42b5d7
push esi
call dword [ebp - 0x210]
test eax, eax
je 0x42b54e
call ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c4160
and dword [ebp - 0x21c], 0
lea eax, [ebp - 0x218]
add esp, 0xc
mov dword [ebp - 0x218], 0x104
xorps xmm0, xmm0
movlpd qword [ebp - 0x22c], xmm0
movlpd qword [ebp - 0x224], xmm0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], 0x20
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x238]
push eax
push esi
mov dword [ebp - 0x234], 1
call dword [ebp - 0x214]
test eax, eax
je 0x42b5d7
mov eax, dword [ebp - 0x21c]
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
pop esi
pop ebx
test eax, eax
jne 0x42b5e8
mov eax, SysReAllocStringLen
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0049fb26
leave
ret
Function at 0x42b92b
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x59cd24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, 0x100
xor ebx, ebx
push eax
push ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 0x14]
mov word [ebp - 8], 0x500
push eax
xor edi, edi
mov dword [ebp - 0x18], ebx
push 8
inc edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42ba1a
test esi, esi
je 0x42ba1a
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push esi
push 2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x42b9d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42ba1a
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x42ba1a
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push esi
push 2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x42ba1a
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 4
push 1
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x42ba1a
mov edi, ebx
cmp dword [esi], ebx
jbe 0x42ba1a
mov eax, ebx
push dword [ebp - 0x18]
push dword [esi + eax*8 + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x42ba17
inc ebx
movzx eax, bx
cmp eax, dword [esi]
jb 0x42b9fc
jmp 0x42ba1a
xor edi, edi
inc edi
cmp dword [ebp - 0x18], 0
je 0x42ba29
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
test esi, esi
je 0x42ba34
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x14], 0
je 0x42ba43
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049fb26
leave
ret

Function at 0x42bab9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x59cd24]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
push 0
push eax
call fcn.004c4160
lea eax, [ebp - 0x210]
mov edi, 0x104
push eax
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0042c352
add esp, 0x18
test eax, eax
jne 0x42bb12
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 8
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049fb26
leave
ret
Function at 0x42bb8d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
je 0x42bc0d
cmp dword [ebp + 0xc], esi
je 0x42bc0d
cmp dword [ebp + 0x10], esi
je 0x42bc0d
cmp edi, 0x80000001
jne 0x42bbbf
call fcn.0042b285
cmp eax, 8
jne 0x42bbbf
call fcn.0042afc4
mov edi, eax
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
mov eax, dword [ebp + 0x14]
or eax, 0x20019
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42bbfa
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push esi
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
cmove esi, dword [ebp - 4]
cmp dword [ebp + 8], 0
je 0x42bc09
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x42bc0f
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x42bc13
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42bcb8
cmp dword [ebp + 0xc], 0
je 0x42bcb8
cmp dword [ebp + 0x10], 0
je 0x42bcb8
cmp esi, 0x80000001
jne 0x42bc51
call fcn.0042b285
cmp eax, 8
jne 0x42bc51
call fcn.0042afc4
mov esi, eax
mov ecx, dword [ebp + 0x18]
lea eax, [ebp + 8]
push ebx
push edi
push eax
or ecx, 0x20019
xor ebx, ebx
push ecx
push ebx
push dword [ebp + 0xc]
xor edi, edi
mov dword [ebp + 8], ebx
push esi
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42bca2
push 4
pop esi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42bca2
cmp dword [ebp - 4], esi
je 0x42bca4
mov edi, ebx
cmp dword [ebp + 8], ebx
je 0x42bcb2
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
jmp 0x42bcba
xor eax, eax
pop esi
leave
ret
Function at 0x42bdf6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x42bebd
cmp dword [ebp + 0xc], 0
je 0x42bebd
cmp dword [ebp + 0x10], 0
je 0x42bebd
cmp dword [ebp + 0x14], 0
je 0x42bebd
mov eax, dword [ebp + 0x18]
add eax, eax
push eax
push 0
push dword [ebp + 0x14]
mov dword [ebp - 8], eax
call fcn.004c4160
add esp, 0xc
cmp edi, 0x80000001
jne 0x42be55
call fcn.0042b285
cmp eax, 8
jne 0x42be55
call fcn.0042afc4
mov edi, eax
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
and dword [ebp + 8], 0
or ecx, 0x20019
push esi
push eax
push ecx
push 0
push dword [ebp + 0xc]
xor esi, esi
push edi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42bea7
mov eax, dword [ebp - 8]
and dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42bea7
cmp dword [ebp - 4], esi
je 0x42bea9
xor esi, esi
cmp dword [ebp + 8], 0
je 0x42beb8
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x42bebf
xor eax, eax
pop edi
leave
ret

Function at 0x42bec2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42bf71
cmp dword [ebp + 0xc], 0
je 0x42bf71
cmp dword [ebp + 0x10], 0
je 0x42bf71
cmp dword [ebp + 0x14], 0
je 0x42bf71
cmp esi, 0x80000001
jne 0x42bf0a
call fcn.0042b285
cmp eax, 8
jne 0x42bf0a
call fcn.0042afc4
mov esi, eax
mov ecx, dword [ebp + 0x18]
lea eax, [ebp + 8]
push ebx
push edi
push eax
or ecx, 0x20019
xor ebx, ebx
push ecx
push ebx
push dword [ebp + 0xc]
xor edi, edi
mov dword [ebp + 8], ebx
push esi
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42bf5b
push 4
pop esi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42bf5b
cmp dword [ebp - 4], esi
je 0x42bf5d
mov edi, ebx
cmp dword [ebp + 8], ebx
je 0x42bf6b
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
jmp 0x42bf73
xor eax, eax
pop esi
leave
ret
Function at 0x42bf76
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.0049fd90
mov eax, dword [0x59cd24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x42c069
test edi, edi
je 0x42c069
push esi
lea eax, [ebp - 0x1008]
xor esi, esi
push eax
mov eax, dword [ebp + 0x10]
or eax, 0x2001f
mov dword [ebp - 0x1008], esi
push eax
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c04f
push 0x1000
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x100c], 0x800
push esi
push eax
call fcn.004c4160
add esp, 0xc
jmp 0x42c014
push esi
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1008]
call fcn.0042bf76
add esp, 0xc
test eax, eax
je 0x42c04f
mov dword [ebp - 0x100c], 0x800
lea eax, [ebp - 0x1014]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x1004]
push eax
push esi
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x42bff0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor esi, esi
xor ecx, ecx
inc esi
test eax, eax
cmovne esi, ecx
cmp dword [ebp - 0x1008], 0
je 0x42c064
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x42c06b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0049fb26
leave
ret

Function at 0x42c396
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x42c4aa
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x42c4aa
cmp dword [ebp + 0x10], 0
je 0x42c4aa
cmp dword [ebp + 0x14], 0
je 0x42c4aa
cmp esi, 0x80000001
jne 0x42c3df
call fcn.0042b285
cmp eax, 8
jne 0x42c3df
call fcn.0042afc4
mov esi, eax
mov ecx, dword [ebp + 0x18]
lea eax, [ebp + 8]
and dword [ebp + 8], 0
or ecx, 0x20006
push ebx
push eax
push ecx
push 0
push edi
xor ebx, ebx
push esi
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42c41e
push dword [ebp + 0x18]
push edi
push esi
call fcn.0042aa7b
add esp, 0xc
mov dword [ebp + 8], eax
test eax, eax
jne 0x42c41e
xor ebx, ebx
jmp 0x42c4a5
push dword [ebp + 0x14]
call fcn.0040c54a
mov edi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049fcd7
mov esi, eax
mov dword [ebp - 4], esi
pop ecx
pop ecx
test esi, esi
jne 0x42c44e
xor ebx, ebx
jmp 0x42c487
add edi, edi
push edi
push dword [ebp + 0x14]
lea esi, [edi + 2]
push esi
push dword [ebp - 4]
call fcn.0042cf15
mov eax, dword [ebp - 4]
add esp, 0x10
xor ecx, ecx
push esi
mov esi, eax
mov word [edi + eax], cx
push esi
push dword [ebp + 0x1c]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
cmp dword [ebp + 8], 0
je 0x42c49a
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp + 8], 0
test esi, esi
je 0x42c4a5
push esi
call fcn.0049f576
pop ecx
mov eax, ebx
pop ebx
jmp 0x42c4ac
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x42c4d5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42c57f
cmp dword [ebp + 0xc], 0
je 0x42c57f
cmp dword [ebp + 0x10], 0
je 0x42c57f
cmp esi, 0x80000001
jne 0x42c511
call fcn.0042b285
cmp eax, 8
jne 0x42c511
call fcn.0042afc4
mov esi, eax
mov ecx, dword [ebp + 0x18]
lea eax, [ebp + 8]
push edi
push eax
or ecx, 0x20006
xor edi, edi
push ecx
push edi
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42c54c
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push esi
call fcn.0042aa7b
add esp, 0xc
mov dword [ebp + 8], eax
test eax, eax
jne 0x42c54f
jmp 0x42c57a
mov eax, dword [ebp + 8]
push 4
lea ecx, [ebp + 0x14]
push ecx
push 4
push edi
push dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor edi, edi
xor ecx, ecx
inc edi
test eax, eax
cmovne edi, ecx
cmp dword [ebp + 8], ecx
je 0x42c57a
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
jmp 0x42c581
xor eax, eax
pop esi
pop ebp
ret

Function at 0x42d369
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
mov eax, dword [0x59cd24]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x664]
push 0x250
push 0
push eax
call fcn.004c4160
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004c4160
xor esi, esi
add esp, 0x18
inc esi
test edi, edi
je 0x42d44d
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, esi
jne 0x42d44d
push edi
mov edi, 0x207
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0041bc76
push 0x547970
push edi
lea eax, [ebp - 0x414]
push eax
call fcn.0040f29d
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42d44d
push 0x5465f0
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x42d430
push 0x5465f4
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x42d444
lea eax, [ebp - 0x664]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42d404
jmp 0x42d446
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0049fb26
leave
ret

Function at 0x42d8d2
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, 0x714
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
xor eax, eax
leave
ret
Function at 0x42dcb1
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xc
mov eax, 0x52d501
call fcn.0049fb6e
lea ecx, [ebp - 0x10]
call fcn.0042cfa0
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push 0x558634
push 1
push esi
push 0x55a164
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x42dddf
lea ecx, [ebp - 0x14]
call fcn.0042cf94
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0042cfdf
lea edx, [ebp - 0x14]
push edx
push 0x55a0e4
mov ecx, dword [eax]
push eax
call dword [ecx]
mov ebx, eax
test ebx, ebx
js 0x42ddd7
lea ecx, [ebp - 0x14]
call fcn.0042cfdc
push esi
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ebx, eax
test ebx, ebx
js 0x42ddd7
lea ecx, [ebp - 0x10]
call fcn.0042cfdf
mov esi, eax
push 1
push 2
mov edi, dword [esi]
call fcn.0042cfe2
pop ecx
pop ecx
push eax
push dword [ebp + 8]
push esi
call dword [edi + 0x4c]
mov ebx, eax
test ebx, ebx
js 0x42ddd7
lea ecx, [ebp - 0x10]
call fcn.0042cfdf
push dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
lea ecx, [ebp - 0x10]
call fcn.0042cfdf
push dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
lea ecx, [ebp - 0x10]
call fcn.0042cfdf
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [ebp + 0x1c], 0
je 0x42dda5
lea ecx, [ebp - 0x10]
call fcn.0042cfdf
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00412d84
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0042cfdc
mov esi, eax
lea ecx, [ebp - 0x18]
push 1
mov edi, dword [esi]
call fcn.00413684
push eax
push esi
call dword [edi + 0x18]
lea ecx, [ebp - 0x18]
call fcn.0041312f
lea ecx, [ebp - 0x14]
call fcn.0042cfb8
lea ecx, [ebp - 0x10]
call fcn.0042cfbd
mov eax, ebx
call fcn.0049fb37
ret
Function at 0x42fd17
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
push ebx
push esi
push edi
push eax
push eax
push 3
push eax
push eax
push SysReAllocStringLen
push dword [ebp + 8]
mov ebx, ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42fdc5
and dword [ebp - 0xc], esi
lea eax, [ebp - 4]
and dword [ebp - 4], esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp + 8], eax
test eax, eax
je 0x42fdb3
mov ecx, ebx
call fcn.0042f220
mov eax, dword [ebp + 8]
add eax, 0xa
push eax
mov dword [ebp - 8], eax
call fcn.0049fcd7
mov esi, eax
pop ecx
test esi, esi
je 0x42fdb3
push dword [ebp - 8]
push esi
call fcn.00411b50
pop ecx
pop ecx
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, 0xfeff
mov ecx, ebx
cmp ax, word [esi]
je 0x42fdaa
push esi
call fcn.004304ce
jmp 0x42fdb3
lea eax, [esi + 2]
push eax
call fcn.00430579
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x42fdc5
push esi
call fcn.0049f576
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4

Function at 0x436392
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], str.Keeps_your_Cisco_WebEx_software_up_to_date._If_this_service_is_disabled_or_stopped__your_Cisco_WebEx_software_wont_be_kept_up_to_date__which_means_that_any_security_vulnerabilities_that_may_arise_cant_be_fixed_and_features_may_not_work._This_service_uninstalls_itself_when_there_is_no_Cisco_WebEx_software_using_it.
push eax
push 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x4363cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UpdateServiceDescription
push str._s::ChangeServiceConfig2W__d_
push 2
call fcn.0043646c
add esp, 0x10
xor eax, eax
leave
ret
xor eax, eax
inc eax
leave
ret
Function at 0x436988
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x59cd24]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4369b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x436a21
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4369e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x436a21
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004f1ec4
pop ecx
pop ecx
test eax, eax
je 0x436a18
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4369e6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x490
jmp 0x436a21
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049fb26
leave
ret

Function at 0x436c7c
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push 5
mov ebx, str.WebexService
push ebx
call fcn.00437128
pop ecx
pop ecx
cmp eax, 1
je 0x436c9c
add eax, 0x4e20
jmp 0x436d18
push esi
push edi
push 5
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x436cb7
mov eax, 0x4269
jmp 0x436d16
push 0x10
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x436cce
mov esi, 0x426a
jmp 0x436d0d
mov dword [ebp - 4], esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x436d04
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x64
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
add eax, 0x64
mov dword [ebp - 4], eax
cmp eax, 0x1388
jb 0x436cd1
jmp 0x436d06
xor esi, esi
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret