joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4738f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x473a61
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x473a3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.004043f8
lea eax, [ebp - 0x118]
mov edx, 0x473a78
call fcn.004044d8
mov eax, dword [ebp - 0x118]
call fcn.004046d0
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4739ae
lea eax, [ebp - 0x111]
call fcn.0040924c
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404300
jmp 0x4739b5
mov eax, esi
call fcn.00404210
cmp bl, 0x61
jae 0x4739d6
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040d12c
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404264
jmp 0x4739f0
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040d0a0
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404264
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x473a84
call fcn.00409928
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473a43
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x478d4c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004046c0
xor eax, eax
push ebp
push 0x478e45
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.0047a6c0
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409094
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0047970c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00408f78
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00479780
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478e4c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404234
ret
Function at 0x478e54
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004046c0
xor eax, eax
push ebp
push 0x478f5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.0047a6c0
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x478f23
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409094
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0047970c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00408f78
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00479780
jmp 0x478f35
xor edx, edx
mov eax, ebx
call fcn.0047970c
xor edx, edx
mov eax, ebx
call fcn.00479780
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478f64
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404234
ret

Function at 0x47a91c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046c0
xor eax, eax
push ebp
push 0x47a97a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.0047a9f8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x47a962
lea eax, [ebp - 4]
call fcn.0047a9f8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x47a964
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a981
lea eax, [ebp - 4]
call fcn.00404210
ret

Function at 0x47a988
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046c0
xor eax, eax
push ebp
push 0x47a9ec
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.0047a9f8
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00409438
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a9f3
lea eax, [ebp - 4]
call fcn.00404210
ret
Function at 0x47fdfc
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.00480030
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.00480030
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x47fe70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x47fe95
inc esi
mov eax, edi
call fcn.0047fe54
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.0047fdfc
inc ebx
dec esi
jne 0x47fe7f
pop edi
pop esi
pop ebx
ret

Function at 0x47ff24
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.004046c0
xor eax, eax
push ebp
push 0x47ff99
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0047fe9c
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.0047fe54
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.0047fdfc
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x47ff64
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ffa0
lea eax, [ebp - 4]
call fcn.00404210
ret
Function at 0x480b5c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
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 0x480d40
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x480cfc
mov eax, dword [ebp - 4]
call fcn.004824ac
cmp ebx, eax
jge 0x480cfc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.00477464
mov edx, dword [0x4787ec]
call fcn.00403670
mov esi, eax
mov eax, esi
call fcn.004796a0
test al, al
je 0x480cf2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x480ce6
xor eax, eax
push ebp
push 0x480cdf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00481114
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.00419930
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.0040485c
mov eax, dword [ebp - 8]
call fcn.00404728
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.00480ed8
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 0x480d2a
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 0x480cde
mov eax, dword [ebp - 4]
call fcn.00481198
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00409438
jmp 0x480d2a
mov eax, dword [ebp - 8]
call fcn.00404210
jmp 0x480d2a
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.004089c0
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x415760]
call fcn.0040c2d8
call fcn.00403c4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480d47
lea eax, [ebp - 0x54]
call fcn.00404210
ret
Function at 0x487528
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004046c0
xor eax, eax
push ebp
push 0x48776c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.00404210
push 0
push 0
push 0
push 0
push 0x48777c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x487738
xor eax, eax
push ebp
push 0x487731
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0xa4080000
push 0
push 0
mov eax, ebx
call fcn.004046d0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x48771a
xor eax, eax
push ebp
push 0x487713
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 4], 0
jne 0x487647
cmp dword [ebp - 0x1c], 0
jbe 0x487637
lea eax, [ebp - 0x41c]
xor ecx, ecx
mov edx, 0x400
call fcn.00402ed4
lea eax, [ebp - 0x1c]
push eax
push 0x400
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetReadFile
mov esi, 0x400
lea ebx, [ebp - 0x41c]
lea eax, [ebp - 0x420]
mov dl, byte [ebx]
call fcn.004043f8
mov edx, dword [ebp - 0x420]
lea eax, [ebp - 0x14]
call fcn.004044d8
inc ebx
dec esi
jne 0x487612
cmp dword [ebp - 0x1c], 0
ja 0x4875dc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00404264
jmp 0x4876fc
xor eax, eax
push ebp
push 0x4876f2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x415fa4]
call fcn.00419de4
mov dword [ebp - 0x18], eax
push 0
push 0
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x18]
xor eax, eax
push ebp
push 0x4876e1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x1c], 0
jbe 0x4876be
lea eax, [ebp - 0x1c]
push eax
push 0x400
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetReadFile
lea edx, [ebp - 0x41c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [ebp - 0x1c], 0
ja 0x48768e
lea eax, [ebp - 0x14]
mov edx, 0x4877c8
call fcn.004042a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4876e8
mov eax, dword [ebp - 0x18]
call fcn.004034c0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48771a
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487738
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00404264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487773
lea eax, [ebp - 0x420]
call fcn.00404210
lea eax, [ebp - 0x14]
call fcn.00404210
lea eax, [ebp - 4]
call fcn.00404210
ret
Function at 0x487d9c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff3c
push ebx
push esi
push edi
mov eax, 0x487eec
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc4]
push eax
call sub.kernel32.dll_GetSystemInfo
xor eax, eax
push ebp
push 0x487ed1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xa0]
call fcn.00487d6c
test al, al
jne 0x487de6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x487ee2
mov eax, dword [ebp - 0x9c]
sub eax, 5
je 0x487dfd
dec eax
je 0x487e86
jmp 0x487ec7
mov eax, dword [ebp - 0x98]
sub eax, 1
jb 0x487e12
je 0x487e32
dec eax
je 0x487e3f
jmp 0x487ec7
cmp byte [ebp - 6], 1
jne 0x487e25
mov eax, 0x487ef4
mov dword [ebp - 4], eax
jmp 0x487ec7
mov eax, 0x487ef4
mov dword [ebp - 4], eax
jmp 0x487ec7
mov eax, 0x487efc
mov dword [ebp - 4], eax
jmp 0x487ec7
cmp byte [ebp - 6], 1
jne 0x487e57
cmp word [ebp - 0xc4], 9
jne 0x487e57
mov eax, 0x487f04
mov dword [ebp - 4], eax
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
jne 0x487e6c
mov eax, 0x487f0c
mov dword [ebp - 4], eax
jmp 0x487e74
mov eax, 0x487f14
mov dword [ebp - 4], eax
cmp word [ebp - 8], 0x8000
jne 0x487ec7
mov eax, 0x487f20
mov dword [ebp - 4], eax
jmp 0x487ec7
mov eax, dword [ebp - 0x98]
sub eax, 1
jb 0x487e95
je 0x487eaf
jmp 0x487ec7
cmp byte [ebp - 6], 1
jne 0x487ea5
mov eax, 0x487f30
mov dword [ebp - 4], eax
jmp 0x487ec7
mov eax, 0x487f3c
mov dword [ebp - 4], eax
jmp 0x487ec7
cmp byte [ebp - 6], 1
jne 0x487ebf
mov eax, 0x487f44
mov dword [ebp - 4], eax
jmp 0x487ec7
mov eax, 0x487f4c
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x487ee2
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487f90
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
xor eax, eax
mov dword [ebp - 0x44], eax
xor eax, eax
push ebp
push 0x488138
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x488122
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x491178]
call fcn.004046d0
push eax
push 0
push 2
push 0x110
push 0xf01ff
mov eax, dword [0x491170]
call fcn.004046d0
push eax
mov eax, dword [0x49116c]
call fcn.004046d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x488122
mov byte [ebp - 1], 1
mov eax, 4
call fcn.004026f8
mov dword [ebp - 0x14], eax
mov eax, dword [0x491174]
call fcn.004044d0
inc eax
call fcn.004026f8
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_LockServiceDatabase
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x48811b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 1
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 1
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x15180
mov dword [ebp - 0x34], 3
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x48f18c]
mov eax, dword [eax]
call eax
mov eax, dword [0x491174]
call fcn.004046d0
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.00404408
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004092e4
mov eax, dword [ebp - 0x14]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x48f18c]
mov eax, dword [eax]
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488122
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00402718
mov eax, dword [ebp - 0x14]
call fcn.00402718
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_UnlockServiceDatabase
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
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48813f
lea eax, [ebp - 0x44]
call fcn.00404210
ret
Function at 0x488148
Capabilities:
Modify service
Start service

Disassembly:
push ebx
push esi
push edi
push ecx
xor ebx, ebx
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov edi, eax
test edi, edi
je 0x4881b2
push 0xf01ff
mov eax, dword [0x49116c]
call fcn.004046d0
push eax
push edi
call sub.advapi32.dll_OpenServiceA
mov esi, eax
test esi, esi
je 0x4881ac
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push esi
call sub.advapi32.dll_ChangeServiceConfigA
xor eax, eax
mov dword [esp], eax
push esp
push 0
push esi
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4017ed
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
je 0x4018e9
mov ebx, 0x800
cmp dword [esi + 0x820], ebx
jne 0x401886
lea eax, [esi + 0x28]
mov dword [esp + 0xc], 0x80
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
bswap ecx
mov dword [eax - 4], ecx
bswap edx
mov dword [eax - 8], edx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
bswap ecx
mov dword [eax + 4], ecx
bswap edx
mov dword [eax], edx
add dword [esi + 0x10], 1
mov ecx, dword [esi + 0x10]
adc dword [esi + 0x14], 0
or ecx, dword [esi + 0x14]
jne 0x401856
add dword [esi + 0x18], 1
adc dword [esi + 0x1c], ecx
add eax, 0x10
dec dword [esp + 0xc]
jne 0x401820
push ebx
lea eax, [esp + 0x10]
push eax
lea eax, [esi + 0x20]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [esi + 4]
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x4018f2
and dword [esi + 0x820], 0
push 0x10
pop ecx
cmp dword [ebp + 0xc], ecx
jb 0x4018c9
mov eax, dword [esi + 0x820]
cmp eax, 0x7f0
jae 0x4018c9
mov edx, dword [eax + esi + 0x20]
xor dword [edi], edx
mov eax, dword [eax + esi + 0x24]
xor dword [edi + 4], eax
mov eax, dword [esi + 0x820]
mov edx, dword [eax + esi + 0x28]
xor dword [edi + 8], edx
mov eax, dword [eax + esi + 0x2c]
xor dword [edi + 0xc], eax
add dword [esi + 0x820], ecx
add edi, ecx
sub dword [ebp + 0xc], ecx
jmp 0x4018df
mov eax, dword [esi + 0x820]
mov al, byte [eax + esi + 0x20]
xor byte [edi], al
inc dword [esi + 0x820]
inc edi
dec dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0
jne 0x40180d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
push 0x417274
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], vtable.xwnmqigmmwptq.0
call fcn.0040c1f5
int3

Function at 0x401914
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp method.wesioyitxu.virtual_12
Function at 0x401ad7
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x120], edx
cmp edx, 0x10
je 0x401c54
cmp edx, 0x18
je 0x401bba
cmp edx, 0x20
jne 0x401cb9
movdqu xmm0, xmmword [ecx]
movdqa xmmword [eax + 0x30], xmm0
movdqu xmm2, xmmword [ecx + 0x10]
movdqa xmmword [eax + 0x40], xmm2
xor ecx, ecx
add eax, 0x60
movzx edx, byte [ecx + 0x4158e4]
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslldq xmm0, 4
pxor xmm1, xmm0
movdqa xmm3, xmm1
pslldq xmm1, 4
aeskeygenassist xmm0, xmm2, 0
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm1
pxor xmm3, xmm0
movd xmm0, edx
pshufd xmm0, xmm0, 0
pxor xmm0, xmm3
movdqa xmmword [eax - 0x10], xmm0
cmp ecx, 6
je 0x401cb9
movdqa xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm2
aeskeygenassist xmm2, xmm0, 0
pshufd xmm2, xmm2, 0xaa
pxor xmm2, xmm1
movdqa xmmword [eax], xmm2
inc ecx
add eax, 0x20
cmp ecx, 7
jb 0x401b16
jmp 0x401cb9
movdqu xmm0, xmmword [ecx]
movdqa xmmword [eax + 0x30], xmm0
movdqu xmm2, xmmword [ecx + 8]
psrldq xmm2, 8
movdqa xmmword [eax + 0x40], xmm2
xor ecx, ecx
add eax, 0x58
movzx edx, byte [ecx + 0x4158e4]
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslldq xmm0, 4
pxor xmm1, xmm0
movdqa xmm3, xmm1
pslldq xmm1, 4
aeskeygenassist xmm0, xmm2, 0
pshufd xmm0, xmm0, 0x55
pxor xmm3, xmm1
pxor xmm3, xmm0
movd xmm0, edx
pshufd xmm0, xmm0, 0
pxor xmm0, xmm3
movdqu xmmword [eax - 0x10], xmm0
cmp ecx, 7
je 0x401cb9
movdqa xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm2
pshufd xmm2, xmm0, 0xff
pxor xmm2, xmm1
movq qword [eax], xmm2
inc ecx
add eax, 0x18
cmp ecx, 8
jb 0x401bd7
jmp 0x401cb9
movdqu xmm0, xmmword [ecx]
movdqa xmmword [eax + 0x30], xmm0
xor ecx, ecx
add eax, 0x40
movzx edx, byte [ecx + 0x4158e4]
movdqa xmm1, xmm0
aeskeygenassist xmm2, xmm0, 0
pslldq xmm1, 4
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslldq xmm0, 4
pxor xmm1, xmm0
movdqa xmm3, xmm1
pslldq xmm1, 4
pshufd xmm0, xmm2, 0xff
pxor xmm3, xmm1
pxor xmm3, xmm0
movd xmm0, edx
pshufd xmm0, xmm0, 0
pxor xmm0, xmm3
movdqa xmmword [eax], xmm0
inc ecx
add eax, 0x10
cmp ecx, 0xa
jb 0x401c62
pop ebp
ret 4
Function at 0x401fc0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp method.ssphl.virtual_12