joyce8/EMBER2024-capa huggingface dataset:
Function at 0xbcb010
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9e075b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
push esi
mov ecx, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.00bb7fb0
mov dword [ebp - 4], 2
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
push eax
mov dword [ebp + 8], ecx
call fcn.00bb7fb0
mov dword [ebp - 4], 5
lea eax, [esi + 0x30]
lea ecx, [edi + 0x30]
push eax
mov dword [ebp - 0x18], ecx
call fcn.00bb7fb0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0xbcd610
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9e0b29
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xorps xmm0, xmm0
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
mov byte [ecx], al
movzx eax, byte [edx + 1]
mov byte [ecx + 1], al
movzx eax, byte [edx + 2]
mov byte [ecx + 2], al
lea eax, [ecx + 4]
mov dword [ebp + 8], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [edx + 4]
movups xmmword [eax], xmm0
movq xmm0, qword [edx + 0x14]
movq qword [eax + 0x10], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0xf
mov byte [edx + 4], 0
mov dword [ebp - 4], 2
lea eax, [ecx + 0x1c]
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [edx + 0x1c]
movups xmmword [eax], xmm0
movq xmm0, qword [edx + 0x2c]
movq qword [eax + 0x10], xmm0
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0xf
mov byte [edx + 0x1c], 0
mov dword [ebp - 4], 5
lea eax, [ecx + 0x34]
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [edx + 0x34]
movups xmmword [eax], xmm0
movq xmm0, qword [edx + 0x44]
movq qword [eax + 0x10], xmm0
mov dword [edx + 0x44], 0
mov dword [edx + 0x48], 0xf
mov byte [edx + 0x34], 0
mov dword [ebp - 4], 8
lea eax, [ecx + 0x4c]
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [edx + 0x4c]
movups xmmword [eax], xmm0
movq xmm0, qword [edx + 0x5c]
movq qword [eax + 0x10], xmm0
mov dword [edx + 0x5c], 0
mov dword [edx + 0x60], 0xf
mov byte [edx + 0x4c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0xbd5ecf
Capabilities:
Parse pe header

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

Function at 0xbfa220
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xbfa24d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xbfa24d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xbff700
Capabilities:
Access peb ldr_data
Encode data using xor
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x18]
push ebx
mov ebx, dword [0x9ed354]
push esi
push edi
push eax
call ebx
lea eax, [ebp - 0x10]
push eax
call ebx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
je 0xbff7e8
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0xbff7e8
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov esi, dword [eax + 0x18]
mov dword [ebp - 8], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 4], ecx
cmp ecx, esi
je 0xbff7a4
mov edi, dword [ecx + 0x18]
test edi, edi
je 0xbff7a4
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
sub ebx, 4
add edx, esi
dec edi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0xbff79d
nop word [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0xbff780
cmp esi, 0x2fa62ca8
je 0xbff7a8
mov esi, dword [eax + 0x18]
test edi, edi
jne 0xbff765
mov eax, dword [eax]
jmp 0xbff740
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
push 0x3e9
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
lea eax, [ebp - 0x20]
push eax
call dword [0x9ed354]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
je 0xbff7e8
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x1c]
jne 0xbff887
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ebp - 4], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 8], ecx
cmp ecx, edx
je 0xbff859
mov edi, dword [ecx + 0x18]
test edi, edi
je 0xbff859
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
nop dword [eax]
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0x811c9dc5
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0xbff852
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0xbff835
cmp esi, 0x2fa62ca8
je 0xbff85d
mov edx, dword [eax + 0x18]
test edi, edi
jne 0xbff820
mov eax, dword [eax]
jmp 0xbff7f4
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
push 1
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov ebx, dword [0x9ed354]
jmp 0xbff715
push 0
push 0x48a6
call fcn.00c8c020
add esp, 8
or eax, edx
je 0xbff89e
mov bl, 1
jmp 0xbff8a0
xor bl, bl
push 0
push 0x480f
call fcn.00c8c020
add esp, 8
mov byte [eax + 0xa190c0], bl
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xc77e80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
push ebx
mov al, byte [eax + 2]
test al, al
setne bl
call dword [0x9ed134]
test eax, eax
movzx ecx, bl
mov edx, 1
cmovne ecx, edx
pushfd
pop eax
mov dword [ebp - 4], eax
test dword [ebp - 4], 0x100
movzx eax, cl
cmovne eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xc88f30
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9eb9f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
mov eax, ecx
mov dword [ebp - 0x1c], edx
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
call fcn.00bbca80
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x28], 0xdf9b81e7
mov dword [ebp - 0x24], 0xf940fadb
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], 0x7dbb92e6
mov dword [ebp - 0x24], 0x14d846fe
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], 0xdf9be395
mov dword [ebp - 0x24], 0xf940fadb
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], 0x7dbb92e6
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x24], 0x14d846fe
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
cmp dword [ebx + 0x1c], 0xf
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x48], eax
lea eax, [ebx + 8]
cmova eax, dword [ebx + 8]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x40]
xorps xmm1, xmmword [ebp - 0x50]
push ecx
push eax
movaps xmmword [ebp - 0x40], xmm1
call fcn.00bdb420
mov edi, eax
add esp, 8
test edi, edi
je 0xc89091
push 2
push 0
push edi
call fcn.00bdf1f6
add esp, 0xc
push edi
call fcn.00bdafab
add esp, 4
mov esi, eax
push 0
push 0
push edi
call fcn.00bdf1f6
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp esi, dword [ebp - 0x1c]
cmova esi, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
cmp esi, edx
ja 0xc89065
mov dword [ecx + 0x10], esi
cmp dword [ecx + 0x14], 0xf
jbe 0xc8905f
mov ecx, dword [ecx]
mov byte [ecx + esi], 0
jmp 0xc89074
mov eax, esi
push 0
sub eax, edx
push eax
call fcn.00bba9c0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [eax + 0x14], 0xf
jbe 0xc8907e
mov eax, dword [eax]
push edi
push esi
push 1
push eax
call fcn.00be3c9f
push edi
call fcn.00bdeca8
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.00ba49f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0xc890c0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9eba2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x38
push esi
mov eax, ecx
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
call fcn.00bbca80
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x20], 0xdf9b81e7
mov dword [ebp - 0x1c], 0xf940fadb
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], 0x7dbb92e6
mov dword [ebp - 0x1c], 0x14d846fe
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0xdf9be395
mov dword [ebp - 0x1c], 0xf940fadb
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0x7dbb92e6
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x1c], 0x14d846fe
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp dword [ebx + 0x1c], 0xf
movaps xmm1, xmmword [ebp - 0x30]
mov dword [ebp - 0x38], eax
lea eax, [ebx + 8]
cmova eax, dword [ebx + 8]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x30]
xorps xmm1, xmmword [ebp - 0x40]
push ecx
push eax
movaps xmmword [ebp - 0x30], xmm1
call fcn.00bdb420
mov edi, eax
add esp, 8
test edi, edi
je 0xc89217
push 2
push 0
push edi
call fcn.00bdf1f6
add esp, 0xc
push edi
call fcn.00bdafab
add esp, 4
mov esi, eax
push 0
push 0
push edi
call fcn.00bdf1f6
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
cmp esi, edx
ja 0xc891eb
mov dword [ecx + 0x10], esi
cmp dword [ecx + 0x14], 0xf
jbe 0xc891e5
mov ecx, dword [ecx]
mov byte [ecx + esi], 0
jmp 0xc891fa
mov eax, esi
push 0
sub eax, edx
push eax
call fcn.00bba9c0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [eax + 0x14], 0xf
jbe 0xc89204
mov eax, dword [eax]
push edi
push esi
push 1
push eax
call fcn.00be3c9f
push edi
call fcn.00bdeca8
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.00ba49f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0xc89240
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9eba62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x38
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0xdf9b81e7
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], 0xdf9be395
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp dword [ebx + 0x1c], 0xf
movaps xmm1, xmmword [ebp - 0x30]
mov dword [ebp - 0x38], eax
lea eax, [ebx + 8]
cmova eax, dword [ebx + 8]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x30]
xorps xmm1, xmmword [ebp - 0x40]
push ecx
push eax
movaps xmmword [ebp - 0x30], xmm1
call fcn.00bdb420
mov edi, eax
add esp, 8
mov dword [ebp - 0x14], edi
test edi, edi
je 0xc893bc
push 2
push 0
push edi
call fcn.00bdf1f6
add esp, 0xc
push edi
call fcn.00bdafab
add esp, 4
mov edi, eax
push 0
push 0
push dword [ebp - 0x14]
call fcn.00bdf1f6
mov ecx, dword [esi + 0x10]
add esp, 0xc
cmp edi, ecx
ja 0xc8938d
mov dword [esi + 0x10], edi
mov eax, esi
cmp dword [esi + 0x14], 0xf
jbe 0xc89387
mov eax, dword [esi]
mov byte [eax + edi], 0
jmp 0xc8939b
mov eax, edi
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00bba9c0
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0xc893a5
mov eax, dword [esi]
push dword [ebp - 0x14]
push edi
push 1
push eax
call fcn.00be3c9f
push dword [ebp - 0x14]
call fcn.00bdeca8
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.00ba49f0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0xc912d0
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], 0x67452301
mov eax, ecx
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x9c], 0
ret
Function at 0xc93340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
test ecx, ecx
je 0xc93513
cmp dword [ecx + 0x20], 0
je 0xc93513
cmp dword [ecx + 0x24], 0
je 0xc93513
mov eax, dword [ecx + 0x1c]
lea edi, [ecx + 0x1c]
test eax, eax
je 0xc93513
cmp dword [eax], ecx
jne 0xc93513
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0xc933a4
cmp eax, 0x39
je 0xc933a4
cmp eax, 0x45
je 0xc933a4
cmp eax, 0x49
je 0xc933a4
cmp eax, 0x5b
je 0xc933a4
cmp eax, 0x67
je 0xc933a4
cmp eax, 0x71
je 0xc933a4
cmp eax, 0x29a
jne 0xc93513
mov edx, dword [edi]
mov dword [ecx + 0x14], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x2c], 2
mov eax, dword [edx + 8]
push esi
mov esi, dword [edx + 0x18]
mov dword [edx + 0x14], 0
mov dword [edx + 0x10], eax
test esi, esi
jns 0xc933dc
neg esi
mov dword [edx + 0x18], esi
cmp esi, 2
jne 0xc933ec
mov dword [edx + 4], 0x39
xor eax, eax
jmp 0xc93405
push ebx
mov ebx, 0x2a
test esi, esi
mov eax, 0x71
cmovne eax, ebx
mov dword [edx + 4], eax
mov eax, 1
pop ebx
mov dword [ecx + 0x30], eax
lea eax, [edx + 0x94]
mov dword [edx + 0xb18], eax
mov ecx, edx
lea eax, [edx + 0x988]
mov dword [edx + 0x28], 0
mov dword [edx + 0xb24], eax
lea eax, [edx + 0xa7c]
mov dword [edx + 0xb30], eax
xor eax, eax
mov dword [edx + 0xb20], 0x9fae64
mov dword [edx + 0xb2c], 0x9fb390
mov dword [edx + 0xb38], 0x9fae78
mov word [edx + 0x16b8], ax
mov dword [edx + 0x16bc], eax
call fcn.00c98900
mov esi, dword [edi]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.00bd75b0
mov eax, dword [esi + 0x84]
add esp, 0xc
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x9f967a]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x9f9678]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x9f967c]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x9f967e]
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
pop edi
ret
mov eax, 0xfffffffe
pop edi
ret
Function at 0xc9a0f0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x100ac], 0
je 0xc9a199
cmp dword [esi + 0x7c], 0
jbe 0xc9a199
mov eax, 0xffffff5c
push ebx
sub eax, esi
lea ebx, [esi + 0xa4]
push edi
mov dword [ebp - 4], eax
movzx eax, byte [ebx]
mov ecx, dword [esi + 0x100d0]
xor eax, ecx
mov edx, dword [esi + 0x100dc]
movzx eax, al
mov edi, dword [esi + 0x100d8]
shr ecx, 8
and edi, 0xfffd
or edi, 2
xor ecx, dword [edx + eax*4]
movzx eax, cl
add eax, dword [esi + 0x100d4]
imul eax, eax, 0x8088405
mov dword [esi + 0x100d0], ecx
mov ecx, dword [esi + 0x100d8]
inc eax
mov dword [esi + 0x100d4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edx + eax*4]
mov eax, edi
xor eax, 1
mov dword [esi + 0x100d8], ecx
imul eax, edi
shr eax, 8
xor byte [ebx], al
inc ebx
mov eax, dword [ebp - 4]
add eax, ebx
cmp eax, dword [esi + 0x7c]
jb 0xc9a120
pop edi
pop ebx
push dword [esi + 0x7c]
lea eax, [esi + 0xa4]
push eax
push dword [esi + 0x2c]
mov eax, dword [esi + 8]
push dword [esi + 0x1c]
call eax
mov ecx, dword [esi + 0x7c]
add esp, 0x10
sub eax, ecx
mov dword [esi + 0x7c], 0
neg eax
sbb eax, eax
add dword [esi + 0x100c0], ecx
mov ecx, dword [esi + 0x48]
adc dword [esi + 0x100c4], 0
add dword [esi + 0x100c8], ecx
mov dword [esi + 0x48], 0
adc dword [esi + 0x100cc], 0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xc9be80
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], 0x12345678
mov dword [esi + 4], 0x23456789
mov dword [esi + 8], 0x34567890
mov cl, byte [ebx]
test cl, cl
je 0xc9befa
push edi
mov eax, 0x12345678
mov edi, 0x23456789
mov edx, 0x34567890
mov ebx, dword [ebp + 8]
movsx ecx, cl
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ebx + ecx*4]
movzx ecx, al
add ecx, edi
mov dword [esi], eax
imul edi, ecx, 0x8088405
inc edi
mov ecx, edi
mov dword [esi + 4], edi
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [ebx + ecx*4]
mov ebx, dword [ebp - 4]
inc ebx
mov dword [esi + 8], edx
mov dword [ebp - 4], ebx
mov cl, byte [ebx]
test cl, cl
jne 0xc9beb7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xcaca00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ecx + 0x1f0]
push ebx
push esi
mov esi, dword [ecx]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x24], eax
push edi
mov edi, edx
lea eax, [ecx*8]
mov dword [esp + 0x14], edi
sub eax, ecx
inc eax
cmp dword [ebp + 0x10], 0
mov edx, dword [edi + 8]
mov ebx, dword [edx + eax*8 + 0x10]
lea ecx, [edx + eax*8]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0xcaca5a
cmp dword [ebp + 0xc], 0
jne 0xcaca9d
cmp word [edx], 1
jg 0xcaca9d
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 8]
test eax, eax
je 0xcaca6a
cmp dword [edi + 0x28], 0
jne 0xcaca9d
cmp dword [ebx + 0x2c], 0
jne 0xcaca9d
cmp dword [edi + 0x24], 0
je 0xcaca80
test eax, eax
je 0xcaca80
cmp dword [ebx + 0x18], 0
jne 0xcaca9d
cmp word [ecx], 0
je 0xcaca9d
test byte [ebx + 6], 1
jne 0xcaca90
test eax, eax
je 0xcacaa6
cmp word [edx], 1
jg 0xcaca9d
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0xcacaa9
mov ecx, dword [ebp + 0xc]
test byte [edi + 6], 1
je 0xcacab5
cmp dword [ebp + 0x10], 0
jne 0xcaca9d
cmp dword [edi + 0x18], 0
je 0xcacac1
cmp dword [ebx + 0x18], 0
jne 0xcaca9d
test ecx, ecx
je 0xcacacb
cmp dword [ebx + 0x18], 0
jne 0xcaca9d
test eax, eax
je 0xcacad5
cmp dword [edi + 0xc], 0
jne 0xcaca9d
mov eax, dword [esp + 0x18]
test byte [eax + 0x15], 0x20
jne 0xcaca9d
cmp dword [ebx + 0x1c], 0
je 0xcacb52
cmp dword [ebx + 0x18], 0
jne 0xcaca9d
test ecx, ecx
jne 0xcaca9d
test byte [edi + 6], 1
jne 0xcaca9d
cmp word [edx], 1
jne 0xcaca9d
Function at 0xcc58d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
mov esi, ecx
mov dword [esp + 0x1c], 0
push edi
mov edi, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov edx, dword [esi + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0
test edx, edx
je 0xcc5bf4
test edi, edi
je 0xcc5bf4
movzx eax, byte [edi]
lea ecx, [eax + 1]
add eax, 0xffffffed
xor ecx, 1
dec ecx
mov dword [esp + 0x2c], ecx
cmp eax, 0x7f
ja 0xcc5b48
movzx eax, byte [eax + 0x9b401c]
jmp dword [eax*4 + 0x9b3ffc]
lea eax, [esp + 0x20]
mov edx, edi
push eax
mov ecx, esi
call fcn.00cc6540
xor ecx, ecx
add esp, 4
cmp dword [ebp + 0xc], ecx
mov edx, 0x1b
setne cl
push ecx
push dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
push eax
call fcn.00cd86f0
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0xcc5bb4
mov al, byte [esi + 0x15]
mov byte [esp + 0x17], al
cmp al, 8
jae 0xcc5bb4
xor ecx, ecx
lea eax, [esi + 0x60]
nop
mov edx, dword [esp + 0x20]
cmp dword [eax + 0x10], edx
je 0xcc5bb0
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0xcc5b90
movzx eax, byte [esp + 0x17]
mov dword [esi + eax*4 + 0x18], edx
inc byte [esi + 0x15]
jmp 0xcc5bb4
mov byte [eax + 9], 1
mov edx, dword [esp + 0x28]
test edx, edx
je 0xcc5bf4
mov al, byte [esi + 0x15]
mov byte [esp + 0x17], al
cmp al, 8
jae 0xcc5bf4
xor ecx, ecx
lea eax, [esi + 0x60]
nop dword [eax]
cmp dword [eax + 0x10], edx
je 0xcc5bf0
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0xcc5bd0
movzx eax, byte [esp + 0x17]
mov dword [esi + eax*4 + 0x18], edx
inc byte [esi + 0x15]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [eax + 9], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret