joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4419f0
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 0x441a10
mov esi, eax
sar esi, 1
and eax, 8
mov ecx, esi
xor ecx, 4
lea ebx, [ecx + eax]
add eax, ecx
inc eax
test eax, eax
jns 0x441a38
mov eax, 0xffffffff
jmp 0x441a3f
lea eax, [ebx*2 + 2]
push eax
call fcn.00409660
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 [edi]
test dx, dx
je 0x441a81
add edi, 2
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [edi]
add edi, 2
test dx, dx
jne 0x441a70
mov word [ecx], 0
mov ecx, ebx
and ecx, 0xfffd
and esi, 2
mov edx, esi
xor edx, 2
imul edx, ecx
or ebx, 2
imul ebx, esi
lea ecx, [ebx + edx]
mov word [esp + 4], cx
lea ecx, [ebx + edx]
add ecx, 2
mov word [esp + 6], cx
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x5f5c5d5a
mov word [esp + 0x2c], 0
mov byte [esp + 0x2e], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 6
ja 0x441b40
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x28]
add ecx, 0x1776973b
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x9e
mov edx, dword [esp]
mov byte [esp + edx + 0x28], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 7
jb 0x441b10
mov esi, dword [esp + 0x28]
mov ecx, dword [0x44cd9c]
test ecx, ecx
je 0x441b99
xor edx, edx
mov edi, dword [0x44cda0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x8896be63
je 0x441b70
inc edx
cmp ecx, edx
jne 0x441b60
jmp 0x441b99
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x441b99
lea edx, [esp + 0x28]
lea esi, [esp + 0x10]
push edx
push esi
push 2
push dword [0x44cda4]
push ecx
mov edi, eax
call fcn.0043f410
add esp, 0x14
mov esi, eax
mov eax, edi
push eax
call fcn.00409670
add esp, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x441baf
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 0x441bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 8], 0x5f5c5d5a
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 6
ja 0x441c33
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
add eax, 0x1776973b
xor eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
add al, 0x9e
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 7
jb 0x441c00
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [0x44cd9c]
test edx, edx
je 0x441c88
mov ecx, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x44cda0]
nop
cmp dword [ebx + edi*8], 0x77a9e0c4
je 0x441c60
inc edi
cmp edx, edi
jne 0x441c50
jmp 0x441c88
mov edx, dword [ebx + edi*8 + 4]
cmp edx, eax
je 0x441c88
lea eax, [esp + 8]
lea edi, [esp + 0x24]
push 5
push 0x18
push eax
push edi
push ecx
push 5
push dword [0x44cda4]
push edx
call fcn.0043f410
add esp, 0x20
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x441c95
mov edx, dword [esp + 0x10]
mov dword [esi], edx
test ecx, ecx
je 0x441ca1
cmp byte [esp + 0x1d], 0
setne byte [ecx]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x441cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 8], 0x5f5c5d5a
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x441d0e
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0x1776973b
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x9e
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x441ce0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 8]
mov ecx, dword [0x44cd9c]
test ecx, ecx
je 0x441d6c
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
xor ebx, ebx
mov ebp, dword [0x44cda0]
cmp dword [ebp + ebx*8], 0x72e9dc72
je 0x441d41
inc ebx
cmp ecx, ebx
jne 0x441d30
jmp 0x441d6c
mov ecx, dword [ebp + ebx*8 + 4]
cmp ecx, eax
je 0x441d6c
lea eax, [esp + 0x10]
push 0
push 0
push edi
push edx
push eax
push 0
push 0
push 0
push esi
push 9
push dword [0x44cda4]
push ecx
call fcn.0043f410
add esp, 0x30
mov edi, dword [esp + 0x38]
cmp eax, 0x103
jne 0x441e26
mov dword [esp + 8], 0x5f5c5d5a
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 6
ja 0x441dd1
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
add eax, 0x1776973b
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0x9e
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 7
jb 0x441da0
mov eax, dword [esp + 8]
mov ecx, dword [0x44cd9c]
test ecx, ecx
je 0x441e1e
xor edx, edx
mov ebx, dword [0x44cda0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x7e28bda7
je 0x441e00
inc edx
cmp ecx, edx
jne 0x441df0
jmp 0x441e1e
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, eax
je 0x441e1e
push 0
push 0
push esi
push 3
push dword [0x44cda4]
push ecx
call fcn.0043f410
add esp, 0x18
test eax, eax
js 0x441e26
mov eax, dword [esp + 0x10]
test edi, edi
je 0x441e39
xor ecx, ecx
cmp eax, 0xc0000011
je 0x441e37
mov ecx, dword [esp + 0x14]
mov dword [edi], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x441e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 8], 0x5f5c5d5a
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x441eae
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0x1776973b
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x9e
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x441e80
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 8]
mov ecx, dword [0x44cd9c]
test ecx, ecx
je 0x441f0c
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
xor ebx, ebx
mov ebp, dword [0x44cda0]
cmp dword [ebp + ebx*8], 0xe6919031
je 0x441ee1
inc ebx
cmp ecx, ebx
jne 0x441ed0
jmp 0x441f0c
mov ecx, dword [ebp + ebx*8 + 4]
cmp ecx, eax
je 0x441f0c
lea eax, [esp + 0x10]
push 0
push 0
push edi
push edx
push eax
push 0
push 0
push 0
push esi
push 9
push dword [0x44cda4]
push ecx
call fcn.0043f410
add esp, 0x30
mov edi, dword [esp + 0x38]
cmp eax, 0x103
jne 0x441fc6
mov dword [esp + 8], 0x5f5c5d5a
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 6
ja 0x441f71
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
add eax, 0x1776973b
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0x9e
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 7
jb 0x441f40
mov eax, dword [esp + 8]
mov ecx, dword [0x44cd9c]
test ecx, ecx
je 0x441fbe
xor edx, edx
mov ebx, dword [0x44cda0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x7e28bda7
je 0x441fa0
inc edx
cmp ecx, edx
jne 0x441f90
jmp 0x441fbe
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, eax
je 0x441fbe
push 0
push 0
push esi
push 3
push dword [0x44cda4]
push ecx
call fcn.0043f410
add esp, 0x18
test eax, eax
js 0x441fc6
mov eax, dword [esp + 0x10]
test edi, edi
je 0x441fd0
mov ecx, dword [esp + 0x14]
mov dword [edi], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x441fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
xor ebx, ebx
nop
nop
nop
cmp word [edi + ebx], 0
lea ebx, [ebx + 2]
jne 0x442000
add ebx, 0xfffffffe
and ebx, 0xfffe
mov word [esp + 0xc], bx
add ebx, 2
mov word [esp + 0xe], bx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0x40
lea eax, [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 4], 0x5f5c5d5a
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x4420ae
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edi, dword [esp]
movzx edi, byte [esp + edi + 4]
add eax, 0x1776973b
xor eax, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0x9e
mov edi, dword [esp]
mov byte [esp + edi + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x442080
mov eax, dword [esp + 4]
mov edi, dword [0x44cd9c]
test edi, edi
je 0x442102
xor ebx, ebx
mov ebp, dword [0x44cda0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x81105f7a
je 0x4420e1
inc ebx
cmp edi, ebx
jne 0x4420d0
jmp 0x442102
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x442102
lea eax, [esp + 0x18]
push esi
push eax
push edx
push ecx
push 4
push dword [0x44cda4]
push edi
call fcn.0043f410
add esp, 0x1c
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x405600
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4000]
push edi
jmp 0x40561a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x405621
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x405610
mov eax, 1
add ebx, ebx
jne 0x405633
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x405628
jne 0x405644
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x405628
xor ecx, ecx
sub eax, 3
jb 0x405658
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4056ca
mov ebp, eax
add ebx, ebx
jne 0x405663
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x405670
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x405694
inc ecx
add ebx, ebx
jne 0x405680
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x405675
jne 0x405691
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x405675
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4056b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4056a5
jmp 0x405616
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4056b4
add edi, ecx
jmp 0x405616
pop esi
mov edi, esi
mov ecx, 0xb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4056d2
cmp byte [edi], 1
jne 0x4056d2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4056d7
lea edi, [esi + 0x3000]
mov eax, dword [edi]
or eax, eax
je 0x40574f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x405704
mov ecx, edi
jns 0x405733
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5058]
or eax, eax
je 0x405749
mov dword [ebx], eax
add ebx, 4
jmp 0x405721
call dword [esi + 0x5054]
mov ebp, dword [esi + 0x505c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x405783
sub esp, 0xffffff80
jmp 0x4012ef
Function at 0x41e7f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x41e812
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e819
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e808
mov eax, 1
add ebx, ebx
jne 0x41e82b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e820
jne 0x41e83c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e820
xor ecx, ecx
sub eax, 3
jb 0x41e850
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e8c2
mov ebp, eax
add ebx, ebx
jne 0x41e85b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e868
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e88c
inc ecx
add ebx, ebx
jne 0x41e878
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e86d
jne 0x41e889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e86d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e8ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e89d
jmp 0x41e80e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e8ac
add edi, ecx
jmp 0x41e80e
pop esi
mov edi, esi
mov ecx, 0xbb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e8ca
cmp byte [edi], 6
jne 0x41e8ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41e8cf
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e947
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x23f34]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x23f98]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e8fc
mov ecx, edi
jns 0x41e92b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x23f9c]
or eax, eax
je 0x41e941
mov dword [ebx], eax
add ebx, 4
jmp 0x41e919
call dword [esi + 0x23fac]
mov ebp, dword [esi + 0x23fa0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41e97b
sub esp, 0xffffff80
jmp 0x4018a0
Function at 0x4011a3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4011b1
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x401292
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x413038]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x413038]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x413038]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x413038]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x413038]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x413038]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x413038]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x413038]
xor eax, esi
inc edx
dec edi
jne 0x4011ce
pop ebx
cmp dword [ebp + 0x10], 0
je 0x4012b3
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x413038]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x401298
pop edi
pop esi
not eax
pop ebp
ret
Function at 0x4019ee
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x68]
sub eax, ecx
sub eax, edx
mov dword [ebp + 8], eax
jne 0x401a18
test ecx, ecx
jne 0x401a22
test edx, edx
jne 0x401a22
mov eax, edi
jmp 0x401a8e
cmp eax, 0xffffffff
jne 0x401a22
push 0xfffffffffffffffe
pop eax
jmp 0x401a8e
mov edx, dword [esi + 0x20]
lea edx, [edi + edx - 0x106]
cmp ecx, edx
jb 0x401a8e
mov eax, dword [esi + 0x2c]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.004084d0
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x38]
sub dword [esi + 0x64], edi
sub dword [esi + 0x60], edi
add esp, 0xc
sub dword [esi + 0x50], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x401a53
mov eax, dword [esi + 0x34]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x401a72
mov eax, dword [ebp + 8]
add eax, edi
mov ecx, dword [esi]
cmp dword [ecx + 4], 0
je 0x401ae9
push eax
mov eax, dword [esi + 0x68]
add eax, dword [esi + 0x60]
add eax, dword [esi + 0x2c]
push eax
push ecx
call fcn.00401aee
add dword [esi + 0x68], eax
mov ebx, dword [esi + 0x68]
add esp, 0xc
cmp ebx, 3
jb 0x401ad5
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x2c]
lea edx, [eax + ecx]
mov ecx, dword [esi + 0x4c]
movzx eax, byte [edx]
mov dword [esi + 0x3c], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x48]
mov dword [esi + 0x3c], eax
cmp ebx, 0x106
jae 0x401ae9
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x4019fa
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402a81
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [ebp + 8]
push esi
test eax, eax
push edi
je 0x402a98
cmp byte [eax], 0
jne 0x402a9f
xor esi, esi
jmp 0x402c85
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00408890
lea eax, [ebp - 0x110]
push 0x5c
push eax
call fcn.00408ef0
add esp, 0x10
xor ecx, ecx
test eax, eax
setne cl
mov esi, ecx
test esi, esi
je 0x402c85
and byte [eax], 0
lea edi, [eax + 1]
lea eax, [ebp - 0x110]
push str.HKLM
push eax
mov dword [ebp - 0xc], edi
call fcn.00408e50
pop ecx
test eax, eax
pop ecx
jne 0x402afa
mov dword [ebp - 4], 0x80000002
jmp 0x402bc2
lea eax, [ebp - 0x110]
push str.HKCU
push eax
call fcn.00408e50
pop ecx
test eax, eax
pop ecx
jne 0x402b1d
mov dword [ebp - 4], 0x80000001
jmp 0x402bc2
lea eax, [ebp - 0x110]
push str.HKCC
push eax
call fcn.00408e50
pop ecx
test eax, eax
pop ecx
jne 0x402b40
mov dword [ebp - 4], 0x80000005
jmp 0x402bc2
lea eax, [ebp - 0x110]
push str.HKCR
push eax
call fcn.00408e50
pop ecx
test eax, eax
pop ecx
jne 0x402b60
mov dword [ebp - 4], 0x80000000
jmp 0x402bc2
lea eax, [ebp - 0x110]
push 0x413c00
push eax
call fcn.00408e50
pop ecx
test eax, eax
pop ecx
jne 0x402b80
mov dword [ebp - 4], 0x80000003
jmp 0x402bc2
lea eax, [ebp - 0x110]
push str.HKPD
push eax
call fcn.00408e50
pop ecx
test eax, eax
pop ecx
jne 0x402ba0
mov dword [ebp - 4], 0x80000004
jmp 0x402bc2
lea eax, [ebp - 0x110]
push str.HKDD
push eax
call fcn.00408e50
pop ecx
test eax, eax
pop ecx
jne 0x402bc0
mov dword [ebp - 4], 0x80000006
jmp 0x402bc2
xor esi, esi
test esi, esi
je 0x402c85
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x402c85
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push ebx
mov ebx, 0x104
lea eax, [ebp - 0x318]
push ebx
push eax
push 0
push dword [ebp - 8]
call edi
test eax, eax
jne 0x402c6f
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
call fcn.00408890
lea eax, [ebp - 0x214]
push eax
call fcn.00408810
add esp, 0xc
cmp byte [ebp + eax - 0x215], 0x5c
je 0x402c3f
lea eax, [ebp - 0x214]
push 0x413894
push eax
call fcn.004088a0
pop ecx
pop ecx
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.004088a0
pop ecx
lea eax, [ebp - 0x214]
pop ecx
push eax
call fcn.00402a81
lea eax, [ebp - 0x318]
push ebx
push eax
push 0
push dword [ebp - 8]
jmp 0x402bfe
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop ebx
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x40828a
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, str.NAIMServInst
xor edi, edi
push esi
push edi
mov dword [0x416bc8], eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push dword [0x416bc8]
mov ebx, eax
lea eax, [ebp - 0x108]
push esi
push str._s_error:__d
push eax
call fcn.00408980
lea eax, [ebp - 0x108]
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
cmp ebx, edi
mov dword [ebp - 4], eax
je 0x4082fb
lea eax, [ebp - 8]
push edi
push eax
push edi
push 2
push edi
push edi
push edi
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d725
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x414a60
cmp edx, dword [eax]
je 0x40d747
add eax, 8
inc ecx
cmp eax, 0x414af0
jl 0x40d738
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x414a60]
jne 0x40d875
mov eax, dword [0x416c28]
cmp eax, 1
je 0x40d84f
test eax, eax
jne 0x40d778
cmp dword [0x414388], 1
je 0x40d84f
cmp edx, 0xfc
je 0x40d875
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40d7af
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408890
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408810
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40d7f2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408810
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x411574
push edi
call fcn.004093c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408890
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004088a0
lea eax, [ebp - 0xa0]
push 0x411554
push eax
call fcn.004088a0
push dword [esi + 0x414a64]
lea eax, [ebp - 0xa0]
push eax
call fcn.004088a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040f654
add esp, 0x2c
pop edi
jmp 0x40d875
lea eax, [ebp + 8]
lea esi, [esi + 0x414a64]
push 0
push eax
push dword [esi]
call fcn.00408810
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret