joyce8/EMBER2024-capa huggingface dataset:
Function at 0xcc4170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9e50a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 2
lea eax, [esi + 0x30]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x28]
dec eax
cmp eax, 0xd
ja 0xcc4f5c
jmp dword [eax*4 + 0x949c90]
call fcn.00c36c70
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0xcc4e21
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0xcc4e17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xcc5060
push ecx
push edx
call fcn.00d116c1
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00cb2e60
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0xa02a98]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x58], eax
mov al, byte [0xa02a9c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 5
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x54], al
mov byte [ebp - 0x53], 0
mov byte [ebp - 4], 0x48
lea eax, [ebp - 0x58]
push eax
push 0x10
lea eax, [ebp - 0x188]
mov ecx, esi
push eax
call fcn.00cbe610
mov byte [ebp - 4], 0x49
mov ecx, dword [esi + 0x4c]
movq xmm0, qword [esi + 0x44]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], ecx
push eax
lea ecx, [ebp - 0xb8]
movq qword [ebp - 0x20], xmm0
call fcn.00c3d850
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x4a
lea eax, [ebp - 0x108]
mov ecx, dword [ebp - 0x14]
push eax
call fcn.00cbec90
mov byte [ebp - 4], 0x4b
mov ecx, edi
push esi
sub esp, 8
call fcn.00cc50d0
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x108]
call fcn.00c36c70
mov byte [ebp - 4], 0x4d
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x4d
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa8], 0x9e7544
call fcn.00d28ac6
mov byte [ebp - 4], 0x49
lea eax, [ebp - 0xb4]
push eax
mov dword [ebp - 0xb8], 0x9e7544
call fcn.00d28ac6
add esp, 8
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x188]
jmp 0xcc4de4
call fcn.00d2cbc0
call fcn.00d0f853
push dword [ebp + 8]
lea ecx, [ebp - 0x10c]
call fcn.00cc70c0
push 0xa1b41c
lea eax, [ebp - 0x10c]
push eax
call fcn.00d2914b
call fcn.00d2cbc0
nop
scasb al, byte es:[edi]
invalid
Function at 0xcc5110
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9e5417
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
push esi
mov esi, ecx
mov dword [ebp - 0x80], 0
push edi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 2
lea eax, [esi + 0x30]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x28]
dec eax
cmp eax, 0xd
ja 0xcc5fd1
jmp dword [eax*4 + 0x94ad00]
call fcn.00c36c70
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0xcc5e96
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0xcc5e8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xcc60d5
push ecx
push edx
call fcn.00d116c1
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00cb2e60
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xb]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0xa02a98]
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x54], eax
mov al, byte [0xa02a9c]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 5
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x50], al
mov byte [ebp - 0x4f], 0
mov byte [ebp - 4], 0x4f
lea eax, [ebp - 0x54]
push eax
push 0x10
lea eax, [ebp - 0x1a0]
mov ecx, esi
push eax
call fcn.00cbe610
mov byte [ebp - 4], 0x50
mov ecx, dword [esi + 0x4c]
movq xmm0, qword [esi + 0x44]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
push eax
lea ecx, [ebp - 0xe0]
movq qword [ebp - 0x24], xmm0
call fcn.00c3d850
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x51
lea eax, [ebp - 0x130]
mov ecx, dword [ebp - 0x14]
push eax
call fcn.00cbec90
mov byte [ebp - 4], 0x52
mov ecx, edi
push esi
sub esp, 8
call fcn.00cc6140
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 0x51
lea ecx, [ebp - 0x130]
call fcn.00c36c70
mov byte [ebp - 4], 0x54
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x54
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0xd0], 0x9e7544
call fcn.00d28ac6
mov byte [ebp - 4], 0x50
lea eax, [ebp - 0xdc]
push eax
mov dword [ebp - 0xe0], 0x9e7544
call fcn.00d28ac6
add esp, 8
mov byte [ebp - 4], 0x4f
lea ecx, [ebp - 0x1a0]
jmp 0xcc5e59
call fcn.00d2cbc0
push dword [ebp + 8]
lea ecx, [ebp - 0x134]
call fcn.00cc70c0
push 0xa1b41c
lea eax, [ebp - 0x134]
push eax
call fcn.00d2914b
call fcn.00d2cbc0
nop
hlt
Function at 0xcc84a0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9e57eb
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.00cb5a60
mov dword [ebp - 4], 2
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
push eax
mov dword [ebp + 8], ecx
call fcn.00cb5a60
mov dword [ebp - 4], 5
lea eax, [esi + 0x30]
lea ecx, [edi + 0x30]
push eax
mov dword [ebp - 0x18], ecx
call fcn.00cb5a60
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 0xcd3b20
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], 0x67452301
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 0xcd4660
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00cd43e0

Function at 0xcd4690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00cd4670
Function at 0xcda950
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push edi
mov edi, edx
mov ecx, dword [ebx]
mov eax, ecx
xor eax, dword [ebp + 8]
mov edx, dword [ebx + 8]
movzx eax, al
shr ecx, 8
xor ecx, dword [edi + eax*4]
movzx eax, cl
add eax, dword [ebx + 4]
mov dword [ebx], ecx
imul ecx, eax, 0x8088405
mov eax, dword [ebp + 8]
inc ecx
mov dword [ebx + 4], ecx
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [edi + ecx*4]
pop edi
mov dword [ebx + 8], edx
pop ebx
pop ebp
ret

Function at 0xcdbf10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x100ac], ebx
je 0xcdbf76
cmp dword [esi + 0x7c], ebx
jbe 0xcdbf76
mov ecx, 0xffffff5c
lea eax, [esi + 0x100d0]
sub ecx, esi
lea edi, [esi + 0xa4]
mov dword [ebp - 4], ecx
nop
mov ecx, eax
call fcn.00cda930
movzx ecx, byte [edi]
mov ebx, eax
mov edx, dword [esi + 0x100dc]
push ecx
lea ecx, [esi + 0x100d0]
call fcn.00cda950
xor byte [edi], bl
add esp, 4
mov eax, dword [ebp - 4]
inc edi
add eax, edi
cmp eax, dword [esi + 0x7c]
lea eax, [esi + 0x100d0]
jb 0xcdbf40
xor ebx, ebx
mov edi, dword [esi + 0x7c]
lea eax, [esi + 0xa4]
push edi
push eax
push dword [esi + 0x2c]
mov eax, dword [esi + 8]
push dword [esi + 0x1c]
call eax
add esp, 0x10
mov dword [esi + 0x7c], 0
or ecx, 0xffffffff
cmp eax, edi
cmovne ebx, ecx
add dword [esi + 0x100c0], edi
mov ecx, dword [esi + 0x48]
mov eax, ebx
adc dword [esi + 0x100c4], 0
add dword [esi + 0x100c8], ecx
pop edi
adc dword [esi + 0x100cc], 0
mov dword [esi + 0x48], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xce05f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov ebx, ecx
test edi, edi
jle 0xce061d
nop dword [eax]
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0xa00720]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0xce0600
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0xcf5480
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, edx
mov eax, ecx
mov dword [esp + 4], eax
push esi
push edi
test ebx, ebx
je 0xcf55a3
mov edx, 0x44
call fcn.00cdda40
mov edi, eax
test edi, edi
je 0xcf55a3
mov esi, dword [ebp + 8]
mov edx, dword [ebx]
mov ecx, dword [esp + 0xc]
push esi
call fcn.00cf51a0
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi], eax
mov edx, dword [ebx + 8]
push esi
call fcn.00cf5290
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 8], eax
mov edx, dword [ebx + 0xc]
push esi
call fcn.00cf5180
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0xc], eax
mov edx, dword [ebx + 0x10]
push esi
call fcn.00cf51a0
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x10], eax
mov edx, dword [ebx + 0x14]
push esi
call fcn.00cf5180
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x14], eax
mov edx, dword [ebx + 0x18]
push esi
call fcn.00cf51a0
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x18], eax
mov al, byte [ebx + 4]
mov byte [edi + 4], al
mov edx, dword [ebx + 0x1c]
push esi
call fcn.00cf5480
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x1c], eax
mov edx, dword [ebx + 0x28]
push esi
call fcn.00cf5180
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x28], eax
mov edx, dword [ebx + 0x2c]
push esi
call fcn.00cf5180
mov dword [edi + 0x2c], eax
mov ecx, 0xfff7
mov dword [edi + 0x30], 0
add esp, 4
mov dword [edi + 0x34], 0
mov ax, word [ebx + 6]
and ax, cx
mov dword [edi + 0x24], 0
mov word [edi + 6], ax
mov eax, edi
mov dword [edi + 0x38], 0xffffffff
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 0x40], 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xd11fc5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x9e728c]
test eax, eax
je 0xd12004
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xd12004
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xd12004
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0xd12004
cmp dword [ecx + 0x74], 0xe
jbe 0xd12004
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0xd15eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
lea ecx, [edx + 0x3f8]
lea esi, [eax + 0x3f8]
cmp eax, ecx
ja 0xd15eed
cmp esi, edx
jb 0xd15eed
sub edx, eax
mov esi, pe_nt_image_headers32
mov ecx, dword [eax + edx]
lea eax, [eax + 8]
xor dword [eax - 8], ecx
mov ecx, dword [eax + edx - 4]
xor dword [eax - 4], ecx
sub esi, 1
jne 0xd15ed5
pop esi
pop ebp
ret
lea esi, [edx + 0x30]
sub edx, eax
lea ecx, [eax + 0x10]
mov eax, 0x10
nop word [eax + eax]
lea ecx, [ecx + 0x40]
lea esi, [esi + 0x40]
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [esi - 0x70]
pxor xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [edx + ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
movups xmm1, xmmword [esi - 0x50]
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmm0, xmmword [ecx - 0x20]
movups xmm1, xmmword [esi - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
sub eax, 1
jne 0xd15f00
pop esi
pop ebp
ret
Function at 0xd18b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0xa1d048]
xor eax, ebp
mov dword [ebp - 4], eax
xor edx, edx
xor eax, eax
mov cl, dl
mov dword [ebp - 0xc], edx
mov byte [ebp - 0x10], cl
mov cl, byte [ebp - 9]
mov byte [ebp - 0xf], cl
mov cl, byte [ebp - 0xa]
push ebx
mov byte [ebp - 0xe], cl
mov bl, dl
mov cl, byte [ebp - 0xb]
push esi
mov esi, dword [ebp + 8]
mov word [ebp - 8], dx
mov ch, byte [ebp - 7]
mov byte [ebp - 0xd], cl
nop dword [eax]
mov cl, byte [esi + eax]
mov bh, byte [eax + 0x9e8b70]
xor bh, cl
or bh, bl
mov bl, byte [eax + 0x9e8b90]
xor bl, cl
mov byte [ebp - 0x11], bh
or bl, byte [ebp - 0xd]
mov byte [ebp - 0x17], bl
mov byte [ebp - 0xd], bl
mov bl, byte [eax + 0x9e8bb0]
xor bl, cl
or bl, byte [ebp - 0xe]
mov byte [ebp - 0x16], bl
mov byte [ebp - 0xe], bl
mov bl, byte [eax + 0x9e8bd0]
xor bl, cl
or bl, byte [ebp - 0xf]
mov byte [ebp - 0x15], bl
mov byte [ebp - 0xf], bl
mov bl, byte [eax + 0x9e8bf0]
xor bl, cl
or bl, byte [ebp - 0x10]
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x10], bl
mov bl, byte [eax + 0x9e8c10]
xor bl, cl
or bl, ch
mov byte [ebp - 0x13], bl
mov ch, bl
mov bl, byte [eax + 0x9e8c30]
inc eax
xor bl, cl
or bl, dl
mov byte [ebp - 0x12], bl
mov dl, bl
mov bl, bh
cmp eax, 0x1f
jb 0xd18b70
mov bl, byte [eax + esi]
movzx esi, byte [eax + 0x9e8c30]
and bl, 0x7f
movzx ecx, bl
xor esi, ecx
movzx ecx, dl
movzx edx, byte [eax + 0x9e8c10]
or esi, ecx
movzx ecx, bl
dec esi
xor edx, ecx
movzx ecx, byte [ebp - 0x13]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x9e8bf0]
xor edx, ecx
movzx ecx, byte [ebp - 0x14]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x9e8bd0]
xor edx, ecx
movzx ecx, byte [ebp - 0x15]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x9e8bb0]
xor edx, ecx
movzx ecx, byte [ebp - 0x16]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x9e8b90]
movzx eax, byte [eax + 0x9e8b70]
xor edx, ecx
movzx ecx, byte [ebp - 0x17]
or edx, ecx
movzx ecx, bl
xor eax, ecx
dec edx
movzx ecx, bh
or esi, edx
or eax, ecx
mov ecx, dword [ebp - 4]
dec eax
xor ecx, ebp
or eax, esi
shr eax, 8
pop esi
and eax, 1
pop ebx
call fcn.00d11a65
mov esp, ebp
pop ebp
ret

Function at 0xd19490
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [edx], 0x61707865
mov dword [edx + 4], 0x3320646e
mov dword [edx + 8], 0x79622d32
mov dword [edx + 0xc], 0x6b206574
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x2c], eax
pop ebp
ret
Function at 0xd1bed0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x3c], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x30], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x38], eax
mov dword [edx], 0x61707865
mov dword [edx + 4], 0x3320646e
mov dword [edx + 8], 0x79622d32
mov dword [edx + 0xc], 0x6b206574
pop ebp
ret

Function at 0xd26c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
xor eax, eax
mov dword [ebp + 8], 0
push esi
nop word [eax + eax]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + eax]
mov ecx, dword [ebp - 4]
movzx esi, byte [ecx + eax]
inc eax
mov ecx, dword [ebp + 8]
xor esi, edx
or ecx, esi
mov dword [ebp + 8], ecx
cmp eax, 0x10
jl 0xd26c80
mov eax, dword [ebp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
imul eax, dword [ebp + 0xc], 0x3c0
add eax, 0x9e8d40
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.00d27d10
Function at 0xd4ce30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xd4ce5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xd4ce5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xf68612
Capabilities:
Encode data using xor

Disassembly:
mov ah, 0xc6
mov al, 0x68
xchg edi, eax
add eax, 0xc6817e12
add al, 0
add byte [eax], al
or dx, dx
call fcn.00eaee7d
loope 0xf68601
arpl word [eax - 0xc], bp
jmp ecx
test dword [ebx + 0x55111008], ecx
xor eax, 0xcdd4f87b
fnsave dword [ebp + 0x6d6c64ff]
jno 0xf68650
and edi, dword [ebp + 0x3d]
xchg esp, eax
cld
sub ecx, dword [ebp + 0x56]
jae 0xf68616
cmp al, 0xf4
loope 0xf68642
mov ebx, 0xfe561a22
cmp al, 0xf4
loope 0xf685f7
push esi
invalid
retf
mov eax, dword [0x1e1622ef]
inc edx
pop eax
xchg byte [ecx + 0x35518503], bh
push 0x70
test dword [esi - 0x38720e78], esp
outsb dx, byte [esi]
ret 0x1e0b
Function at 0x4010f6
Capabilities:
Get memory capacity
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4476f0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00421c70
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp eax, 1
jne 0x40113b
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
jmp 0x40113f
xor ecx, ecx
xor eax, eax
test eax, eax
ja 0x401155
jb 0x40114d
cmp ecx, 0x309
jae 0x401155
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421cea
leave
ret
Function at 0x40141b
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x619c
call fcn.00421d00
mov eax, dword [0x4476f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1370
xor ebx, ebx
lea eax, [ebp - 0x1374]
push ebx
push eax
mov dword [ebp - 0x6198], edi
call fcn.00421c70
add esp, 0xc
push str.Delosperma_lavisiae_is_a_species_of_flowering_plant_in_the_family_Aizoaceae__native_to_South_Africa_Free_State_and_KwaZulu_Natal_and_Lesotho
lea eax, [ebp - 0x1374]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
push 0x4e1f
lea eax, [ebp - 0x6193]
push ebx
push eax
mov byte [ebp - 0x6194], bl
call fcn.00421c70
add esp, 0xc
push ebx
push ebx
lea eax, [ebp - 0x619c]
push eax
push ebx
push 1
push edi
mov dword [ebp - 0x619c], ebx
call fcn.004196cf
pop ecx
push eax
push edi
mov edi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
call edi
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
push ebx
push ebx
lea eax, [ebp - 0x619c]
push eax
lea eax, [ebp - 0x6194]
push eax
push 1
push dword [ebp - 0x6198]
call fcn.004196cf
pop ecx
push eax
push dword [ebp - 0x6198]
call edi
pop edi
pop esi
test eax, eax
pop ebx
lea eax, [ebp - 0x6194]
jne 0x40151a
mov eax, 0x4382a8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421cea
leave
ret

Function at 0x403ab8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x403ad6
xor eax, eax
inc eax
jmp 0x403b61
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x403b5e
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x403b5e
push dword [ebp + 0xc]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x403ace
cmp dword [edi], 0x4550
jne 0x403b5e
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x403b5e
movzx eax, word [esi + 0x46]
test ax, ax
je 0x403b5e
mov edi, eax
imul edi, edi, 0x28
push edi
mov dword [esi + 0x140], edi
call fcn.00421d2b
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x403b3a
push 3
jmp 0x403b60
movzx ecx, word [esi + 0x54]
push dword [ebp + 0xc]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
push edi
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x403b61
push 2
pop eax
pop edi
pop ebp
ret
Function at 0x40561b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x405629
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x4056e4
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d058]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d058]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d058]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d058]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d058]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d058]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d058]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d058]
add edx, 8
sub edi, 8
dec esi
jne 0x405647
pop ebx
test edi, edi
je 0x4056fd
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x43d058]
inc edx
dec edi
jne 0x4056e8
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x405703
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x43d058]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x43d058]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret