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

Disassembly:
push esi
mov esi, eax
push edi
push esi
call fcn.00459f34
pop ecx
pop ecx
test al, al
jne 0x456b7e
xor eax, eax
pop esi
ret
mov eax, edi
shr eax, 2
xor edx, edx
lea ecx, [esi + eax*4]
neg eax
je 0x456baf
mov esi, dword [ecx + eax*4]
imul esi, esi, 0xcc9e2d51
rol esi, 0xf
imul esi, esi, 0x1b873593
xor edx, esi
rol edx, 0xd
imul edx, edx, 5
add edx, 0xe6546b64
inc eax
jne 0x456b8c
mov eax, edi
and eax, 3
xor esi, esi
dec eax
je 0x456bcf
dec eax
je 0x456bc6
dec eax
jne 0x456be5
movzx esi, byte [ecx + 2]
shl esi, 0x10
movzx eax, byte [ecx + 1]
shl eax, 8
xor esi, eax
movzx eax, byte [ecx]
xor eax, esi
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor edx, eax
xor edx, edi
mov eax, edx
shr eax, 0x10
xor eax, edx
imul eax, eax, 0x85ebca6b
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop esi
ret

Function at 0x456d78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call dword [0x41112c]
mov esi, dword [ebp + 0x10]
xor edx, edx
mov ebx, eax
cmp esi, edx
je 0x456dad
xor eax, eax
cmp dword [ebp + 0x14], edx
jbe 0x456dad
movzx edi, byte [edx + esi]
mov ecx, eax
shl ecx, 3
shl edi, cl
xor ebx, edi
inc edx
inc eax
and eax, 3
cmp edx, dword [ebp + 0x14]
jb 0x456d96
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x456dc7
mov eax, ebx
call fcn.00458d42
mov byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x456db7
push edi
mov edi, dword [ebp + 0xc]
call fcn.00459925
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x4580d7
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
call fcn.00459f34
pop ecx
pop ecx
test al, al
je 0x45818c
push 0x10
push dword [ebp + 0x10]
call fcn.00459f5b
pop ecx
pop ecx
test al, al
je 0x45818c
push dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], esi
lea esi, [ebp - 0x64]
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call fcn.00457975
lea eax, [ebp - 0x54]
push eax
push 8
pop edx
lea ecx, [ebp - 0xc]
call fcn.004580a2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x54]
shr ecx, 3
push 0x38
and ecx, 0x3f
pop eax
cmp ecx, eax
jb 0x45815d
push 0x78
pop eax
sub eax, ecx
push 0x414908
lea esi, [ebp - 0x64]
call fcn.00457975
lea eax, [ebp - 0xc]
push eax
push 8
pop eax
call fcn.00457975
mov ecx, dword [ebp + 0x10]
mov eax, esi
push eax
push 0x10
pop edx
call fcn.004580a2
xor esi, esi
add esp, 0xc
inc esi
mov eax, esi
pop esi
leave
ret
Function at 0x45e255
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp dword [0x42f1a0], 1
push ebx
push ebp
push esi
push edi
jne 0x45e2fd
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0x1c], eax
jle 0x45e2fd
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*8]
mov esi, dword [edx + 4]
xor edi, edi
or edi, dword [edx]
xor ecx, ecx
or esi, ecx
mov ebp, edi
mov ecx, edi
mov ebx, esi
shld ebp, ebx, 0x10
mov eax, esi
shrd eax, ecx, 0x10
shld edi, esi, 0x10
shl ebx, 0x10
xor eax, ebx
shr ecx, 0x10
xor ecx, ebp
shl esi, 0x10
mov ebx, 0xffff
and eax, ebx
and ecx, ebx
xor eax, esi
xor ecx, edi
mov esi, eax
mov ebx, eax
mov ebp, ecx
shld ebp, esi, 8
mov edi, ecx
shrd ebx, edi, 8
shl esi, 8
xor ebx, esi
shr edi, 8
shld ecx, eax, 8
xor edi, ebp
mov esi, 0xff00ff
shl eax, 8
and ebx, esi
xor ebx, eax
mov eax, dword [esp + 0x10]
and edi, esi
xor edi, ecx
inc eax
mov dword [edx], ebx
mov dword [edx + 4], edi
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x1c]
jl 0x45e277
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x45e303
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x45e415
push ebx
push esi
mov ecx, eax
xor esi, esi
xor edx, edx
and ecx, 7
je 0x45e338
mov ebx, dword [ebp + 8]
mov edx, ecx
mov esi, eax
shr esi, 3
mov bl, byte [esi + ebx]
mov cl, 8
sub cl, dl
shr bl, cl
movzx esi, bl
shr eax, 3
mov dword [ebp - 8], eax
lea eax, [edi + 7]
shr eax, 3
xor edi, edi
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x45e413
lea ecx, [eax - 1]
cmp edi, ecx
je 0x45e36d
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [edi + ecx]
shl esi, 8
xor cx, si
movzx esi, cx
add edx, 8
jmp 0x45e39d
mov ecx, dword [ebp + 0x10]
and ecx, 7
mov dword [ebp - 4], 8
je 0x45e37f
mov dword [ebp - 4], ecx
mov ebx, dword [ebp + 0xc]
mov bl, byte [edi + ebx]
mov cl, 8
sub cl, byte [ebp - 4]
shr bl, cl
mov ecx, dword [ebp - 4]
shl si, cl
movzx ebx, bl
or bx, si
movzx esi, bx
add edx, ecx
xor ebx, ebx
lea ecx, [eax - 1]
cmp edi, ecx
setne bl
mov dword [ebp - 0xc], ebx
xor ecx, ecx
cmp edx, 8
setge cl
test dword [ebp - 0xc], ecx
jne 0x45e3cc
xor ebx, ebx
lea ecx, [eax - 1]
cmp edi, ecx
sete bl
xor ecx, ecx
test edx, edx
setg cl
test ecx, ebx
je 0x45e40a
push 8
pop eax
mov dword [ebp - 4], eax
cmp edx, eax
jg 0x45e3d9
mov dword [ebp - 4], edx
mov cl, dl
sub cl, byte [ebp - 4]
mov ebx, esi
shr bx, cl
mov ecx, eax
sub ecx, dword [ebp - 4]
mov eax, 0xff00
shl bl, cl
mov ecx, dword [ebp - 4]
sar eax, cl
mov ecx, dword [ebp - 8]
and bl, al
mov eax, dword [ebp + 8]
inc dword [ebp - 8]
sub edx, dword [ebp - 4]
mov byte [ecx + eax], bl
mov eax, dword [ebp - 0x10]
jmp 0x45e3aa
inc edi
cmp edi, eax
jl 0x45e351
pop esi
pop ebx
pop edi
leave
ret
Function at 0x460311
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x460342
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x460349
cmp ebx, dword [ebp + 8]
jae 0x460349
xor eax, eax
jmp 0x46052f
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x46035a
xor eax, eax
inc eax
jmp 0x46052e
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x46036c
cmp ecx, edx
jae 0x4603d0
cmp dword [eax + 4], 0
je 0x460375
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x460361
cmp dword [ebp + 8], 0
je 0x46038f
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4603d0
cmp eax, esi
jae 0x4603d0
mov ecx, dword [0x42f1b0]
mov esi, ebx
and esi, 0xfffff000
xor eax, eax
test ecx, ecx
jle 0x4603b1
cmp dword [eax*4 + 0x42f1b8], esi
je 0x4603d7
inc eax
cmp eax, ecx
jl 0x4603a3
lea eax, [ebp + 8]
push eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push 0
push ebx
or edi, 0xffffffff
push edi
call fcn.0046053a
test eax, eax
jl 0x460447
mov eax, dword [ebp + 8]
jmp 0x460449
xor eax, eax
jmp 0x46052e
test eax, eax
jle 0x460352
xor edx, edx
mov ebx, 0x42f1f8
inc edx
mov edi, ebx
xchg dword [edi], edx
test edx, edx
jne 0x460352
cmp dword [eax*4 + 0x42f1b8], esi
je 0x460426
lea eax, [ecx - 1]
test eax, eax
jl 0x460413
cmp dword [eax*4 + 0x42f1b8], esi
je 0x46040f
dec eax
jns 0x460403
test eax, eax
jge 0x460424
cmp ecx, 0x10
jge 0x46041f
inc ecx
mov dword [0x42f1b0], ecx
lea eax, [ecx - 1]
jmp 0x460426
je 0x46043e
xor edx, edx
test eax, eax
jl 0x46043e
lea ecx, [edx*4 + 0x42f1b8]
mov edi, dword [ecx]
inc edx
cmp edx, eax
mov dword [ecx], esi
mov esi, edi
jle 0x46042c
xor eax, eax
xchg dword [ebx], eax
jmp 0x460352
xor eax, eax
test eax, eax
je 0x46052c
cmp dword [ebp - 8], 0x1000000
jne 0x46052c
test byte [ebp - 0xc], 0xcc
je 0x4604be
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x46052c
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x46052c
cmp word [eax + 0x18], 0x10b
jne 0x46052c
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x46052c
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4604be
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4604be
test byte [ecx + 0x27], 0x80
jne 0x4603d0
xor eax, eax
inc eax
mov ecx, eax
mov edx, 0x42f1f8
xchg dword [edx], ecx
test ecx, ecx
jne 0x46052e
mov ecx, dword [0x42f1b0]
test ecx, ecx
mov edx, ecx
jle 0x4604ed
lea eax, [ecx*4 + 0x42f1b4]
cmp dword [eax], esi
je 0x4604ed
dec edx
sub eax, 4
test edx, edx
jg 0x4604e1
test edx, edx
jne 0x46051e
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4604fa
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x460512
lea eax, [edx*4 + 0x42f1b8]
mov edi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], esi
mov esi, edi
jle 0x460500
cmp ecx, 0x10
jge 0x46051e
inc ecx
mov dword [0x42f1b0], ecx
xor eax, eax
mov ecx, 0x42f1f8
xchg dword [ecx], eax
jmp 0x460352
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42211b
Capabilities:
Parse pe header

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

Function at 0x4347a0
Capabilities:
Parse pe header

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

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0xbea0b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0xbea200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbea0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbea0c2
add dl, dl
jne 0xbea0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbea134
xor eax, eax
add dl, dl
jne 0xbea0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbea1d5
add dl, dl
jne 0xbea0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbea108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbea113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbea11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbea12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbea0cd
mov eax, 1
add dl, dl
jne 0xbea142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbea14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbea139
sub eax, ebx
mov ebx, 1
jne 0xbea180
mov ecx, 1
add dl, dl
jne 0xbea166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbea171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbea15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbea0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbea197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbea1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbea18e
cmp eax, 0x7d00
jae 0xbea1c5
cmp eax, 0x500
jb 0xbea1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbea0cd
cmp eax, 0x7f
ja 0xbea1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbea0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbea1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbea0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401063
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
push 0x40
push 0x3000
push 0x7d0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401099
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call section..text
leave
ret

Function at 0x4011cd
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jae 0x4011ed
xor eax, eax
jmp 0x4011f0
xor eax, eax
inc eax
leave
ret

Function at 0x403cbd
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6198
call fcn.004337a0
mov eax, dword [0x485bd0]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x1370
push 0
lea eax, [ebp - 0x6198]
push eax
call fcn.00431c00
add esp, 0xc
push 0x44bc20
lea eax, [ebp - 0x6198]
push eax
call fcn.004336b0
pop ecx
pop ecx
lea eax, [ebp - 0x6198]
push eax
call fcn.00433610
pop ecx
lea eax, [ebp - 0x6198]
push eax
call fcn.00433610
pop ecx
lea eax, [ebp - 0x6198]
push eax
call fcn.00433610
pop ecx
lea eax, [ebp - 0x6198]
push eax
call fcn.00433610
pop ecx
lea eax, [ebp - 0x6198]
push eax
call fcn.00433610
pop ecx
mov byte [ebp - 0x4e28], 0
push 0x4e1f
push 0
lea eax, [ebp - 0x4e27]
push eax
call fcn.00431c00
add esp, 0xc
and dword [ebp - 4], 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 1
push dword [ebp + 8]
call fcn.00425587
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
lea eax, [ebp - 0x6198]
push eax
call fcn.00433610
pop ecx
lea eax, [ebp - 0x6198]
push eax
call fcn.00433610
pop ecx
lea eax, [ebp - 0x6198]
push eax
call fcn.00433610
pop ecx
lea eax, [ebp - 0x6198]
push eax
call fcn.00433610
pop ecx
lea eax, [ebp - 0x6198]
push eax
call fcn.00433610
pop ecx
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x4e28]
push eax
push 1
push dword [ebp + 8]
call fcn.00425587
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x403df1
lea eax, [ebp - 0x4e28]
jmp 0x403e4f
mov eax, 0x44bb94
jmp 0x403e4f
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00431c7a
leave
ret
Function at 0x4042a3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push 0x40
push 0
push dword [ebp + 8]
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x4042c2
xor eax, eax
inc eax
jmp 0x4043b9
mov eax, dword [ebp + 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x4042d8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jne 0x4042e0
push 2
pop eax
jmp 0x4043b9
push dword [ebp + 0x10]
push 0xf8
mov eax, dword [ebp + 8]
push dword [eax + 0x3c]
mov eax, dword [ebp + 8]
add eax, 0x40
push eax
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x404307
xor eax, eax
inc eax
jmp 0x4043b9
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0x4550
jne 0x40432c
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x58]
cmp eax, 0x10b
jne 0x40432c
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x46]
test eax, eax
jne 0x404334
push 2
pop eax
jmp 0x4043b9
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x46]
imul eax, eax, 0x28
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x140], eax
mov eax, dword [ebp + 8]
push dword [eax + 0x140]
call fcn.00433805
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x138], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x138], 0
jne 0x404370
push 3
pop eax
jmp 0x4043b9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx + 0x54]
lea eax, [eax + ecx + 0x18]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x13c], eax
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0x140]
mov eax, dword [ebp + 8]
push dword [eax + 0x13c]
mov eax, dword [ebp + 8]
push dword [eax + 0x138]
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x4043b7
xor eax, eax
inc eax
jmp 0x4043b9
xor eax, eax
pop ebp
ret
Function at 0x408da3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x408db3
xor eax, eax
jmp 0x408f36
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x408efc
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x44dea0]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x44dea0]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x44dea0]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x44dea0]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x44dea0]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x44dea0]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x44dea0]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x44dea0]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x408dbc
cmp dword [ebp + 0x10], 0
je 0x408f30
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x44dea0]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp + 0x10], eax
jne 0x408f02
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x408f38
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x44dea0]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
imul eax, eax, 0x8088405
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
shr eax, 0x18
mov ecx, dword [ebp + 8]
xor eax, dword [ecx + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x44dea0]
mov eax, dword [ebp + 8]
mov dword [eax + 8], ecx
pop ebp
ret
Function at 0x421191
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446c9f
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x485bd0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x44], 0
je 0x4211d1
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 0x49]
test eax, eax
jne 0x4211dd
mov al, 1
jmp 0x421369
mov dword [ebp - 0x10], 8
call fcn.0041f95e
push eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x58]
call dword [eax + 0xc]
mov dword [ebp - 0x3c], eax
call fcn.0041f95e
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041f9e2
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x42121d
xor al, al
jmp 0x421369
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00420959
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x34]
call fcn.00414606
mov ecx, eax
call fcn.00415155
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.004215af
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x34]
call fcn.00414606
mov ecx, eax
call fcn.00415155
push eax
mov eax, dword [ebp - 0x58]
add eax, 0x4c
push eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x44]
call fcn.00421af2
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x421295
cmp dword [ebp - 0x5c], 1
je 0x42129c
cmp dword [ebp - 0x5c], 3
je 0x42132e
jmp 0x421343
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x49], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00414606
mov ecx, eax
call fcn.00415155
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x38], ecx
je 0x4212fa
mov eax, dword [ebp - 0x58]
push dword [eax + 0x54]
push dword [ebp - 0x38]
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00414606
mov ecx, eax
call fcn.00415155
push eax
call fcn.00434ff7
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x4212fa
mov byte [ebp - 0x51], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404c24
mov al, byte [ebp - 0x51]
jmp 0x421369
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 0x49]
test eax, eax
jne 0x42131a
mov byte [ebp - 0x52], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404c24
mov al, byte [ebp - 0x52]
jmp 0x421369
cmp dword [ebp - 0x38], 0
jne 0x42132c
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0041508f
jmp 0x421358
mov byte [ebp - 0x53], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404c24
mov al, byte [ebp - 0x53]
jmp 0x421369
mov byte [ebp - 0x54], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404c24
mov al, byte [ebp - 0x54]
jmp 0x421369
jmp 0x42122d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00431c7a
leave
ret