joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ed31
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push edi
push ecx
call fcn.10009c73
mov edi, eax
mov dword [esp], 0x322
mov dword [ebp - 0x1c], edi
call fcn.10009c73
mov ecx, dword [0x1c0fc8]
mov esi, eax
add ecx, 0x648
push ecx
call fcn.100152fa
mov ecx, dword [0x1c0fc8]
push eax
add ecx, 0x122a
lea eax, [ebp - 0x22c]
push ecx
push 0x1bdf94
push 0x104
push eax
call fcn.1000bdca
push 0
push edi
mov eax, 0x1bdddc
push eax
push esi
push eax
mov eax, dword [0x1c0fc8]
add eax, 0x1020
push eax
call fcn.1000a4a3
add esp, 0x34
lea ecx, [ebp - 0x22c]
push 0
push ecx
push eax
mov eax, dword [0x1c0f94]
call dword [eax + 0x120]
mov eax, dword [0x1c0f94]
push edi
call dword [eax + 0x14]
mov esi, eax
test esi, esi
jne 0x1000edee
mov eax, dword [0x1c0f94]
push edi
call dword [eax + 4]
mov esi, eax
test esi, esi
jne 0x1000edee
lea eax, [ebp - 0x1c]
push eax
call fcn.1000a8de
pop ecx
or eax, 0xffffffff
jmp 0x1000ef1b
lea eax, [ebp - 0x22c]
push eax
mov eax, dword [0x1c0f94]
call dword [eax + 4]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x1000eef0
mov ecx, dword [esi + 0x3c]
add ecx, esi
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x1000eef0
push ebx
lea ebx, [eax + esi]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
add eax, esi
mov dword [ebp - 0x24], eax
add edx, esi
mov eax, dword [ebx + 0x1c]
add eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x18], eax
jbe 0x1000eeef
movzx eax, word [edx + eax*2]
mov edi, dword [ebp - 0x20]
mov edi, dword [edi + eax*4]
add edi, esi
cmp edi, ebx
jb 0x1000ee60
mov eax, dword [ecx + 0x7c]
add eax, ebx
cmp edi, eax
jb 0x1000eedc
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
add eax, esi
push eax
mov eax, dword [0x1c0f94]
push dword [ebp - 0x18]
call dword [eax + 0xc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000eed6
push 8
push eax
push edi
call fcn.10009e4a
add esp, 0xc
test eax, eax
je 0x1000eed6
cmp byte [edi], 0xe9
jne 0x1000eed6
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x1c0f94]
push 0x40
push 8
push edi
call dword [eax + 0xfc]
test eax, eax
je 0x1000eed6
push 8
push dword [ebp - 0x10]
push edi
call fcn.10009d8b
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
add esp, 0xc
push eax
push dword [ebp - 0x14]
mov eax, dword [0x1c0f94]
push 8
push edi
call dword [eax + 0xfc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebx + 0x18]
jb 0x1000ee47
mov edi, dword [ebp - 0x18]
pop ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.1000a8de
pop ecx
test edi, edi
je 0x1000ef07
mov eax, dword [0x1c0f94]
push edi
call dword [eax + 8]
lea eax, [ebp - 0x22c]
push eax
mov eax, dword [0x1c0f94]
call dword [eax + 0x11c]
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1000f1d2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not esi
push edi
mov edi, ecx
test edx, edx
jne 0x1000f1e6
xor eax, eax
jmp 0x1000f219
xor ecx, ecx
test edx, edx
je 0x1000f215
movzx eax, byte [ecx + edi]
xor esi, eax
mov eax, esi
shr esi, 4
and eax, 0xf
xor esi, dword [eax*4 + 0x1bdd00]
mov eax, esi
shr esi, 4
and eax, 0xf
xor esi, dword [eax*4 + 0x1bdd00]
inc ecx
cmp ecx, edx
jb 0x1000f1ec
not esi
mov eax, esi
pop edi
pop esi
pop ebp
ret
Function at 0x100118f7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x1be050
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
call fcn.1000da1e
pop ecx
push 0xf
pop esi
xor ebx, ebx
mov byte [ebp - 9], bl
cmp eax, esi
ja 0x10011923
mov esi, eax
test esi, esi
je 0x10011931
mov ecx, ebx
lea eax, [ecx + 0x41]
mov byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, esi
jb 0x10011925
lea eax, [ebp - 0x18]
push eax
call dword [0x1ba0d8]
cmp dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dh, byte [edi + 0x100]
mov al, byte [edi + 0x101]
jle 0x10011983
inc dh
movzx esi, dh
mov dl, byte [esi + edi]
add al, dl
movzx ecx, al
mov byte [ebp + 0xb], al
mov al, byte [ecx + edi]
mov byte [esi + edi], al
mov byte [ecx + edi], dl
mov al, byte [esi + edi]
mov ecx, dword [ebp - 8]
add al, dl
movzx eax, al
mov al, byte [eax + edi]
xor byte [ebx + ecx], al
inc ebx
mov al, byte [ebp + 0xb]
cmp ebx, dword [ebp - 4]
jl 0x10011950
mov byte [edi + 0x100], dh
mov byte [edi + 0x101], al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100119c6
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x5c], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], eax
ret
Function at 0x10011a84
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
xor edi, edi
lea edx, [esi + 0x1d]
movzx ecx, byte [edx - 1]
movzx eax, byte [edx]
lea edx, [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [ebp + edi*4 - 0x154], ecx
inc edi
cmp edi, 0x10
jl 0x10011a9a
push 0x40
lea ecx, [ebp - 0x14c]
pop edx
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
xor eax, dword [ecx - 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x34], eax
sub edx, 1
jne 0x10011ad1
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov edi, dword [esi + 8]
and dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov ecx, ebx
not ecx
rol edx, 5
and ecx, esi
mov eax, edi
and eax, ebx
or ecx, eax
mov eax, dword [ebp - 0x10]
add edx, ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x5a827999
mov dword [ebp - 0xc], esi
mov esi, edi
mov edi, ebx
add edx, dword [ebp + eax*4 - 0x154]
mov ebx, dword [ebp - 8]
add edx, ecx
ror edi, 2
inc eax
push 0x14
pop ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], eax
cmp eax, ecx
jl 0x10011b06
mov dword [ebp - 4], esi
mov eax, esi
xor eax, edi
rol edx, 5
xor eax, ebx
add edx, eax
mov eax, dword [ebp - 0xc]
add edx, dword [ebp + ecx*4 - 0x154]
add eax, 0x6ed9eba1
add edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
ror edi, 2
inc ecx
mov dword [ebp - 8], edx
cmp ecx, 0x28
jl 0x10011b4f
push 0x28
pop esi
mov ecx, edi
rol edx, 5
or ecx, ebx
add edx, 0x8f1bbcdc
add edx, dword [ebp - 0xc]
and ecx, eax
mov eax, edi
and eax, ebx
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, dword [ebp + esi*4 - 0x154]
mov dword [ebp - 0xc], eax
add edx, ecx
mov eax, edi
mov edi, ebx
mov ebx, dword [ebp - 8]
ror edi, 2
inc esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
cmp esi, 0x3c
jl 0x10011b88
mov esi, dword [ebp - 0x14]
push 0x3c
pop ecx
xor eax, edi
rol edx, 5
add edx, dword [ebp - 0xc]
xor eax, ebx
add eax, 0xca62c1d6
add eax, dword [ebp + ecx*4 - 0x154]
add edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
ror edi, 2
inc ecx
mov dword [ebp - 8], edx
cmp ecx, 0x50
jl 0x10011bcb
add dword [esi + 0xc], eax
add dword [esi + 8], edi
add dword [esi + 4], ebx
add dword [esi], edx
mov eax, dword [ebp - 0xc]
add dword [esi + 0x10], eax
and dword [esi + 0x5c], 0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10011c19
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
mov byte [eax + esi + 0x1c], 0x80
inc dword [esi + 0x5c]
cmp eax, 0x37
mov eax, dword [esi + 0x5c]
jle 0x10011c66
jmp 0x10011c3c
mov byte [eax + esi + 0x1c], 0
inc dword [esi + 0x5c]
mov eax, dword [esi + 0x5c]
cmp eax, 0x40
jl 0x10011c31
call fcn.10011a84
jmp 0x10011c53
mov eax, dword [esi + 0x5c]
mov byte [esi + eax + 0x1c], 0
inc dword [esi + 0x5c]
cmp dword [esi + 0x5c], 0x38
jl 0x10011c48
jmp 0x10011c6b
mov byte [eax + esi + 0x1c], 0
inc dword [esi + 0x5c]
mov eax, dword [esi + 0x5c]
cmp eax, 0x38
jl 0x10011c5b
mov al, byte [esi + 0x1b]
mov ecx, esi
mov byte [esi + 0x54], al
mov al, byte [esi + 0x1a]
mov byte [esi + 0x55], al
mov al, byte [esi + 0x19]
mov byte [esi + 0x56], al
mov al, byte [esi + 0x18]
mov byte [esi + 0x57], al
mov al, byte [esi + 0x17]
mov byte [esi + 0x58], al
mov al, byte [esi + 0x16]
mov byte [esi + 0x59], al
mov al, byte [esi + 0x15]
mov byte [esi + 0x5a], al
mov al, byte [esi + 0x14]
mov byte [esi + 0x5b], al
pop esi
jmp fcn.10011a84

Function at 0x10013d0d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xdeadbeef
add edi, ecx
push 0xc
pop eax
mov edx, edi
mov esi, edi
mov dword [ebp + 0x10], edx
cmp ecx, eax
jbe 0x10013e07
lea eax, [ecx - 0xd]
xor edx, edx
push 0xc
pop ecx
div ecx
inc eax
mov dword [ebp + 8], eax
movzx edx, byte [ebx + 7]
movzx ecx, byte [ebx + 6]
movzx eax, byte [ebx + 5]
shl edx, 8
add edx, ecx
movzx ecx, byte [ebx + 0xb]
shl ecx, 8
shl edx, 8
add edx, eax
movzx eax, byte [ebx + 4]
add esi, eax
shl edx, 8
movzx eax, byte [ebx + 0xa]
add esi, edx
add ecx, eax
movzx edx, byte [ebx + 8]
movzx eax, byte [ebx + 9]
add edx, edi
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
add edx, ecx
movzx ecx, byte [ebx + 3]
shl ecx, 8
mov edi, edx
add ecx, eax
rol edi, 4
movzx eax, byte [ebx + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx]
shl ecx, 8
add ecx, eax
sub ecx, edx
add edx, esi
add ecx, dword [ebp + 0x10]
xor edi, ecx
sub esi, edi
mov eax, edi
add edi, edx
rol eax, 6
xor eax, esi
sub edx, eax
mov ecx, eax
rol ecx, 8
add eax, edi
xor ecx, edx
sub edi, ecx
mov edx, ecx
rol edx, 0x10
add ecx, eax
xor edx, edi
mov esi, edx
sub eax, edx
ror esi, 0xd
add edx, ecx
xor esi, eax
mov dword [ebp + 0x10], edx
sub ecx, esi
mov edi, esi
rol edi, 4
add esi, edx
xor edi, ecx
mov ecx, dword [ebp + 0xc]
push 0xc
pop eax
sub ecx, eax
add ebx, eax
sub dword [ebp + 8], 1
mov dword [ebp + 0xc], ecx
jne 0x10013d44
cmp ecx, eax
ja 0x10013e73
jmp dword [ecx*4 + 0x1b32c1]
xor edi, esi
mov eax, esi
rol eax, 0xe
sub edi, eax
mov eax, edi
mov edx, edi
xor edx, dword [ebp + 0x10]
rol eax, 0xb
sub edx, eax
xor esi, edx
mov eax, edx
ror eax, 7
sub esi, eax
mov eax, esi
xor edi, esi
rol eax, 0x10
sub edi, eax
mov eax, edi
mov ecx, edi
rol eax, 4
xor ecx, edx
sub ecx, eax
mov eax, ecx
xor esi, ecx
rol eax, 0xe
sub esi, eax
mov eax, esi
xor edi, esi
ror eax, 8
sub edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100152b5
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov dword [edx + 0x9c0], 1
mov ecx, dword [edx + 0x9c0]
mov eax, dword [edx + ecx*4 - 4]
shr eax, 0x1e
xor eax, dword [edx + ecx*4 - 4]
imul eax, eax, 0x6c078965
add eax, ecx
mov dword [edx + ecx*4], eax
inc dword [edx + 0x9c0]
cmp dword [edx + 0x9c0], 0x270
jl 0x100152ca
pop ebp
ret

Function at 0x100152fa
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push edi
mov edi, dword [edx + 0x9c0]
cmp edi, 0x270
jl 0x100153ac
push ebx
xor edi, edi
mov ebx, 0x7fffffff
push esi
mov esi, edi
mov ecx, dword [edx + esi*4 + 4]
xor ecx, dword [edx + esi*4]
and ecx, ebx
xor ecx, dword [edx + esi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x1bf02c]
xor ecx, dword [edx + esi*4 + 0x634]
mov dword [edx + esi*4], ecx
inc esi
cmp esi, 0xe3
jl 0x1001531e
mov ecx, dword [edx + esi*4 + 4]
xor ecx, dword [edx + esi*4]
and ecx, ebx
xor ecx, dword [edx + esi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x1bf02c]
xor ecx, dword [edx + esi*4 - 0x38c]
mov dword [edx + esi*4], ecx
inc esi
cmp esi, 0x26f
jl 0x1001534b
mov ecx, dword [edx + 0x9bc]
xor ecx, dword [edx]
and ecx, ebx
xor ecx, dword [edx + 0x9bc]
mov eax, ecx
shr ecx, 1
and eax, 1
pop esi
pop ebx
mov eax, dword [eax*4 + 0x1bf02c]
xor eax, dword [edx + 0x630]
xor eax, ecx
mov dword [edx + 0x9bc], eax
mov dword [edx + 0x9c0], edi
mov ecx, dword [edx + edi*4]
lea eax, [edi + 1]
mov dword [edx + 0x9c0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop edi
pop ebp
ret

Function at 0x10017430
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10017440

Function at 0x100176c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10017970
Function at 0x401650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 8
and eax, 0x8000000f
jns 0x401665
dec eax
or eax, 0xfffffff0
inc eax
cmp dword [ebp + 8], 0
jne 0x401671
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], 0
je 0x40166b
push esi
push edi
movq mm6, qword [section..data]
pxor mm7, mm7
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
shr ecx, 4
jne 0x401693
jmp 0x4016d5
movq mm0, qword [esi]
movq mm1, qword [esi + 8]
movq mm2, mm0
movq mm3, mm1
movq mm4, qword [edi]
movq mm5, qword [edi + 8]
pcmpeqb mm0, mm7
pcmpeqb mm1, mm7
pand mm4, mm0
pand mm5, mm1
pxor mm0, mm6
pxor mm1, mm6
pand mm2, mm0
pand mm3, mm1
por mm2, mm4
por mm3, mm5
movq qword [edi], mm2
movq qword [edi + 8], mm3
lea esi, [esi + 0x10]
lea edi, [edi + 0x10]
dec ecx
jne 0x401693
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
emms
test eax, eax
jne 0x4016ec
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
test eax, eax
mov edx, 1
jle 0x40170f
mov ecx, eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
test al, al
je 0x401705
mov esi, dword [ebp - 4]
mov byte [esi], al
add dword [ebp - 4], edx
add dword [ebp - 8], edx
sub ecx, edx
jne 0x4016f7
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x48f4c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
and ebx, 0x80000007
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
jns 0x40174d
dec ebx
or ebx, 0xfffffff8
inc ebx
test eax, eax
jne 0x401762
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045a554
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x401751
mov dl, byte [ebp + 0x14]
push esi
lea eax, [ebp - 0xc]
push edi
mov dword [ebp - 0x18], eax
mov byte [ebp - 0xc], dl
mov byte [ebp - 0xb], dl
mov byte [ebp - 0xa], dl
mov byte [ebp - 9], dl
mov byte [ebp - 8], dl
mov byte [ebp - 7], dl
mov byte [ebp - 6], dl
mov byte [ebp - 5], dl
movq mm6, qword [0x48f008]
pxor mm7, mm7
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x10]
shr ecx, 3
mov eax, dword [ebp - 0x18]
movq mm1, qword [eax]
jne 0x4017a9
jmp 0x4017cd
movq mm0, qword [esi]
movq mm2, mm1
movq mm4, qword [edi]
pcmpeqb mm0, mm7
pand mm4, mm0
pxor mm0, mm6
pand mm2, mm0
por mm2, mm4
movq qword [edi], mm2
lea esi, [esi + 8]
lea edi, [edi + 8]
dec ecx
jne 0x4017a9
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
emms
test ebx, ebx
pop edi
pop esi
mov eax, 1
je 0x4017f9
jle 0x4017f9
mov ecx, dword [ebp - 0x10]
cmp byte [ecx], 0
je 0x4017ef
mov ecx, dword [ebp - 0x14]
mov byte [ecx], dl
add dword [ebp - 0x14], eax
add dword [ebp - 0x10], eax
sub ebx, eax
jne 0x4017e2
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045a554
mov esp, ebp
pop ebp
ret
Function at 0x402430
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ecx
push esi
push edi
rdtsc
mov dword [esp + 8], eax
mov esi, dword [0x47d388]
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x64
jb 0x402443
rdtsc
sub eax, dword [esp + 8]
mov dword [esp + 8], eax
fild dword [esp + 8]
mov eax, dword [esp + 8]
test eax, eax
jge 0x402468
fadd qword [0x47d740]
fdiv qword [0x47d738]
pop edi
pop esi
fstp dword [esp]
fld dword [esp]
pop ecx
ret
Function at 0x404df0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x17e4
call fcn.0045a570
mov eax, dword [0x48f4c8]
xor eax, esp
mov dword [esp + 0x17e0], eax
mov ecx, dword [str.EAGLS_SYSTEM]
mov edx, dword [0x47e7a0]
mov eax, dword [esp + 0x17e8]
push ebx
push ebp
mov ebp, dword [esp + 0x17f4]
push esi
mov esi, dword [esp + 0x17fc]
push edi
push 0x73
xor ebx, ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
mov eax, dword [0x47e7a4]
mov dword [esp + 0x28], ecx
mov cl, byte [0x47e7a8]
lea edx, [esp + 0x35]
push ebx
push edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], esi
xor edi, edi
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], cl
call fcn.0045a5c0
lea eax, [esp + 0x30]
add esp, 0xc
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x404e70
sub eax, ecx
push 0x174b
mov dword [esp + 0x14], eax
lea eax, [esp + 0xa8]
push ebp
push eax
call fcn.004014b0
movzx ecx, byte [esi + ebp - 1]
push ecx
push 0x41e530
push 0x41e340
call fcn.0041e580
add esp, 0x18
xor esi, esi
lea esp, [esp]
call fcn.0041e5a0
cdq
idiv dword [esp + 0x10]
add esi, 1
mov dl, byte [esp + edx + 0x24]
xor byte [esp + esi + 0xa3], dl
cmp esi, 0x174b
jl 0x404eb0
push 0x174b
lea eax, [esp + 0xa8]
push eax
push ebp
call fcn.004014b0
mov esi, 0xfee
push esi
lea ecx, [esp + 0xb4]
push 0
push ecx
mov dword [esp + 0x28], ebx
call fcn.0045a5c0
add esp, 0x18
nop
mov eax, dword [esp + 0x10]
shr eax, 1
test eax, 0x100
mov dword [esp + 0x10], eax
jne 0x404f21
movzx eax, byte [edi + ebp]
add edi, 1
or eax, 0xff00
mov dword [esp + 0x10], eax
test byte [esp + 0x10], 1
je 0x404f4b
movzx eax, byte [edi + ebp]
mov edx, dword [esp + 0x18]
mov byte [esp + esi + 0xa4], al
mov byte [edx + ebx], al
add esi, 1
add edi, 1
add ebx, 1
and esi, 0xfff
jmp 0x404fb7
movzx ebp, byte [edi + ebp]
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + edi + 1]
add edi, 1
mov ecx, eax
and ecx, 0xf0
shl ecx, 4
or ebp, ecx
and eax, 0xf
add edi, 1
add eax, 2
mov dword [esp + 0x1c], eax
mov ecx, 0
js 0x404fb3
lea esp, [esp]
mov eax, dword [esp + 0x18]
lea edx, [ecx + ebp]
and edx, 0xfff
mov dl, byte [esp + edx + 0xa4]
mov byte [esp + esi + 0xa4], dl
add esi, 1
mov byte [eax + ebx], dl
add ecx, 1
add ebx, 1
and esi, 0xfff
cmp ecx, dword [esp + 0x1c]
jle 0x404f80
mov ebp, dword [esp + 0x14]
cmp edi, dword [esp + 0x20]
jb 0x404f00
mov ecx, dword [esp + 0x17f0]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0045a554
add esp, 0x17e4
ret

Function at 0x408b30
Capabilities:
Write file on windows

Disassembly:
push esi
push 0x4a71f0
call fcn.00401040
mov eax, dword [esp + 0xc]
push 0x47ebe8
push eax
call fcn.0045acdd
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x408b6b
push eax
call fcn.0045ab9d
add esp, 4
push 0x4a71f0
call fcn.00401060
add esp, 4
pop esi
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push esi
push 1
push ecx
push edx
call fcn.0045b1b4
push esi
call fcn.0045ab9d
add esp, 0x14
push 0x4a71f0
call fcn.00401060
add esp, 4
pop esi
ret
Function at 0x41c540
Capabilities:
Create thread

Disassembly:
sub esp, 0x104
mov eax, dword [0x48f4c8]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
mov esi, dword [esp + 0x10c]
push esi
lea eax, [esp + 8]
push str.EAGLS_MouthMoveEvent__d
push eax
call fcn.0045a6e7
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0
push 1
push 0
call dword [0x47d0a4]
lea edx, [esi*4 + 0x53ade8]
push edx
push 0
push esi
push 0x41c100
push 0
push 0
mov dword [esi*4 + 0x53ad70], eax
call fcn.0045b593
add esp, 0x18
push 0xfffffffffffffffe
push eax
mov dword [esi*4 + 0x53acf8], eax
call dword [0x47d0a8]
mov ecx, dword [esp + 0x104]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0045a554
add esp, 0x104
ret

Function at 0x41c7c0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x100c]
test ecx, ecx
je 0x41c834
call fcn.00452170
cmp eax, 2
je 0x41c834
mov ecx, dword [esi + 0x100c]
call fcn.004521f0
cmp byte [esp + 8], 0
je 0x41c84f
mov eax, dword [esi + 0x100c]
push edi
push eax
lea edi, [esi + 8]
push str.MOVIE_EVENT_HANDLER__d
push edi
call fcn.0045a6e7
add esp, 0xc
push edi
push 0
push 1
push 0
call dword [0x47d0a4]
test eax, eax
mov dword [esi + 4], eax
jne 0x41c838
push edi
push str.Event
push 0x53ae60
call fcn.0045a6e7
push 0x53ae60
call fcn.00408cb0
add esp, 0x10
pop edi
pop esi
ret 4
push esi
push 0
push 0x41c610
call fcn.0045b73f
add esp, 0xc
pop edi
mov dword [esi], eax
pop esi
ret 4
mov dword [esi], 0
pop esi
ret 4
Function at 0x41ec40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x111c
call fcn.0045a570
mov eax, dword [0x48f4c8]
xor eax, esp
mov dword [esp + 0x1118], eax
push esi
push edi
mov ecx, 0xb
mov esi, str.1qaz2wsx3edc4rfv5tgb6yhn7ujm8ik_9ol.0p____:__
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x51
lea eax, [esp + 0x53]
push 0
push eax
movsb byte es:[edi], byte [esi]
call fcn.0045a5c0
lea eax, [esp + 0x2c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41ec85
mov ecx, 0xf
mov esi, str._E_nhanced__A_dventure__G_ame__L_anguage__S_ystem_E.A.G.L.S
lea edi, [esp + 0xa0]
push 0x44
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xe0]
sub eax, edx
push 0
push ecx
mov dword [esp + 0x24], eax
call fcn.0045a5c0
push str.GlobalSave.sav
lea edx, [esp + 0x130]
push str.Save_s
push edx
call fcn.0045a6e7
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea eax, [esp + 0x138]
push eax
call dword [0x47d1f4]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41ed26
push 0x47f488
call fcn.00408cb0
add esp, 4
push esi
call dword [0x47d1f8]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1118]
xor ecx, esp
call fcn.0045a554
add esp, 0x111c
ret
push ebx
mov ebx, dword [0x47d0c8]
push 0x1e8480
push 2
call ebx
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
jne 0x41ed67
push 0x47f460
call fcn.00408cb0
add esp, 4
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1118]
xor ecx, esp
call fcn.0045a554
add esp, 0x111c
ret
push ebp
push 0x1e8480
push 2
call ebx
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x24], ebp
jne 0x41ed8f
push 0x47f438
call fcn.00408cb0
add esp, 4
xor eax, eax
jmp 0x41ee86
push edi
mov edi, dword [0x47d0c4]
call edi
push ebp
mov ebx, eax
call edi
mov ebp, dword [0x47d0d0]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x80
lea edx, [esp + 0xb4]
push edx
push esi
mov edi, eax
call ebp
push 0x10b034
push 0xca9848
push ebx
call fcn.004014b0
push 0x10b034
push edi
push ebx
call fcn.00408810
add esp, 0x18
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push 4
lea ecx, [esp + 0x20]
push ecx
push esi
call ebp
call dword [0x47d388]
xor edx, edx
mov ecx, 0xff
div ecx
mov byte [esp + 0x13], dl
movsx edx, dl
push edx
call fcn.0045a63a
mov eax, dword [esp + 0x18]
add esp, 4
xor ebx, ebx
test eax, eax
jle 0x41ee3d
lea esp, [esp]
call fcn.0045a647
cdq
idiv dword [esp + 0x20]
add ebx, 1
mov al, byte [esp + edx + 0x28]
xor byte [ebx + edi - 1], al
mov eax, dword [esp + 0x14]
cmp ebx, eax
jl 0x41ee20
push 0
lea ecx, [esp + 0x1c]
push ecx
push eax
push edi
push esi
call ebp
push 0
lea edx, [esp + 0x1c]
push edx
push 1
lea eax, [esp + 0x1f]
push eax
push esi
call ebp
mov ebp, dword [esp + 0x1c]
mov edi, dword [0x47d0c0]
push ebp
call edi
mov ebx, dword [esp + 0x24]
push ebx
call edi
mov edi, dword [0x47d0bc]
push ebp
call edi
push ebx
call edi
push esi
call dword [0x47d1f8]
mov eax, 1
mov ecx, dword [esp + 0x1128]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.0045a554
add esp, 0x111c
ret