joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427820
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
mov dl, 1
push esi
push edi
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x10]
xchg byte [eax], dl
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x509184]
test eax, eax
jne 0x4279a2
mov eax, dword fs:[0x30]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], 0xa44fa764
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
add ecx, 0xfffffff8
test esi, esi
je 0x42789f
movzx ebx, cx
xor esi, esi
shr ebx, 1
mov edi, 0xf2a56453
lea ecx, [edx + ebx*2]
cmp edx, ecx
cmova ebx, esi
test ebx, ebx
je 0x427898
movsx ecx, byte [edx]
lea edx, [edx + 2]
xor ecx, edi
inc esi
imul edi, ecx, 0x1000193
cmp esi, ebx
jne 0x427885
mov esi, dword [ebp - 4]
cmp edi, esi
jne 0x427909
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x10], esi
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx + esi + 0x78]
mov ecx, dword [ecx + esi + 0x7c]
mov dword [ebp - 0x14], ecx
lea ecx, [edx + esi]
mov dword [ebp - 0xc], ecx
cmp ecx, esi
je 0x427906
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x427906
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
nop dword [eax]
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0xf2a56453
mov cl, byte [edx]
inc edx
test cl, cl
je 0x4278fa
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x4278e5
cmp esi, dword [ebp - 8]
je 0x427910
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x4278d0
mov esi, dword [ebp - 4]
mov eax, dword [eax]
jmp 0x427860
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
cmp eax, esi
jbe 0x42799a
mov ecx, dword [ebp - 0x14]
add ecx, esi
cmp eax, ecx
jae 0x42799a
mov cl, byte [eax]
mov esi, 0xf2a56453
mov dword [ebp - 4], esi
mov edx, esi
mov dword [ebp - 8], edx
cmp cl, 0x2e
je 0x427966
nop dword [eax]
movsx ecx, cl
inc eax
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [eax]
cmp cl, 0x2e
jne 0x427950
mov dword [ebp - 4], esi
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x427987
nop
movsx ecx, cl
lea eax, [eax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [eax]
test cl, cl
jne 0x427970
mov dword [ebp - 8], edx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
jmp 0x427860
mov ebx, dword [ebp - 0x18]
mov dword [0x509184], eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x1c]
call eax
mov edi, dword [ebx + 8]
mov esi, dword [ebx + 4]
cmp esi, edi
je 0x4279c5
mov ecx, esi
call fcn.00426fe0
add esi, 8
cmp esi, edi
jne 0x4279b7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42dd80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc803
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4fd0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebx]
push 0
push 0
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00426be0
push 8
call fcn.0047914e
mov esi, eax
xorps xmm0, xmm0
add esp, 4
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 2
call fcn.0047bdfc
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov dword [ebp - 4], 3
mov ecx, dword [esi + 4]
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 4
push eax
call fcn.0042fe70
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx esi, ax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x42deb9
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x42deb9
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 1
cmp dword [edi + 0x38], 0
mov word [edi + 0x40], si
jne 0x42ded7
mov eax, dword [edi + 0xc]
mov ecx, edi
or eax, 4
push 0
push eax
call fcn.00426be0
lea edx, [ebx + 0x10]
mov dword [ebp + 8], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + ebx - 4], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42ee90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc910
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4fd0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0047914e
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0047bdfc
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x430da0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, dword fs:[0x2c]
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, dword [eax]
push 0x20
push esi
add ecx, 0x98
call fcn.00453e20
mov al, byte [esi + 0x1f]
and byte [esi], 0xf8
and al, 0x3f
or al, 0x40
push esi
push edi
mov byte [esi + 0x1f], al
call fcn.0045b1c0
add esp, 8
pop edi
pop esi
ret

Function at 0x430e80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov byte [0x5088c4], 0
push esi
push edi
call fcn.00430de0
mov byte [0x5088c4], al
test al, al
je 0x430f57
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 0x2a
mov byte [ebp - 0x1a], 0x32
mov byte [ebp - 0x19], 0xe
mov byte [ebp - 0x18], 0x32
mov byte [ebp - 0x17], 0x11
mov byte [ebp - 0x16], 0x32
mov byte [ebp - 0x15], 0xb
mov byte [ebp - 0x14], 0x32
mov byte [ebp - 0x13], 0x11
mov byte [ebp - 0x12], 0x32
mov byte [ebp - 0x11], 0x7b
mov byte [ebp - 0x10], 0x32
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x32
mov byte [ebp - 0xd], 0xb
mov byte [ebp - 0xc], 0x32
mov byte [ebp - 0xb], 0x3d
mov byte [ebp - 0xa], 0x32
mov byte [ebp - 9], 0x60
mov byte [ebp - 8], 0x32
mov byte [ebp - 7], 0x78
mov byte [ebp - 6], 0x32
mov byte [ebp - 5], 0x78
mov byte [ebp - 4], 0x32
mov byte [ebp - 3], 0x32
mov byte [ebp - 2], 0x32
mov al, byte [ebp - 0x1b]
cmp byte [ebp - 0x1c], 0
jne 0x430f44
xor esi, esi
lea edi, [esi + 0x7f]
nop dword [eax + eax]
mov al, byte [ebp + esi - 0x1b]
mov ecx, 0x32
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x2a
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + esi - 0x1b], dl
inc esi
cmp esi, 0x1a
jb 0x430f20
lea eax, [ebp - 0x1b]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
test eax, eax
setne byte [0x5088c4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431670
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccd80
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4fd0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
xor eax, eax
movups xmm0, xmmword [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp + 8], ax
movq xmm0, qword [ebp + 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push 0x4ed88c
mov edx, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.004330b0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x431705
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceW]
mov edx, dword [ebp - 0x2c]
test eax, eax
sete byte [ebp - 0x21]
cmp edx, 8
jb 0x431758
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43174e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4317be
push edx
push ecx
call fcn.0047917e
add esp, 8
cmp byte [ebp - 0x21], 0
mov ecx, 0x200
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 0x1c]
cmovne eax, ecx
mov dword [esi + 0x18], eax
cmp edx, 8
jb 0x4317a0
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431796
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4317c3
push edx
push ecx
call fcn.0047917e
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047913d
mov esp, ebp
pop ebp
ret 0x1c
call fcn.0049a999
call fcn.0049a999
int3
Function at 0x431d30
Capabilities:
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cce2d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x238
mov eax, dword [0x4fd0b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], esi
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x208
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x224], 1
call fcn.00492530
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
dec eax
cmp eax, 0x103
ja 0x431eee
cmp word [ebp - 0x220], 0
lea edi, [ebp - 0x220]
je 0x431eee
nop dword [eax]
nop dword [eax + eax]
push 2
xor eax, eax
mov dword [ebp - 0x22c], 0
push edi
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
call fcn.0042da40
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x431e75
movups xmm0, xmmword [ebp - 0x23c]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x22c]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x23c], ax
jmp 0x431e8a
lea ecx, [ebp - 0x23c]
push ecx
push eax
mov ecx, esi
call fcn.004331f0
mov edx, dword [ebp - 0x228]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x431ec4
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431eba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431f0e
push edx
push ecx
call fcn.0047917e
add esp, 8
mov eax, edi
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431ed0
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2]
add edi, 2
cmp word [edi], cx
jne 0x431e10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047913d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0049a999
int3
Function at 0x4346f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x43471b
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x434704
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret
Function at 0x4351f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0x29
mov byte [ebp - 0x16], 0x48
mov byte [ebp - 0x15], 0x3f
mov byte [ebp - 0x14], 0x48
mov byte [ebp - 0x13], 0x1d
mov byte [ebp - 0x12], 0x48
mov byte [ebp - 0x11], 9
mov byte [ebp - 0x10], 0x48
mov byte [ebp - 0xf], 0x24
mov byte [ebp - 0xe], 0x48
mov byte [ebp - 0xd], 0x53
mov byte [ebp - 0xc], 0x48
mov byte [ebp - 0xb], 0x2a
mov byte [ebp - 0xa], 0x48
mov byte [ebp - 9], 0x4b
mov byte [ebp - 8], 0x48
mov byte [ebp - 7], 0x48
mov byte [ebp - 6], 0x48
mov al, byte [ebp - 0x17]
cmp byte [ebp - 0x18], 0
push esi
mov esi, ecx
mov dword [ebp - 4], esi
jne 0x435281
xor ecx, ecx
push edi
lea edi, [ecx + 0x7f]
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x17]
movzx eax, al
sub eax, 0x48
imul eax, eax, 0x13
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + ecx - 0x17], dl
inc ecx
cmp ecx, 0x12
jb 0x435260
pop edi
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x17]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4352a0
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [ebp - 0x17]
push eax
call fcn.0042da40
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x439560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd278
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4fd0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov byte [ebp - 0x38], 0
mov byte [ebp - 0x37], 0x43
mov byte [ebp - 0x36], 0x4c
mov byte [ebp - 0x35], 0x16
mov byte [ebp - 0x34], 0x4c
mov byte [ebp - 0x33], 0x48
mov byte [ebp - 0x32], 0x4c
mov byte [ebp - 0x31], 0x4f
mov byte [ebp - 0x30], 0x4c
mov byte [ebp - 0x2f], 0x72
mov byte [ebp - 0x2e], 0x4c
mov byte [ebp - 0x2d], 0xf
mov byte [ebp - 0x2c], 0x4c
mov byte [ebp - 0x2b], 0x17
mov byte [ebp - 0x2a], 0x4c
mov byte [ebp - 0x29], 0xa
mov byte [ebp - 0x28], 0x4c
mov byte [ebp - 0x27], 0xf
mov byte [ebp - 0x26], 0x4c
mov byte [ebp - 0x25], 0x15
mov byte [ebp - 0x24], 0x4c
mov byte [ebp - 0x23], 7
mov byte [ebp - 0x22], 0x4c
mov byte [ebp - 0x21], 0x5b
mov byte [ebp - 0x20], 0x4c
mov byte [ebp - 0x1f], 0xd
mov byte [ebp - 0x1e], 0x4c
mov byte [ebp - 0x1d], 0x15
mov byte [ebp - 0x1c], 0x4c
mov byte [ebp - 0x1b], 0x70
mov byte [ebp - 0x1a], 0x4c
mov byte [ebp - 0x19], 0x22
mov byte [ebp - 0x18], 0x4c
mov byte [ebp - 0x17], 0x11
mov byte [ebp - 0x16], 0x4c
mov byte [ebp - 0x15], 0x7e
mov byte [ebp - 0x14], 0x4c
mov byte [ebp - 0x13], 0x1b
mov byte [ebp - 0x12], 0x4c
mov byte [ebp - 0x11], 0x7e
mov byte [ebp - 0x10], 0x4c
mov byte [ebp - 0xf], 0x4c
mov byte [ebp - 0xe], 0x4c
mov al, byte [ebp - 0x37]
cmp byte [ebp - 0x38], 0
mov dword [ebp - 0x3c], edi
jne 0x439676
xor esi, esi
lea ebx, [esi + 0x7f]
nop word [eax + eax]
mov al, byte [ebp + esi - 0x37]
mov ecx, 0x4c
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*8]
add eax, eax
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [ebp + esi - 0x37], dl
inc esi
cmp esi, 0x2a
jb 0x439650
xor eax, eax
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x37]
mov dword [ebp - 0x40], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439690
sub eax, edx
lea ecx, [ebp - 0x54]
sar eax, 1
push eax
lea eax, [ebp - 0x37]
push eax
call fcn.0042da40
lea edx, [ebp - 0x54]
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.00442900
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x4396f3
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4396e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439707
push edx
push ecx
call fcn.0047917e
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0049a999
int3
Function at 0x445060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x445084
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x4450a1
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x445090
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x4450da
cmp eax, edi
jne 0x4450d2
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x4450e2
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4450e2
cmp eax, edi
jne 0x4450e2
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.00442e90
push 0x38
push edi
call fcn.0047917e
mov eax, dword [ebp - 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4498d0
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4f6810
push 0x491760
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4fd0b8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x449a36
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 1
push esi
mov edi, dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
call edi
test eax, eax
jne 0x449a36
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xea
jne 0x449a36
push dword [ebp - 0x48]
call fcn.0049d05a
add esp, 4
mov dword [ebp - 0x50], eax
test eax, eax
je 0x449a36
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push dword [ebp - 0x48]
push eax
push 1
push esi
call edi
test eax, eax
je 0x449a23
xor edi, edi
mov dword [ebp - 0x4c], edi
cmp edi, dword [ebp - 0x20]
jae 0x449a72
lea eax, [edi + edi*8]
mov ecx, dword [ebp - 0x50]
movups xmm1, xmmword [ecx + eax*4]
movups xmm0, xmmword [ecx + eax*4 + 0x10]
movups xmmword [ebp - 0x70], xmm0
mov eax, dword [ecx + eax*4 + 0x20]
mov dword [ebp - 0x60], eax
push 0x24
movd eax, xmm1
push eax
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x5c], esi
test esi, esi
je 0x449a23
mov dword [ebp - 4], 1
lea eax, [ebp - 0x44]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x449a23
cmp dword [ebp - 0x40], 1
je 0x449a52
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x48]
push eax
push 0x24
lea eax, [ebp - 0x44]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x449a23
cmp dword [ebp - 0x40], 1
je 0x449a52
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [ebp - 0x58]
cmp eax, 0x7530
jbe 0x4499e7
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x4fd0b8
call fcn.00494af0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0047913d
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
call fcn.00449a6a
inc edi
jmp 0x449990
mov dword [ebp - 4], 0xfffffffe
call fcn.00449a80
jmp 0x449a36
Function at 0x449a90
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4f6838
push 0x491760
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4fd0b8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call edi
mov dword [ebp - 0x48], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x4c], ebx
test ebx, ebx
je 0x449b0a
cmp dword [esi + 0x14], 8
jb 0x449af0
mov esi, dword [esi]
push 0x2c
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
jne 0x449b26
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0047913d
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x24
lea eax, [ebp - 0x44]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x449c08
mov eax, dword [ebp - 0x40]
cmp eax, 1
je 0x449c08
mov ecx, 0x2710
cmp eax, 3
jne 0x449bb6
mov eax, 0xcccccccd
mul dword [ebp - 0x2c]
shr edx, 3
cmp edx, 0x3e8
jae 0x449b78
mov edx, 0x3e8
jmp 0x449b81
cmp edx, 0x2710
cmova edx, ecx
push edx
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x20]
push eax
push 0x24
lea eax, [ebp - 0x44]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x449c08
cmp dword [ebp - 0x40], 1
je 0x449c08
call edi
sub eax, dword [ebp - 0x48]
cmp eax, 0x7530
ja 0x449c08
mov eax, dword [ebp - 0x40]
jmp 0x449b54
mov ecx, esi
call fcn.004498d0
lea eax, [ebp - 0x44]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x449c08
nop
cmp dword [ebp - 0x40], 1
je 0x449c20
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x20]
push eax
push 0x24
lea eax, [ebp - 0x44]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x449c08
cmp dword [ebp - 0x40], 1
je 0x449c20
call edi
sub eax, dword [ebp - 0x48]
cmp eax, 0x7530
jbe 0x449bd0
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x4fd0b8
call fcn.00494af0
add esp, 0xc
jmp 0x449b0a
mov dword [ebp - 4], 0xfffffffe
call fcn.00449c37
jmp 0x449b0a