joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3b2784
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [esp]
call fcn.003b26e4
test al, al
je 0x3b28b8
mov eax, dword [esp]
call fcn.003b2694
mov ebx, eax
test ebx, ebx
je 0x3b28b8
mov eax, dword [esp]
mov eax, dword [eax + 0x3c]
add eax, dword [esp]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add eax, 0x18
mov edx, dword [esp + 8]
movzx edx, word [edx + 0x14]
add eax, edx
mov dword [esp + 0xc], eax
push 0x40
push 0x3000
push ebx
push 0
call fcn.003a5c8c
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x3b28b8
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp]
mov eax, dword [esp + 0x10]
call fcn.003ab55c
mov eax, dword [esp + 8]
movzx edi, word [eax + 6]
dec edi
test edi, edi
jb 0x3b28b0
inc edi
xor ebx, ebx
lea esi, [ebx + ebx*4]
mov eax, dword [esp + 0xc]
mov edx, dword [eax + esi*8 + 0xc]
mov eax, dword [esp + 0x10]
call fcn.003b2648
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax + esi*8 + 0x14]
mov eax, dword [esp]
call fcn.003b2648
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + esi*8 + 0x10]
test eax, eax
jne 0x3b288d
mov edx, dword [esp + 0xc]
mov edx, dword [edx + esi*8 + 0x24]
and edx, 0x40
cmp edx, 0x40
jne 0x3b286d
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x20]
jmp 0x3b288d
lea edx, [ebx + ebx*4]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + edx*8 + 0x24]
and edx, 0x80
cmp edx, 0x80
jne 0x3b288d
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x24]
mov ecx, eax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
call fcn.003ab55c
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [eax + esi*8 + 8], edx
inc ebx
dec edi
jne 0x3b281c
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0x3bae58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea edi, [ebp - 0xc]
mov dword [edi], eax
test edx, edx
je 0x3baf13
mov al, byte [ebp - 4]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 4]
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 4]
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, dword [ebp + 8]
dec eax
cmp eax, 0
jl 0x3baf13
mov dword [ebp - 8], eax
mov eax, dword [edi]
mov al, byte [eax]
mov cl, byte [ebp - 0xf]
add al, cl
mov ecx, dword [edi]
mov byte [ecx], al
mov esi, edx
dec esi
test esi, esi
jle 0x3baed2
mov eax, 1
mov ecx, dword [edi]
mov cl, byte [ecx + eax - 1]
mov ebx, dword [edi]
mov bl, byte [ebx + eax]
add cl, bl
mov bl, byte [ebp - 0xd]
xor cl, bl
mov ebx, dword [edi]
mov byte [ebx + eax], cl
inc eax
dec esi
jne 0x3baeb7
mov eax, dword [edi]
mov al, byte [eax + edx - 1]
mov cl, byte [ebp - 0x10]
add al, cl
mov ecx, dword [edi]
mov byte [ecx + edx - 1], al
mov eax, edx
sub eax, 2
cmp eax, 0
jl 0x3baf0a
mov ecx, dword [edi]
mov cl, byte [ecx + eax + 1]
mov ebx, dword [edi]
mov bl, byte [ebx + eax]
add cl, bl
mov bl, byte [ebp - 0xe]
xor cl, bl
mov ebx, dword [edi]
mov byte [ebx + eax], cl
dec eax
cmp eax, 0xffffffff
jne 0x3baeed
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x3bae9e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x3baf1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea edi, [ebp - 0xc]
mov dword [edi], eax
test edx, edx
je 0x3bafd0
mov al, byte [ebp - 4]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 4]
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 4]
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, dword [ebp + 8]
dec eax
cmp eax, 0
jl 0x3bafd0
mov dword [ebp - 8], eax
mov esi, edx
sub esi, 2
test esi, esi
jl 0x3baf87
inc esi
xor eax, eax
mov ecx, dword [edi]
mov cl, byte [ecx + eax]
xor cl, byte [ebp - 0xe]
mov ebx, dword [edi]
mov bl, byte [ebx + eax + 1]
sub cl, bl
mov ebx, dword [edi]
mov byte [ebx + eax], cl
inc eax
dec esi
jne 0x3baf6e
mov eax, dword [edi]
mov al, byte [eax + edx - 1]
mov cl, byte [ebp - 0x10]
sub al, cl
mov ecx, dword [edi]
mov byte [ecx + edx - 1], al
mov eax, edx
dec eax
cmp eax, 1
jl 0x3bafba
mov ecx, dword [edi]
mov cl, byte [ecx + eax]
xor cl, byte [ebp - 0xd]
mov ebx, dword [edi]
mov bl, byte [ebx + eax - 1]
sub cl, bl
mov ebx, dword [edi]
mov byte [ebx + eax], cl
dec eax
test eax, eax
jne 0x3bafa0
mov eax, dword [edi]
mov al, byte [eax]
mov cl, byte [ebp - 0xf]
sub al, cl
mov ecx, dword [edi]
mov byte [ecx], al
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x3baf62
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x3bb01c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, esi
mov edx, ebx
call fcn.003a40c8
mov eax, ebx
call fcn.003a4344
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3bb10f
mov eax, edi
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, edi
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, edi
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edi
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0x3bb10f
mov dword [ebp - 8], eax
mov eax, esi
call fcn.003a459c
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
add dl, cl
mov byte [eax], dl
mov edi, dword [ebp - 0xc]
sub edi, 2
jl 0x3bb0bb
inc edi
mov ebx, 2
mov eax, esi
call fcn.003a459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 2]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xd]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x3bb099
mov eax, esi
call fcn.003a459c
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
add cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
dec ebx
cmp ebx, 1
jl 0x3bb102
mov eax, esi
call fcn.003a459c
mov edx, dword [esi]
mov dl, byte [edx + ebx]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xe]
xor dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0x3bb0e0
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x3bb079
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x3bb118
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, esi
mov edx, ebx
call fcn.003a40c8
mov eax, ebx
call fcn.003a4344
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3bb206
mov eax, edi
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, edi
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, edi
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edi
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0x3bb206
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jle 0x3bb1a1
mov ebx, 1
mov eax, esi
call fcn.003a459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xe]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx]
sub dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x3bb182
mov eax, esi
call fcn.003a459c
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
sub cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
cmp ebx, 2
jl 0x3bb1e7
mov eax, esi
call fcn.003a459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xd]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 2]
sub dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
cmp ebx, 1
jne 0x3bb1c5
mov eax, esi
call fcn.003a459c
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
sub dl, cl
mov byte [eax], dl
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x3bb175
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x3bc77c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x3bc99f
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x3bc7a9
cmp dword [ebp - 4], 0
jg 0x3bc7b0
mov bl, 3
jmp 0x3bc989
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
test edx, edx
jne 0x3bc7ce
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
jmp 0x3bc7dc
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
inc ebx
mov edx, ebx
shl edx, 2
mov eax, edi
call fcn.003a4688
dec ebx
test ebx, ebx
jl 0x3bc973
inc ebx
mov dword [ebp - 0xc], ebx
xor ebx, ebx
lea eax, [ebx + ebx*2]
add eax, 3
cmp eax, dword [ebp - 4]
jg 0x3bc886
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x3d6f6c]
mov byte [ebp - 5], al
lea eax, [ebx + ebx*2]
mov al, byte [esi + eax]
shl eax, 4
and al, 0x30
lea edx, [ebx + ebx*2]
inc edx
movzx edx, byte [esi + edx]
shr edx, 4
or al, dl
and eax, 0xff
mov al, byte [eax + 0x3d6f6c]
mov byte [ebp - 6], al
lea eax, [ebx + ebx*2]
inc eax
mov al, byte [esi + eax]
shl eax, 2
and al, 0x3c
lea edx, [ebx + ebx*2]
add edx, 2
movzx edx, byte [esi + edx]
shr edx, 6
or al, dl
and eax, 0xff
mov al, byte [eax + 0x3d6f6c]
mov byte [ebp - 7], al
lea eax, [ebx + ebx*2]
add eax, 2
mov al, byte [esi + eax]
and al, 0x3f
and eax, 0xff
mov al, byte [eax + 0x3d6f6c]
mov byte [ebp - 8], al
jmp 0x3bc91e
lea eax, [ebx + ebx*2]
add eax, 2
cmp eax, dword [ebp - 4]
jg 0x3bc8ea
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x3d6f6c]
mov byte [ebp - 5], al
lea eax, [ebx + ebx*2]
mov al, byte [esi + eax]
shl eax, 4
and al, 0x30
lea edx, [ebx + ebx*2]
inc edx
movzx edx, byte [esi + edx]
shr edx, 4
or al, dl
and eax, 0xff
mov al, byte [eax + 0x3d6f6c]
mov byte [ebp - 6], al
lea eax, [ebx + ebx*2]
inc eax
mov al, byte [esi + eax]
shl eax, 2
and al, 0x3c
and eax, 0xff
mov al, byte [eax + 0x3d6f6c]
mov byte [ebp - 7], al
mov byte [ebp - 8], 0x3d
jmp 0x3bc91e
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x3d6f6c]
mov byte [ebp - 5], al
lea eax, [ebx + ebx*2]
mov al, byte [esi + eax]
shl eax, 4
and al, 0x30
and eax, 0xff
mov al, byte [eax + 0x3d6f6c]
mov byte [ebp - 6], al
mov byte [ebp - 7], 0x3d
mov byte [ebp - 8], 0x3d
mov eax, edi
call fcn.003a459c
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 5]
mov byte [eax + edx], cl
mov eax, edi
call fcn.003a459c
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 6]
mov byte [eax + edx + 1], cl
mov eax, edi
call fcn.003a459c
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 7]
mov byte [eax + edx + 2], cl
mov eax, edi
call fcn.003a459c
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 8]
mov byte [eax + edx + 3], cl
inc ebx
dec dword [ebp - 0xc]
jne 0x3bc7f7
lea edx, [ebp - 0x10]
mov eax, dword [edi]
call fcn.003a6e48
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.003a40c8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3bc9a6
lea eax, [ebp - 0x10]
call fcn.003a4074
ret
Function at 0x3bd958
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
lea ebx, [ebp - 0x14]
xor eax, eax
push ebp
push 0x3bdb11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x3fffffff
call fcn.003a2c54
mov edi, eax
add edi, 0x12e499d
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov ecx, edi
mov edx, dword [ebp - 0xc]
call fcn.003bd3e0
mov eax, dword [ebp - 0x10]
call fcn.003a51b4
add eax, 0x48
push eax
mov eax, esi
mov ecx, 1
mov edx, dword [0x3a5d70]
call fcn.003a5390
add esp, 4
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
call fcn.003a51b4
add eax, 0x48
mov edx, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
call fcn.003a51b4
add edi, 0x48
add eax, edi
mov edx, dword [ebx]
mov dword [edx + 8], eax
mov eax, dword [ebx]
mov eax, dword [eax]
mov edx, dword [ebx]
add eax, dword [edx + 8]
mov ecx, 7
cdq
idiv ecx
lea ecx, [eax + eax*2]
mov eax, dword [ebx]
mov dword [eax + 4], ecx
add ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 0x18], ecx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, dword [ebp + 0xc]
mov edx, dword [ebx]
mov dword [edx + 0x14], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, 0x989680
mov edx, dword [ebx]
mov dword [edx + 0x1c], eax
call fcn.003bcce8
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.003aab7c
push edx
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov ecx, dword [ebx]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov eax, 0x3fffffff
call fcn.003a2c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x10]
call fcn.003a51b4
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi]
add eax, 0x48
call fcn.003ab55c
mov eax, 0x3fffffff
call fcn.003a2c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x40], eax
adc dword [ecx + 0x44], edx
mov eax, 0x3fffffff
call fcn.003a2c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x38], eax
adc dword [ecx + 0x3c], edx
mov eax, 0x3fffffff
call fcn.003a2c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x30], eax
adc dword [ecx + 0x34], edx
mov eax, 0x3fffffff
call fcn.003a2c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x28], eax
adc dword [ecx + 0x2c], edx
mov eax, 0x3fffffff
call fcn.003a2c54
mov edx, dword [ebx]
add dword [edx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3bdb18
lea eax, [ebp - 0x10]
mov edx, dword [0x3a5d70]
call fcn.003a539c
ret
Function at 0x3bf5c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x3bf6f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, ebx
call fcn.003a40c8
mov eax, dword [esi]
call fcn.003a4344
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3bf6e2
mov eax, edi
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, edi
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, edi
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edi
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0x3bf6ce
mov dword [ebp - 8], eax
mov eax, esi
call fcn.003a459c
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
add dl, cl
mov byte [eax], dl
mov edi, dword [ebp - 0xc]
sub edi, 2
jl 0x3bf67a
inc edi
mov ebx, 2
mov eax, esi
call fcn.003a459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 2]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xd]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x3bf658
mov eax, esi
call fcn.003a459c
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
add cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
dec ebx
cmp ebx, 1
jl 0x3bf6c1
mov eax, esi
call fcn.003a459c
mov edx, dword [esi]
mov dl, byte [edx + ebx]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xe]
xor dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0x3bf69f
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x3bf638
lea edx, [ebp - 0x14]
mov eax, dword [esi]
call fcn.003bcc98
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.003a40c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3bf6ff
lea eax, [ebp - 0x14]
call fcn.003a4074
ret
Function at 0x3bf708
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov esi, dword [ebp + 8]
mov edx, esi
mov eax, edi
call fcn.003bcca0
mov eax, dword [esi]
call fcn.003a4344
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3bf7f4
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], bl
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0x3bf7f4
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jle 0x3bf78f
mov ebx, 1
mov eax, esi
call fcn.003a459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xe]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx]
sub dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x3bf770
mov eax, esi
call fcn.003a459c
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
sub cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
cmp ebx, 2
jl 0x3bf7d5
mov eax, esi
call fcn.003a459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xd]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 2]
sub dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
cmp ebx, 1
jne 0x3bf7b3
mov eax, esi
call fcn.003a459c
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
sub dl, cl
mov byte [eax], dl
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x3bf763
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10001650
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0xc], 0
jmp 0x100016b4
jmp 0x100017a2
jmp 0x100017af
mov eax, dword [ebp - 8]
mov ecx, 0xaaaaaaab
mov dword [ebp - 0x10], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, ecx
sub eax, 3
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
je 0x100016f3
jmp 0x10001690
mov eax, dword [ebp - 0x14]
sub eax, 0xa
mov dword [ebp - 0x1c], eax
je 0x1000171a
jmp 0x1000169d
jmp 0x1000171c
jmp 0x100017af
add esp, 0x4c
pop ebp
ret
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xb1
je 0x100016a4
mov eax, dword [sym.imp.KERNEL32.dll_GetACP]
call eax
mov ecx, esp
mov dword [ecx], 0xec1bec
mov ecx, dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x20], eax
call ecx
sub esp, 4
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 8], 0x392
jne 0x10001669
jmp 0x10001729
mov eax, esp
mov dword [eax + 4], 0x2f8
mov dword [eax], 0x4f5679
mov eax, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
call eax
sub esp, 8
mov ecx, dword [sym.imp.GDI32.dll_GdiFlush]
mov dword [ebp - 0x28], eax
call ecx
mov dword [ebp - 0x2c], eax
jmp 0x1000169d
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x100016e4
mov eax, dword [ebp - 0xc]
mov ecx, 0xcc29786d
mov dword [ebp - 0x30], eax
mul ecx
shr edx, 8
imul eax, edx, 0x141
mov ecx, dword [ebp - 0x30]
sub ecx, eax
mov eax, ecx
sub eax, 5
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
je 0x1000169f
jmp 0x10001757
mov eax, dword [ebp - 0x34]
sub eax, 0x54
mov dword [ebp - 0x3c], eax
jne 0x10001789
jmp 0x10001764
mov eax, esp
mov dword [eax], 0xedff59
mov eax, dword [sym.imp.ADVAPI32.dll_DeleteService]
call eax
sub esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
call ecx
mov dword [ebp - 0x44], eax
jmp 0x1000169f
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0xa
jne 0x1000165f
jmp 0x10001664
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x10001790
jmp 0x100016a9
Function at 0x10002110
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x1009ce98], 0x214c
mov dword [ebp - 8], 0
mov dword [0x1009ce98], 0x1a44
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov dword [0x1009ce98], 0x15d3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
jmp 0x100021b0
mov dword [0x1009ce94], 0x553
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
je 0x1000218f
jmp 0x100022a4
jmp 0x100022a9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x100021b0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
je 0x1000228a
jmp 0x100022a2
jmp 0x100021ac
jmp 0x1000217d
jmp 0x100021e0
cmp dword [ebp - 4], 0x104
jge 0x100021e0
mov dword [0x1009ce98], 0x178b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2]
cmp eax, 0
je 0x100021ae
mov dword [0x1009ce94], 0x2527
jmp 0x10002182
mov dword [0x1009ce98], 0x2695
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
jne 0x100022ab
mov dword [0x1009ce94], 0x1b7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
jne 0x100022a9
mov dword [0x1009ce94], 0x17a7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
jne 0x1000217d
mov eax, dword [0x1009ce94]
sub eax, 0xc08
mov dword [0x1009ce94], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x100021ac
mov dword [0x1009ce94], 0xa9c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
je 0x1000215c
jmp 0x100021aa
mov eax, dword [0x1009ce98]
sub eax, 0x136c
mov dword [0x1009ce98], eax
mov dword [ebp - 0x10], 1
jmp 0x100022bc
jmp 0x100022a4
jmp 0x100021aa
jmp 0x100022ab
mov dword [0x1009ce94], 0x21c9
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
add esp, 0x10
pop ebp
ret

Function at 0x100025c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.100025c0]
mov dword [ebp - 8], eax
jmp 0x100025ff
jmp 0x100025e3
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x10002636
mov al, 1
test al, 1
jne 0x100025ff
jmp 0x10002620
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov dword [0x1009ce98], 0xe24
jmp 0x100025db
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x100025e3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x100025d3
jmp 0x100025d1
mov eax, dword [0x1009ce94]
add eax, 0x218a
mov dword [0x1009ce98], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 8
pop ebp
ret