joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4925d9
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret

Function at 0x493e3e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0x493eec
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x9c], 0x40
jbe 0x493e7d
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0x10]
call fcn.004926b9
add esp, 8
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x9c], 0x14
mov edx, 0x40
mov ecx, dword [ebp + 0x10]
sub edx, dword [ecx + 0x9c]
push edx
push 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
add eax, dword [edx + 0x9c]
push eax
call fcn.004922b4
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
xor dword [edx + eax*4], 0x36363636
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0x493ea8
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
call fcn.004925d9
pop ecx
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
push 0x40
push dword [ebp + 0x10]
call fcn.0049261d
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x9c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x493f07
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049261d
add esp, 0xc
pop ecx
pop ebp
ret

Function at 0x493f0a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0x493f2b
push dword [ebp + 0x10]
push 0
push 0
call fcn.00493e3e
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.004926b9
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
xor dword [ecx + edx*4], 0x6a6a6a6a
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0x493f43
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
call fcn.004925d9
pop ecx
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
push 0x40
push dword [ebp + 0x10]
call fcn.0049261d
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push 0x14
lea eax, [ebp - 0x18]
push eax
call fcn.0049261d
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.004926b9
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jae 0x493fca
mov ecx, dword [ebp - 4]
mov al, byte [ebp + ecx - 0x18]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov byte [edx + ecx], al
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jb 0x493faf
mov esp, ebp
pop ebp
ret
Function at 0x495470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
lea eax, [ebp - 0xd8]
push eax
call fcn.00493d8c
pop ecx
lea edx, [ebp - 0xd8]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00493da3
add esp, 0xc
push 0xa0
lea ecx, [ebp - 0xd8]
push ecx
lea eax, [ebp - 0x178]
push eax
call fcn.004922cc
add esp, 0xc
lea edx, [ebp - 0x178]
push edx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00493e3e
add esp, 0xc
mov eax, dword [ebp + 0x20]
dec eax
mov ecx, 0x14
xor edx, edx
div ecx
inc eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x495604
push 0x14
push 0
lea ecx, [ebp - 0x38]
push ecx
call fcn.004922b4
add esp, 0xc
push 0xa0
lea eax, [ebp - 0x178]
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.004922cc
add esp, 0xc
mov ecx, dword [ebp - 4]
inc ecx
shr ecx, 0x18
mov byte [ebp - 0x24], cl
mov eax, dword [ebp - 4]
inc eax
shr eax, 0x10
mov byte [ebp - 0x23], al
mov edx, dword [ebp - 4]
inc edx
shr edx, 8
mov byte [ebp - 0x22], dl
mov cl, byte [ebp - 4]
inc ecx
mov byte [ebp - 0x21], cl
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 4
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x18]
jae 0x4955be
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0xc]
lea eax, [ebp - 0x24]
push eax
call fcn.00493e3e
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x14
lea ecx, [ebp - 0x24]
push ecx
call fcn.00493f0a
add esp, 0xc
xor eax, eax
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov cl, byte [ebp + edx - 0x24]
mov eax, dword [ebp - 0xc]
xor byte [ebp + eax - 0x38], cl
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x14
jb 0x495581
push 0xa0
lea edx, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x218]
push ecx
call fcn.004922cc
add esp, 0xc
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x18]
jb 0x495551
xor edx, edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 4]
shl ecx, 2
lea ecx, [ecx + ecx*4]
mov dword [ebp - 0xc], ecx
jmp 0x4955e7
mov eax, dword [ebp - 8]
mov dl, byte [ebp + eax - 0x38]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0xc]
mov byte [ecx + eax], dl
inc dword [ebp - 8]
inc dword [ebp - 0xc]
cmp dword [ebp - 8], 0x14
jae 0x4955f5
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x20]
jb 0x4955d1
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x4954ed
mov esp, ebp
pop ebp
ret

Function at 0x49adf0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.0049b040
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.0049b040
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret
Function at 0x49ae64
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [esi + 0x110]
cmp byte [eax + 0x4c], 0
jne 0x49ae97
mov edi, ecx
dec edi
test edi, edi
jl 0x49aea8
inc edi
mov eax, esi
call fcn.0049ae48
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, esi
call fcn.0049adf0
inc ebx
dec edi
jne 0x49ae7f
jmp 0x49aea8
lea eax, [esi + 0x3bc]
push eax
push ecx
push ebx
call fcn.00492a4c
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x49af34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x49afa9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0049aeac
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.0049ae48
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.0049adf0
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x49af74
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49afb0
lea eax, [ebp - 4]
call fcn.00404d90
ret
Function at 0x49bcf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49bed9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x49be95
mov eax, dword [ebp - 4]
call fcn.0049d59c
cmp ebx, eax
jge 0x49be95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.0048f7bc
mov edx, dword [0x48fdb8]
call fcn.0040413c
mov esi, eax
mov eax, esi
call fcn.00490fec
test al, al
je 0x49be8b
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [esi + 0x50]
call fcn.00405050
test eax, eax
jne 0x49be7e
xor eax, eax
push ebp
push 0x49be77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049c27c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041d1f8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.004053dc
mov eax, dword [ebp - 8]
call fcn.004052a8
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049c058
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bec3
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x49be76
mov eax, dword [ebp - 4]
call fcn.0049c300
ret
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x50]
call fcn.00404de4
jmp 0x49bec3
mov eax, dword [ebp - 8]
call fcn.00404d90
jmp 0x49bec3
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00409dc4
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x418690]
call fcn.0040de48
call fcn.00404720
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bee0
lea eax, [ebp - 0x54]
call fcn.00404d90
ret
Function at 0x4ab9fc
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x4abaf8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404d90
mov dl, 1
mov eax, dword [0x466924]
call fcn.00466a90
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4abad6
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00466b6c
lea eax, [ebp - 8]
mov edx, 0x4abb10
call fcn.00404e28
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00466bd4
test al, al
jne 0x4aba7e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00466cf8
test al, al
je 0x4aba8f
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00467134
cmp dword [ebx], 0
jne 0x4abac0
mov ecx, 0x4abb5c
mov dl, 1
mov eax, dword [0x46698c]
call fcn.00467374
mov esi, eax
push 0
push ebx
mov ecx, dword [ebp - 4]
mov edx, 0x4abb98
mov eax, esi
call fcn.00467408
mov eax, esi
call fcn.00403f80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4abadd
mov eax, dword [ebp - 0xc]
call fcn.00403f80
ret

Function at 0x4abba8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, edx
lea eax, [esp + 4]
mov dword [esp], eax
push 0x14
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, dword [esp]
call fcn.0040a958
add esp, 0x18
pop ebx
ret

Function at 0x4abbd0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, edx
lea eax, [esp + 4]
mov dword [esp], eax
push 0x14
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, dword [esp]
call fcn.0040a958
add esp, 0x18
pop ebx
ret
Function at 0x4ac324
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405240
mov eax, dword [ebp - 8]
call fcn.00405240
xor eax, eax
push ebp
push 0x4ac47b
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, 0x4ac490
mov eax, ebx
call fcn.004ab9fc
cmp dword [ebp - 0xc], 0
jne 0x4ac380
lea ecx, [ebp - 0xc]
mov edx, 0x4ac4ac
mov eax, ebx
call fcn.004ab9fc
lea eax, [ebp - 0xc]
mov edx, 0x4ac4c0
call fcn.00405058
cmp dword [ebp - 4], 0
je 0x4ac3ab
push dword [ebp - 0xc]
push 0x4ac4d4
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405110
push dword [ebp - 0xc]
push 0x4ac4d4
push dword [ebp - 8]
push 0x4ac4e0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405110
mov eax, dword [ebp - 0x10]
call fcn.00409f5c
test al, al
je 0x4ac3f7
push 0x64
mov eax, dword [ebp - 0x10]
call fcn.00405250
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00404f88
mov edx, dword [ebp - 0x18]
mov ecx, 0xa
mov eax, ebx
call fcn.004ae138
mov dl, 1
mov eax, dword [0x418cd4]
call fcn.00403f50
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4ac451
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004ab51c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jg 0x4ac43b
mov eax, dword [ebp - 0xc]
call fcn.00405250
push eax
call sub.kernel32.dll_RemoveDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac458
mov eax, dword [ebp - 0x14]
call fcn.00403f80
ret
Function at 0x4ac5a0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x4ac69f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x70]
xor ecx, ecx
mov edx, 0xc
call fcn.00403670
mov dword [ebp - 0x70], 0xc
mov dword [ebp - 0x68], 0xffffffff
xor eax, eax
mov dword [ebp - 0x6c], eax
push 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x4ac689
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.00403670
mov dword [ebp - 0x54], 0x44
cmp byte [ebp - 5], 0
je 0x4ac62a
mov word [ebp - 0x24], 1
jmp 0x4ac630
mov word [ebp - 0x24], 0
mov dword [ebp - 0x28], 0x101
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 0xfffffffffffffff6
call sub.kernel32.dll_GetStdHandle_1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0x10
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405250
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac6a6
lea eax, [ebp - 4]
call fcn.00404d90
ret

Function at 0x4ac6b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x4ac7a5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00405250
mov edx, eax
lea eax, [ebp - 0x209]
call fcn.0040a78c
lea eax, [ebp - 0x250]
xor ecx, ecx
mov edx, 0x44
call fcn.00403670
mov dword [ebp - 0x250], 0x44
mov dword [ebp - 0x224], 1
test bl, bl
je 0x4ac724
mov word [ebp - 0x220], 1
jmp 0x4ac72d
mov word [ebp - 0x220], 0
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x209]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4ac78f
push 0xffffffffffffffff
mov eax, dword [ebp - 0x260]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x260]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x260]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x25c]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac7ac
lea eax, [ebp - 4]
call fcn.00404d90
ret
Function at 0x4acc34
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405240
mov eax, dword [ebp - 8]
call fcn.00405240
xor eax, eax
push ebp
push 0x4acce1
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 1
cmp byte [ebp + 8], 0
jne 0x4acc74
xor ebx, ebx
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a3b0
mov eax, dword [ebp - 0xc]
call fcn.00409f6c
test al, al
je 0x4acca3
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0040a3b0
mov eax, dword [ebp - 0x10]
call fcn.00402cb0
call fcn.00402c74
push ebx
push 0
mov eax, dword [ebp - 8]
call fcn.00405250
push eax
mov eax, dword [ebp - 4]
call fcn.00405250
push eax
push 0x4accf4
push 0
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acce8
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404db4
ret

Function at 0x4accfc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405240
mov eax, dword [ebp - 8]
call fcn.00405240
xor eax, eax
push ebp
push 0x4ace1d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.0040a3b0
mov eax, dword [ebp - 0x48]
call fcn.00409f6c
test al, al
je 0x4acd5e
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.0040a3b0
mov eax, dword [ebp - 0x4c]
call fcn.00402cb0
call fcn.00402c74
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403670
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x40
mov eax, dword [0x4da5d4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.00405250
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.00405250
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], 0
je 0x4acdad
mov dword [ebp - 0x28], 1
jmp 0x4acdb2
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x4acdf5
jmp 0x4acde3
mov eax, dword [0x4da5d4]
mov eax, dword [eax]
call fcn.00463f2c
mov eax, dword [0x4da5d4]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4acdf5
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x4acdc7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ace24
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00404db4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404db4
ret
Function at 0x4ad280
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x4ad2e2
push dword fs:[eax]
mov dword fs:[eax], esp
or esi, 0xffffffff
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004ace98
test eax, eax
jbe 0x4ad2cc
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
jbe 0x4ad2cc
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad2e9
lea eax, [ebp - 4]
call fcn.00404d90
ret

Function at 0x4ad2f0
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, ecx
mov ebx, edx
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
setne byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x4ad3ed
xor eax, eax
push ebp
push 0x4ad3e6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
setne byte [ebp - 1]
cmp dword [ebp - 0xc], 0
jne 0x4ad383
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x424
jne 0x4ad383
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0
push 2
push 0x110
push 0xf01ff
push esi
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
setne byte [ebp - 1]
mov al, byte [ebp - 1]
and al, byte [ebp + 8]
je 0x4ad3c6
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x4ad3c6
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x420
jne 0x4ad3c6
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad3ed
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8