joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1312ec
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 0x13150f
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x131319
cmp dword [ebp - 4], 0
jg 0x131320
mov bl, 3
jmp 0x1314f9
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
test edx, edx
jne 0x13133e
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
jmp 0x13134c
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.00123e44
dec ebx
test ebx, ebx
jl 0x1314e3
inc ebx
mov dword [ebp - 0xc], ebx
xor ebx, ebx
lea eax, [ebx + ebx*2]
add eax, 3
cmp eax, dword [ebp - 4]
jg 0x1313f6
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x13befc]
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 + 0x13befc]
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 + 0x13befc]
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 + 0x13befc]
mov byte [ebp - 8], al
jmp 0x13148e
lea eax, [ebx + ebx*2]
add eax, 2
cmp eax, dword [ebp - 4]
jg 0x13145a
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x13befc]
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 + 0x13befc]
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 + 0x13befc]
mov byte [ebp - 7], al
mov byte [ebp - 8], 0x3d
jmp 0x13148e
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x13befc]
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 + 0x13befc]
mov byte [ebp - 6], al
mov byte [ebp - 7], 0x3d
mov byte [ebp - 8], 0x3d
mov eax, edi
call fcn.00123d58
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 5]
mov byte [eax + edx], cl
mov eax, edi
call fcn.00123d58
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 6]
mov byte [eax + edx + 1], cl
mov eax, edi
call fcn.00123d58
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 7]
mov byte [eax + edx + 2], cl
mov eax, edi
call fcn.00123d58
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 8]
mov byte [eax + edx + 3], cl
inc ebx
dec dword [ebp - 0xc]
jne 0x131367
lea edx, [ebp - 0x10]
mov eax, dword [edi]
call fcn.001260e0
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.001238d0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131516
lea eax, [ebp - 0x10]
call fcn.0012387c
ret
Function at 0x131928
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 0x131a58
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, ebx
call fcn.001238d0
mov eax, dword [esi]
call fcn.00123b00
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x131a42
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 0x131a2e
mov dword [ebp - 8], eax
mov eax, esi
call fcn.00123d58
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 0x1319da
inc edi
mov ebx, 2
mov eax, esi
call fcn.00123d58
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 0x1319b8
mov eax, esi
call fcn.00123d58
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 0x131a21
mov eax, esi
call fcn.00123d58
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 0x1319ff
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x131998
lea edx, [ebp - 0x14]
mov eax, dword [esi]
call fcn.00131808
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.001238d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131a5f
lea eax, [ebp - 0x14]
call fcn.0012387c
ret
Function at 0x131a68
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.00131810
mov eax, dword [esi]
call fcn.00123b00
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x131b54
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 0x131b54
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jle 0x131aef
mov ebx, 1
mov eax, esi
call fcn.00123d58
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 0x131ad0
mov eax, esi
call fcn.00123d58
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 0x131b35
mov eax, esi
call fcn.00123d58
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 0x131b13
mov eax, esi
call fcn.00123d58
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 0x131ac3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x132c10
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 0x132ccb
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 0x132ccb
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 0x132c8a
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 0x132c6f
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 0x132cc2
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 0x132ca5
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x132c56
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x132cd4
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 0x132d88
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 0x132d88
mov dword [ebp - 8], eax
mov esi, edx
sub esi, 2
test esi, esi
jl 0x132d3f
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 0x132d26
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 0x132d72
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 0x132d58
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 0x132d1a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x132dd4
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.001238d0
mov eax, ebx
call fcn.00123b00
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x132ec7
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 0x132ec7
mov dword [ebp - 8], eax
mov eax, esi
call fcn.00123d58
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 0x132e73
inc edi
mov ebx, 2
mov eax, esi
call fcn.00123d58
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 0x132e51
mov eax, esi
call fcn.00123d58
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 0x132eba
mov eax, esi
call fcn.00123d58
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 0x132e98
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x132e31
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x132ed0
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.001238d0
mov eax, ebx
call fcn.00123b00
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x132fbe
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 0x132fbe
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jle 0x132f59
mov ebx, 1
mov eax, esi
call fcn.00123d58
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 0x132f3a
mov eax, esi
call fcn.00123d58
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 0x132f9f
mov eax, esi
call fcn.00123d58
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 0x132f7d
mov eax, esi
call fcn.00123d58
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 0x132f2d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x135b94
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 0x135d4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x3fffffff
call fcn.00122b30
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.0013561c
mov eax, dword [ebp - 0x10]
call fcn.001247ec
add eax, 0x48
push eax
mov eax, esi
mov ecx, 1
mov edx, dword [0x12527c]
call fcn.001249c0
add esp, 4
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
call fcn.001247ec
add eax, 0x48
mov edx, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
call fcn.001247ec
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.00134f90
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.001291f0
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.00122b30
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.001247ec
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi]
add eax, 0x48
call fcn.0012997c
mov eax, 0x3fffffff
call fcn.00122b30
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.00122b30
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.00122b30
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.00122b30
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.00122b30
mov edx, dword [ebx]
add dword [edx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x135d54
lea eax, [ebp - 0x10]
mov edx, dword [0x12527c]
call fcn.001249cc
ret
Function at 0xaff9ac
Capabilities:
Execute anti-debugging instructions

Disassembly:
ror ebp, 0
jmp 0xaff9c8
rcr eax, 1
je 0xaff996
jne 0xaff996
sub ebp, 0x254986b8
mov al, byte [esp]
lea edx, [ebx*4]
jmp 0xaff9dd
lea eax, [ebx*4]
pushal
xchg dword [esp + 0x15], ecx
lea edx, [esi + ebp]
lea esp, [esp + 0x24]
jmp 0xaff9b2
neg cl
jns 0xaffa1d
js 0xaffa1d
mov byte [ecx], al
xchg ecx, eax
invalid
xchg dl, ah
jmp 0xaffa29
sub ebp, 0x506f0167
rdtsc
bswap edx
jmp 0xaffa07
add ebp, dword [edi]
xchg dx, cx
jmp 0xaffa34
movzx ecx, byte [ebp - 1]
mov dx, word [esp]
jmp 0xaffd90
xchg dx, ax
call fcn.00affa6e
stosb byte es:[edi], al
cmp al, 0xd2
mov ch, 0x44
int1
pushfd
or dword [ecx + reloc.WINMM.dll_midiOutReset], ebx
dec ebx
mov dx, sp
mov dx, 0x7c7f
lea edx, reloc.WINMM.dll_midiOutReset
sete al
jmp 0xaffcae
mov al, 0x12
lea edx, reloc.WINMM.dll_midiOutReset
stc
jmp 0xaffaae
sub cl, bl
shr edx, cl
jge 0xaffb3a
pushfd
jmp 0xaffb17
mov edx, ebx
jmp 0xaffae7
rdtsc
mov eax, dword [esp + 2]
jmp 0xaffb41
pushfd
rdtsc
mov eax, dword [esp + 2]
mov al, cl
lea edx, [edx + esi]
call fcn.00affb1f
mov dh, byte [esp]
setle dl
mov edx, edi
xchg dh, dl
xchg dword [esp], edi
mov dh, byte [esp]
jmp 0xaffb7d
stc
sub esp, 0x1f
pop word [esp + 6]
mov dl, ah
lea esp, [esp + 1]
push dword [esp + 0x1c]
ret 0x20
push dword [esp + 0x10]
ret 0x14
xchg dword [esp + 0xc], edi
mov ah, ch
sub esp, 0xa
lea eax, [ecx + edi]
pop dword [esp]
lea esp, [esp + 2]
jmp 0xaffb99
pushal
mov al, 0x12
lea edx, reloc.WINMM.dll_midiOutReset
stc
xchg dx, ax
lea edx, [ecx + ebx]
bsr edx, ecx
ja 0xaffafd
mov edx, ebx
jmp 0xaffaff
xchg edx, eax
inc ax
jg 0xaffce4
pushal
jmp 0xaffadc

Function at 0xb0e089
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0xaf3b8f
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0xaf3ba9
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0xaf3b98
pop esi
jmp 0xaf3bb4
ret 4
jmp 0xaf3b82

Function at 0xb39f7d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
shl edx, 8
jmp 0xb39f95
jmp 0xb39f67
movzx ebx, byte [eax - 1]
jmp 0xb39fd7
or edx, ebx
shr bh, cl
jmp 0xb39f7f
shl edx, 8
or edx, ebx
movzx ebx, byte [eax - 2]
jmp 0xb39fc1

Function at 0xca836c
Capabilities:
Access peb ldr_data

Disassembly:
pushfd
push dword [esp + 2]
jmp 0xca8397
push word [esp]
push dword [esp + 6]
lea esp, [esp + 2]
mov dword [esp + 0x10], edi
jmp 0xca83ee
lea esp, [esp + 0x10]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0xca83c3
Function at 0x46e7f6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046e3dd

Function at 0x46ed24
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042d530
mov eax, dword [0x49a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0046b883
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x46ed66
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x46eec2
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00482380
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4eaad8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004702b7
mov ecx, dword [esi*4 + 0x4eaad8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x46eebb
cmp eax, dword [edi + ecx + 0x24]
jne 0x46eebb
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46eebb
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004702b7
add esp, 0x14
test edx, edx
jl 0x46eebb
jg 0x46ee31
test eax, eax
jb 0x46eebb
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x46eebb
jl 0x46ee4b
cmp dword [ebp - 0x1008], eax
ja 0x46eebb
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x46ee69
test ebx, ebx
je 0x46eea2
cmp ecx, edi
jae 0x46eea2
mov al, byte [ecx]
cmp al, 0xd
jne 0x46ee83
lea eax, [edi - 1]
cmp ecx, eax
jae 0x46ee8f
cmp byte [ecx + 1], 0xa
jne 0x46ee8f
inc ecx
jmp 0x46ee8f
movzx eax, al
movsx eax, byte [eax + 0x49a320]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x46ee69
cmp edx, ebx
jne 0x46ee69
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x46eec0
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042c38b
leave
ret
Function at 0x46f440
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4eaad8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46f480
cmp byte [ebx], 0xa
jne 0x46f480
or byte [eax + edi + 0x28], 4
jmp 0x46f485
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x46f583
mov al, byte [edx]
cmp al, 0x1a
je 0x46f565
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x46f4b4
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x46f4d9
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x46f4e3
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x46f496
jmp 0x46f583
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46f560
cmp dword [ebp - 0xc], 0
je 0x46f560
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4eaad8]
test byte [eax + edi + 0x28], 0x48
je 0x46f53a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x46f525
mov byte [esi], dl
jmp 0x46f536
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4eaad8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x46f583
cmp byte [ebp - 1], 0xa
jne 0x46f549
cmp esi, ebx
jne 0x46f549
mov byte [esi], 0xa
jmp 0x46f582
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004702d5
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x46f583
mov byte [esi], 0xd
jmp 0x46f582
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4eaad8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46f57f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46f583
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret