joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b900
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1919
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x219], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x244]
call fcn.004142b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jbe 0x40baf3
mov ecx, dword [ebp - 0x230]
add ecx, 1
push ecx
call sub.mfc120u.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x224], edx
cmp dword [ebp - 0x224], 0
je 0x40baf3
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40bacf
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x22c]
push ecx
push 0x4fe8c0
mov edx, dword [ebp - 0x224]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40bacf
cmp dword [ebp - 0x220], 0
jbe 0x40bacf
mov eax, dword [ebp - 0x22c]
movzx ecx, word [eax + 2]
push ecx
mov edx, dword [ebp - 0x22c]
movzx eax, word [edx]
push eax
push str.StringFileInfo_04x_04xFileVersion
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.MSVCR120.dll_swprintf_s]
add esp, 0x14
mov dword [ebp - 0x220], 0
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40bacf
cmp dword [ebp - 0x220], 0
jbe 0x40bacf
cmp dword [ebp - 0x22c], 0
je 0x40bac4
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x220]
jbe 0x40bac4
mov edx, dword [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.MSVCR120.dll_wcsncpy_s]
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp + 0xc]
mov word [eax + edx*2], cx
mov byte [ebp - 0x219], 1
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x220]
mov dword [ecx], edx
cmp dword [ebp - 0x224], 0
je 0x40baf3
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
push ecx
call sub.mfc120u.dll_Ordinal_266
add esp, 4
mov dl, byte [ebp - 0x219]
mov byte [ebp - 0x225], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.004142e0
mov al, byte [ebp - 0x225]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40cd40
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x20d], 0
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x214], 0x104
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x40cdde
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x214]
cmp edx, dword [ecx]
jae 0x40cdd3
mov eax, dword [ebp - 0x214]
add eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR120.dll_wcsncpy_s]
add esp, 0x10
mov byte [ebp - 0x20d], 1
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x214]
mov dword [edx], eax
mov al, byte [ebp - 0x20d]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret

Function at 0x40d550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40d5a5
cmp dword [ebp - 8], 3
jne 0x40d5a5
cmp dword [ebp + 0x10], 0
je 0x40d5a3
mov dword [ebp - 0xc], 1
jmp 0x40d5b7
cmp dword [ebp - 4], 0xea
je 0x40d5b7
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x40d5c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1be1
mov eax, dword fs:[0]
push eax
mov eax, 0x2060
call fcn.004dfa50
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x202c], 0
lea ecx, [ebp - 0x203c]
call fcn.004142b0
mov dword [ebp - 4], 1
mov dword [ebp - 0x201c], 0
lea eax, [ebp - 0x201c]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d7cb
mov dword [ebp - 0x2024], 0x800
mov dword [ebp - 0x2030], 0x800
mov dword [ebp - 0x2020], 0
mov dword [ebp - 0x2028], 0
lea eax, [ebp - 0x2030]
push eax
lea ecx, [ebp - 0x1014]
push ecx
lea edx, [ebp - 0x2028]
push edx
push 0
lea eax, [ebp - 0x2024]
push eax
lea ecx, [ebp - 0x2018]
push ecx
mov edx, dword [ebp - 0x2020]
push edx
mov eax, dword [ebp - 0x201c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x40d7be
cmp dword [ebp - 0x2028], 1
jne 0x40d796
lea ecx, [ebp - 0x203c]
call fcn.004147e0
test eax, eax
jle 0x40d6f3
push 0x4fe890
lea ecx, [ebp - 0x2054]
call fcn.00414370
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2054]
push ecx
lea ecx, [ebp - 0x203c]
call fcn.004146e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2054]
call fcn.004142e0
lea edx, [ebp - 0x2018]
push edx
lea ecx, [ebp - 0x206c]
call fcn.00414370
mov byte [ebp - 4], 3
lea eax, [ebp - 0x206c]
push eax
lea ecx, [ebp - 0x203c]
call fcn.004146e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x206c]
call fcn.004142e0
push 0x4fe894
lea ecx, [ebp - 0x2060]
call fcn.00414370
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2060]
push ecx
lea ecx, [ebp - 0x203c]
call fcn.004146e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2060]
call fcn.004142e0
lea edx, [ebp - 0x1014]
push edx
lea ecx, [ebp - 0x2048]
call fcn.00414370
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2048]
push eax
lea ecx, [ebp - 0x203c]
call fcn.004146e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2048]
call fcn.004142e0
mov ecx, dword [ebp - 0x2020]
add ecx, 1
mov dword [ebp - 0x2020], ecx
mov dword [ebp - 0x2024], 0x800
mov dword [ebp - 0x2030], 0x800
jmp 0x40d661
mov edx, dword [ebp - 0x201c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x203c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00414300
mov ecx, dword [ebp - 0x202c]
or ecx, 1
mov dword [ebp - 0x202c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x203c]
call fcn.004142e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413090
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [0x571684], 0
push 1
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4130c9
mov al, byte [0x571684]
jmp 0x413188
push 0x14
push 0x4ff838
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4130f7
push 4
push 0x4ff84c
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x24], 0
jne 0x41310e
mov al, byte [0x571684]
jmp 0x413188
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x413131
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, byte [0x571684]
jmp 0x413188
cmp dword [ebp - 0x1c], 4
jne 0x41314f
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [0x571684], 1
mov al, byte [0x571684]
jmp 0x413188
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x413172
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, byte [0x571684]
jmp 0x413188
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [0x571684], 1
mov al, byte [0x571684]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret

Function at 0x414160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x414184
xor eax, eax
jmp 0x414204
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41419b
xor eax, eax
jmp 0x414204
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4141e7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x4141e7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x4141be
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x4141f3
xor eax, eax
jmp 0x414204
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x414201
xor eax, eax
jmp 0x414204
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4176b0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x15], 0
mov eax, dword [ebp + 0xc]
add eax, 0x11
push eax
call sub.mfc120u.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x417786
push 0x10
push 0x36
mov edx, dword [ebp - 0x1c]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x28], 0
jmp 0x417720
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0x10
jae 0x417744
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x28]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x28]
movzx eax, byte [edx]
xor eax, ecx
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x28]
mov byte [ecx], al
jmp 0x417717
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x10
push edx
call dword [sym.imp.MSVCR120.dll_memcpy_s]
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00417660
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call sub.mfc120u.dll_Ordinal_266
add esp, 4
push 0x20
call sub.mfc120u.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
je 0x417826
push 0x10
push 0x5c
mov eax, dword [ebp - 0x20]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x24], 0
jmp 0x4177c5
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x10
jae 0x4177e9
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x24]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
movzx edx, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
mov byte [eax], dl
jmp 0x4177bc
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0x10
mov edx, dword [ebp - 0x20]
add edx, 0x10
push edx
call dword [sym.imp.MSVCR120.dll_memmove_s]
add esp, 0x10
mov eax, dword [ebp + 0x14]
push eax
push 0x20
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00417660
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call sub.mfc120u.dll_Ordinal_266
add esp, 4
mov byte [ebp - 0x15], 1
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4258e0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3a13
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x248], 0
call fcn.00405870
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x254]
call fcn.004142b0
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x22c], ax
push 0x208
push 0
lea ecx, [ebp - 0x22a]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
shl eax, 1
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0x20a
jae 0x42598b
jmp 0x425990
call fcn.004dfc08
xor ecx, ecx
mov edx, dword [ebp - 0x244]
mov word [ebp + edx - 0x22c], cx
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov dword [ebp - 0x23c], 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x23c]
push ecx
push 0
push 0
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [ebp - 0x23c]
push eax
push str._016x
lea ecx, [ebp - 0x254]
push ecx
call fcn.00414ba0
add esp, 0xc
mov byte [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov word [ebp - 0x13], dx
mov byte [ebp - 0x11], dl
lea ecx, [ebp - 0x254]
call fcn.004147c0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x425a2e
mov dword [ebp - 0x240], 0
jmp 0x425aa7
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
add eax, 1
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0x3fffffff
jle 0x425a5f
mov dword [ebp - 0x238], 0
jmp 0x425a9b
mov eax, dword [ebp - 0x234]
shl eax, 1
call fcn.004dfa20
mov dword [ebp - 0x264], esp
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x234]
shl edx, 1
push edx
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.00405740
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x240], edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x254]
call fcn.004147e0
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call fcn.00417660
push 0x10
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x278]
push eax
call fcn.0040a6e0
add esp, 0xc
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x260], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x260]
push edx
lea ecx, [ebp - 0x254]
call fcn.004145d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.004142e0
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp + 8]
call fcn.00414300
mov ecx, dword [ebp - 0x248]
or ecx, 1
mov dword [ebp - 0x248], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.004142e0
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x27c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret 4
Function at 0x4277b0
Capabilities:
Access peb ldr_data
Create thread
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3e03
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x56f734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0042ff20
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CMessagingSystem.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], vtable.CMessagingSystem.1.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.0042fe70
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.00442ed0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x44], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x6c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x78], 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x80], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x84], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0x40d0b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x574018], eax
cmp dword [ebp - 0x10], 0
je 0x42791f
mov ecx, dword [ebp - 0x10]
add ecx, 4
mov dword [ebp - 0x14], ecx
jmp 0x427926
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.00442f20
push 0x70
call sub.mfc120u.dll_Ordinal_1506
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
je 0x427959
mov ecx, dword [ebp - 0x18]
call fcn.00465c90
mov dword [ebp - 0x1c], eax
jmp 0x427960
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x7c], edx
call fcn.00431070
call fcn.0045c3e0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4303e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret

Function at 0x430dc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e51d6
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x56f734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00440600
movzx eax, al
test eax, eax
je 0x430e83
lea ecx, [ebp - 0xd]
call fcn.00410230
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x430e31
lea ecx, [ebp - 0xd]
call fcn.00411330
mov byte [ebp - 0x10], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00410240
mov al, byte [ebp - 0x10]
jmp 0x431005
mov ecx, dword [ebp + 0xc]
push ecx
push str.Users
push 0x505d9c
mov ecx, dword [ebp + 8]
call fcn.004147c0
push eax
push str.CorelUpdateHelperTaskCore
lea ecx, [ebp - 0xd]
call fcn.004109f0
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00410240
mov al, byte [ebp - 0xe]
jmp 0x431005
push str._schedule
lea ecx, [ebp - 0x28]
call fcn.00414370
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 3
ja case.default.0x430eaa
mov eax, dword [ebp - 0x1c]
jmp dword [eax*4 + 0x431018]
push 0x505df0
lea ecx, [ebp - 0x58]
call fcn.00414370
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004146e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004142e0
jmp 0x430f7b
push 0x505df8
lea ecx, [ebp - 0x34]
call fcn.00414370
mov byte [ebp - 4], 3
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x28]
call fcn.004146e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.004142e0
jmp 0x430f7b
push 0x505dfc
lea ecx, [ebp - 0x40]
call fcn.00414370
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004146e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004142e0
jmp 0x430f7b
push 0x505e00
lea ecx, [ebp - 0x4c]
call fcn.00414370
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004146e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.004142e0
jmp 0x430f7b
mov byte [ebp - 0xf], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004142e0
mov al, byte [ebp - 0xf]
jmp 0x431005
mov dword [ebp - 0x94], 0
push 0x38
push 0
lea edx, [ebp - 0x90]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x94], 0x3c
mov dword [ebp - 0x88], 0x505e04
mov ecx, dword [ebp + 8]
call fcn.004147c0
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x28]
call fcn.004147c0
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x430fe6
mov dword [ebp - 0x18], 1
jmp 0x430fed
mov dword [ebp - 0x18], 0
mov cl, byte [ebp - 0x18]
mov byte [ebp - 0x11], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004142e0
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4314f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5249
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x43155f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ecx, dword [str.pculog.configure]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.0043f200
movzx ecx, al
test ecx, ecx
je 0x431622
push str.logging_setting
lea ecx, [ebp - 0x22c]
call fcn.00414370
mov dword [ebp - 4], 0
lea edx, [ebp - 0x218]
push edx
push 1
push str.PerformanceLog
lea ecx, [ebp - 0x22c]
call fcn.004147c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x4315d9
mov byte [ebp - 0x219], 0
jmp 0x4315e0
mov byte [ebp - 0x219], 1
mov al, byte [ebp - 0x219]
mov byte [0x56b401], al
lea ecx, [ebp - 0x218]
push ecx
push 0
push str.LoggingLevel
lea ecx, [ebp - 0x22c]
call fcn.004147c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5718a4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.004142e0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret