joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b1f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00486c20
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x42b259
push 0
push 0x19
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42b257
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.0042b480
jmp 0x42b282
push 0
push 0x10
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42b282
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x214]
call fcn.0042b480
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret 4

Function at 0x42b2a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00486c20
add esp, 0xc
push 0
push 0xb
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42b301
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.0042b480
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret

Function at 0x42b310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00486c20
add esp, 0xc
push 0
push 2
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.0042b480
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret

Function at 0x42b380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00486c20
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42b3f5
push 0x54e128
lea eax, [ebp - 0x210]
push eax
call fcn.00486ab7
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.0042b480
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret
Function at 0x42b570
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x42b6af
lea eax, [ebp - 0xc]
push eax
push 0x55acd0
push 1
push 0
push 0x55acf0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x42b6a9
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0x50]
call edx
cmp dword [ebp + 0x10], 0
je 0x42b5e4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
cmp dword [ebp + 0x14], 0
je 0x42b5fc
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x3c]
call eax
movzx ecx, word [ebp + 0x18]
test ecx, ecx
je 0x42b617
movzx edx, word [ebp + 0x18]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x34]
call eax
cmp dword [ebp + 0x1c], 0
je 0x42b62f
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0x24]
call edx
cmp dword [ebp + 0x20], 0
je 0x42b647
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
lea edx, [ebp - 0x10]
push edx
push 0x55ace0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x42b69b
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x42bd80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fcd1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00451e90
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004078c0
push 0x54e248
lea ecx, [ebp - 0x2c]
call fcn.004078c0
push 0x54e254
push 0
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004012c0
push eax
call fcn.0044e610
add esp, 0x1c
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.004012c0
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret 8

Function at 0x42be50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fd01
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.00486c20
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42bf4e
push 0x54e270
lea eax, [ebp - 0x21c]
push eax
call fcn.00486ab7
add esp, 8
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x238]
call fcn.00401280
mov dword [ebp - 4], 0
push 0x54e2c4
lea ecx, [ebp - 0x238]
call fcn.004078c0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x238]
call fcn.004078c0
push 0x54e2c8
lea ecx, [ebp - 0x238]
call fcn.004078c0
push 0
push 0
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x238]
call fcn.004012c0
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.0042b570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00406040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret 8
Function at 0x42c1b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fd81
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x644], ecx
mov dword [ebp - 0x220], 0
xor eax, eax
mov word [ebp - 0x634], ax
push 0x206
push 0
lea ecx, [ebp - 0x632]
push ecx
call fcn.00486c20
add esp, 0xc
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00486c20
add esp, 0xc
push 0x54e320
lea ecx, [ebp - 0x63c]
call fcn.00421fb0
mov dword [ebp - 4], 0
push 0x54e324
lea ecx, [ebp - 0x638]
call fcn.00421fb0
mov byte [ebp - 4], 1
push 0x54e328
lea ecx, [ebp - 0x224]
call fcn.00421fb0
mov byte [ebp - 4], 2
xor ecx, ecx
mov word [ebp - 0x42c], cx
push 0x206
push 0
lea edx, [ebp - 0x42a]
push edx
call fcn.00486c20
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x42c2db
push 0
push 0x17
lea eax, [ebp - 0x634]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x42c2d9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.00402890
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x638]
call fcn.00402890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x63c]
call fcn.00402890
jmp 0x42c39a
jmp 0x42c324
push 0
push 2
lea ecx, [ebp - 0x634]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x42c324
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.00402890
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x638]
call fcn.00402890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x63c]
call fcn.00402890
jmp 0x42c39a
push 0x54e32c
lea edx, [ebp - 0x634]
push edx
push 0x54e338
lea eax, [ebp - 0x21c]
push eax
call fcn.00487ebf
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x640], esp
lea edx, [ebp - 0x21c]
push edx
call fcn.00421fb0
mov dword [ebp - 0x648], eax
mov ecx, dword [ebp - 0x644]
call fcn.0042c3c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.00402890
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x638]
call fcn.00402890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x63c]
call fcn.00402890
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret 4
Function at 0x42c3c0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fdc7
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x694], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0x54e348
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00487ebf
add esp, 0xc
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x478], eax
cmp dword [ebp - 0x478], 0xffffffff
je 0x42c5a5
lea ecx, [ebp - 0x474]
push ecx
mov edx, dword [ebp - 0x478]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x42c45f
jmp 0x42c5a5
movzx eax, word [ebp - 0x448]
cmp eax, 0x2e
jne 0x42c46d
jmp 0x42c42a
movzx ecx, word [ebp - 0x446]
test ecx, ecx
jne 0x42c47a
jmp 0x42c42a
movzx edx, word [ebp - 0x446]
cmp edx, 0x2e
jne 0x42c493
movzx eax, word [ebp - 0x444]
test eax, eax
jne 0x42c493
jmp 0x42c42a
lea ecx, [ebp - 0x47c]
call fcn.00402870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x448]
push ecx
push 0x54e354
lea edx, [ebp - 0x47c]
push edx
call fcn.0042c060
add esp, 0xc
mov eax, dword [ebp - 0x474]
and eax, 0x10
je 0x42c52e
xor ecx, ecx
mov word [ebp - 0x684], cx
push 0x206
push 0
lea edx, [ebp - 0x682]
push edx
call fcn.00486c20
add esp, 0xc
mov eax, dword [ebp - 0x47c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x54e35c
lea edx, [ebp - 0x684]
push edx
call fcn.00487ebf
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x68c], esp
lea eax, [ebp - 0x684]
push eax
call fcn.00421fb0
mov dword [ebp - 0x698], eax
mov ecx, dword [ebp - 0x694]
call fcn.0042c3c0
jmp 0x42c591
lea ecx, [ebp - 0x688]
call fcn.00402870
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x47c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x54e368
lea eax, [ebp - 0x688]
push eax
call fcn.0042c060
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x690], esp
lea edx, [ebp - 0x688]
push edx
call fcn.00422d40
mov dword [ebp - 0x69c], eax
mov ecx, dword [ebp - 0x694]
call fcn.0042c950
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x688]
call fcn.00402890
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.00402890
jmp 0x42c42a
mov eax, dword [ebp - 0x478]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp + 8]
call fcn.00405cf0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x42c5d8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402890
jmp 0x42c5fa
push 4
push 0
lea ecx, [ebp + 8]
call fcn.00405cf0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402890
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret 4
Function at 0x42c620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00486c20
add esp, 0xc
push 0
push 0x10
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42c681
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.0042c8a0
push 0
push 0x19
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42c6aa
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x214]
call fcn.0042c8a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret

Function at 0x42c6c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00486c20
add esp, 0xc
push 0
push 0xb
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42c721
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.0042c8a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret

Function at 0x42c730
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00486c20
add esp, 0xc
push 0
push 2
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.0042c8a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret

Function at 0x42c7a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00486c20
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42c815
push 0x54e378
lea eax, [ebp - 0x210]
push eax
call fcn.00486ab7
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.0042c8a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret
Function at 0x42c950
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fe24
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x580280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00405cf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42c9b2
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402890
mov eax, dword [ebp - 0x14]
jmp 0x42c9dc
lea ecx, [ebp + 8]
call fcn.00422ba0
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0042c9f0
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402890
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x42c9f0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x220], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00486c20
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42ca40
jmp 0x42cb63
mov eax, dword [ebp + 8]
push eax
push 0x54e3e8
lea ecx, [ebp - 0x210]
push ecx
call fcn.00487ebf
add esp, 0xc
push 0x54e3f0
lea edx, [ebp - 0x210]
push edx
call fcn.004127e0
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x42ca8e
push 5
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x42cb63
mov dword [ebp - 0x218], 0
mov ecx, 1
test ecx, ecx
je 0x42cb63
mov dword [ebp - 0x21c], 1
cmp dword [ebp - 0x218], 0
jne 0x42cad2
mov edx, dword [ebp + 8]
push edx
push 0x54e3fc
lea eax, [ebp - 0x210]
push eax
call fcn.00487ebf
add esp, 0xc
jmp 0x42caf1
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x54e40c
lea eax, [ebp - 0x210]
push eax
call fcn.00487ebf
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42cb15
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x42cb44
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048ad17
add esp, 8
push 5
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x42cb63
cmp dword [ebp - 0x218], 0xa
jle 0x42cb4f
jmp 0x42cb63
mov eax, dword [ebp - 0x218]
add eax, 1
mov dword [ebp - 0x218], eax
jmp 0x42ca98
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret 4
Function at 0x42d530
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ff28
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x658], ecx
mov dword [ebp - 0x240], 0
mov ecx, dword [ebp - 0x658]
call fcn.0042d700
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
jne 0x42d58a
jmp 0x42d6be
xor eax, eax
mov word [ebp - 0x44c], ax
push 0x206
push 0
lea ecx, [ebp - 0x44a]
push ecx
call fcn.00486c20
add esp, 0xc
xor edx, edx
mov word [ebp - 0x23c], dx
push 0x206
push 0
lea eax, [ebp - 0x23a]
push eax
call fcn.00486c20
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x44c]
push eax
call fcn.00486ab7
add esp, 8
push 0x54e620
lea ecx, [ebp - 0x44c]
push ecx
call fcn.00486ab7
add esp, 8
mov dx, word [0x54e634]
mov word [ebp - 0x654], dx
push 0x206
push 0
lea eax, [ebp - 0x652]
push eax
call fcn.00486c20
add esp, 0xc
push 0x54e638
push 0x54e654
lea ecx, [ebp - 0x654]
push ecx
call fcn.00487ebf
add esp, 0xc
lea edx, [ebp - 0x654]
push edx
lea eax, [ebp - 0x44c]
push eax
call fcn.00486ab7
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.00416ea0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004170d0
test eax, eax
je 0x42d68c
lea ecx, [ebp - 0x44c]
push ecx
mov ecx, dword [ebp - 0x658]
call fcn.0042dc70
mov dword [ebp - 0x240], eax
jmp 0x42d6a4
lea edx, [ebp - 0x44c]
push edx
mov ecx, dword [ebp - 0x658]
call fcn.0042dc70
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x658]
call fcn.0042dd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00416ec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret
Function at 0x42dc70
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0042dd80
mov dword [ebp - 8], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42dce7
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 1
push 3
push 1
push 0xf01ff
push str.PeopleCDTime_Service
push 0x54e7d8
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42dce7
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x42dd00
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42dd68
push 0xf003f
push 0x54e7f4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42dd68
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x42dd5e
mov dword [ebp - 8], 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x42dd80
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x238], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00486c20
add esp, 0xc
mov dword [ebp - 0x214], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x42de44
push 0xf003f
push str.PeopleCDTime
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42de44
lea eax, [ebp - 0x234]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x42de3a
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x42de3a
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret