joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4201c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479a98
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x51384c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x42025f
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x420249
mov esi, dword [ebp + 8]
test esi, esi
je 0x420249
lea ecx, [ebp - 0x34]
call fcn.00406590
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.00407f00
mov edi, dword [esi]
lea ecx, [ebp - 0x34]
call fcn.00405cb0
push eax
mov eax, dword [edi + 0x10]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push str.Failed_to_get_file_size__32_
mov ecx, esi
call eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
call fcn.004067b0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x420289
push ecx
call fcn.00470120
push eax
call fcn.00466607
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4202a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a078
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x51384c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x420369
lea ecx, [ebp - 0x10]
push ecx
xor edi, edi
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x420349
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x420331
lea ecx, [ebp - 0x38]
call fcn.00406590
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], edi
call fcn.00407f00
mov edi, dword [esi]
lea ecx, [ebp - 0x38]
call fcn.00405cb0
mov edx, dword [edi + 0x10]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push str.Failed_to_get_file_size__64_
mov ecx, esi
call edx
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.004067b0
or eax, 0xffffffff
or edx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x10]
push ecx
push eax
call fcn.0041eb60
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x420331
push ecx
call fcn.00470120
push eax
call fcn.004666fd
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4308e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0x20]
movzx eax, word [ecx + 0x14]
push ebx
push esi
push edi
movzx edi, word [ecx + 6]
xor esi, esi
lea eax, [eax + ecx + 0x18]
test edi, edi
je 0x43091f
mov ebx, dword [ebp + 8]
mov edi, edi
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x43090a
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x430917
add edx, ecx
cmp ebx, edx
jb 0x430921
inc esi
add eax, 0x28
cmp esi, edi
jb 0x430900
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x436cd0
Capabilities:
Hash data using crc32b

Disassembly:
cmp byte [0x515ee4], 0
jne 0x436e9f
push 0x400
call fcn.00462d52
add esp, 4
push ebx
push esi
mov dword [0x515ee8], eax
xor eax, eax
push edi
xor ecx, ecx
test al, 1
je 0x436cff
mov ecx, 0x80
mov edx, eax
shr edx, 1
test dl, 1
je 0x436d0b
or ecx, 0x40
shr edx, 1
test dl, 1
je 0x436d15
or ecx, 0x20
shr edx, 1
test dl, 1
je 0x436d1f
or ecx, 0x10
shr edx, 1
test dl, 1
je 0x436d29
or ecx, 8
shr edx, 1
test dl, 1
je 0x436d33
or ecx, 4
shr edx, 1
test dl, 1
je 0x436d3d
or ecx, 2
test dl, 2
je 0x436d45
or ecx, 1
mov edx, dword [0x515ee8]
shl ecx, 0x18
mov dword [edx + eax*4], ecx
mov edx, dword [0x515ee8]
mov ecx, dword [edx + eax*4]
mov esi, ecx
and esi, 0x80000000
neg esi
sbb esi, esi
and esi, 0x4c11db7
add ecx, ecx
xor esi, ecx
mov dword [edx + eax*4], esi
mov edx, dword [0x515ee8]
mov ecx, dword [edx + eax*4]
mov esi, ecx
and esi, 0x80000000
neg esi
sbb esi, esi
and esi, 0x4c11db7
add ecx, ecx
xor esi, ecx
mov dword [edx + eax*4], esi
mov edx, dword [0x515ee8]
mov ecx, dword [edx + eax*4]
mov esi, ecx
and esi, 0x80000000
neg esi
sbb esi, esi
and esi, 0x4c11db7
add ecx, ecx
xor esi, ecx
mov dword [edx + eax*4], esi
mov edx, dword [0x515ee8]
mov ecx, dword [edx + eax*4]
mov esi, ecx
and esi, 0x80000000
neg esi
sbb esi, esi
and esi, 0x4c11db7
add ecx, ecx
xor esi, ecx
mov dword [edx + eax*4], esi
mov edx, dword [0x515ee8]
mov ecx, dword [edx + eax*4]
mov esi, ecx
and esi, 0x80000000
neg esi
sbb esi, esi
and esi, 0x4c11db7
add ecx, ecx
xor esi, ecx
mov dword [edx + eax*4], esi
mov edx, dword [0x515ee8]
mov ecx, dword [edx + eax*4]
mov esi, ecx
and esi, 0x80000000
neg esi
sbb esi, esi
and esi, 0x4c11db7
add ecx, ecx
xor esi, ecx
mov dword [edx + eax*4], esi
mov edx, dword [0x515ee8]
mov ecx, dword [edx + eax*4]
mov esi, ecx
and esi, 0x80000000
neg esi
sbb esi, esi
and esi, 0x4c11db7
add ecx, ecx
xor esi, ecx
mov dword [edx + eax*4], esi
mov edx, dword [0x515ee8]
mov ecx, dword [edx + eax*4]
mov esi, ecx
and esi, 0x80000000
neg esi
sbb esi, esi
and esi, 0x4c11db7
add ecx, ecx
xor esi, ecx
mov dword [edx + eax*4], esi
mov edi, dword [0x515ee8]
mov edx, dword [edi + eax*4]
xor esi, esi
lea ecx, [esi + 0x1f]
nop
test dl, 1
je 0x436e7e
mov ebx, 1
shl ebx, cl
or esi, ebx
dec ecx
shr edx, 1
cmp ecx, 0xffffffff
jg 0x436e70
mov dword [edi + eax*4], esi
inc eax
cmp eax, 0xff
jbe 0x436cf4
pop edi
pop esi
mov byte [0x515ee4], 1
pop ebx
ret
Function at 0x436ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x51384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x408], eax
test edi, edi
jne 0x436efa
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00462838
mov esp, ebp
pop ebp
ret
push esi
call fcn.00436cd0
or esi, 0xffffffff
cmp dword [ebp - 0x408], 0
jne 0x436f2d
mov eax, dword [0x515ee8]
movzx edx, byte [ebx]
mov ecx, esi
and ecx, 0xff
xor ecx, edx
shr esi, 8
xor esi, dword [eax + ecx*4]
inc ebx
dec edi
jne 0x436f11
jmp 0x437032
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00464140
mov ecx, dword [0x515ee8]
add esp, 0xc
lea esp, [esp]
movzx eax, byte [ebx]
inc dword [ebp + eax*4 - 0x404]
mov edx, esi
and edx, 0xff
xor edx, eax
shr esi, 8
xor esi, dword [ecx + edx*4]
inc ebx
dec edi
jne 0x436f50
mov ecx, dword [ebp - 0x404]
add ecx, dword [ebp - 0x400]
xor ebx, ebx
add ecx, dword [ebp - 0x3fc]
mov eax, 7
add ecx, dword [ebp - 0x3f8]
add ecx, dword [ebp - 0x3f4]
add ecx, dword [ebp - 0x3f0]
add ecx, dword [ebp - 0x3ec]
xor edx, edx
add edx, dword [ebp + eax*4 - 0x404]
add edi, dword [ebp + eax*4 - 0x400]
add eax, 2
cmp eax, 0x7f
jl 0x436fa1
cmp eax, 0x80
jge 0x436fc6
mov ebx, dword [ebp + eax*4 - 0x404]
inc eax
add edi, edx
add ebx, edi
xor edx, edx
xor edi, edi
mov dword [ebp - 0x40c], ebx
cmp eax, 0x100
jge 0x437020
mov ebx, 0x100
sub ebx, eax
cmp ebx, 2
jl 0x437008
jmp 0x436ff0
add edx, dword [ebp + eax*4 - 0x404]
add edi, dword [ebp + eax*4 - 0x400]
add eax, 2
cmp eax, 0xff
jl 0x436ff0
cmp eax, 0x100
jge 0x437016
add ecx, dword [ebp + eax*4 - 0x404]
mov ebx, dword [ebp - 0x40c]
add edi, edx
add ecx, edi
mov eax, dword [ebp - 0x408]
shr ebx, 2
cmp ebx, ecx
sbb edx, edx
neg edx
mov word [eax], dx
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop edi
xor ecx, ebp
not eax
pop ebx
call fcn.00462838
mov esp, ebp
pop ebp
ret
Function at 0x4482a0
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], 0x67452301
mov dword [ecx + 0x14], 0xefcdab89
mov dword [ecx + 0x18], 0x98badcfe
mov dword [ecx + 0x1c], 0x10325476
mov dword [ecx + 0x20], 0xc3d2e1f0
mov dword [ecx + 0x24], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret
Function at 0x449790
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x51384c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov edx, dword [ebx + 0x48]
sub edx, 6
push esi
push edi
test edx, edx
jle 0x4497b9
mov esi, dword [ebp + 8]
mov ecx, edx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x28], esi
test edx, edx
jle 0x4497fb
cmp esi, dword [ebx + 0x48]
jg 0x449911
cmp eax, edx
jge 0x4497ec
cmp ecx, 4
jge 0x4497ef
mov edi, dword [ebp + eax*4 - 0x24]
lea esi, [ecx + esi*4]
inc eax
inc ecx
mov dword [ebx + esi*4 + 0x4c], edi
mov esi, dword [ebp - 0x28]
cmp eax, edx
jl 0x4497d3
cmp ecx, 4
jne 0x4497f7
inc esi
mov dword [ebp - 0x28], esi
xor ecx, ecx
cmp eax, edx
jl 0x4497c6
cmp esi, dword [ebx + 0x48]
jg 0x449911
mov dword [ebp - 0x2c], 0x50fb78
jmp 0x449810
movzx eax, byte [ebp + edx*4 - 0x27]
movzx eax, byte [eax + str.cw]
xor byte [ebp - 0x24], al
movzx eax, byte [ebp + edx*4 - 0x26]
movzx eax, byte [eax + str.cw]
xor byte [ebp - 0x23], al
movzx eax, byte [ebp + edx*4 - 0x25]
movzx eax, byte [eax + str.cw]
xor byte [ebp - 0x22], al
movzx eax, byte [ebp + edx*4 - 0x28]
movzx eax, byte [eax + str.cw]
xor byte [ebp - 0x21], al
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
xor byte [ebp - 0x24], al
add dword [ebp - 0x2c], 4
mov eax, 1
cmp edx, 8
je 0x449876
cmp edx, eax
jle 0x4498cf
mov edi, dword [ebp + eax*4 - 0x28]
xor dword [ebp + eax*4 - 0x24], edi
inc eax
cmp eax, edx
jl 0x449867
jmp 0x4498cf
mov edi, dword [ebp + eax*4 - 0x28]
xor dword [ebp + eax*4 - 0x24], edi
inc eax
cmp eax, 4
jl 0x449876
movzx eax, byte [ebp - 0x18]
movzx eax, byte [eax + str.cw]
xor byte [ebp - 0x14], al
movzx eax, byte [ebp - 0x17]
movzx eax, byte [eax + str.cw]
xor byte [ebp - 0x13], al
movzx eax, byte [ebp - 0x16]
movzx eax, byte [eax + str.cw]
xor byte [ebp - 0x12], al
movzx eax, byte [ebp - 0x15]
movzx eax, byte [eax + str.cw]
xor byte [ebp - 0x11], al
mov eax, 5
mov edi, dword [ebp + eax*4 - 0x28]
xor dword [ebp + eax*4 - 0x24], edi
inc eax
cmp eax, 8
jl 0x4498c1
xor eax, eax
test edx, edx
jle 0x449908
cmp esi, dword [ebx + 0x48]
jg 0x449911
cmp eax, edx
jge 0x4498f9
mov edi, edi
cmp ecx, 4
jge 0x4498fc
mov edi, dword [ebp + eax*4 - 0x24]
lea esi, [ecx + esi*4]
inc eax
inc ecx
mov dword [ebx + esi*4 + 0x4c], edi
mov esi, dword [ebp - 0x28]
cmp eax, edx
jl 0x4498e0
cmp ecx, 4
jne 0x449904
inc esi
mov dword [ebp - 0x28], esi
xor ecx, ecx
cmp eax, edx
jl 0x4498d5
cmp esi, dword [ebx + 0x48]
jle 0x449810
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462838
mov esp, ebp
pop ebp
ret 4
Function at 0x449930
Capabilities:
Encode data using xor

Disassembly:
mov edx, 1
cmp dword [ecx + 0x48], edx
jle 0x449a1a
push esi
lea eax, [ecx + 0x5e]
push edi
jmp 0x449950
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x50f778]
movzx edi, byte [eax - 1]
xor esi, dword [edi*4 + 0x50ef78]
movzx edi, byte [eax]
xor esi, dword [edi*4 + 0x50f378]
movzx edi, byte [eax - 2]
xor esi, dword [edi*4 + 0x50eb78]
inc edx
mov dword [eax - 2], esi
movzx esi, byte [eax + 5]
mov esi, dword [esi*4 + 0x50f778]
movzx edi, byte [eax + 4]
xor esi, dword [edi*4 + 0x50f378]
movzx edi, byte [eax + 3]
xor esi, dword [edi*4 + 0x50ef78]
movzx edi, byte [eax + 2]
xor esi, dword [edi*4 + 0x50eb78]
add eax, 0x10
mov dword [eax - 0xe], esi
movzx esi, byte [eax - 7]
mov esi, dword [esi*4 + 0x50f778]
movzx edi, byte [eax - 8]
xor esi, dword [edi*4 + 0x50f378]
movzx edi, byte [eax - 9]
xor esi, dword [edi*4 + 0x50ef78]
movzx edi, byte [eax - 0xa]
xor esi, dword [edi*4 + 0x50eb78]
mov dword [eax - 0xa], esi
movzx esi, byte [eax - 3]
movzx edi, byte [eax - 4]
mov esi, dword [esi*4 + 0x50f778]
xor esi, dword [edi*4 + 0x50f378]
movzx edi, byte [eax - 5]
xor esi, dword [edi*4 + 0x50ef78]
movzx edi, byte [eax - 6]
xor esi, dword [edi*4 + 0x50eb78]
mov dword [eax - 6], esi
cmp edx, dword [ecx + 0x48]
jl 0x449950
pop edi
pop esi
ret
Function at 0x44a3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
mov ecx, esi
call fcn.0045f620
cmp eax, 0x10
jae 0x44a3ec
mov edi, 0x10
nop
push 0
mov ecx, esi
call fcn.00409ea0
dec edi
jne 0x44a3e0
cmp byte [ebp + 0x18], 0
jne 0x44a414
mov ecx, esi
call fcn.00405cb0
test eax, eax
je 0x44a414
mov ecx, dword [eax]
mov dword [ebx + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x3c], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x40], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x44], edx
cmp dword [ebx + 0x2c], 0
je 0x44a428
pop edi
pop esi
mov eax, 0xfffffffb
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebx + 0x34], 0
je 0x44a43c
pop edi
pop esi
mov eax, 0xfffffffa
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp + 8]
test esi, esi
je 0x44a548
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x44a548
mov ecx, dword [ebx + 0x30]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
sub ecx, 0
mov dword [ebp + 0x18], eax
je 0x44a511
dec ecx
je 0x44a479
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebx + 0x38]
xor eax, dword [esi]
mov ecx, dword [esi + 4]
xor ecx, dword [ebx + 0x3c]
mov edx, dword [esi + 8]
mov edi, dword [ebp + 0x10]
xor edx, dword [ebx + 0x40]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
xor eax, dword [ebx + 0x44]
mov dword [ebp - 0xc], ecx
push edi
lea ecx, [ebp - 0x10]
push ecx
mov ecx, ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.00449a20
mov eax, dword [ebp + 0x18]
dec eax
add esi, 0x10
mov dword [ebp + 0x10], eax
test eax, eax
jle 0x44a539
add edi, 8
mov edx, dword [edi - 8]
xor edx, dword [esi]
mov eax, dword [edi - 4]
xor eax, dword [esi + 4]
mov ecx, dword [esi + 8]
xor ecx, dword [edi]
mov dword [ebp - 0x10], edx
mov edx, dword [edi + 4]
xor edx, dword [esi + 0xc]
mov dword [ebp - 0xc], eax
add edi, 0x10
mov dword [ebp - 8], ecx
lea eax, [edi - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, ebx
mov dword [ebp - 4], edx
call fcn.00449a20
mov eax, dword [ebp + 0x10]
dec eax
add esi, 0x10
mov dword [ebp + 0x10], eax
test eax, eax
jg 0x44a4c0
mov eax, dword [ebp + 0x18]
pop edi
pop esi
shl eax, 7
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edi, eax
test eax, eax
jle 0x44a53c
mov eax, esi
mov esi, dword [ebp + 0x10]
sub eax, esi
mov dword [ebp + 0x10], eax
jmp 0x44a526
mov eax, dword [ebp + 0x10]
push esi
add eax, esi
push eax
mov ecx, ebx
call fcn.00449a20
dec edi
add esi, 0x10
test edi, edi
jg 0x44a523
mov eax, dword [ebp + 0x18]
pop edi
pop esi
shl eax, 7
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x44ad20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0x2c], 0
mov dword [ebp - 4], esi
je 0x44ad3e
mov eax, 0xfffffffb
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esi + 0x30]
cmp ecx, 2
je 0x44ad58
cmp dword [esi + 0x34], 0
jne 0x44ad58
mov eax, 0xfffffffa
pop esi
mov esp, ebp
pop ebp
ret 0x14
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x44aeb0
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x44aeb0
cdq
and edx, 0x7f
push edi
lea edi, [edx + eax]
sar edi, 7
mov eax, ecx
sub eax, 0
mov dword [ebp + 8], edi
je 0x44ae83
dec eax
je 0x44ad97
pop edi
pop ebx
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0x18], 0
je 0x44adba
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
jmp 0x44add4
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp + 0x18], edi
test edi, edi
jle 0x44ae5e
mov eax, dword [ebp + 0x10]
lea edi, [ebx + 8]
sub ebx, eax
add ebx, 0xfffffff8
lea esi, [eax + 8]
mov dword [ebp + 0x10], ebx
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 4]
add ebx, esi
push ebx
call fcn.00449df0
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x14]
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x20]
xor ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
xor dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 8]
mov dword [esi - 8], eax
mov dword [ebp - 0x24], eax
mov eax, dword [edi - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi - 4], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [edi]
mov dword [esi], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 4]
dec eax
mov dword [esi + 4], edx
add edi, 0x10
add esi, 0x10
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp + 0x18], eax
test eax, eax
jg 0x44adf0
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, edi
pop edi
pop ebx
shl eax, 7
pop esi
mov esp, ebp
pop ebp
ret 0x14
test edi, edi
jle 0x44aea2
mov edx, dword [ebp + 0x10]
push edx
push ebx
mov ecx, esi
call fcn.00449df0
add dword [ebp + 0x10], 0x10
dec edi
add ebx, 0x10
test edi, edi
jg 0x44ae87
mov edi, dword [ebp + 8]
mov eax, edi
pop edi
pop ebx
shl eax, 7
pop esi
mov esp, ebp
pop ebp
ret 0x14
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x450a30
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x20]
mov dword [esi + 0x10], 0x12345678
mov dword [esi + 0x14], 0x23456789
mov dword [esi + 0x18], 0x34567890
xor edi, edi
call fcn.004095c0
test eax, eax
jle 0x450abc
jmp 0x450a60
push edi
lea ecx, [esi + 0x20]
call fcn.004071d0
mov ecx, dword [esi + 0x10]
movsx eax, al
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x511160]
shr ecx, 8
xor eax, ecx
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x10], eax
movzx eax, al
add eax, dword [esi + 0x14]
inc edi
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x14], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x511160]
mov dword [esi + 0x18], ecx
lea ecx, [esi + 0x20]
call fcn.004095c0
cmp edi, eax
jl 0x450a60
pop edi
pop esi
pop ebx
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
test ebx, ebx
je 0x450b49
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
and eax, 0xfffd
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
sar edx, 8
xor byte [esi + edi], dl
movsx edx, byte [esi + edi]
mov eax, dword [ecx + 0x10]
xor edx, eax
shr eax, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x511160]
xor edx, eax
movzx eax, dl
add eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], edx
mov edx, dword [ecx + 0x18]
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 0x14], eax
shr eax, 0x18
xor eax, edx
and eax, 0xff
shr edx, 8
xor edx, dword [eax*4 + 0x511160]
inc esi
mov dword [ecx + 0x18], edx
cmp esi, ebx
jb 0x450ae2
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x450e10
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x450e8d
push ebx
mov ebx, dword [ebp + 8]
push esi
movsx ebx, byte [edi + ebx]
mov edx, dword [ecx + 0x10]
xor ebx, edx
mov eax, dword [ecx + 0x18]
shr edx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x511160]
xor ebx, edx
movzx edx, bl
add edx, dword [ecx + 0x14]
mov esi, eax
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 0x14], edx
shr edx, 0x18
xor edx, eax
shr eax, 8
mov dword [ecx + 0x10], ebx
mov ebx, dword [ebp + 8]
and edx, 0xff
xor eax, dword [edx*4 + 0x511160]
and esi, 0xfffd
mov dword [ecx + 0x18], eax
or esi, 2
mov eax, esi
xor eax, 1
imul eax, esi
sar eax, 8
xor byte [edi + ebx], al
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x450e20
pop esi
pop ebx
pop edi
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push eax
mov esi, ecx
call fcn.00450a30
xor ebx, ebx
call fcn.00464eef
mov ecx, eax
sar ecx, 6
mov byte [ebp + 0x13], cl
test cl, cl
jne 0x450ec9
mov byte [ebp + 0x13], al
mov cl, al
mov edi, dword [esi + 0x10]
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x511160]
mov eax, dword [esi + 0x18]
shr edi, 8
xor ecx, edi
mov dword [esi + 0x10], ecx
movzx ecx, cl
add ecx, dword [esi + 0x14]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x14], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x511160]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
and edx, 0xfffd
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
sar eax, 8
xor al, byte [ebp + 0x13]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, 0xa
jl 0x450eb3
mov ebx, dword [ebp + 8]
mov edi, dword [esi + 0x10]
sar ebx, 0x10
mov eax, dword [esi + 0x18]
movsx ecx, bl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x511160]
shr edi, 8
xor ecx, edi
mov dword [esi + 0x10], ecx
movzx ecx, cl
add ecx, dword [esi + 0x14]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x14], ecx
shr ecx, 0x18
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x511160]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
and edx, 0xfffd
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
sar eax, 8
xor al, bl
mov ebx, dword [ebp + 8]
mov byte [ecx + 0xa], al
mov edi, dword [esi + 0x10]
sar ebx, 0x18
mov eax, dword [esi + 0x18]
movsx ecx, bl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x511160]
shr edi, 8
xor ecx, edi
mov dword [esi + 0x10], ecx
movzx ecx, cl
add ecx, dword [esi + 0x14]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x14], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x511160]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
and edx, 0xfffd
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
pop edi
sar eax, 8
xor al, bl
pop esi
mov byte [ecx + 0xb], al
pop ebx
pop ebp
ret 0xc