joyce8/EMBER2024-capa huggingface dataset:
Function at 0x77d2d4
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.KERNEL32.DLL_GetVersionExW
cmp dword [esp + 4], 5
ja 0x77d300
cmp dword [esp + 4], 5
jne 0x77d2fc
cmp dword [esp + 8], 1
jae 0x77d300
xor eax, eax
jmp 0x77d302
mov al, 1
add esp, 0x114
ret

Function at 0x77da88
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x77da9b
add esp, 0xfffffff0
call fcn.004bfcc0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.005302c8
mov eax, dword [0x77dc94]
not eax
and eax, dword [ebx + 0x50]
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x76ff70]
call fcn.0077060c
mov dword [ebx + 0x294], eax
mov dl, 1
mov eax, dword [0x7712cc]
call fcn.00785a30
mov esi, eax
mov dword [ebx + 0x29c], esi
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], 0x7853d4
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], 0x785404
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x58], 0x7853f8
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], 0x7826fc
mov eax, dword [ebx + 0x294]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x77da7c
mov dword [ebx + 0x2a4], 0xff0000
mov dword [ebx + 0x304], 0x1fffffff
mov dword [ebx + 0x308], 0x1fffffff
mov dword [ebx + 0x310], 0x808080
mov dword [ebx + 0x30c], 2
mov ecx, ebx
mov dl, 1
mov eax, dword [0x770e50]
call fcn.00785df0
mov dword [ebx + 0x338], eax
mov dl, 1
mov eax, dword [0x76e2f4]
call fcn.004bf760
mov dword [ebx + 0x370], eax
mov dl, 1
mov eax, ebx
call fcn.0054df64
mov dl, 1
mov eax, dword [0x507428]
call fcn.00510b84
mov dword [ebx + 0x378], eax
mov byte [ebx + 0x37e], 0
mov dword [ebx + 0x388], 0x14
mov dword [ebx + 0x390], 0x808080
mov byte [ebx + 0x3a8], 1
mov dword [ebx + 0x3c8], 0xffffffff
mov dword [ebx + 0x3cc], 0xffffffff
mov byte [ebx + 0x3f8], 0
call sub.KERNEL32.DLL_GetVersion
mov esi, eax
mov eax, esi
movzx edi, al
mov eax, esi
call fcn.004b98a4
movzx eax, al
cmp edi, 5
ja 0x77dbed
cmp edi, 5
jne 0x77dbe9
cmp eax, 1
jae 0x77dbed
xor eax, eax
jmp 0x77dbef
mov al, 1
mov byte [ebx + 0x37c], al
mov ecx, ebx
mov dl, 1
mov eax, dword [0x772144]
call fcn.00787264
mov dword [ebx + 0x394], eax
mov byte [ebx + 0x398], 1
mov byte [ebx + 0x399], 1
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x2a8], eax
mov dword [ebx + 0x39c], 0x1fffffff
mov dword [ebx + 0x3f0], 0x1fffffff
mov dword [ebx + 0x3f4], 0x1fffffff
mov dl, 1
mov eax, dword [0x771ce8]
call fcn.007894c4
mov esi, eax
mov dword [ebx + 0x3ec], esi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], 0x7826f0
mov dl, 1
mov eax, dword [0x4553e4]
call fcn.004bf760
mov dword [ebx + 0x3fc], eax
mov byte [ebx + 0x316], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x77dc8c
call fcn.004bfd18
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x7b8aa8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x7b8ac4
call fcn.007b9c24
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x7b8ae3
test bl, 1
je 0x7b8ae3
call fcn.007c12f0
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x7bd6b4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.007b77b0
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
call fcn.007b78fc
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.007b78fc
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x7e6aed
lea ecx, [ebp - 0x200]
push ecx
call fcn.007b77b0
add esp, 8
push 0xa
lea ecx, [ebp - 0x200]
push ecx
call fcn.007b78fc
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov eax, dword [ebx]
push eax
call fcn.007bee14
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x7bd7c5
push esi
call fcn.007b78fc
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.007b78fc
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.007b6904
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x7bd79c
xor eax, eax
jmp 0x7bd84c
push esi
call fcn.007b78fc
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.007b78fc
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.007b76df
add esp, 0xc
jmp 0x7bd805
mov edi, dword [ebx + 0x24]
push edi
call fcn.007b78fc
pop ecx
push eax
push esi
call fcn.007b78fc
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.007b78fc
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.007b6924
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x7bd805
xor eax, eax
jmp 0x7bd84c
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.007b77b0
add esp, 8
push 0x7e6aef
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.007b77b0
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
mov eax, dword [ebx + 0x24]
push eax
call fcn.007b77b0
add esp, 8
push 0x7e6af1
mov edx, dword [ebx + 0x24]
push edx
call fcn.007b77b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x7c1284
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x7c12b1
jmp 0x7c12e8
call fcn.007c1234
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.007b78fc
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.007b78fc
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x7c136c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x7e7128], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x7c1446
cmp dword [0x7e7124], 0
jne 0x7c1446
cmp dword [0x7e7324], 0
je 0x7c1400
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.007c0d3c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x7c13e6
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.007c0d3c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x7c13e6
lea ebx, [ebp - 0x84]
jmp 0x7c13e7
inc ebx
call fcn.007c1324
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x7c1481
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x7e712c
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.007b78fc
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x7e712f
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x7c1481
cmp dword [0x7e7124], 0
je 0x7c1460
cmp dword [0x7e7124], 0xffffffff
je 0x7c1481
push esi
call dword [0x7e7124]
pop ecx
mov eax, dword [0x7e7128]
test eax, eax
je 0x7c1481
cmp dword [0x7e7128], 0xffffffff
je 0x7c1481
cmp byte [eax], 0
je 0x7c1481
push esi
push eax
call fcn.007c1284
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x7c296c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
jge 0x7c2992
test esi, esi
je 0x7c2992
call fcn.007c12f0
mov dword [eax], 0x13
or eax, 0xffffffff
jmp 0x7c2a04
call fcn.007c2670
mov ebx, eax
test eax, eax
jne 0x7c29ad
call fcn.007c12f0
mov dword [eax], 8
or eax, 0xffffffff
jmp 0x7c2a04
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 4]
mov dword [ebx + 4], edx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebx + 0x58], ecx
push eax
mov edx, dword [ebp + 0x18]
push edx
push ebx
push 0x7c28c8
push esi
mov ecx, dword [ebp + 0x14]
push ecx
call sub.KERNEL32.DLL_CreateThread
test eax, eax
jne 0x7c29f8
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x718
jne 0x7c29f1
push 0x59
call fcn.007b9bb8
pop ecx
jmp 0x7c2a04
call fcn.007b9c24
jmp 0x7c2a04
mov dword [ebx + 8], eax
test edi, edi
je 0x7c2a04
mov edx, dword [ebp - 4]
mov dword [edi], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x7c5188
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.004c2244
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4a3f11
call sub.KERNEL32.DLL_GetLastError
mov edi, eax
push ebp
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4a3f0b
test ah, 4
je 0x4a3f0b
test al, 0x10
je 0x4a3f0b
mov eax, esi
call fcn.004c2244
push eax
call sub.KERNEL32.DLL_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4a3f11
push edi
call sub.KERNEL32.DLL_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
jmp 0x4a3ebc
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 [0x492794]
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.0045d1d4
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 [0x492008]
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.0045d1d4
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 [0x47f370]
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 [0x47f740]
fdiv qword [0x47f738]
pop edi
pop esi
fstp dword [esp]
fld dword [esp]
pop ecx
ret
Function at 0x404e40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x17e4
call fcn.0045d1f0
mov eax, dword [0x492794]
xor eax, esp
mov dword [esp + 0x17e0], eax
mov ecx, dword [str.EAGLS_SYSTEM]
mov edx, dword [0x4807b8]
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 [0x4807bc]
mov dword [esp + 0x28], ecx
mov cl, byte [0x4807c0]
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.0045d240
lea eax, [esp + 0x30]
add esp, 0xc
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x404ec0
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 0x41eab0
push 0x41e8c0
call fcn.0041eb00
add esp, 0x18
xor esi, esi
lea esp, [esp]
call fcn.0041eb20
cdq
idiv dword [esp + 0x10]
add esi, 1
mov dl, byte [esp + edx + 0x24]
xor byte [esp + esi + 0xa3], dl
cmp esi, 0x174b
jl 0x404f00
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.0045d240
add esp, 0x18
nop
mov eax, dword [esp + 0x10]
shr eax, 1
test eax, 0x100
mov dword [esp + 0x10], eax
jne 0x404f71
movzx eax, byte [edi + ebp]
add edi, 1
or eax, 0xff00
mov dword [esp + 0x10], eax
test byte [esp + 0x10], 1
je 0x404f9b
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 0x405007
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 0x405003
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 0x404fd0
mov ebp, dword [esp + 0x14]
cmp edi, dword [esp + 0x20]
jb 0x404f50
mov ecx, dword [esp + 0x17f0]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0045d1d4
add esp, 0x17e4
ret

Function at 0x408c00
Capabilities:
Write file on windows

Disassembly:
push esi
push 0x4aa4d0
call fcn.00401040
mov eax, dword [esp + 0xc]
push 0x480bfc
push eax
call fcn.0045d95d
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x408c3b
push eax
call fcn.0045d81d
add esp, 4
push 0x4aa4d0
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.0045de34
push esi
call fcn.0045d81d
add esp, 0x14
push 0x4aa4d0
call fcn.00401060
add esp, 4
pop esi
ret
Function at 0x41cb30
Capabilities:
Create thread

Disassembly:
push str.EAGLS_MouthMoveEvent
push 1
push 1
push 0
call dword [0x47f0e0]
push 0x515a34
push 0
mov dword [0x515a3c], eax
mov eax, dword [esp + 0xc]
push eax
push 0x41c720
push 0
push 0
call fcn.0045e213
add esp, 0x18
push 0xfffffffffffffffe
push eax
mov dword [0x515a38], eax
call dword [0x47f0e4]
mov eax, 1
ret

Function at 0x41cd40
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x100c]
test ecx, ecx
je 0x41cdb4
call fcn.00454dd0
cmp eax, 2
je 0x41cdb4
mov ecx, dword [esi + 0x100c]
call fcn.00454e50
cmp byte [esp + 8], 0
je 0x41cdcf
mov eax, dword [esi + 0x100c]
push edi
push eax
lea edi, [esi + 8]
push str.MOVIE_EVENT_HANDLER__d
push edi
call fcn.0045d367
add esp, 0xc
push edi
push 0
push 1
push 0
call dword [0x47f0e0]
test eax, eax
mov dword [esi + 4], eax
jne 0x41cdb8
push edi
push str.Event
push 0x515a40
call fcn.0045d367
push 0x515a40
call fcn.00408d80
add esp, 0x10
pop edi
pop esi
ret 4
push esi
push 0
push 0x41cb90
call fcn.0045e488
add esp, 0xc
pop edi
mov dword [esi], eax
pop esi
ret 4
mov dword [esi], 0
pop esi
ret 4
Function at 0x41f2a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x111c
call fcn.0045d1f0
mov eax, dword [0x492794]
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.0045d240
lea eax, [esp + 0x2c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41f2e5
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.0045d240
push str.GlobalSave.sav
lea edx, [esp + 0x130]
push str.Save_s
push edx
call fcn.0045d367
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea eax, [esp + 0x138]
push eax
call dword [0x47f088]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41f386
push 0x48151c
call fcn.00408d80
add esp, 4
push esi
call dword [0x47f084]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1118]
xor ecx, esp
call fcn.0045d1d4
add esp, 0x111c
ret
push ebx
mov ebx, dword [0x47f104]
push 0x1e8480
push 2
call ebx
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
jne 0x41f3c7
push 0x4814f4
call fcn.00408d80
add esp, 4
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1118]
xor ecx, esp
call fcn.0045d1d4
add esp, 0x111c
ret
push ebp
push 0x1e8480
push 2
call ebx
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x24], ebp
jne 0x41f3ef
push 0x4814cc
call fcn.00408d80
add esp, 4
xor eax, eax
jmp 0x41f4e6
push edi
mov edi, dword [0x47f100]
call edi
push ebp
mov ebx, eax
call edi
mov ebp, dword [0x47f10c]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x80
lea edx, [esp + 0xb4]
push edx
push esi
mov edi, eax
call ebp
push 0x10b05c
push 0xf348e0
push ebx
call fcn.004014b0
push 0x10b05c
push edi
push ebx
call fcn.004088e0
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 [0x47f370]
xor edx, edx
mov ecx, 0xff
div ecx
mov byte [esp + 0x13], dl
movsx edx, dl
push edx
call fcn.0045d2ba
mov eax, dword [esp + 0x18]
add esp, 4
xor ebx, ebx
test eax, eax
jle 0x41f49d
lea esp, [esp]
call fcn.0045d2c7
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 0x41f480
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 [0x47f0fc]
push ebp
call edi
mov ebx, dword [esp + 0x24]
push ebx
call edi
mov edi, dword [0x47f0f8]
push ebp
call edi
push ebx
call edi
push esi
call dword [0x47f084]
mov eax, 1
mov ecx, dword [esp + 0x1128]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.0045d1d4
add esp, 0x111c
ret
Function at 0x41f500
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x111c
call fcn.0045d1f0
mov eax, dword [0x492794]
xor eax, esp
mov dword [esp + 0x1118], eax
push ebx
push ebp
push esi
push edi
push str.GlobalSave.sav
lea eax, [esp + 0x12c]
push str.Save_s
push eax
call fcn.0045d367
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [esp + 0x140]
push ecx
call dword [0x47f088]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41f6cd
mov ecx, 0xb
mov esi, str.1qaz2wsx3edc4rfv5tgb6yhn7ujm8ik_9ol.0p____:__
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x51
lea edx, [esp + 0x5b]
push 0
push edx
movsb byte es:[edi], byte [esi]
call fcn.0045d240
lea eax, [esp + 0x34]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41f590
mov esi, dword [0x47f104]
push 0x1e8480
sub eax, edx
push 2
mov dword [esp + 0x28], eax
mov byte [esp + 0x1b], cl
call esi
mov ebp, eax
test ebp, ebp
jne 0x41f5cc
push 0x4814f4
call fcn.00408d80
add esp, 4
xor eax, eax
jmp 0x41f6d2
push 0x1e8480
push 2
call esi
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x41f5f1
push 0x4814cc
call fcn.00408d80
add esp, 4
xor eax, eax
jmp 0x41f6d2
mov esi, dword [0x47f100]
push ebp
call esi
mov edi, eax
mov eax, dword [esp + 0x1c]
push eax
call esi
mov esi, dword [0x47f0ac]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x80
lea edx, [esp + 0xb4]
push edx
push ebx
mov dword [esp + 0x38], eax
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push ebx
call esi
mov eax, dword [esp + 0x18]
push 0
lea edx, [esp + 0x18]
push edx
push eax
push edi
push ebx
call esi
push 0
lea ecx, [esp + 0x18]
push ecx
push 1
lea edx, [esp + 0x1f]
push edx
push ebx
call esi
push ebx
call dword [0x47f084]
movsx eax, byte [esp + 0x13]
push eax
call fcn.0045d2ba
mov eax, dword [esp + 0x1c]
add esp, 4
xor esi, esi
test eax, eax
jle 0x41f692
call fcn.0045d2c7
cdq
idiv dword [esp + 0x20]
add esi, 1
mov cl, byte [esp + edx + 0x28]
xor byte [esi + edi - 1], cl
mov eax, dword [esp + 0x18]
cmp esi, eax
jl 0x41f675
mov esi, dword [esp + 0x24]
push eax
push edi
push esi
call fcn.00404d10
push 0x10b05c
push esi
push 0xf348e0
call fcn.004014b0
mov esi, dword [0x47f0fc]
add esp, 0x18
push ebp
call esi
mov edi, dword [esp + 0x1c]
push edi
call esi
mov esi, dword [0x47f0f8]
push ebp
call esi
push edi
call esi
mov eax, 1
mov ecx, dword [esp + 0x1128]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045d1d4
add esp, 0x111c
ret
Function at 0x4554e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47e8ae
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x492794]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
lea ebx, [esi + 0x7c]
push ebx
push ecx
push edx
mov ecx, esi
call fcn.0045a520
mov ebp, dword [esp + 0x34]
xor edi, edi
push ebp
push edi
lea ecx, [esi + 0x54]
mov dword [esp + 0x28], edi
mov dword [esi], vtable.CBaseRenderer.0
mov dword [esi + 0xc], vtable.CBaseRenderer.2.0
mov dword [esi + 0x10], vtable.CBaseRenderer.1.0
mov dword [esi + 0x50], edi
call fcn.0045a620
push ebp
push 1
lea ecx, [esi + 0x58]
mov byte [esp + 0x28], 1
call fcn.0045a620
push ebp
lea ecx, [esi + 0x5c]
push 1
mov byte [esp + 0x28], 2
call fcn.0045a620
push ebx
mov ebx, dword [0x47f068]
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
call ebx
lea eax, [esi + 0x94]
push eax
call ebx
lea ecx, [esi + 0xc4]
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], 1
push ecx
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
call ebx
cmp dword [ebp], edi
jl 0x4555d7
mov edx, dword [esi + 0x5c]
push edx
call dword [0x47f0dc]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10