joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a8e80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
sub esp, 8
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor edx, edx
test eax, eax
sete dl
jmp dword [edx*4 + 0x46b5e00]

Function at 0x46aa3d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
add ecx, ebp
adc edx, 0
xor eax, eax
mov esi, 0xfffffffe
cmp esi, ecx
mov ecx, 0
sbb ecx, edx
mov esi, dword [esp + 0x28]
jb 0x46aa440
mov ecx, ebx
shr ecx, 2
mov eax, ebp
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov edx, ebx
and edx, 0xfffffffc
add esi, edx
add edx, ebp
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, edx
mov edi, esi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
xor eax, eax
test bl, 1
je 0x46aa5be
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [esi + ebx], cl
jmp 0x46aa5be
mov dword [esp], 0x60676665
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax]
mov edx, eax
and edx, 1
mov edi, eax
and edi, 0xfffffffe
add edi, 0xff319399
xor edi, edx
lea edi, [edi + edx*2]
mov ebp, edi
and ebp, ecx
add ebp, ebp
mov edx, ebp
xor edx, edi
not edi
and edi, ebp
add edi, edi
sub edx, edi
add edx, ecx
mov ecx, edx
and ecx, 2
xor edx, 2
lea ecx, [edx + ecx*2]
inc cl
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x46aa450
mov eax, dword [esp]
mov ecx, dword [0x46b91f4]
test ecx, ecx
je 0x46aa4c0
xor edx, edx
mov edi, dword [0x46b91f8]
mov ebp, dword [esp + 0x20]
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x89c57e52
je 0x46aa4c6
inc edx
cmp ecx, edx
jne 0x46aa4b0
jmp 0x46aa4f0
mov ebp, dword [esp + 0x20]
jmp 0x46aa4f0
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x46aa4f0
lea eax, [esp + 8]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x1c
push ecx
push dword [0x46b91fc]
call fcn.046a8f20
add esp, 0x28
test eax, eax
mov edi, dword [esp + 0x24]
js 0x46aa5be
push 0x732f71fd
push dword [0x46c1210]
call fcn.046abc60
add esp, 8
push 0
push 0
push ebx
push esi
push edi
push ebp
push dword [esp + 0x20]
call eax
mov ecx, dword [esp + 8]
mov dword [esp + 4], 0x60676665
xor edx, edx
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx + 4]
mov edi, edx
and edi, 1
mov ebx, edx
and ebx, 0xfffffffe
add ebx, 0xff319399
xor ebx, edi
lea ebx, [ebx + edi*2]
mov ebp, ebx
and ebp, esi
add ebp, ebp
mov edi, ebp
xor edi, ebx
not ebx
and ebx, ebp
add ebx, ebx
sub edi, ebx
add edi, esi
mov esi, edi
and esi, 2
xor edi, 2
lea ebx, [edi + esi*2]
inc bl
mov byte [esp + edx + 4], bl
inc edx
cmp edx, 4
jne 0x46aa530
mov edx, dword [0x46b91f4]
test edx, edx
je 0x46aa5be
mov esi, dword [esp + 4]
xor edi, edi
mov ebx, dword [0x46b91f8]
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xb62b8d10
je 0x46aa5a0
inc edi
cmp edx, edi
jne 0x46aa590
jmp 0x46aa5be
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x46aa5be
push ecx
push 4
push edx
push dword [0x46b91fc]
mov esi, eax
call fcn.046a8f20
mov eax, esi
add esp, 0x10
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46abb90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [esp + 0x18]
mov dword [esp], 0x1f1e1968
mov dword [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
mov edx, eax
add dl, 0x3a
xor dl, byte [esp + eax]
add dl, 0xde
mov byte [esp + eax], dl
inc eax
cmp eax, 8
jne case.default.0x46abbd1
mov eax, dword [esp]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
jmp dword [edx*4 + 0x46b6948]
mov edx, dword [eax + 0xc]
add edx, 0xc
xor eax, eax
mov esi, dword [0x46b699c]
mov edi, dword [edx]
xor ebx, ebx
cmp edi, edx
setne bl
jmp dword [ebx*4 + 0x46b6980]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov ecx, dword [case.0x46abbd1.7]
nop
nop
nop
nop
nop
nop
jmp ecx
add esp, 8
pop esi
pop edi
pop ebx
ret
mov ebx, 0xbc3e046a
push 4
add dword [eax], eax
add byte [eax], al
add dword [eax], eax
add byte [eax], al
mov esp, 0x1046a
add byte [eax], al
push eax
mov esp, -1135606678
Function at 0x46ac520
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, dword [esp + 0x3c]
mov eax, 0xfffffffe
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x46ac530
mov edi, eax
sar edi, 1
cmp edi, 0xfffffffb
jge 0x46ac54b
mov eax, 0xffffffff
jmp 0x46ac54e
add eax, 0xa
push eax
call fcn.046782d0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [esi]
test dx, dx
je 0x46ac591
add esi, 2
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x46ac580
mov word [ecx], 0
lea ecx, [edi*2 + 8]
mov word [esp + 8], cx
lea ecx, [edi*2 + 0xa]
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x60676665
mov ecx, 0xff319399
mov edx, 0x66
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0xce6c67]
mov edi, ecx
or edi, esi
not esi
or esi, edx
lea ebx, [esi + edi]
add edi, esi
inc edi
lea ebp, [ebx*2 + 2]
mov esi, ebp
and esi, 4
mov ebx, edi
xor ebx, 2
add ebx, esi
and ebp, 2
and edi, 1
and ebx, 0xfe
or ebx, edi
xor ebx, 1
add ebx, ebp
mov byte [esp + ecx + 0xce6c67], bl
inc ecx
dec edx
cmp ecx, 0xff31939d
jne 0x46ac600
mov esi, dword [esp]
mov ecx, dword [0x46b91f4]
test ecx, ecx
je 0x46ac6cf
xor edx, edx
mov edi, dword [0x46b91f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0xbb9b186e
je 0x46ac68a
mov ebx, edx
and ebx, 1
xor edx, 1
lea edx, [edx + ebx*2]
cmp edx, ecx
jb 0x46ac670
jmp 0x46ac6cf
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x46ac6cf
mov esi, esp
lea edx, [esp + 0x10]
push 0
push 0
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x68]
push 0
push esi
push edx
push dword [esp + 0x68]
push dword [esp + 0x68]
push 0x2c
push ecx
push dword [0x46b91fc]
mov edi, eax
call fcn.046a8f20
add esp, 0x38
mov esi, eax
mov eax, edi
push eax
call fcn.046782e0
add esp, 4
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46ac6f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebx, dword [esp + 0x3c]
mov eax, 0xfffffffe
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x46ac700
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x46ac71b
mov eax, 0xffffffff
jmp 0x46ac71e
add eax, 0xa
push eax
call fcn.046782d0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [esi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx ebp, word [ebx]
test bp, bp
je 0x46ac761
add ebx, 2
nop
nop
nop
mov word [edx], bp
add edx, 2
movzx ebp, word [ebx]
add ebx, 2
test bp, bp
jne 0x46ac750
mov word [edx], 0
mov edx, ecx
and edx, 0xfffd
and esi, 2
mov ebx, esi
xor ebx, 2
imul ebx, edx
or ecx, 2
imul ecx, esi
lea edx, [ecx + ebx]
mov word [esp + 8], dx
add ecx, ebx
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x60676665
mov ecx, 0xff319399
mov edx, 0x66
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0xce6c67]
mov ebx, ecx
or ebx, esi
not esi
or esi, edx
lea edi, [esi + ebx]
lea ebp, [esi + ebx]
inc ebp
lea esi, [edi*2 + 2]
mov edi, esi
and edi, 4
mov ebx, ebp
xor ebx, 2
add ebx, edi
and esi, 2
and ebp, 1
and ebx, 0xfe
or ebx, ebp
xor ebx, 1
add ebx, esi
mov byte [esp + ecx + 0xce6c67], bl
inc ecx
dec edx
cmp ecx, 0xff31939d
jne 0x46ac7e0
mov esi, dword [esp]
mov ecx, dword [0x46b91f4]
test ecx, ecx
je 0x46ac897
xor edx, edx
mov ebx, dword [0x46b91f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x1affabda
je 0x46ac860
inc edx
cmp ecx, edx
jne 0x46ac850
jmp 0x46ac897
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x46ac897
mov edx, esp
lea esi, [esp + 0x10]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push edx
push esi
push dword [esp + 0x54]
push dword [esp + 0x54]
push 0x18
push ecx
push dword [0x46b91fc]
mov edi, eax
call fcn.046a8f20
add esp, 0x24
mov esi, eax
mov eax, edi
push eax
call fcn.046782e0
add esp, 4
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46ac8b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov edi, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x46ac8d0
mov esi, eax
sar esi, 1
and eax, 8
mov ebx, esi
xor ebx, 4
add ebx, eax
mov ecx, esi
and ecx, 1
mov eax, ebx
or eax, 1
add eax, ecx
jns 0x46ac8fe
mov eax, 0xffffffff
jmp 0x46ac900
add eax, eax
push eax
call fcn.046782d0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov dword [esp + 4], eax
mov ecx, eax
add ecx, 8
movzx edx, word [edi]
test dx, dx
je 0x46ac941
add edi, 2
mov word [ecx], dx
add ecx, 2
movzx edx, word [edi]
add edi, 2
test dx, dx
jne 0x46ac930
mov word [ecx], 0
mov ecx, ebx
or ecx, 2
and esi, 2
imul ecx, esi
and ebx, 0xfffd
xor esi, 2
imul esi, ebx
lea edx, [ecx + esi]
mov word [esp + 8], dx
add ecx, esi
add ecx, 2
mov word [esp + 0xa], cx
mov eax, dword [esp + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x60676665
mov ecx, 0xff319399
mov eax, 0x66
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0xce6c8f]
mov edi, ecx
or edi, esi
not esi
or esi, eax
lea ebx, [esi + edi]
add edi, esi
inc edi
lea edx, [ebx*2 + 2]
mov esi, edx
and esi, 4
mov ebx, edi
xor ebx, 2
add ebx, esi
and edi, 1
and ebx, 0xfe
or ebx, edi
and edx, 2
xor ebx, 1
add ebx, edx
mov byte [esp + ecx + 0xce6c8f], bl
inc ecx
dec eax
cmp ecx, 0xff31939d
jne 0x46ac9c0
mov esi, dword [esp + 0x28]
mov ecx, dword [0x46b91f4]
test ecx, ecx
je 0x46aca65
xor edx, edx
mov edi, dword [0x46b91f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x50dc24c7
je 0x46aca40
inc edx
cmp ecx, edx
jne 0x46aca30
jmp 0x46aca65
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x46aca65
lea eax, [esp + 0x28]
lea edx, [esp + 0x10]
push eax
push edx
push 8
push ecx
push dword [0x46b91fc]
call fcn.046a8f20
add esp, 0x14
mov esi, eax
push dword [esp + 4]
call fcn.046782e0
add esp, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x46aca7e
mov eax, dword [esp + 0x48]
mov dword [ecx], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46aca90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp], 0x60676665
mov eax, 0xff319399
mov edx, 0x66
nop
nop
nop
movzx ecx, byte [esp + eax + 0xce6c67]
mov esi, eax
or esi, ecx
not ecx
or ecx, edx
lea ebx, [ecx + esi]
add esi, ecx
inc esi
lea edi, [ebx*2 + 2]
mov ecx, edi
and ecx, 4
mov ebx, esi
xor ebx, 2
add ebx, ecx
and esi, 1
and ebx, 0xfe
or ebx, esi
and edi, 2
xor ebx, 1
add ebx, edi
mov byte [esp + eax + 0xce6c67], bl
inc eax
dec edx
cmp eax, 0xff31939d
jne 0x46acab0
mov eax, dword [esp]
mov ecx, dword [0x46b91f4]
test ecx, ecx
je 0x46acb58
xor edx, edx
mov esi, dword [0x46b91f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x7cde1e50
je 0x46acb30
inc edx
cmp ecx, edx
jne 0x46acb20
jmp 0x46acb58
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x46acb58
mov eax, esp
lea edx, [esp + 0x1c]
push 5
push 0x18
push eax
push edx
push dword [ebp + 8]
push 0x14
push ecx
push dword [0x46b91fc]
call fcn.046a8f20
add esp, 0x20
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x46acb65
mov ecx, dword [esp + 8]
mov dword [edx], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46acb74
cmp byte [esp + 0x15], 0
setne byte [ecx]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46acb80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edx, dword [esp + 0x28]
mov dword [esp + 4], 0x60676665
mov eax, 0xff319399
mov ebx, 0x66
nop
nop
nop
movzx ecx, byte [esp + eax + 0xce6c6b]
mov esi, eax
or esi, ecx
not ecx
or ecx, ebx
lea edi, [ecx + esi]
add esi, ecx
inc esi
lea ebp, [edi*2 + 2]
mov edi, ebp
and edi, 4
mov ecx, esi
xor ecx, 2
add ecx, edi
and ebp, 2
and esi, 1
and ecx, 0xfe
or ecx, esi
xor ecx, 1
add ecx, ebp
mov byte [esp + eax + 0xce6c6b], cl
inc eax
dec ebx
cmp eax, 0xff31939d
jne 0x46acba0
mov eax, dword [esp + 4]
mov ecx, dword [0x46b91f4]
test ecx, ecx
je 0x46acc51
xor esi, esi
mov edi, dword [0x46b91f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xc81e0bf6
je 0x46acc20
inc esi
cmp ecx, esi
jne 0x46acc10
jmp 0x46acc51
mov ebx, dword [edi + esi*8 + 4]
cmp ebx, eax
je 0x46acc51
lea eax, [esp + 4]
push 0
push 0
push edx
push dword [esp + 0x30]
push eax
push 0
push 0
push 0
push dword [esp + 0x40]
push 0x24
push ebx
push dword [0x46b91fc]
call fcn.046a8f20
add esp, 0x30
cmp eax, 0x103
jne 0x46acd19
mov dword [esp], 0x60676665
mov eax, 0xff319399
mov ecx, 0x66
nop
nop
nop
movzx edx, byte [esp + eax + 0xce6c67]
mov esi, eax
or esi, edx
not edx
or edx, ecx
lea edi, [edx + esi]
add esi, edx
inc esi
lea edi, [edi*2 + 2]
mov ebx, edi
and ebx, 4
mov edx, esi
xor edx, 2
add edx, ebx
and edi, 2
and esi, 1
and edx, 0xfe
or edx, esi
xor edx, 1
add edx, edi
mov byte [esp + eax + 0xce6c67], dl
inc eax
dec ecx
cmp eax, 0xff31939d
jne 0x46acc70
mov eax, dword [esp]
mov ecx, dword [0x46b91f4]
test ecx, ecx
je 0x46acd11
xor edx, edx
mov esi, dword [0x46b91f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x4e66b5a3
je 0x46accf0
inc edx
cmp ecx, edx
jne 0x46acce0
jmp 0x46acd11
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x46acd11
push 0
push 0
push dword [esp + 0x28]
push 0xc
push ecx
push dword [0x46b91fc]
call fcn.046a8f20
add esp, 0x18
test eax, eax
js 0x46acd19
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x46acd30
xor ecx, ecx
cmp eax, 0xc0000011
je 0x46acd2e
mov ecx, dword [esp + 8]
mov dword [edx], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46acd40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edx, dword [esp + 0x28]
mov dword [esp + 4], 0x60676665
mov eax, 0xff319399
mov ebx, 0x66
nop
nop
nop
movzx ecx, byte [esp + eax + 0xce6c6b]
mov esi, eax
or esi, ecx
not ecx
or ecx, ebx
lea edi, [ecx + esi]
add esi, ecx
inc esi
lea ebp, [edi*2 + 2]
mov edi, ebp
and edi, 4
mov ecx, esi
xor ecx, 2
add ecx, edi
and ebp, 2
and esi, 1
and ecx, 0xfe
or ecx, esi
xor ecx, 1
add ecx, ebp
mov byte [esp + eax + 0xce6c6b], cl
inc eax
dec ebx
cmp eax, 0xff31939d
jne 0x46acd60
mov eax, dword [esp + 4]
mov ecx, dword [0x46b91f4]
test ecx, ecx
je 0x46ace11
xor esi, esi
mov edi, dword [0x46b91f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x7e66a1b5
je 0x46acde0
inc esi
cmp ecx, esi
jne 0x46acdd0
jmp 0x46ace11
mov ebx, dword [edi + esi*8 + 4]
cmp ebx, eax
je 0x46ace11
lea eax, [esp + 4]
push 0
push 0
push edx
push dword [esp + 0x30]
push eax
push 0
push 0
push 0
push dword [esp + 0x40]
push 0x24
push ebx
push dword [0x46b91fc]
call fcn.046a8f20
add esp, 0x30
cmp eax, 0x103
jne 0x46aced9
mov dword [esp], 0x60676665
mov eax, 0xff319399
mov ecx, 0x66
nop
nop
nop
movzx edx, byte [esp + eax + 0xce6c67]
mov esi, eax
or esi, edx
not edx
or edx, ecx
lea edi, [edx + esi]
add esi, edx
inc esi
lea edi, [edi*2 + 2]
mov ebx, edi
and ebx, 4
mov edx, esi
xor edx, 2
add edx, ebx
and edi, 2
and esi, 1
and edx, 0xfe
or edx, esi
xor edx, 1
add edx, edi
mov byte [esp + eax + 0xce6c67], dl
inc eax
dec ecx
cmp eax, 0xff31939d
jne 0x46ace30
mov eax, dword [esp]
mov ecx, dword [0x46b91f4]
test ecx, ecx
je 0x46aced1
xor edx, edx
mov esi, dword [0x46b91f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x4e66b5a3
je 0x46aceb0
inc edx
cmp ecx, edx
jne 0x46acea0
jmp 0x46aced1
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x46aced1
push 0
push 0
push dword [esp + 0x28]
push 0xc
push ecx
push dword [0x46b91fc]
call fcn.046a8f20
add esp, 0x18
test eax, eax
js 0x46aced9
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x46acee7
mov ecx, dword [esp + 8]
mov dword [edx], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46acef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x38]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ebx], 0
lea ebx, [ebx + 2]
jne 0x46acf10
add ebx, 0xfffffffe
and ebx, 0xfffe
mov word [esp + 4], bx
add ebx, 2
mov word [esp + 6], bx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x40
lea eax, [esp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp], 0x60676665
mov eax, 0xff319399
mov edi, 0x66
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0xce6c67]
mov ebx, eax
or ebx, ecx
not ecx
or ecx, edi
lea ebp, [ecx + ebx]
add ecx, ebx
inc ecx
lea edx, [ebp*2 + 2]
mov ebp, edx
and ebp, 4
mov ebx, ecx
xor ebx, 2
add ebx, ebp
and edx, 2
and ecx, 1
and ebx, 0xfe
or ebx, ecx
xor ebx, 1
add ebx, edx
mov byte [esp + eax + 0xce6c67], bl
inc eax
dec edi
cmp eax, 0xff31939d
jne 0x46acf80
mov eax, dword [esp]
mov edi, dword [0x46b91f4]
test edi, edi
je 0x46ad027
xor ecx, ecx
mov ebx, dword [0x46b91f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + ecx*8], 0x2df48de6
je 0x46ad000
inc ecx
cmp edi, ecx
jne 0x46acff0
jmp 0x46ad027
mov edi, dword [ebx + ecx*8 + 4]
cmp edi, eax
je 0x46ad027
lea eax, [esp + 0xc]
push esi
push eax
push dword [esp + 0x48]
push dword [esp + 0x48]
push 0x10
push edi
push dword [0x46b91fc]
call fcn.046a8f20
add esp, 0x1c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401010
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
push 0x420494
push esi
mov dword [esp + 0x10], esi
call sub.KERNEL32.dll_GetModuleHandleExA
test eax, eax
je 0x40106f
mov ecx, dword [esp + 4]
push edi
push str.VirtualAllocExNuma
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [esp + 0x14]
push esi
push 0x40
push 0x3000
push edi
push esi
mov dword [0x429f8c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x429f8c]
mov edx, dword [esp + 0x10]
push edi
mov esi, eax
push edx
push esi
call fcn.0040e0a0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ecx
ret

Function at 0x401170
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
mov dl, byte [eax + 1]
push ebp
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jle 0x40120c
push ebx
push esi
push edi
movzx esi, cl
movzx edi, dl
lea eax, [esi + 1]
cdq
mov ecx, 0x20a
idiv ecx
mov ebx, dword [0x429f94]
movzx esi, dl
movzx eax, byte [esi + ebx]
lea ecx, [esi + ebx]
add eax, edi
mov byte [esp + 0x12], dl
cdq
mov edi, 0x20a
idiv edi
movzx edi, dl
lea eax, [edi + ebx]
mov byte [esp + 0x13], dl
call fcn.00401000
mov ecx, dword [0x429f94]
movzx edx, byte [esi + ecx]
movzx eax, byte [edi + ecx]
add eax, edx
cdq
mov ebx, 0x20a
idiv ebx
inc ebp
movzx eax, dl
mov cl, byte [eax + ecx]
mov eax, dword [esp + 0x18]
xor byte [eax + ebp - 1], cl
cmp ebp, dword [esp + 0x1c]
jl 0x401190
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x12]
mov cl, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov byte [eax], dl
mov byte [eax + 1], cl
pop ebp
pop ecx
ret
mov byte [eax], cl
mov byte [eax + 1], dl
pop ebp
pop ecx
ret

Function at 0x40e955
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428c0c]
jne 0x40e95f
repz ret
jmp fcn.0041428c
Function at 0x401050
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
cmp byte [esi], 0x22
jne 0x401070
inc esi
push str..exe
push esi
call fcn.00401f30
add esp, 8
mov byte [eax + 4], 0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, dword [esp + 0x18]
mov edi, eax
cmp edi, 0xffffffff
je 0x401128
mov esi, dword [esp + 0x1c]
push 2
dec esi
push 0
mov eax, esi
neg eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x401128
lea ecx, [esp + 0x14]
push 0
push ecx
push esi
push ebp
push edi
mov dword [esp + 0x28], esi
mov byte [esi + ebp], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4010cf
xor ebx, ebx
jmp 0x4010d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x401132
cmp dword [esp + 0x14], esi
jne 0x401132
test esi, esi
mov ecx, esi
mov eax, 5
je 0x401132
mov dl, byte [ecx + ebp]
mov bl, byte [eax + str._WcRs_]
cmp dl, bl
jne 0x401105
dec eax
js 0x40111b
jmp 0x40110a
mov eax, 5
dec ecx
jne 0x4010f3
pop edi
mov dword [ebp], 0
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
test ecx, ecx
je 0x401132
pop edi
lea eax, [ecx + ebp + 6]
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x401140
pop edi
mov dword [ebp], 0
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4013b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x58]
push esi
push edi
push ebx
push eax
push 0
push ecx
push edx
mov dword [esp + 0x20], 0x40
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40141e
mov edi, dword [esp + 0x64]
test edi, edi
jne 0x4013ea
lea edi, [esp + 0x10]
mov edx, dword [ebx]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x64]
push edi
push ecx
push 0
push str.Version
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x401413
lea eax, [esp + 0x10]
cmp edi, eax
je 0x40141c
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x44
ret