joyce8/EMBER2024-capa huggingface dataset:
Function at 0x84c0d7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x48]
mov edx, 0x4a1c90
push eax
push dword [edi + 0x48]
call fcn.008a8c31
call eax
test eax, eax
jne 0x84c102
inc eax
jmp 0x84c2bb
mov ebx, dword [ebp - 0x48]
mov esi, ebx
and esi, 1
mov eax, ebx
mov ecx, esi
or ecx, 2
and al, 2
mov eax, ebx
cmove ecx, esi
mov edx, ecx
or edx, 4
and al, 4
cmove edx, ecx
mov ecx, ebx
mov eax, edx
or eax, 0x10
and ecx, 0x10
cmove eax, edx
mov edx, eax
or edx, 0x20
and bl, 0x20
cmove edx, eax
test ecx, ecx
je 0x84c146
or edx, 0x40000000
jmp 0x84c14c
or edx, 0x80000000
or edx, 0x1000000
mov ebx, edx
or ebx, 0x800000
test esi, esi
push 0
push dword [edi + 0x48]
cmovne ebx, edx
mov edx, 0x4a1dd0
call fcn.008a8c31
call eax
mov dword [edi + 0x3c], eax
mov esi, ebx
cmp eax, 0x28
jbe 0x84c266
cmp dword [edi + 0x10], 0
jne 0x84c266
xor esi, esi
mov edx, 0x4a1dc0
push esi
push esi
push esi
push dword [edi + 0x48]
call fcn.008a8c31
call eax
push esi
lea eax, [ebp - 8]
mov edx, 0x4a1db4
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [edi + 0x48]
call fcn.008a8c31
call eax
push esi
push esi
push 0x24
push dword [edi + 0x48]
mov edx, 0x4a1dc0
call fcn.008a8c31
call eax
push esi
lea eax, [ebp - 8]
mov edx, 0x4a1db4
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [edi + 0x48]
call fcn.008a8c31
call eax
mov eax, 0x54ad
mov esi, ebx
cmp word [ebp - 4], ax
jne 0x84c252
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + 0x34]
cmp dword [edi + 0x3c], eax
jbe 0x84c252
xor esi, esi
mov edx, 0x4a1dc0
push esi
push esi
push ecx
push dword [edi + 0x48]
call fcn.008a8c31
call eax
push esi
lea eax, [ebp - 8]
mov edx, 0x4a1db4
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x48]
call fcn.008a8c31
call eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x5a4d
je 0x84c24a
cmp eax, 0x454e
je 0x84c24a
cmp eax, 0x454c
je 0x84c24a
mov esi, ebx
cmp eax, 0x4550
jne 0x84c252
mov esi, ebx
or esi, 0x400000
xor eax, eax
mov edx, 0x4a1dc0
push eax
push eax
push eax
push dword [edi + 0x48]
call fcn.008a8c31
call eax
mov ebx, dword [ebp - 0x14]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
mov dword [ebx + 0x10], esi
call fcn.0084c05d
push dword [ebp - 0x30]
mov dword [ebx], eax
push dword [ebp - 0x34]
call fcn.0084c05d
push dword [ebp - 0x40]
mov dword [ebx + 4], eax
push dword [ebp - 0x44]
call fcn.0084c05d
push dword [ebp - 0x30]
lea edx, [ebp - 8]
mov dword [ebx + 8], eax
push dword [ebp - 0x34]
lea ecx, [ebp - 4]
call fcn.0084bffa
movzx ecx, word [ebp - 4]
add esp, 0x20
movzx eax, word [ebp - 8]
shl ecx, 0x10
or ecx, eax
xor eax, eax
mov dword [ebx + 0xc], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x84d536
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 0x1fffc
mov edi, edx
mov byte [esi + 0x6af81], 1
lea ecx, [esi + 0x4af54]
mov dword [esi + 0x6af54], 0x10000
mov dword [esi + 0x6af50], ebx
call fcn.0085188a
movzx eax, word [edi*8 + 0x49c442]
mov dword [esi + 0x6af74], eax
movzx eax, word [edi*8 + 0x49c440]
pop ecx
mov dword [esi + 0x6af78], eax
movzx eax, word [edi*8 + 0x49c444]
push 2
mov dword [esi + 0x6af7c], eax
movzx eax, word [edi*8 + 0x49c446]
pop ecx
mov dword [esi + 0x6af70], eax
cmp edi, ecx
ja 0x84d5b2
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x84d5bd
cmp edi, 8
jb 0x84d5bd
mov eax, dword [ebp + 8]
or word [eax], cx
mov ecx, dword [esi]
lea edi, [esi + 0x1af54]
push 0x10000
mov edx, edi
call fcn.0084e27d
mov dword [esi + 0x6af6c], eax
pop ecx
test eax, eax
je 0x84d61f
mov byte [esi + 0x6af80], bl
mov dword [esi + 0x6af58], ebx
mov dword [esi + 0x6af64], ebx
cmp eax, 0x106
jae 0x84d5fc
mov ecx, esi
call fcn.0084d782
mov dword [esi + 0x6af5c], ebx
mov ecx, ebx
movzx eax, byte [edi + ebx]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc ebx
mov dword [esi + 0x6af5c], ecx
cmp ebx, 2
jb 0x84d604
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x84dedc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x84dee7
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x84dfa3
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
sub edi, 1
jne 0x84defc
pop edi
test esi, esi
je 0x84dfbf
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
inc edx
sub esi, 1
jne 0x84dfa7
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x84dfc6
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x49bfc0]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
mov dword [edi + 8], ecx
pop edi
pop esi
ret
Function at 0x859ba2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ecx + 8]
mov eax, edx
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 4], eax
test edi, edi
jle 0x859bd6
push ebx
mov ebx, dword [ecx]
mov al, byte [edx + eax]
xor byte [ebx + esi], al
lea eax, [esi + 1]
xor esi, esi
inc edx
cmp eax, dword [ecx + 4]
cmovl esi, eax
mov eax, dword [ebp - 4]
cmp edx, edi
jl 0x859bbc
pop ebx
add dword [ecx + 0xc], edi
pop edi
mov dword [ecx + 8], esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x85d25a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, dword [edi + 0x88]
test esi, esi
je 0x85d28e
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [esi + 0x10]
mov dword [edi + 0x88], eax
mov eax, dword [esi + 8]
and dword [esi + 0x10], 0
and dword [eax], 0
and dword [eax + 4], 0
jmp 0x85d2ef
movzx eax, word [edi + 0x8c]
cdq
add eax, 0x28
adc edx, 0
push edx
push eax
call fcn.00853e96
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ecx], esi
test esi, esi
jne 0x85d2d8
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0x98]
dec ecx
push esi
cdq
push ecx
push edx
push eax
call fcn.008c7200
mov ecx, dword [edi + 0x3c]
push edx
mov edx, dword [ebp + 8]
push eax
call fcn.0085336a
pop ecx
pop ecx
push 7
pop eax
jmp 0x85d300
lea eax, [esi + 0x28]
mov dword [esi + 0x14], edi
mov dword [esi + 8], eax
push 0x20
pop eax
mov word [esi + 0x1c], ax
xor eax, eax
inc eax
mov word [esi + 0x1e], ax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [esi + 4], eax
mov dword [esi + 0x18], ecx
inc dword [edi + 0x78]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x86b3a0
Capabilities:
Terminate process

Disassembly:
push esi
push edx
push 0x40
pop edx
mov esi, ecx
call fcn.0086b163
mov eax, dword [esi + 0xc]
pop ecx
mov byte [eax + 0x13], 0
mov eax, dword [esi + 0xc]
pop esi
and dword [eax + 0x1c], 0
ret

Function at 0x875535
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00855865

Function at 0x87a1a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, edx
mov ebx, ecx
push 0
push 0x43
pop edx
call fcn.0086b177
push edi
push 0x25
pop edx
mov ecx, ebx
call fcn.0086b163
add esp, 0xc
mov ecx, ebx
mov esi, eax
push dword [ebp + 8]
push 0
push edi
push 0x62
pop edx
call fcn.0086b0f3
add esp, 0xc
mov edx, 0x80
mov ecx, ebx
call fcn.0086b680
mov edx, esi
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.0086b698
Function at 0x87b6e9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov ebx, edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov ecx, dword [edi + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], esi
test ecx, ecx
jne 0x87b724
xor eax, eax
jmp 0x87c1f2
test ebx, ebx
jne 0x87b72d
push 0x67
pop edx
jmp 0x87b730
movzx edx, byte [ebx]
lea eax, [edx - 0x13]
mov dword [esp + 0x14], edx
cmp eax, 0x8c
ja 0x87c074
movzx eax, byte [eax + 0x441e71]
jmp dword [eax*4 + 0x441df9]
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], esi
lea edx, [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
call fcn.0086b3bd
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
test edx, edx
je 0x87c0fd
push 0xc
mov esi, edx
lea edi, [esp + 0x3c]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x3c]
mov ecx, edi
call fcn.0087b65e
pop ecx
mov edx, eax
lea ecx, [esp + 0x38]
call fcn.0087b64b
push 0x30
xor ebx, ebx
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.008abac0
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x44]
mov dword [esp + 0x80], eax
add esp, 0xc
lea eax, [esp + 0x68]
mov byte [esp + 0x68], 0x35
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0xc]
lea ecx, [eax - 1]
test ecx, ecx
jle 0x87c19b
lea eax, [ecx - 1]
shr eax, 1
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov ecx, edi
call fcn.0087b3b4
mov eax, dword [eax]
test edx, edx
je 0x87c134
mov dword [esp + 0x78], eax
jmp 0x87c138
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.0086b3bd
push 0x10
mov esi, eax
push esi
push dword [esp + 0x20]
push edi
call fcn.0087c9b1
mov edx, dword [esp + 0x30]
mov ecx, edi
push ebx
mov edx, dword [edx + 0x18]
call fcn.0087c40b
mov edx, dword [esp + 0x38]
add esp, 0x14
mov ecx, dword [esp + 0xc]
call fcn.0086b18c
mov ecx, edi
call fcn.0087b3b8
mov edx, esi
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.0086b3ff
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add eax, 0x30
sub dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
jne 0x87c121
mov eax, dword [esp + 0x14]
test al, 1
je 0x87c1c1
mov ecx, edi
call fcn.0087b3b4
imul edx, eax, 0x18
mov eax, dword [esp + 0x34]
push ebx
mov edx, dword [edx + eax - 0x14]
call fcn.0087c40b
pop ecx
mov ecx, edi
call fcn.0087b3b8
jmp 0x87c1d0
push ebx
push 0
push 0x46
pop edx
mov ecx, esi
call fcn.0086b177
pop ecx
pop ecx
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.0086b3ff
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.0087d522
mov edx, dword [esp + 0x2c]
call fcn.0087d522
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x87f221
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
push edi
cmp dword [esi + 0x24], 0
mov ebx, dword [esi]
jne 0x87f33a
mov edx, dword [ebp + 0x10]
lea edi, [ebp - 0x24]
push 7
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], esi
call fcn.0087edd1
test eax, eax
jne 0x87f33a
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x24]
call fcn.0087edd1
test eax, eax
jne 0x87f33a
mov edx, dword [ebp + 0x18]
lea ecx, [ebp - 0x24]
call fcn.0087edd1
test eax, eax
jne 0x87f33a
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x87f2ae
cmp byte [eax], 0x63
jne 0x87f292
mov eax, dword [eax + 8]
jmp 0x87f294
xor eax, eax
mov edx, dword [ebp - 8]
mov ecx, esi
push 0
push 0
push eax
call fcn.0087f84e
add esp, 0xc
test eax, eax
jne 0x87f33a
mov ecx, esi
call fcn.008903a5
push 4
pop edx
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.0087d565
mov edx, dword [ebp + 0x10]
mov edi, eax
push edi
mov ecx, esi
call fcn.0087c40b
mov edx, dword [ebp + 0x14]
pop ecx
lea ecx, [edi + 1]
push ecx
mov ecx, esi
call fcn.0087c40b
mov edx, dword [ebp + 0x18]
lea eax, [edi + 2]
pop ecx
push eax
mov ecx, esi
call fcn.0087c40b
cmp dword [ebp - 4], 0
pop ecx
je 0x87f33a
mov esi, dword [ebp + 8]
lea eax, [edi + 3]
push 0xfffffffffffffff8
push esi
push eax
movsx eax, byte [esi]
mov edx, 0xa4
sub edi, eax
add edi, 3
push edi
mov edi, dword [ebp - 4]
mov ecx, edi
push 0
call fcn.0086b23d
movzx edx, byte [esi]
add esp, 0x14
mov ecx, edi
call fcn.0086b680
xor eax, eax
mov edx, 0x99
cmp dword [ebp - 8], 0x18
sete al
push eax
call fcn.0086b163
pop ecx
mov edx, dword [ebp + 0x10]
mov ecx, ebx
call fcn.008793d7
mov edx, dword [ebp + 0x14]
mov ecx, ebx
call fcn.008793d7
mov edx, dword [ebp + 0x18]
mov ecx, ebx
call fcn.008793d7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x8903c5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
cmp dword [edi + 0xc], 0
mov esi, dword [edi + 0x38]
mov dword [ebp - 0x14], esi
jne 0x8904d2
call fcn.0087b5d3
test esi, esi
je 0x8904d2
inc dword [ebx + 0x2c]
mov ecx, ebx
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 8], eax
mov dword [edi + 0xc], eax
call fcn.008903a5
mov dword [ebp - 4], eax
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0xc]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00879fdd
test eax, eax
je 0x89045f
push dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
push esi
push 0x43
pop edx
call fcn.0086b177
pop ecx
pop ecx
test esi, esi
jne 0x89043e
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0086b18c
jmp 0x89048c
js 0x89048c
mov eax, esi
cdq
push edx
push eax
call fcn.00857091
pop ecx
pop ecx
cmp word [edi + 6], ax
jle 0x89048c
or dword [edi + 8], 0x4000
mov word [edi + 6], ax
jmp 0x89048c
mov esi, dword [ebp - 8]
mov ecx, ebx
mov edx, dword [ebp - 0x10]
push esi
call fcn.0087c40b
pop ecx
mov ecx, dword [ebp - 4]
push esi
push 0x11
pop edx
call fcn.0086b163
pop ecx
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
push esi
push 0x16
pop edx
call fcn.0086b177
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
je 0x8904d2
inc dword [ebx + 0x2c]
mov ecx, ebx
mov esi, dword [ebx + 0x2c]
mov dword [edi + 0x10], esi
inc dword [ebx + 0x2c]
mov edx, dword [eax + 0x10]
push esi
call fcn.0087c40b
pop ecx
mov ecx, dword [ebp - 4]
push esi
push 0x11
pop edx
call fcn.0086b163
pop ecx
mov ecx, dword [ebp - 4]
lea eax, [esi + 1]
push esi
push eax
push dword [ebp - 8]
mov edx, 0x95
call fcn.0086b0f3
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x89570e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [ebx + 0xc], 0
mov edi, ecx
jne 0x895764
and dword [ebp + 8], 0
lea eax, [ebp + 8]
mov edx, esi
shl edx, 4
add edx, dword [ebx + 4]
push eax
movzx eax, byte [edx + 0xd]
push eax
call fcn.0085a091
movzx eax, byte [eax + 0x46]
push eax
call fcn.0085a091
mov edx, dword [edx + 4]
mov ecx, eax
call fcn.0086ae54
mov edx, dword [ebp + 8]
add esp, 0xc
test edx, edx
je 0x895764
push 0xfffffffffffffff5
mov ecx, edi
call fcn.0086b91b
pop ecx
mov eax, dword [ebx + 4]
add esi, esi
cmp byte [eax + esi*8 + 0xd], 0x45
jne 0x89577e
push dword [ebp + 0xc]
mov ecx, edi
push 0x51
pop edx
call fcn.0086b163
pop ecx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x8a7526
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], edx
push edi
mov dword [ebp - 0xc], ecx
mov eax, esi
mov byte [ebp + eax - 0x10c], al
inc eax
cmp eax, 0x100
jb 0x8a753c
mov edi, esi
xor edx, edx
mov bl, byte [ebp + edi - 0x10c]
mov eax, edi
div dword [ebp - 8]
movzx eax, byte [edx + ecx]
add eax, esi
movzx ecx, bl
add ecx, eax
movzx esi, cl
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + esi - 0x10c]
mov byte [ebp + edi - 0x10c], al
inc edi
mov byte [ebp + esi - 0x10c], bl
cmp edi, 0x100
jb 0x8a754d
mov edi, dword [ebp + 0xc]
xor esi, esi
mov ebx, esi
test edi, edi
je 0x8a75ea
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], eax
lea eax, [ebx + 1]
movzx ebx, al
mov dl, byte [ebp + ebx - 0x10c]
movzx eax, dl
add eax, esi
movzx esi, al
mov al, byte [ebp + esi - 0x10c]
mov byte [ebp + ebx - 0x10c], al
mov byte [ebp + esi - 0x10c], dl
movzx ecx, byte [ebp + ebx - 0x10c]
movzx eax, dl
add ecx, eax
mov eax, dword [ebp + 0xc]
movzx ecx, cl
mov cl, byte [ebp + ecx - 0x10c]
xor byte [eax], cl
inc eax
mov dword [ebp + 0xc], eax
sub edi, 1
jne 0x8a759b
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x8a76f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, edx
cmp dword [ebp + 0xc], esi
jbe 0x8a7715
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov eax, esi
div ebx
mov al, byte [edx + ecx]
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x8a7702
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x8a7bba
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
push edi
mov edx, 0x811c9dc5
call fcn.008a7b3c
mov edi, eax
xor esi, esi
test edi, edi
je 0x8a7bdf
movsx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc esi
cmp esi, edi
jb 0x8a7bce
pop edi
mov eax, edx
pop esi
ret
Function at 0x8a8b25
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
ret

Function at 0x8a8b56
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [0x4b21f8]
mov eax, 0x5a4d
mov dword [ebp - 4], edx
cmp word [esi], ax
je 0x8a8b75
xor eax, eax
jmp 0x8a8bd6
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x8a8b71
mov ecx, 0x2000
push edi
test word [eax + 0x16], cx
je 0x8a8bd3
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x8a8bd3
xor edi, edi
cmp dword [eax + 0x7c], edi
je 0x8a8bd3
mov ebx, dword [ecx + esi + 0x1c]
mov edx, dword [ecx + esi + 0x20]
add edx, esi
mov dword [ebp - 8], edx
lea eax, [ebx + esi]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + esi + 0x24]
add eax, esi
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x8a8bd3
mov ecx, dword [edx + edi*4]
add ecx, esi
call fcn.008a8b39
cmp eax, dword [ebp - 4]
je 0x8a8bdc
mov edx, dword [ebp - 8]
inc edi
cmp edi, ebx
jb 0x8a8bbc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + edi*2]
mov eax, dword [ecx + eax*4]
add eax, esi
jmp 0x8a8bd5

Function at 0x8a970d
Capabilities:
Parse pe header

Disassembly:
push 0
push esi
call 0x95c482
mov ecx, eax
test ecx, ecx
jne 0x8a971e
xor al, al
ret
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x8a971b
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x8a971b
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x8a971b
cmp dword [eax + 0x74], 0xe
jbe 0x8a971b
cmp dword [eax + 0xe8], 0
setne al
ret

Function at 0x8b9051
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.008b8ed0
Function at 0x8f6ff0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, esi
je 0x8f7152
cmp edi, esi
je 0x8f7152
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x48], 0x44434241
mov dword [ebp - 0x44], 0x48474645
mov dword [ebp - 0x40], 0x4c4b4a49
mov dword [ebp - 0x3c], 0x504f4e4d
mov dword [ebp - 0x38], 0x54535251
mov dword [ebp - 0x34], 0x58575655
mov dword [ebp - 0x30], 0x62615a59
mov dword [ebp - 0x2c], 0x66656463
mov dword [ebp - 0x28], 0x6a696867
mov dword [ebp - 0x24], 0x6e6d6c6b
mov dword [ebp - 0x20], 0x7271706f
mov dword [ebp - 0x1c], 0x76757473
mov dword [ebp - 0x18], 0x7a797877
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x2f2b3938
mov dword [ebp - 4], esi
mov ecx, edi
mov dword [ebp - 8], eax
cmp edx, esi
jbe 0x8f7142
add edi, 4
jmp 0x8f70a3
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x8f70b8
mov dword [ebp - 4], 2
jmp 0x8f70d9
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x8f70cf
mov dword [ebp - 4], 1
jmp 0x8f70d9
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x8f7152
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx + 1], bl
mov ebx, dword [ebp - 4]
cmp ebx, 1
jbe 0x8f7110
mov byte [ecx + 2], 0x3d
jmp 0x8f711d
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x48]
mov byte [ecx + 2], al
add ecx, 3
add edi, 3
test ebx, ebx
je 0x8f712c
mov byte [ecx], 0x3d
jmp 0x8f7132
mov dl, byte [ebp + edx - 0x48]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x8f70a0
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub ecx, edi
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x8f7bc9
Capabilities:
Encode data using xor

Disassembly:
lea edi, [edi + esi*8 + 0x3c45247e]
mov edx, 0x7a8b2c4d
push esi
cmovae edi, edx
test dword [esp], 0xfbe509c
mov si, dx
push ebx
call fcn.00beb54c

Function at 0x96a5f7
Capabilities:
Check for software breakpoints

Disassembly:
push edx
mov edi, dword [esp]
bswap edi
push esi
or word [esp + 4], 0x1478
add dword [esp + 8], 0x1fd71f
push edx
xor byte [esp], 0xe1
pop esi
push ebx
mov dword [esp + 8], 0x4d266d01
jo fcn.00951f1d
neg ebx
xor dword [esp + 8], edi
bswap edi
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0x90bd956e
push ebp
jl fcn.00ba6bc6
lea esi, [esi + edi + 0x6b48733c]
push ecx
call fcn.00c0cbc3
jmp fcn.00c1be6f