joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d980
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x572734]
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 0x40da1e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x214]
cmp edx, dword [ecx]
jae 0x40da13
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.004e11cc
mov esp, ebp
pop ebp
ret

Function at 0x40e280
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 0x40e2d5
cmp dword [ebp - 8], 3
jne 0x40e2d5
cmp dword [ebp + 0x10], 0
je 0x40e2d3
mov dword [ebp - 0xc], 1
jmp 0x40e2e7
cmp dword [ebp - 4], 0xea
je 0x40e2e7
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x40e2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3571
mov eax, dword fs:[0]
push eax
mov eax, 0x2060
call fcn.004e1270
mov eax, dword [0x572734]
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.004152e0
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 0x40e4fb
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 0x40e4ee
cmp dword [ebp - 0x2028], 1
jne 0x40e4c6
lea ecx, [ebp - 0x203c]
call fcn.00415810
test eax, eax
jle 0x40e423
push 0x5013b0
lea ecx, [ebp - 0x2054]
call fcn.004153a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2054]
push ecx
lea ecx, [ebp - 0x203c]
call fcn.00415710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2054]
call fcn.00415310
lea edx, [ebp - 0x2018]
push edx
lea ecx, [ebp - 0x206c]
call fcn.004153a0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x206c]
push eax
lea ecx, [ebp - 0x203c]
call fcn.00415710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x206c]
call fcn.00415310
push 0x5013b4
lea ecx, [ebp - 0x2060]
call fcn.004153a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2060]
push ecx
lea ecx, [ebp - 0x203c]
call fcn.00415710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2060]
call fcn.00415310
lea edx, [ebp - 0x1014]
push edx
lea ecx, [ebp - 0x2048]
call fcn.004153a0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2048]
push eax
lea ecx, [ebp - 0x203c]
call fcn.00415710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2048]
call fcn.00415310
mov ecx, dword [ebp - 0x2020]
add ecx, 1
mov dword [ebp - 0x2020], ecx
mov dword [ebp - 0x2024], 0x800
mov dword [ebp - 0x2030], 0x800
jmp 0x40e391
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.00415330
mov ecx, dword [ebp - 0x202c]
or ecx, 1
mov dword [ebp - 0x202c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x203c]
call fcn.00415310
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.004e11cc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414160
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [0x574684], 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 0x414199
mov al, byte [0x574684]
jmp 0x414258
push 0x14
push 0x502258
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 0x4141c7
push 4
push 0x50226c
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 0x4141de
mov al, byte [0x574684]
jmp 0x414258
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x414201
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, byte [0x574684]
jmp 0x414258
cmp dword [ebp - 0x1c], 4
jne 0x41421f
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [0x574684], 1
mov al, byte [0x574684]
jmp 0x414258
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x414242
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, byte [0x574684]
jmp 0x414258
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [0x574684], 1
mov al, byte [0x574684]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret

Function at 0x415190
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 0x4151b4
xor eax, eax
jmp 0x415234
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 0x4151cb
xor eax, eax
jmp 0x415234
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 0x415217
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x415217
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 0x4151ee
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x415223
xor eax, eax
jmp 0x415234
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x415231
xor eax, eax
jmp 0x415234
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x418660
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x572734]
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 0x418736
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 0x4186d0
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0x10
jae 0x4186f4
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 0x4186c7
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.00418610
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 0x4187d6
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 0x418775
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x10
jae 0x418799
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 0x41876c
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.00418610
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.004e11cc
mov esp, ebp
pop ebp
ret 0x10
Function at 0x426e50
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e53c6
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x572734]
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.00406200
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x254]
call fcn.004152e0
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 0x426efb
jmp 0x426f00
call fcn.004e1428
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.00415bb0
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.004157f0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x426f9e
mov dword [ebp - 0x240], 0
jmp 0x427017
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 0x426fcf
mov dword [ebp - 0x238], 0
jmp 0x42700b
mov eax, dword [ebp - 0x234]
shl eax, 1
call fcn.004e1240
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.004060d0
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.00415810
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call fcn.00418610
push 0x10
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x278]
push eax
call fcn.0040b300
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.00415600
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00415310
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp + 8]
call fcn.00415330
mov ecx, dword [ebp - 0x248]
or ecx, 1
mov dword [ebp - 0x248], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.00415310
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.004e11cc
mov esp, ebp
pop ebp
ret 4
Function at 0x428d70
Capabilities:
Access peb ldr_data
Create thread
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e57b3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x572734]
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.004316a0
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.004315f0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.00447ab0
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 0x40dcf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x577018], eax
cmp dword [ebp - 0x10], 0
je 0x428edf
mov ecx, dword [ebp - 0x10]
add ecx, 4
mov dword [ebp - 0x14], ecx
jmp 0x428ee6
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.00447b00
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 0x428f19
mov ecx, dword [ebp - 0x18]
call fcn.0046aab0
mov dword [ebp - 0x1c], eax
jmp 0x428f20
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.00435a70
call fcn.00460ea0
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 0x431ac0
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 0x432c20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6bd9
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [ebp - 4], 1
mov dword [ebp - 0x42c], 0x104
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x432cbe
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
jmp 0x432ccf
push 0x5086f4
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0x5086fc
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x432d40
push str.ServerDump1.xml
push 0x104
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_5019]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_12430]
jmp 0x432d53
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov ecx, dword [ebp - 0x428]
or ecx, 1
mov dword [ebp - 0x428], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
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.004e11cc
mov esp, ebp
pop ebp
ret 4
Function at 0x4357b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6fb6
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004451a0
movzx eax, al
test eax, eax
je 0x435873
lea ecx, [ebp - 0xd]
call fcn.00411300
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x435821
lea ecx, [ebp - 0xd]
call fcn.00412400
mov byte [ebp - 0x10], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00411310
mov al, byte [ebp - 0x10]
jmp 0x4359f5
mov ecx, dword [ebp + 0xc]
push ecx
push str.Users
push 0x50929c
mov ecx, dword [ebp + 8]
call fcn.004157f0
push eax
push str.CorelUpdateHelperTaskCore
lea ecx, [ebp - 0xd]
call fcn.00411ac0
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00411310
mov al, byte [ebp - 0xe]
jmp 0x4359f5
push str._schedule
lea ecx, [ebp - 0x28]
call fcn.004153a0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 3
ja case.default.0x43589a
mov eax, dword [ebp - 0x1c]
jmp dword [eax*4 + 0x435a08]
push 0x5092f0
lea ecx, [ebp - 0x58]
call fcn.004153a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00415710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00415310
jmp 0x43596b
push 0x5092f8
lea ecx, [ebp - 0x34]
call fcn.004153a0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x28]
call fcn.00415710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00415310
jmp 0x43596b
push 0x5092fc
lea ecx, [ebp - 0x40]
call fcn.004153a0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00415710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00415310
jmp 0x43596b
push 0x509300
lea ecx, [ebp - 0x4c]
call fcn.004153a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00415710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00415310
jmp 0x43596b
mov byte [ebp - 0xf], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00415310
mov al, byte [ebp - 0xf]
jmp 0x4359f5
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], 0x509304
mov ecx, dword [ebp + 8]
call fcn.004157f0
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x28]
call fcn.004157f0
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 0x4359d6
mov dword [ebp - 0x18], 1
jmp 0x4359dd
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.00415310
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 0x4360a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e704a
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x572734]
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 0x43610f
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.00443da0
movzx ecx, al
test ecx, ecx
je 0x4361d2
push str.logging_setting
lea ecx, [ebp - 0x22c]
call fcn.004153a0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x218]
push edx
push 1
push str.PerformanceLog
lea ecx, [ebp - 0x22c]
call fcn.004157f0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x436189
mov byte [ebp - 0x219], 0
jmp 0x436190
mov byte [ebp - 0x219], 1
mov al, byte [ebp - 0x219]
mov byte [0x56e409], al
lea ecx, [ebp - 0x218]
push ecx
push 0
push str.LoggingLevel
lea ecx, [ebp - 0x22c]
call fcn.004157f0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5748bc], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00415310
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.004e11cc
mov esp, ebp
pop ebp
ret