joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e620
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2af00d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 0x10], edx
cmp edi, dword [ebp + 0xc]
je 0x48e803
nop
cmp dword [edi + 0x14], 0xf
mov ebx, edi
jbe 0x48e65a
mov ebx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x48e678
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x48e666
push esi
push edi
lea eax, [ebp - 0x20]
mov ecx, edx
push eax
call fcn.004943e0
cmp dword [ebp - 0x1c], 0
jne 0x48e7f4
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x7ffffff
je 0x48e816
add eax, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x24], 0
call fcn.004a5272
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
lea ecx, [ebx + 8]
push edi
call fcn.00487fb0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0x1c]
inc ecx
mov dword [ebp + 8], eax
movss xmm3, dword [edx]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x2d1450]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x2d1450]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x48e79f
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.004c8b50
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.005bda20
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp + 8]
cmp eax, ecx
jae 0x48e775
cmp eax, 0x200
jae 0x48e773
shl eax, 3
cmp eax, ecx
jae 0x48e775
mov eax, ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00499a70
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + 8]
push esi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004943e0
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
jmp 0x48e7a2
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 4]
inc dword [edx + 8]
mov dword [ebx + 4], eax
mov dword [ebx], ecx
mov dword [eax], ebx
mov dword [ecx + 4], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [ebp + 8], ecx
and eax, esi
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x24], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [edx + 4]
jne 0x48e7d4
mov dword [ecx + eax*8], ebx
jmp 0x48e7e7
cmp esi, dword [ebp + 8]
jne 0x48e7de
mov dword [ecx + eax*8], ebx
jmp 0x48e7eb
mov esi, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], esi
jne 0x48e7eb
mov dword [ecx + eax*8 + 4], ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x48e7f7
mov edx, dword [ebp - 0x10]
add edi, 0x18
cmp edi, dword [ebp + 0xc]
jne 0x48e650
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x2c704c
call fcn.004a38ea
int3
Function at 0x4907b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2af694
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 1
lea edi, [esi + 0x10]
mov dword [ebp + 8], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 2
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 4
lea eax, [esi + 0x20]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 5
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 7
lea ebx, [esi + 0x38]
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov dword [ebp - 0x18], ebx
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x490875
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov byte [ebp - 4], 9
lea ecx, [esi + 0x70]
mov al, byte [ebp + 0xc]
mov byte [esi + 0x60], al
push 9
mov byte [esi + 0x68], 9
call fcn.00489af0
mov byte [ebp - 4], 0xa
xor ebx, ebx
mov ecx, dword [edi + 0xc]
mov edx, dword [edi]
mov byte [ebp + 0xf], 1
mov dword [ebp - 0x1c], edx
test ecx, ecx
jns 0x4908bf
mov eax, ecx
neg eax
cmp ebx, eax
jae 0x4908bf
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x4908c9
add ecx, ebx
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
lea eax, [ebp + 0xf]
push ecx
push edx
push eax
push 1
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.004932c0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x490905
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x49b010
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2b075b
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.00487fb0
mov dword [ebp - 4], 2
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
push eax
mov dword [ebp + 8], ecx
call fcn.00487fb0
mov dword [ebp - 4], 5
lea eax, [esi + 0x30]
lea ecx, [edi + 0x30]
push eax
mov dword [ebp - 0x18], ecx
call fcn.00487fb0
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 0x49d610
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2b0b29
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 0x4a5ecf
Capabilities:
Parse pe header

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

Function at 0x4ca220
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4ca24d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4ca24d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4cf700
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
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 [0x2bd354]
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 0x4cf7e8
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x4cf7e8
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 0x4cf7a4
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x4cf7a4
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 0x4cf79d
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 0x4cf780
cmp esi, 0x2fa62ca8
je 0x4cf7a8
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x4cf765
mov eax, dword [eax]
jmp 0x4cf740
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 [0x2bd354]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
je 0x4cf7e8
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x1c]
jne 0x4cf887
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 0x4cf859
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x4cf859
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 0x4cf852
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x4cf835
cmp esi, 0x2fa62ca8
je 0x4cf85d
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x4cf820
mov eax, dword [eax]
jmp 0x4cf7f4
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 [0x2bd354]
jmp 0x4cf715
push 0
push 0x48a6
call fcn.0055c020
add esp, 8
or eax, edx
je 0x4cf89e
mov bl, 1
jmp 0x4cf8a0
xor bl, bl
push 0
push 0x480f
call fcn.0055c020
add esp, 8
mov byte [eax + 0x2e90c0], bl
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x547e80
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 [0x2bd134]
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 0x558f30
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 0x2bb9f8
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.0048ca80
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.004ab420
mov edi, eax
add esp, 8
test edi, edi
je 0x559091
push 2
push 0
push edi
call fcn.004af1f6
add esp, 0xc
push edi
call fcn.004aafab
add esp, 4
mov esi, eax
push 0
push 0
push edi
call fcn.004af1f6
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 0x559065
mov dword [ecx + 0x10], esi
cmp dword [ecx + 0x14], 0xf
jbe 0x55905f
mov ecx, dword [ecx]
mov byte [ecx + esi], 0
jmp 0x559074
mov eax, esi
push 0
sub eax, edx
push eax
call fcn.0048a9c0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [eax + 0x14], 0xf
jbe 0x55907e
mov eax, dword [eax]
push edi
push esi
push 1
push eax
call fcn.004b3c9f
push edi
call fcn.004aeca8
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.004749f0
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 0x5590c0
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 0x2bba2d
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.0048ca80
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.004ab420
mov edi, eax
add esp, 8
test edi, edi
je 0x559217
push 2
push 0
push edi
call fcn.004af1f6
add esp, 0xc
push edi
call fcn.004aafab
add esp, 4
mov esi, eax
push 0
push 0
push edi
call fcn.004af1f6
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
cmp esi, edx
ja 0x5591eb
mov dword [ecx + 0x10], esi
cmp dword [ecx + 0x14], 0xf
jbe 0x5591e5
mov ecx, dword [ecx]
mov byte [ecx + esi], 0
jmp 0x5591fa
mov eax, esi
push 0
sub eax, edx
push eax
call fcn.0048a9c0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [eax + 0x14], 0xf
jbe 0x559204
mov eax, dword [eax]
push edi
push esi
push 1
push eax
call fcn.004b3c9f
push edi
call fcn.004aeca8
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.004749f0
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 0x559240
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 0x2bba62
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.004ab420
mov edi, eax
add esp, 8
mov dword [ebp - 0x14], edi
test edi, edi
je 0x5593bc
push 2
push 0
push edi
call fcn.004af1f6
add esp, 0xc
push edi
call fcn.004aafab
add esp, 4
mov edi, eax
push 0
push 0
push dword [ebp - 0x14]
call fcn.004af1f6
mov ecx, dword [esi + 0x10]
add esp, 0xc
cmp edi, ecx
ja 0x55938d
mov dword [esi + 0x10], edi
mov eax, esi
cmp dword [esi + 0x14], 0xf
jbe 0x559387
mov eax, dword [esi]
mov byte [eax + edi], 0
jmp 0x55939b
mov eax, edi
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0048a9c0
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x5593a5
mov eax, dword [esi]
push dword [ebp - 0x14]
push edi
push 1
push eax
call fcn.004b3c9f
push dword [ebp - 0x14]
call fcn.004aeca8
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.004749f0
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 0x5612d0
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 0x563340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
test ecx, ecx
je 0x563513
cmp dword [ecx + 0x20], 0
je 0x563513
cmp dword [ecx + 0x24], 0
je 0x563513
mov eax, dword [ecx + 0x1c]
lea edi, [ecx + 0x1c]
test eax, eax
je 0x563513
cmp dword [eax], ecx
jne 0x563513
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x5633a4
cmp eax, 0x39
je 0x5633a4
cmp eax, 0x45
je 0x5633a4
cmp eax, 0x49
je 0x5633a4
cmp eax, 0x5b
je 0x5633a4
cmp eax, 0x67
je 0x5633a4
cmp eax, 0x71
je 0x5633a4
cmp eax, 0x29a
jne 0x563513
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 0x5633dc
neg esi
mov dword [edx + 0x18], esi
cmp esi, 2
jne 0x5633ec
mov dword [edx + 4], 0x39
xor eax, eax
jmp 0x563405
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], 0x2cae64
mov dword [edx + 0xb2c], 0x2cb390
mov dword [edx + 0xb38], 0x2cae78
mov word [edx + 0x16b8], ax
mov dword [edx + 0x16bc], eax
call fcn.00568900
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.004a75b0
mov eax, dword [esi + 0x84]
add esp, 0xc
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x2c967a]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x2c9678]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x2c967c]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x2c967e]
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 0x56a0f0
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 0x56a199
cmp dword [esi + 0x7c], 0
jbe 0x56a199
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 0x56a120
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 0x56be80
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 0x56befa
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 0x56beb7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret