joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438940
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a355
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041b160
mov byte [ebp - 4], 1
push 0x563124
lea ecx, [ebp - 0x70]
call fcn.00419650
lea ecx, [ebp - 0x2c0]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0041a090
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x2c8], 0xffffffff
je 0x438b33
lea edx, [ebp - 0x2c0]
push edx
mov eax, dword [ebp - 0x2c8]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0
jne 0x4389e6
jmp 0x438b33
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x294]
cmp eax, 0x2e
jne 0x4389fd
jmp 0x4389b1
mov ecx, 2
shl ecx, 0
movzx edx, word [ebp + ecx - 0x294]
test edx, edx
jne 0x438a13
jmp 0x4389b1
mov eax, 2
shl eax, 0
movzx ecx, word [ebp + eax - 0x294]
cmp ecx, 0x2e
jne 0x438a40
mov edx, 2
shl edx, 1
movzx eax, word [ebp + edx - 0x294]
test eax, eax
jne 0x438a40
jmp 0x4389b1
lea ecx, [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00419540
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c0]
and edx, 0x10
je 0x438ada
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041b160
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00419630
push 0x56312c
lea ecx, [ebp - 0x28]
call fcn.00419650
push 0x10000000
push 0x563130
lea ecx, [ebp - 0x28]
call fcn.0041a090
push eax
mov edx, dword [ebp - 0x2c4]
mov ecx, dword [edx]
call fcn.00437fa0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2d4], esp
lea eax, [ebp - 0x28]
push eax
call fcn.0041b160
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2c4]
call fcn.00438940
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004195b0
jmp 0x438b22
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0041b160
mov byte [ebp - 4], 4
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x40]
call fcn.00419630
push 0x10000000
push 0x563144
lea ecx, [ebp - 0x40]
call fcn.0041a090
push eax
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [eax]
call fcn.00437fa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004195b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004195b0
jmp 0x4389b1
mov ecx, dword [ebp - 0x2c8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x10000000
push str.Everyone
lea ecx, [ebp + 8]
call fcn.0041a090
push eax
mov edx, dword [ebp - 0x2c4]
mov ecx, dword [edx]
call fcn.00437fa0
mov dword [ebp - 0x2d0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004195b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004195b0
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret 0x18
Function at 0x438bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x418], 0
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00485370
add esp, 0xc
xor edx, edx
mov word [ebp - 0x414], dx
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.00485370
add esp, 0xc
mov dword [ebp - 0x420], 0
push 0
push 0x2b
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x56310c
lea edx, [ebp - 0x20c]
push edx
call fcn.0048ee96
add esp, 8
push 0x563110
lea eax, [ebp - 0x20c]
push eax
call fcn.0048ee96
add esp, 8
push 0x563120
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0048ee96
add esp, 8
lea edx, [ebp - 0x20c]
push edx
call fcn.0046fbdc
add esp, 4
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00419540
mov ecx, dword [ebp - 0x418]
or ecx, 1
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret 4

Function at 0x438ed0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfa8
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xfa8], ecx
push 0x7d0
lea eax, [ebp - 0xfa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x5631fc
lea ecx, [ebp - 0xfa4]
push ecx
call fcn.0048ee96
add esp, 8
lea edx, [ebp - 0xfa4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x438f24
xor eax, eax
jmp 0x438f29
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret
Function at 0x4399a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a4e5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 8]
call fcn.0043a4d0
lea ecx, [ebp - 0x54]
call fcn.0044ac30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.00439ac0
call fcn.00419670
mov ecx, eax
call fcn.0046cb19
push eax
lea ecx, [ebp - 0x40]
call fcn.00419540
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], 0
jmp 0x439a19
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x54]
call fcn.0043a930
cmp dword [ebp - 0x44], eax
jae 0x439a7d
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x54]
call fcn.0043a120
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00439c40
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0041a090
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x439a6f
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x54]
call fcn.0043a120
push eax
mov ecx, dword [ebp + 8]
call fcn.0043a760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004195b0
jmp 0x439a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004195b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0043a0e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret 4
Function at 0x43fc90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc30
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc30], ecx
xor eax, eax
mov word [ebp - 0x404], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x402]
push ecx
call fcn.00485370
add esp, 0xc
xor edx, edx
mov word [ebp - 0x204], dx
push 0x1fe
push 0
lea eax, [ebp - 0x202]
push eax
call fcn.00485370
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x60c], cx
push 0x206
push 0
lea edx, [ebp - 0x60a]
push edx
call fcn.00485370
add esp, 0xc
xor eax, eax
mov word [ebp - 0xa1c], ax
push 0x206
push 0
lea ecx, [ebp - 0xa1a]
push ecx
call fcn.00485370
add esp, 0xc
xor edx, edx
mov word [ebp - 0x814], dx
push 0x206
push 0
lea eax, [ebp - 0x812]
push eax
call fcn.00485370
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xc24], cx
push 0x206
push 0
lea edx, [ebp - 0xc22]
push edx
call fcn.00485370
add esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43fd7e
movzx ecx, byte [ebp + 0x1c]
test ecx, ecx
je 0x43fd7e
jmp 0x43fe68
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x60c]
push eax
call fcn.0048dcd9
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x204]
push edx
call fcn.0048dcd9
add esp, 8
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x814]
push ecx
call fcn.0048dcd9
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x404]
push eax
call fcn.0048dcd9
add esp, 8
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0xc24]
push edx
call fcn.0048dcd9
add esp, 8
mov dword [ebp - 0xc2c], 0
mov eax, dword [ebp - 0xc2c]
push eax
lea ecx, [ebp - 0x60c]
push ecx
push str.__s___d
lea edx, [ebp - 0xa1c]
push edx
call fcn.00434b60
add esp, 0x10
mov byte [ebp - 0xc25], 0
lea eax, [ebp - 0xc25]
push eax
movzx ecx, byte [ebp + 0x1c]
push ecx
push str.8BFC49B9_828C_4AA8_A7D3_9306B96B0454
push 0x56480c
lea edx, [ebp - 0x814]
push edx
lea eax, [ebp - 0xa1c]
push eax
lea ecx, [ebp - 0xc24]
push ecx
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x404]
push eax
mov ecx, dword [ebp - 0xc30]
call fcn.00435130
movzx ecx, byte [ebp - 0xc25]
test ecx, ecx
je 0x43fe68
mov edx, dword [ebp + 0x20]
mov byte [edx], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4410f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00485370
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x441159
push 0
push 0x19
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x441157
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x210]
call fcn.004412a0
jmp 0x441182
push 0
push 0x10
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x441182
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [ebp - 0x210]
call fcn.004412a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret 4
Function at 0x441390
Capabilities:
Delete file
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x620], ecx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00485370
add esp, 0xc
xor edx, edx
mov word [ebp - 0x414], dx
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.00485370
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str._s_s.lnk
lea eax, [ebp - 0x20c]
push eax
call fcn.00434b60
add esp, 0x10
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0x5649d8
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00434b60
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
call fcn.00419670
mov ecx, eax
call fcn.0046cbe3
push eax
push str._s_s.url
lea eax, [ebp - 0x414]
push eax
call fcn.00434b60
add esp, 0x10
xor ecx, ecx
mov word [ebp - 0x61c], cx
push 0x206
push 0
lea edx, [ebp - 0x61a]
push edx
call fcn.00485370
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x61c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Internet_Exploreriexplore.exe
lea ecx, [ebp - 0x61c]
push ecx
call fcn.0048ee96
add esp, 8
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x564a40
push 0x564a48
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x61c]
push edx
push 0x564a6c
push 0x564a80
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x20c]
push eax
push 0x564aa4
push 0x564aa8
push 0x564ab8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x20c]
push ecx
push 0x564adc
push 0x564ae0
push 0x564af0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea edx, [ebp - 0x20c]
push edx
push 0x564b14
push 0x564b18
push 0x564b2c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x564b50
push 0x564b58
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x61c]
push eax
push str.IconFile
push 0x564b90
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x414]
push ecx
push 0x564bb4
push 0x564bb8
push 0x564bc8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea edx, [ebp - 0x414]
push edx
push 0x564bec
push 0x564bf0
push 0x564c00
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
push 0x564c24
push 0x564c28
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4415d0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x441703
lea eax, [ebp - 4]
push eax
push 0x56ad90
push 1
push 0
push 0x56adb0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x4416fd
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x50]
call edx
cmp dword [ebp + 0x10], 0
je 0x441644
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
cmp dword [ebp + 0x14], 0
je 0x44165c
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x3c]
call eax
movzx ecx, word [ebp + 0x18]
test ecx, ecx
je 0x441677
movzx edx, word [ebp + 0x18]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x34]
call eax
cmp dword [ebp + 0x1c], 0
je 0x44168f
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x24]
call edx
cmp dword [ebp + 0x20], 0
je 0x4416a7
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
lea edx, [ebp - 0xc]
push edx
push 0x56add0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x4416ef
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4418f0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b5bb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
call fcn.00419670
mov ecx, eax
call fcn.0046cbd7
push eax
lea ecx, [ebp - 0x28]
call fcn.00419540
mov dword [ebp - 4], 0
mov eax, dword [str.Config_]
push eax
lea ecx, [ebp - 0x28]
call fcn.00419650
lea ecx, [ebp - 0x28]
call fcn.0041a090
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x441969
push 0
lea ecx, [ebp - 0x28]
call fcn.0041a090
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00419630
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.0041b590
mov ecx, dword [ebp - 0x2c]
call fcn.0041a090
push eax
push str.m_strEverydayFiles___s
call fcn.0047416c
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004195b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret

Function at 0x4419c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x441a20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x441a10
movzx edx, byte [ebp + 8]
test edx, edx
jne 0x441a06
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 4
Function at 0x4426b0
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x454], ecx
mov ecx, dword [ebp - 0x454]
call fcn.004428d0
mov dword [ebp - 0x450], 0
mov ax, word [0x564eec]
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00485370
add esp, 0xc
push 0x564ef0
push str._s_service
lea edx, [ebp - 0x20c]
push edx
call fcn.00434b60
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x448], eax
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push 0
lea ecx, [ebp - 0x412]
push ecx
call fcn.00485370
add esp, 0xc
cmp dword [ebp - 0x448], 0
je 0x4427f1
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 1
push 3
push 1
push 0xf01ff
lea eax, [ebp - 0x20c]
push eax
push 0x564f34
mov ecx, dword [ebp - 0x448]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
je 0x4427b5
mov edx, dword [ebp - 0x44c]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x450], 1
jmp 0x4427ef
lea eax, [ebp - 0x42c]
push eax
call fcn.00470596
add esp, 4
lea ecx, [ebp - 0x42c]
call fcn.0041a090
push eax
push 0x564f60
lea ecx, [ebp - 0x414]
push ecx
call fcn.00434b60
add esp, 0xc
lea ecx, [ebp - 0x42c]
call fcn.004195b0
jmp 0x44282b
lea edx, [ebp - 0x444]
push edx
call fcn.00470596
add esp, 4
lea ecx, [ebp - 0x444]
call fcn.0041a090
push eax
push 0x564f68
lea eax, [ebp - 0x414]
push eax
call fcn.00434b60
add esp, 0xc
lea ecx, [ebp - 0x444]
call fcn.004195b0
mov ecx, dword [ebp - 0x448]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret 4

Function at 0x442850
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4428b8
push 0xf003f
push 0x564f70
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4428b8
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x4428ae
mov dword [ebp - 0xc], 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4428d0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], ecx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00485370
add esp, 0xc
mov dword [ebp - 0x234], 0
push 0x208
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [ebp - 0x238]
call fcn.00442b40
test eax, eax
jne 0x442934
xor eax, eax
jmp 0x4429d8
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x4429c5
push 0xf003f
push 0x564f9c
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x4429c5
lea ecx, [ebp - 0x228]
push ecx
push 1
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4429b8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x4429b8
mov dword [ebp - 0x234], 1
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret

Function at 0x442d80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b74b
mov eax, dword fs:[0]
push eax
sub esp, 0x644
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x62c], ecx
lea ecx, [ebp - 0x650]
call fcn.0047f774
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x650]
call fcn.0047f7c9
test eax, eax
je 0x442dfa
push 0x565084
call fcn.00419670
mov ecx, eax
call fcn.0046cbd7
push eax
push 0x565098
lea eax, [ebp - 0x218]
push eax
call fcn.00434b60
add esp, 0x10
jmp 0x442e20
push 0x5650a4
call fcn.00419670
mov ecx, eax
call fcn.0046cbd7
push eax
push 0x5650b4
lea ecx, [ebp - 0x218]
push ecx
call fcn.00434b60
add esp, 0x10
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442e7b
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x420]
push ecx
call fcn.0048dcd9
add esp, 8
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x218]
push eax
push str.__s___s
lea ecx, [ebp - 0x628]
push ecx
call fcn.00434b60
add esp, 0x10
push 0
push 0
push 0
lea edx, [ebp - 0x628]
push edx
call fcn.0046fd03
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x650]
call fcn.0047f787
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret 4