joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e9a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ead5
mov eax, dword fs:[0]
push eax
mov eax, 0x102c
call fcn.00610bb0
mov eax, dword [0x721970]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x1038]
call fcn.00418c90
mov dword [ebp - 4], 0
mov dword [ebp - 0x1020], 0
lea eax, [ebp - 0x1020]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x102c], eax
cmp dword [ebp - 0x102c], 0
je 0x40ea3a
mov byte [ebp - 0x1016], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1038]
call fcn.00418cc0
mov al, byte [ebp - 0x1016]
jmp 0x40eb08
mov dword [ebp - 0x1028], 0x800
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x101c], 0
jmp 0x40ea69
mov eax, dword [ebp - 0x101c]
add eax, 1
mov dword [ebp - 0x101c], eax
cmp dword [ebp - 0x1024], 0
jne 0x40eae9
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1028]
push ecx
lea edx, [ebp - 0x1014]
push edx
mov eax, dword [ebp - 0x101c]
push eax
mov ecx, dword [ebp - 0x1020]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x1024], eax
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x1014]
push eax
call fcn.0060fc3f
add esp, 8
test eax, eax
jne 0x40eada
mov byte [ebp - 0x1017], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1038]
call fcn.00418cc0
mov al, byte [ebp - 0x1017]
jmp 0x40eb08
mov dword [ebp - 0x1028], 0x800
jmp 0x40ea5a
mov byte [ebp - 0x1015], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1038]
call fcn.00418cc0
mov al, byte [ebp - 0x1015]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0060f7c8
mov esp, ebp
pop ebp
ret
Function at 0x40f6a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ec49
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x721970]
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.00418c90
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 0x40f891
mov ecx, dword [ebp - 0x230]
add ecx, 1
push ecx
call fcn.004e69f9
add esp, 4
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x224], edx
cmp dword [ebp - 0x224], 0
je 0x40f891
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 0x40f86d
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x22c]
push ecx
push str.VarFileInfoTranslation
mov edx, dword [ebp - 0x224]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40f86d
cmp dword [ebp - 0x220], 0
jbe 0x40f86d
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 fcn.00611eef
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 0x40f86d
cmp dword [ebp - 0x220], 0
jbe 0x40f86d
cmp dword [ebp - 0x22c], 0
je 0x40f862
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x220]
jbe 0x40f862
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 fcn.0061006f
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 0x40f891
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.004e69f4
add esp, 4
mov dl, byte [ebp - 0x219]
mov byte [ebp - 0x225], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.00418cc0
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.0060f7c8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410ad0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x721970]
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 fcn.0060f700
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 0x410b6d
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x214]
cmp edx, dword [ecx]
jae 0x410b62
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 fcn.0061006f
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.0060f7c8
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ef11
mov eax, dword fs:[0]
push eax
mov eax, 0x2060
call fcn.00610bb0
mov eax, dword [0x721970]
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.00418c90
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 0x41164b
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 0x41163e
cmp dword [ebp - 0x2028], 1
jne 0x411616
lea ecx, [ebp - 0x203c]
call fcn.00419180
test eax, eax
jle 0x411573
push 0x65c908
lea ecx, [ebp - 0x2054]
call fcn.00418d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2054]
push ecx
lea ecx, [ebp - 0x203c]
call fcn.00419090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2054]
call fcn.00418cc0
lea edx, [ebp - 0x2018]
push edx
lea ecx, [ebp - 0x206c]
call fcn.00418d40
mov byte [ebp - 4], 3
lea eax, [ebp - 0x206c]
push eax
lea ecx, [ebp - 0x203c]
call fcn.00419090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x206c]
call fcn.00418cc0
push 0x65c90c
lea ecx, [ebp - 0x2060]
call fcn.00418d40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2060]
push ecx
lea ecx, [ebp - 0x203c]
call fcn.00419090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2060]
call fcn.00418cc0
lea edx, [ebp - 0x1014]
push edx
lea ecx, [ebp - 0x2048]
call fcn.00418d40
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2048]
push eax
lea ecx, [ebp - 0x203c]
call fcn.00419090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2048]
call fcn.00418cc0
mov ecx, dword [ebp - 0x2020]
add ecx, 1
mov dword [ebp - 0x2020], ecx
mov dword [ebp - 0x2024], 0x800
mov dword [ebp - 0x2030], 0x800
jmp 0x4114e1
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.00418ce0
mov ecx, dword [ebp - 0x202c]
or ecx, 1
mov dword [ebp - 0x202c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x203c]
call fcn.00418cc0
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.0060f7c8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4182b0
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x721970]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [0x728e64], 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 0x4182e9
mov al, byte [0x728e64]
jmp 0x4183a8
push 0x14
push 0x65d768
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 0x418317
push 4
push 0x65d77c
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 0x41832e
mov al, byte [0x728e64]
jmp 0x4183a8
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x418351
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, byte [0x728e64]
jmp 0x4183a8
cmp dword [ebp - 0x1c], 4
jne 0x41836f
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [0x728e64], 1
mov al, byte [0x728e64]
jmp 0x4183a8
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x418392
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, byte [0x728e64]
jmp 0x4183a8
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [0x728e64], 1
mov al, byte [0x728e64]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060f7c8
mov esp, ebp
pop ebp
ret
Function at 0x41bf70
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x721970]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x15], 0
mov eax, dword [ebp + 0xc]
add eax, 0x11
push eax
call fcn.004e69f9
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x41c045
push 0x10
push 0x36
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0060f700
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 fcn.0060f700
add esp, 0xc
mov dword [ebp - 0x28], 0
jmp 0x41bfe0
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0x10
jae 0x41c004
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 0x41bfd7
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 fcn.0060fe73
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.0041bf20
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004e69f4
add esp, 4
push 0x20
call fcn.004e69f9
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
je 0x41c0e4
push 0x10
push 0x5c
mov eax, dword [ebp - 0x20]
push eax
call fcn.0060f700
add esp, 0xc
mov dword [ebp - 0x24], 0
jmp 0x41c084
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x10
jae 0x41c0a8
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 0x41c07b
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0x10
mov edx, dword [ebp - 0x20]
add edx, 0x10
push edx
call fcn.0060fef2
add esp, 0x10
mov eax, dword [ebp + 0x14]
push eax
push 0x20
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0041bf20
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.004e69f4
add esp, 4
mov byte [ebp - 0x15], 1
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060f7c8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42aa90
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x630ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x721970]
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.00408620
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x254]
call fcn.00418c90
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x22c], ax
push 0x208
push 0
lea ecx, [ebp - 0x22a]
push ecx
call fcn.0060f700
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 0x42ab3b
jmp 0x42ab40
call fcn.00612151
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.00419510
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.00419160
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x42abde
mov dword [ebp - 0x240], 0
jmp 0x42ac56
mov eax, dword [ebp - 0x230]
push eax
call fcn.00610037
add esp, 4
add eax, 1
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0x3fffffff
jle 0x42ac0e
mov dword [ebp - 0x238], 0
jmp 0x42ac4a
mov eax, dword [ebp - 0x234]
shl eax, 1
call fcn.00610b80
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.00407150
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.00419180
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call fcn.0041bf20
push 0x10
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x278]
push eax
call fcn.0040e470
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.00418f90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00418cc0
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp + 8]
call fcn.00418ce0
mov ecx, dword [ebp - 0x248]
or ecx, 1
mov dword [ebp - 0x248], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.00418cc0
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.0060f7c8
mov esp, ebp
pop ebp
ret 4
Function at 0x42cb80
Capabilities:
Access peb ldr_data
Create thread
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6312c0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x721970]
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.00435320
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 fcn.00406700
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00406700
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00406700
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.00435270
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.0044c700
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 0x410e40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x733018], eax
cmp dword [ebp - 0x10], 0
je 0x42ccec
mov ecx, dword [ebp - 0x10]
add ecx, 4
mov dword [ebp - 0x14], ecx
jmp 0x42ccf3
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.0044c750
push 0x70
call fcn.004e69c7
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
je 0x42cd26
mov ecx, dword [ebp - 0x18]
call fcn.0046f760
mov dword [ebp - 0x1c], eax
jmp 0x42cd2d
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.00439ab0
call fcn.004654b0
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 0x435770
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 0x436a10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x632704
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x721970]
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 fcn.00406700
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 fcn.0060f700
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 0x436aac
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x424]
call fcn.00406ba0
jmp 0x436abc
push 0x6641c4
lea ecx, [ebp - 0x424]
call fcn.00406ba0
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0060f700
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0x6642a4
lea ecx, [ebp - 0x424]
call fcn.004a7500
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x436b2a
push str.ServerDump1.xml
push 0x104
lea ecx, [ebp - 0x424]
call fcn.00407830
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x424]
call fcn.00407e70
jmp 0x436b3c
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x424]
call fcn.00406ba0
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp + 8]
call fcn.004064e0
mov ecx, dword [ebp - 0x428]
or ecx, 1
mov dword [ebp - 0x428], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x424]
call fcn.004068c0
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.0060f7c8
mov esp, ebp
pop ebp
ret 4
Function at 0x439800
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x632af6
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x721970]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00449980
movzx eax, al
test eax, eax
je 0x4398c3
lea ecx, [ebp - 0xd]
call fcn.004148c0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x439871
lea ecx, [ebp - 0xd]
call fcn.004159c0
mov byte [ebp - 0x10], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.004148d0
mov al, byte [ebp - 0x10]
jmp 0x439a45
mov ecx, dword [ebp + 0xc]
push ecx
push str.Users
push 0x6654ec
mov ecx, dword [ebp + 8]
call fcn.00419160
push eax
push str.CorelUpdateHelperTaskCore
lea ecx, [ebp - 0xd]
call fcn.00415080
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.004148d0
mov al, byte [ebp - 0xe]
jmp 0x439a45
push str._schedule
lea ecx, [ebp - 0x28]
call fcn.00418d40
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 3
ja case.default.0x4398ea
mov eax, dword [ebp - 0x1c]
jmp dword [eax*4 + 0x439a58]
push 0x665540
lea ecx, [ebp - 0x58]
call fcn.00418d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00419090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00418cc0
jmp 0x4399bb
push 0x665548
lea ecx, [ebp - 0x34]
call fcn.00418d40
mov byte [ebp - 4], 3
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x28]
call fcn.00419090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00418cc0
jmp 0x4399bb
push 0x66554c
lea ecx, [ebp - 0x40]
call fcn.00418d40
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00419090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00418cc0
jmp 0x4399bb
push 0x665550
lea ecx, [ebp - 0x4c]
call fcn.00418d40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00419090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00418cc0
jmp 0x4399bb
mov byte [ebp - 0xf], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00418cc0
mov al, byte [ebp - 0xf]
jmp 0x439a45
mov dword [ebp - 0x94], 0
push 0x38
push 0
lea edx, [ebp - 0x90]
push edx
call fcn.0060f700
add esp, 0xc
mov dword [ebp - 0x94], 0x3c
mov dword [ebp - 0x88], 0x665554
mov ecx, dword [ebp + 8]
call fcn.00419160
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x28]
call fcn.00419160
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 0x439a26
mov dword [ebp - 0x18], 1
jmp 0x439a2d
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.00418cc0
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8