joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012c670
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1012c854
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb7000]
push edi
or ebp, 0xffffffff
jmp 0x1012c69a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1012c6a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1012c690
mov eax, 1
add ebx, ebx
jne 0x1012c6b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1012c6c4
jne 0x1012c6e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1012c6e3
dec eax
add ebx, ebx
jne 0x1012c6d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1012c6a8
add ebx, ebx
jne 0x1012c6df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1012c735
xor ecx, ecx
sub eax, 3
jb 0x1012c6fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1012c76a
sar eax, 1
mov ebp, eax
jmp 0x1012c706
add ebx, ebx
jne 0x1012c706
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1012c6d4
inc ecx
add ebx, ebx
jne 0x1012c714
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1012c6d4
add ebx, ebx
jne 0x1012c721
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1012c716
jne 0x1012c732
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1012c716
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1012c754
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1012c746
jmp 0x1012c696
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1012c754
add edi, ecx
jmp 0x1012c696
pop esi
mov edi, esi
mov ecx, 0x3d5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1012c772
cmp byte [edi], 5
jne 0x1012c772
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 0x1012c777
lea edi, [esi + 0x12a000]
mov eax, dword [edi]
or eax, eax
je 0x1012c7e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12efa4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12f030]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1012c7a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12f034]
or eax, eax
je 0x1012c7e0
mov dword [ebx], eax
add ebx, 4
jmp 0x1012c7c1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1012c817
cmp al, 0xef
ja 0x1012c80a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1012c7ec
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1012c7f9
mov ebp, dword [esi + 0x12f038]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x1012c84b
sub esp, 0xffffff80
jmp 0x100020e0
Function at 0x5a05b4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x5a05ff
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.005a074d
test al, al
jne 0x5a05f9
sub edx, 2
cmp edx, edi
jne 0x5a05df
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x5a0621
lea eax, [edi + 2]
cmp edx, eax
je 0x5a0621
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.005a0500
add esp, 0x10
jmp 0x5a0719
push esi
lea ecx, [ebp - 0x255]
call fcn.005a074d
sub edx, edi
xor ecx, ecx
sar edx, 1
inc edx
test al, al
lea eax, [ebp - 0x254]
cmovne ecx, edx
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
push ebx
push edi
mov dword [ebp - 0x260], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5a0662
push dword [ebp - 0x25c]
jmp 0x5a0611
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x5a069f
cmp word [ebp - 0x226], 0
je 0x5a06c0
cmp word [ebp - 0x226], ax
jne 0x5a069f
cmp word [ebp - 0x224], 0
je 0x5a06c0
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.005a0500
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x5a070c
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x5a0679
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x5a06f4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x5a0719
push 0x5a0330
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0058def0
add esp, 0x10
jmp 0x5a06e9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00583f7f
leave
ret

Function at 0x5a5120
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5a514d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5a514d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43b645
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
or eax, eax
call fcn.0043b692
or edx, eax
xor dword [ebx], esi
add edx, edx
or eax, eax
add edx, 0x895524db
add ebx, 1
and eax, edx
add edx, 0xf02f0d26
dec edx
cmp ebx, edi
jne fcn.0043b645
mov edx, 0xf45bfab6
push 0xda8ebddf
mov edx, dword [esp]
add esp, 4
dec edx
ret
Function at 0x51ff90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xcb000]
push edi
jmp 0x51ffaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x51ffb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51ffa0
mov eax, 1
add ebx, ebx
jne 0x51ffc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51ffd4
jne 0x51fff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51fff3
dec eax
add ebx, ebx
jne 0x51ffe0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x51ffb8
add ebx, ebx
jne 0x51ffef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x520045
xor ecx, ecx
sub eax, 3
jb 0x52000b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52007a
sar eax, 1
mov ebp, eax
jmp 0x520016
add ebx, ebx
jne 0x520016
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51ffe4
inc ecx
add ebx, ebx
jne 0x520024
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51ffe4
add ebx, ebx
jne 0x520031
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x520026
jne 0x520042
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x520026
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x520064
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x520056
jmp 0x51ffa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x520064
add edi, ecx
jmp 0x51ffa6
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x520082
cmp byte [edi], 0x11
jne 0x520082
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 0x520087
lea edi, [esi + 0x118000]
mov eax, dword [edi]
or eax, eax
je 0x5200ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x167c4c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x167dc8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5200b4
mov ecx, edi
jns 0x5200e3
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 + 0x167dcc]
or eax, eax
je 0x5200f9
mov dword [ebx], eax
add ebx, 4
jmp 0x5200d1
call dword [esi + 0x167ddc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x520130
cmp al, 0xef
ja 0x520123
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x520105
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x520112
mov ebp, dword [esi + 0x167dd0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x520164
sub esp, 0xffffff80
jmp 0x425f74
Function at 0xddd658
Capabilities:
Encode data using xor

Disassembly:
jmp 0xddd662
pushal
call 0xddd668
pop ebp
sub ebp, 0x10
sub ebp, 0x9dd658
jmp 0xddd67e
mov eax, 0x9dd658
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ca
add byte [ecx + 0x5ca], bh
mov edx, 0xb2b476f2
xor byte [eax], dl
inc eax
dec ecx
jne 0xddd695
jmp 0xddd6a8
jns 0xddd6e9
jns 0xddd727
into
bnd jae 0xddd6e5
or dh, dl
int1
aas
dec edx
div edx
dec eax
invalid
lcall 0x4a9a, 0xf2d26252
mov bh, 0x8f
invalid
mov bl, 0xe6
sbb dh, bh
sbb ebx, esp
div edx
sbb ebx, esp
bnd jg 0xddd68a
salc
push cs
jnp 0xddd6d6
salc
jns 0xddd719
jns 0xddd774
cli
bnd jns 0xddd76a
invalid
or eax, 0x30af0d0d
invalid
lcall 0x4a9a, 0xf2d26252
mov bh, 0x8f
invalid
invalid
invalid
salc
push cs
jnp 0xddd738
salc
sbb dh, bh
sbb esi, dword [edi + 0x7ff2f2f0]
xchg esi, eax
salc
push cs
jnp 0xddd729
salc
jns 0xddd76c
or eax, 0x870dfe87
cli
sbb al, byte [eax + 0x79f2f2f2]
dec edi
cli
bnd jae 0xddd764
cli
pop esi
rol dword [esi + 0x73], 3
inc esi
jae 0xddd76a
cli
pop esi
rol dword [esi - 0x3f], 0x3b
shl dword [eax], 0x71
inc esi
sar dword [ebx], 0xc1
cmp eax, ecx
and byte [ecx + 0x1a], dh
idiv dword [edx - 0xd438903]
sbb dh, bh
mov edx, 0xf2bc76fd
jbe 0xddd732
std
std
jp 0xddd736
xchg esp, eax
jns 0xddd770
retf
Function at 0x4017c0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x4018ac
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4018ac
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x40180a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x401811
inc edi
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp ebp, edi
jne 0x4017f0
jmp 0x401813
mov esi, 0x1505
jmp 0x401813
mov esi, ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x20]
lea edi, [ecx - 1]
mov dword [esp + 8], ecx
sub ecx, 1
mov dword [esp + 0xc], ecx
jb 0x4018ac
and edi, esi
mov eax, dword [edx + 4]
mov dword [esp + 4], eax
xor ebp, ebp
jmp 0x401847
inc ebp
cmp dword [esp + 8], ebp
je 0x4018aa
mov eax, ebp
and eax, edi
mov ecx, ebp
xor ecx, edi
lea eax, [ecx + eax*2]
and eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov ebx, dword [ecx + eax*4]
cmp ebx, 0xffffffff
je 0x4018aa
mov eax, dword [edx + 8]
cmp dword [eax + ebx*4], esi
jne 0x401840
mov eax, dword [edx + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [esp], eax
push eax
call fcn.00408500
mov edx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 0x2c]
jne 0x401840
push dword [esp + 0x2c]
push dword [esp + 4]
push dword [esp + 0x30]
call fcn.00408520
mov edx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401840
mov eax, dword [edx + 0x10]
mov eax, dword [eax + ebx*4]
jmp 0x4018ac
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4026c0
Capabilities:
Compute adler32 checksum
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402856
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x40284f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov ebp, esi
sub ebp, eax
jmp 0x402760
mov ebp, dword [esp + 4]
mov eax, ebp
sub eax, dword [esp]
add ebx, eax
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
shr edx, 0xf
imul eax, edx, 0xfff1
sub edi, eax
mov eax, ecx
mov edx, 0x80078071
mul edx
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
mov eax, ebp
xor eax, esi
not ebp
and ebp, esi
add ebp, ebp
mov esi, ebp
mov ebp, 0x15b0
sub esi, eax
je 0x40284f
xor eax, eax
cmp ebp, 8
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
jb 0x4027e0
and ebp, 0x1ff8
mov dword [esp], ebp
xor edx, edx
nop
nop
nop
nop
nop
nop
mov eax, edx
movzx edx, byte [ebx + edx]
add edx, edi
add ecx, edx
movzx esi, byte [ebx + eax + 1]
add esi, edx
add ecx, esi
movzx edx, byte [ebx + eax + 2]
add edx, esi
add ecx, edx
movzx esi, byte [ebx + eax + 3]
add esi, edx
add ecx, esi
movzx edx, byte [ebx + eax + 4]
add edx, esi
add ecx, edx
movzx esi, byte [ebx + eax + 5]
add esi, edx
add ecx, esi
movzx edx, byte [ebx + eax + 6]
add edx, esi
mov ebp, dword [esp + 4]
add ecx, edx
movzx edi, byte [ebx + eax + 7]
add edi, edx
add ecx, edi
lea edx, [eax + 8]
add eax, 0xf
cmp eax, ebp
jb 0x402780
add ebx, edx
mov eax, dword [esp]
mov esi, dword [esp + 8]
mov edx, eax
sub edx, ebp
jae 0x40271f
mov dword [esp + 0xc], edx
mov esi, ebp
and esi, 3
mov dword [esp], eax
mov ebp, eax
mov edx, ebx
je 0x40280c
nop
nop
nop
nop
inc ebp
movzx eax, byte [edx]
add edi, eax
add ecx, edi
inc edx
dec esi
jne 0x402800
cmp dword [esp + 0xc], 0xfffffffc
ja 0x402710
mov eax, dword [esp + 4]
sub eax, ebp
xor esi, esi
nop
movzx ebp, byte [edx + esi]
add ebp, edi
add ecx, ebp
movzx edi, byte [edx + esi + 1]
add edi, ebp
add ecx, edi
movzx ebp, byte [edx + esi + 2]
add ebp, edi
add ecx, ebp
movzx edi, byte [edx + esi + 3]
add edi, ebp
add ecx, edi
add esi, 4
cmp eax, esi
jne 0x402820
jmp 0x402710
shl ecx, 0x10
or ecx, edi
jmp 0x40285b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402870
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4028cc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x4028ce
not eax
xor esi, esi
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
mov eax, dword [eax*4 + 0x44380c]
mov ebp, eax
and ebp, ebx
add ebx, eax
add ebp, ebp
sub ebx, ebp
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x44380c]
inc esi
cmp edx, esi
jne 0x402890
not eax
jmp 0x4028ce
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x408a30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov ecx, dword [esp + 4]
mov dword [0x44b9c0], ecx
mov eax, 0xfffffd92
nop
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
add ecx, 0x26f
mov dword [eax*4 + 0x44c37c], ecx
test eax, eax
je 0x408a81
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
add ecx, 0x270
mov dword [eax*4 + 0x44c380], ecx
add eax, 2
jmp 0x408a40
mov dword [0x44b9bc], 0x270
ret

Function at 0x408a90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov eax, dword [0x44b9bc]
cmp eax, 0x270
jne 0x408aef
mov eax, 0xfffff640
mov edx, dword [0x44b9c0]
nop
nop
nop
nop
nop
nop
nop
nop
and edx, 0x80000000
mov esi, dword [eax + 0x44c384]
mov ecx, esi
and ecx, 0x7ffffffe
or ecx, edx
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + 0x44c9b4]
shr ecx, 1
xor esi, ecx
mov dword [eax + 0x44cd40], esi
add eax, 4
jne 0x408ab0
mov eax, 0x270
jmp 0x408b05
cmp eax, 0x4e0
jb 0x408b05
mov ecx, 0x44b9bc
call fcn.00408d20
mov eax, dword [0x44b9bc]
lea ecx, [eax + 1]
mov dword [0x44b9bc], ecx
mov eax, dword [eax*4 + 0x44b9c0]
mov ecx, eax
shr ecx, 0xb
and ecx, dword [0x44cd40]
xor ecx, eax
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
xor eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc40000
xor ecx, eax
shr ecx, 0x12
and eax, 0x7fff
xor eax, ecx
pop esi
ret
Function at 0x408b50
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x224
call fcn.0043dc20
test al, al
je 0x408d12
lea eax, [esp + 0x1c]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00436a30
test al, al
je 0x408d0d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, 0x17018c0
mov ebx, 0x7e9175fe
mov ecx, esi
shrd ebx, edx, cl
mov dword [esp + 0xc], eax
mov ecx, esi
shr edx, cl
test cl, 0x20
je 0x408bb3
mov ebx, edx
xor edx, edx
mov edi, ebx
xor edi, 0x7e9175fe
mov dword [esp + 0x10], edi
mov ebp, edx
mov dword [esp], edx
xor ebp, 0x17018c0
mov esi, edi
and esi, 0xc0e5267d
and edi, 0x3f1ad982
mov dword [esp + 8], edi
mov ecx, ebp
and ecx, 0x11181ea
mov dword [esp + 4], ecx
xor edi, 0x3f1ad982
xor ecx, 0x3f1181ea
mov eax, edi
mul esi
mov dword [esp + 0x18], eax
imul ecx, esi
add ecx, edx
mov eax, ebp
and eax, 0xee7e15
imul edi, eax
add ecx, edi
mov dword [esp + 0x14], ecx
xor ebx, 0x418bac7c
mov edi, dword [esp]
xor edi, 0x3e61992a
add ebx, dword [esp + 0x10]
adc edi, ebp
sub ebx, esi
sbb edi, eax
mov ecx, edi
not ecx
and ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebp, edx
not ebp
and ebp, ebx
mov eax, ebp
imul ebp, ecx
mov ecx, ebx
not ecx
and ecx, edx
mov esi, dword [esp + 4]
not esi
mul ecx
mov dword [esp], eax
and esi, edi
imul esi, ecx
add esi, edx
add esi, ebp
mov ecx, edi
mov eax, dword [esp + 4]
and ecx, eax
or edi, eax
mov ebp, ebx
mov eax, dword [esp + 8]
and ebp, eax
or ebx, eax
mov eax, ebx
mul ebp
imul ebx, ecx
add ebx, edx
imul edi, ebp
add edi, ebx
mov ecx, dword [esp]
add ecx, dword [esp + 0x18]
adc esi, dword [esp + 0x14]
add ecx, eax
adc esi, edi
mov ebx, esi
shr ebx, 0x15
xor ebx, esi
shld esi, ecx, 0xb
xor esi, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x408cd6
mov ecx, 0x8c0900b5
mov eax, esi
mul ecx
imul ecx, esi, 0xad7717ea
imul edi, ebx, 0x8c0900b5
add edi, edx
add edi, ecx
mov esi, eax
mov ecx, dword [esp + 0xc]
shrd esi, edi, cl
mov ebx, edi
shr ebx, cl
test cl, 0x20
je 0x408cd2
mov esi, ebx
xor ebx, ebx
xor ebx, edi
xor esi, eax
mov eax, ebx
and eax, 0x1010101
mov ecx, esi
and ecx, 0x1010101
add esi, 0x1010101
adc ebx, 0x1010101
sub esi, ecx
sbb ebx, eax
push ebx
push esi
call fcn.00409f20
add esp, 8
test al, al
je 0x408d0d
call fcn.0040d130
call fcn.0040bef0
call fcn.0043eb10
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x408d20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x270
xor edx, edx
mov esi, SysReAllocString
mov ebp, dword [ecx + eax*4 + 4]
and ebp, esi
mov edi, edx
and edi, 2
mov ebx, eax
xor ebx, 1
add ebx, edi
mov edi, dword [ecx + ebx*4 + 4]
mov ebx, edi
and ebx, 0x7ffffffe
or ebx, ebp
shr ebx, 1
and edi, 1
neg edi
and edi, 0x9908b0df
mov ebp, edi
and ebp, ebx
add ebp, ebp
sub edi, ebp
add edi, ebx
mov ebx, dword [ecx + eax*4 + 0x638]
mov ebp, edi
and ebp, ebx
add edi, ebx
add ebp, ebp
sub edi, ebp
mov dword [ecx + eax*4 - 0x9bc], edi
inc eax
add edx, 2
cmp eax, 0x353
jne 0x408d30
mov edx, dword [ecx + 0xd50]
mov eax, 0x355
jmp 0x408dba
shr esi, 1
xor esi, dword [ecx + eax*4 - 0xd50]
xor esi, edi
mov dword [ecx + eax*4 - 0x9c4], esi
inc eax
cmp eax, 0x4e1
je 0x408de4
mov edi, edx
and edi, 0x80000000
mov edx, dword [ecx + eax*4]
mov esi, edx
and esi, 0x7fffffff
or esi, edi
mov ebx, esi
xor ebx, 0xfffffffe
mov edi, esi
or edi, 1
and edi, ebx
je 0x408da0
mov edi, 0x9908b0df
jmp 0x408da0
mov edx, SysReAllocString
and edx, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov esi, eax
and esi, 0x7ffffffe
or esi, edx
shr esi, 1
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, esi
mov edx, dword [ecx + 0x634]
mov esi, eax
and esi, edx
add eax, edx
add esi, esi
sub eax, esi
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x408f90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x404
mov dword [esp], ecx
mov esi, dword [esp + 0x418]
movzx eax, word [esi]
lea ebp, [esp + 4]
test ax, ax
je 0x4090d5
mov edx, 0x1ff
nop
nop
nop
nop
nop
nop
nop
movzx ebx, ax
lea edi, [esi + 2]
cmp bx, 0x7f
ja 0x408fe0
lea eax, [ebp + 1]
mov byte [ebp], bl
jmp 0x409080
cmp ebx, 0x7ff
ja 0x409010
cmp edx, 2
jb 0x409010
mov eax, ebx
shr eax, 6
add al, 0xc0
mov byte [ebp], al
and bl, 0x3f
or bl, 0x80
lea eax, [ebp + 2]
mov byte [ebp + 1], bl
jmp 0x409080
mov eax, ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40909a
cmp edx, 4
jb 0x40909a
movzx ecx, word [esi + 2]
shl ebx, 0xa
lea edi, [ebx + ecx]
add edi, 0xfca02400
mov eax, edi
shr eax, 0x12
add al, 0xf0
mov byte [ebp], al
mov eax, edi
shr eax, 0xc
add esi, 4
mov ebx, eax
xor ebx, 0xc0
or eax, 0x3f
and eax, ebx
add al, 0x80
mov byte [ebp + 1], al
shr edi, 6
mov eax, edi
not eax
or eax, 0x3f
add eax, edi
add al, 0x81
mov byte [ebp + 2], al
and cl, 0x3f
or cl, 0x80
lea eax, [ebp + 4]
mov byte [ebp + 3], cl
mov edi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add edx, ebp
sub edx, eax
mov esi, edi
mov ebp, eax
movzx eax, word [esi]
test ax, ax
je 0x4090d5
test edx, edx
jne 0x408fc0
jmp 0x4090d5
movzx eax, ax
cmp eax, 0xdc00
jne 0x4090a8
mov esi, edi
jmp 0x409088
cmp edx, 3
jb 0x4090d1
mov eax, ebx
shr eax, 0xc
or al, 0xe0
mov byte [ebp], al
mov eax, ebx
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [ebp + 1], al
and bl, 0x3f
or bl, 0x80
lea eax, [ebp + 3]
mov byte [ebp + 2], bl
jmp 0x409080
mov eax, ebp
jmp 0x409080
mov esi, dword [esp + 0x420]
mov edx, dword [esp + 0x41c]
mov byte [ebp], 0
movzx ebx, byte [esp + 4]
lea eax, [esp + 0x204]
mov ecx, eax
test bl, bl
je 0x409126
lea ecx, [esp + 0x204]
lea edi, [esp + 5]
jmp 0x40911b
mov byte [ecx], bh
inc ecx
movzx ebx, byte [edi]
inc edi
test bl, bl
je 0x409126
mov bh, 0x2f
cmp bl, 0x5c
je 0x409110
mov bh, bl
jmp 0x409110
mov byte [ecx], 0
push 0
push 0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push esi
push edx
push eax
push ecx
call fcn.004048d0
add esp, 0x28
test eax, eax
setne al
add esp, 0x404
pop esi
pop edi
pop ebx
pop ebp
ret 0xc