joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e040
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eec0d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov ecx, 0x52429a
call fcn.004c6bbd
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 1
lea eax, [ebp + 8]
push eax
push 0x4f6a44
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004086d0
add esp, 0xc
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 4], 2
push 0x4f6a40
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00408630
add esp, 0xc
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp + 8]
call fcn.00407eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00407640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00407640
push 0x3c
push 0
lea ecx, [ebp - 0x70]
push ecx
call fcn.004cb140
add esp, 0xc
mov dword [ebp - 0x70], 0x3c
movzx edx, byte [ebp + 0x1c]
test edx, edx
je 0x40e10e
mov dword [ebp - 0x6c], 0x440
jmp 0x40e115
mov dword [ebp - 0x6c], 0x40
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
lea ecx, [ebp + 8]
call fcn.004084d0
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp + 0xc]
call fcn.004084d0
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x40e151
mov dword [ebp - 0x54], 5
jmp 0x40e158
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp + 0x14], 0
je 0x40e17e
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x40e1a2
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407640
mov eax, dword [ebp - 0x30]
jmp 0x40e1eb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e720
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee92e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x52429a
call fcn.004c6bbd
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.004cb140
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406160
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x4f6e08
mov ecx, dword [ebp + 8]
call fcn.00408a70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40efa0
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eedde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov ecx, 0x52429a
call fcn.004c6bbd
mov ecx, dword [ebp + 8]
call fcn.00405fd0
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x14]
push edx
push 1
push 0
push 0
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
je 0x40f080
mov dword [ebp - 0x10], 0
jmp 0x40f017
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x20]
jae 0x40f049
imul edx, dword [ebp - 0x10], 0xc
mov eax, dword [ebp - 0x14]
cmp dword [eax + edx + 8], 0
jne 0x40f047
imul ecx, dword [ebp - 0x10], 0xc
add ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x34], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x2c], ecx
jmp 0x40f049
jmp 0x40f00e
mov edx, dword [ebp - 0x14]
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 5
mov edx, dword [ebp - 0x34]
push edx
push 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x40f080
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00407f70
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40f340
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, 0x52429a
call fcn.004c6bbd
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, 1
imul edx, ecx, 0
movzx eax, byte [ebp + 8]
mov byte [ebp + edx - 4], al
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 4], 0x3a
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 4], 0x5c
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0xc]
mul dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x40f420
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eed36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x52429a
call fcn.004c6bbd
mov ecx, dword [ebp + 8]
call fcn.00405fd0
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x104
push 0
lea ecx, [ebp - 0x124]
push ecx
call fcn.004cb140
add esp, 0xc
push 0x104
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp + 8]
call fcn.00407ee0
push 2
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040bce0
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.00407eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00407640
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4106e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee9ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov ecx, 0x52429a
call fcn.004c6bbd
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x4107d2
lea eax, [ebp - 0x18]
push eax
call fcn.0040efa0
add esp, 4
mov dword [ebp - 4], 0
push 0x208
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.004cb140
add esp, 0xc
mov dword [ebp - 0x1c], 0x104
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00406160
lea ecx, [ebp - 0x18]
call fcn.0040b7d0
movzx edx, al
test edx, edx
jne 0x4107bb
lea ecx, [ebp - 0x14]
call fcn.0040b7d0
movzx eax, al
test eax, eax
jne 0x4107bb
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004083c0
add esp, 8
movzx eax, al
test eax, eax
je 0x4107bb
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x14]
call fcn.00407640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407640
mov al, byte [ebp - 0xd]
jmp 0x4107d4
lea ecx, [ebp - 0x14]
call fcn.00407640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407640
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4107f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov ecx, 0x52429a
call fcn.004c6bbd
mov byte [ebp - 1], 0
mov al, byte [0x4f692a]
mov byte [ebp - 0x64], al
xor ecx, ecx
mov dword [ebp - 0x63], ecx
mov dword [ebp - 0x5f], ecx
mov dword [ebp - 0x5b], ecx
mov dword [ebp - 0x57], ecx
mov dword [ebp - 0x53], ecx
mov dword [ebp - 0x4f], ecx
mov dword [ebp - 0x4b], ecx
mov byte [ebp - 0x47], cl
mov byte [ebp - 0x44], 0x5c
mov byte [ebp - 0x43], 0x5c
mov byte [ebp - 0x42], 0x2e
mov byte [ebp - 0x41], 0x5c
mov byte [ebp - 0x40], 0x50
mov byte [ebp - 0x3f], 0x68
mov byte [ebp - 0x3e], 0x79
mov byte [ebp - 0x3d], 0x73
mov byte [ebp - 0x3c], 0x69
mov byte [ebp - 0x3b], 0x63
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x6c
mov byte [ebp - 0x38], 0x44
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x69
mov byte [ebp - 0x35], 0x76
mov byte [ebp - 0x34], 0x65
mov byte [ebp - 0x33], 0x25
mov byte [ebp - 0x32], 0x64
mov byte [ebp - 0x31], 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 2]
call fcn.004063b0
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00406b20
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406c60
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.00415e30
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00418160
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00407900
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea edx, [ebp - 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4108e8
xor al, al
jmp 0x41093b
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push 8
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0x2d0c14
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41092e
movzx ecx, byte [ebp - 0x14]
test ecx, ecx
jne 0x41092a
movzx edx, byte [ebp - 0x12]
test edx, edx
je 0x41092e
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x4109e0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov ecx, 0x52429a
call fcn.004c6bbd
mov dword [ebp - 0x18], 0xffffffff
mov byte [ebp - 1], 1
cmp dword [ebp + 8], 0
jne 0x410a0b
xor al, al
jmp 0x410b0d
mov dword [ebp - 0x2c], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x258], 0x22c
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x410af6
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x234]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dx, word [ecx]
mov word [ebp - 0xe], dx
mov eax, dword [ebp - 0xc]
cmp dx, word [eax]
jne 0x410a99
cmp word [ebp - 0xe], 0
je 0x410a90
mov ecx, dword [ebp - 8]
mov dx, word [ecx + 2]
mov word [ebp - 0x10], dx
mov eax, dword [ebp - 0xc]
cmp dx, word [eax + 2]
jne 0x410a99
add dword [ebp - 8], 4
add dword [ebp - 0xc], 4
cmp word [ebp - 0x10], 0
jne 0x410a54
mov dword [ebp - 0x1c], 0
jmp 0x410aa1
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x410ade
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x28], eax
push 1
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, 1
je 0x410ade
mov byte [ebp - 1], 0
jmp 0x410af6
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x20], eax
jmp 0x410a3b
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0xffffffff
jne 0x410b0a
xor al, al
jmp 0x410b0d
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x410c50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eefbd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push esi
mov dword [ebp - 4], 0
mov ecx, 0x52429a
call fcn.004c6bbd
call fcn.0040bb60
movzx eax, al
test eax, eax
je 0x410cd2
push 0
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x1c], esp
lea ecx, [ebp + 8]
call fcn.004084d0
push eax
mov ecx, esi
call fcn.00406890
call fcn.004198d0
add esp, 0x1c
push 1
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x20], esp
lea ecx, [ebp + 8]
call fcn.004084d0
push eax
mov ecx, esi
call fcn.00406890
call fcn.004198d0
add esp, 0x1c
jmp 0x410e4a
mov ecx, 0x74
mov word [ebp - 0x7c], cx
mov edx, 0x61
mov word [ebp - 0x7a], dx
mov eax, 0x73
mov word [ebp - 0x78], ax
mov ecx, 0x6b
mov word [ebp - 0x76], cx
mov edx, 0x62
mov word [ebp - 0x74], dx
mov eax, 0x61
mov word [ebp - 0x72], ax
mov ecx, 0x72
mov word [ebp - 0x70], cx
mov edx, 0x75
mov word [ebp - 0x6e], dx
mov eax, 0x6e
mov word [ebp - 0x6c], ax
mov ecx, 0x70
mov word [ebp - 0x6a], cx
mov edx, 0x69
mov word [ebp - 0x68], dx
mov eax, 0x6e
mov word [ebp - 0x66], ax
xor ecx, ecx
mov word [ebp - 0x64], cx
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.004084d0
push eax
lea ecx, [ebp - 0xd]
call fcn.004063b0
push eax
lea edx, [ebp - 0x62]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00406d10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call fcn.00415e30
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x3c]
call fcn.00407960
mov eax, 0x74
mov word [ebp - 0x60], ax
mov ecx, 0x61
mov word [ebp - 0x5e], cx
mov edx, 0x73
mov word [ebp - 0x5c], dx
mov eax, 0x6b
mov word [ebp - 0x5a], ax
mov ecx, 0x62
mov word [ebp - 0x58], cx
mov edx, 0x61
mov word [ebp - 0x56], dx
mov eax, 0x72
mov word [ebp - 0x54], ax
mov ecx, 0x70
mov word [ebp - 0x52], cx
mov edx, 0x69
mov word [ebp - 0x50], dx
mov eax, 0x6e
mov word [ebp - 0x4e], ax
xor ecx, ecx
mov word [ebp - 0x4c], cx
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.004084d0
push eax
lea ecx, [ebp - 0xe]
call fcn.004063b0
push eax
lea edx, [ebp - 0x4a]
push edx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x30]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x48]
call fcn.00406d10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.00415e30
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x48]
call fcn.00407960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4124e0
Capabilities:
Contain obfuscated stackstrings
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef12d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov ecx, 0x52429a
call fcn.004c6bbd
cmp dword [ebp + 8], 0
jne 0x412510
jmp 0x412663
mov byte [ebp - 0x74], 0x47
mov byte [ebp - 0x73], 0x65
mov byte [ebp - 0x72], 0x74
mov byte [ebp - 0x71], 0x4e
mov byte [ebp - 0x70], 0x61
mov byte [ebp - 0x6f], 0x74
mov byte [ebp - 0x6e], 0x69
mov byte [ebp - 0x6d], 0x76
mov byte [ebp - 0x6c], 0x65
mov byte [ebp - 0x6b], 0x53
mov byte [ebp - 0x6a], 0x79
mov byte [ebp - 0x69], 0x73
mov byte [ebp - 0x68], 0x74
mov byte [ebp - 0x67], 0x65
mov byte [ebp - 0x66], 0x6d
mov byte [ebp - 0x65], 0x49
mov byte [ebp - 0x64], 0x6e
mov byte [ebp - 0x63], 0x66
mov byte [ebp - 0x62], 0x6f
mov byte [ebp - 0x61], 0
mov eax, 0x6b
mov word [ebp - 0x5c], ax
mov ecx, 0x65
mov word [ebp - 0x5a], cx
mov edx, 0x72
mov word [ebp - 0x58], dx
mov eax, 0x6e
mov word [ebp - 0x56], ax
mov ecx, 0x65
mov word [ebp - 0x54], cx
mov edx, 0x6c
mov word [ebp - 0x52], dx
mov eax, 0x33
mov word [ebp - 0x50], ax
mov ecx, 0x32
mov word [ebp - 0x4e], cx
xor edx, edx
mov word [ebp - 0x4c], dx
lea ecx, [ebp - 0xd]
call fcn.004063b0
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406b20
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x48]
call fcn.00406c60
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.00415e30
push eax
lea ecx, [ebp - 0xe]
call fcn.004063b0
push eax
lea edx, [ebp - 0x4a]
push edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00406d10
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.00415e30
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x3c]
call fcn.00407960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00407900
cmp dword [ebp - 0x14], 0
je 0x412659
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x14]
jmp 0x412663
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x412680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef14d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov ecx, 0x52429a
call fcn.004c6bbd
mov byte [ebp - 0x5c], 0x73
mov byte [ebp - 0x5b], 0x70
mov byte [ebp - 0x5a], 0x5f
mov byte [ebp - 0x59], 0x73
mov byte [ebp - 0x58], 0x68
mov byte [ebp - 0x57], 0x61
mov byte [ebp - 0x56], 0x72
mov byte [ebp - 0x55], 0x65
mov byte [ebp - 0x54], 0x64
mov byte [ebp - 0x53], 0x6d
mov byte [ebp - 0x52], 0x65
mov byte [ebp - 0x51], 0x6d
mov byte [ebp - 0x50], 0x5f
mov byte [ebp - 0x4f], 0x71
mov byte [ebp - 0x4e], 0x75
mov byte [ebp - 0x4d], 0x69
mov byte [ebp - 0x4c], 0x63
mov byte [ebp - 0x4b], 0x6b
mov byte [ebp - 0x4a], 0x73
mov byte [ebp - 0x49], 0x74
mov byte [ebp - 0x48], 0x61
mov byte [ebp - 0x47], 0x72
mov byte [ebp - 0x46], 0x74
mov byte [ebp - 0x45], 0x5f
mov byte [ebp - 0x44], 0x63
mov byte [ebp - 0x43], 0x6f
mov byte [ebp - 0x42], 0x6e
mov byte [ebp - 0x41], 0x74
mov byte [ebp - 0x40], 0x72
mov byte [ebp - 0x3f], 0x6f
mov byte [ebp - 0x3e], 0x6c
mov byte [ebp - 0x3d], 0
lea ecx, [ebp - 0xd]
call fcn.004063b0
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00406b20
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x38]
call fcn.00406c60
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
call fcn.00415e30
push eax
call fcn.00412d50
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00407900
cmp dword [ebp - 0x14], 0
je 0x4127bd
mov edx, dword [ebp - 0x14]
push edx
call fcn.00412ab0
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4127bd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x4127b4
mov edx, dword [ebp - 0x1c]
mov dword [edx], 1
jmp 0x4127bd
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x412940
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, 0x52429a
call fcn.004c6bbd
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x412972
lea ecx, [ebp + 8]
call fcn.00407640
jmp 0x4129dd
push 0xf01ff
lea ecx, [ebp + 8]
call fcn.004084d0
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4129a7
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp + 8]
call fcn.00407640
jmp 0x4129dd
lea edx, [ebp - 0x24]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
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]
lea ecx, [ebp + 8]
call fcn.00407640
mov esp, ebp
pop ebp
ret

Function at 0x4129f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov ecx, 0x52429a
call fcn.004c6bbd
lea ecx, [ebp - 0x28]
call fcn.004024f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea ecx, [ebp + 8]
call fcn.004084d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x412a42
jmp 0x412a87
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004171d0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00415bb0
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x412a81
mov ecx, dword [ebp + 0xc]
call fcn.004171d0
cmp dword [ebp - 8], eax
je 0x412a83
jmp 0x412a87
xor edx, edx
jne 0x412a16
cmp dword [ebp - 4], 0xffffffff
je 0x412a97
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.00402610
lea ecx, [ebp + 8]
call fcn.00407640
mov esp, ebp
pop ebp
ret