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

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
mov ebp, dword [edx + 0x1050]
push edi
mov edi, dword [edx + 0x105c]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x18]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x413dc3
push ebx
push esi
mov esi, 0xff00
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1058]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x413d9d
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xff
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 2]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x200]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x200]
shr eax, 2
and edx, 0xffff00ff
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x413ce8
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1050]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1050]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x413cbf
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x413dcb
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x105c]
push edi
mov edi, dword [edx + 0x1050]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x413f01
push ebx
mov edx, dword [edx + 0x1058]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x413edc
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0xf
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 2]
mov ecx, eax
and ecx, 0xffff00f0
mov ebx, ebp
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00f0
shr edx, 2
lea ecx, [ecx + ebx + 0x20]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xf0
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0xf
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x413e2a
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1050]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1050]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x413e06
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret

Function at 0x41c7bc
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x41c7e9
push esi
call fcn.0042c2be
cmp byte [esi + 0x40], 0
pop ecx
je 0x41c7e2
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x41c858
mov eax, dword [esi + 0x18c]
cmp byte [eax + 0x10], 0
je 0x41c84d
mov eax, dword [esi + 8]
test eax, eax
je 0x41c80a
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x18c]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x41c849
cmp eax, 2
je 0x41c84d
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41c7ff
cmp eax, 3
je 0x41c82e
cmp eax, 1
jne 0x41c7ff
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x41c7ff
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x41c7ff
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x41c876
cmp eax, 0xcc
je 0x41c876
mov eax, dword [esi]
mov dword [eax + 0x14], 0x12
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.0041c68f
pop esi
ret
Function at 0x42dbc8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x42dbd6
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x42dcaa
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x6dbc38]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x6dbc38]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x6dbc38]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x6dbc38]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x6dbc38]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x6dbc38]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x6dbc38]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x6dbc38]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x42dbf3
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x42dcca
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x6dbc38]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x42dcb0
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x43c42f
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x73a280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, 0xffffffff
je 0x43c539
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x43c532
inc edi
cmp dword [ebp - 0x20], 0x10
jb 0x43c4f6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x43c4f6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x43c4f6
mov edx, dword [esi]
test edx, edx
jne 0x43c4bf
push 0x200
push edx
push dword [0x7c10f0]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x43c51b
lea ebx, [esi + 8]
jmp 0x43c4e9
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
cmp dword [ebx], eax
jb 0x43c4e9
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x7c10f0]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x43c54a
mov dword [esi], edx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [ebx]
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x43c477
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x43c532
xor edi, edi
cmp dword [esi], edi
je 0x43c532
push dword [esi]
push edi
push dword [0x7c10f0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c8a4d
leave
ret
mov ebx, dword [ebp - 0x24]
jmp 0x43c51b

Function at 0x43c54f
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
call fcn.0043c42f
test eax, eax
jne 0x43c56f
push 9
pop esi
jmp 0x43c5b3
cmp dword [edi], esi
je 0x43c5b3
push ebx
mov ebx, esi
cmp dword [edi + 8], esi
jbe 0x43c5b2
mov eax, dword [edi]
push dword [eax + ebx*4]
push esi
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 4], eax
test eax, eax
je 0x43c5ac
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0043c2f0
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [edi + 8]
jb 0x43c57b
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x43c5b9
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x43c605
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x43c5f4
push ebx
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x43c5ed
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x43c5ca
pop ebx
push dword [esi]
push 0
push dword [0x7c10f0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
ret

Function at 0x43c607
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x7c1150]
mov dword [ebp - 8], esi
mov al, byte [esi + 0x14]
mov ebx, dword [esi]
and al, 1
je 0x43c628
sub ebx, 5
movzx eax, al
lea edi, [eax*2 + 5]
lea eax, [ebp - 4]
mov dword [ebp - 0xc], edi
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x43c64c
push 0xa
pop eax
jmp 0x43c692
test byte [esi + 0x14], 1
je 0x43c663
lea esi, [esi + 0xc]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
jmp 0x43c66e
mov eax, dword [esi + 0xc]
mov dword [ebx], eax
mov al, byte [esi + 0x10]
mov byte [ebx + 4], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [esi + 0x14], 0xf9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44a160
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 0xc]
mov eax, edx
mov ecx, dword [ebp + 8]
cmp ecx, edx
cmovbe eax, ecx
cmovbe ecx, edx
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov dword [ebp - 4], ecx
xor eax, eax
movzx ecx, byte [edx]
inc edx
imul eax, eax, 0x1000193
xor eax, ecx
lea ecx, [ebp]
cmp edx, ecx
jb 0x44a181
mov esp, ebp
pop ebp
ret
Function at 0x452010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov edx, esi
push edi
mov edi, dword [ebp + 0x10]
mov ecx, esi
dec edi
mov dword [ebp + 0xc], edx
mov eax, edi
mov dword [ebp - 8], edi
sar eax, 1
mov dword [ebp - 4], eax
cmp esi, eax
jge 0x45206e
nop dword [eax + eax]
lea edi, [ecx + ecx]
push dword [ebx + edi*4 + 4]
mov ecx, dword [ebx + edi*4 + 8]
call fcn.004417f0
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, edi
mov eax, dword [ebx + ecx*4]
mov dword [ebx + esi*4], eax
mov esi, ecx
mov eax, dword [ebp - 4]
cmp ecx, eax
jl 0x452040
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
cmp ecx, eax
jne 0x452082
mov eax, dword [ebp + 0x10]
test al, 1
jne 0x452082
mov eax, dword [ebx + eax*4 - 4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp edx, esi
jge 0x4520a9
mov eax, dword [ebp + 0x14]
lea edi, [esi - 1]
sar edi, 1
push dword [eax]
mov ecx, dword [ebx + edi*4]
call fcn.004417f0
test al, al
je 0x4520a9
mov eax, dword [ebx + edi*4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp dword [ebp + 0xc], edi
jl 0x452086
mov eax, dword [ebp + 0x14]
pop edi
mov eax, dword [eax]
mov dword [ebx + esi*4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4526d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69e58e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x73a280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x74695c], edi
lea edx, [edi + 4]
mov dword [ebp - 4], 0
mov dword [0x748c58], edx
mov dword [edx], vtable.IAbstractCharacterManager.0
lea eax, [edi + 8]
mov dword [eax], vtable.IObjectManager.0
mov dword [0x785afc], eax
lea esi, [edi + 0x20]
mov dword [edi], vtable.CPythonCharacterManager.0
mov dword [edx], vtable.CPythonCharacterManager.1.0
mov dword [eax], vtable.CPythonCharacterManager.2.0
push 0x18
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c8dfe
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0xc
mov byte [ebp - 4], 3
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.005c8dfe
add esp, 8
mov ecx, edi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.00453c80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x462fc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x462fe7
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x462fd6
pop edi
mov eax, edx
pop esi
pop ebp
ret
Function at 0x4a6480
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a14af
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x73a280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x74696c], edi
lea esi, [edi + 4]
mov dword [edi], vtable.CPythonTextTail.0
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c8dfe
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0xc]
mov byte [ebp - 4], 1
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c8dfe
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 2
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c8dfe
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0xc
mov byte [ebp - 4], 3
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.005c8dfe
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x1c], eax
push 0xc
mov byte [ebp - 4], 4
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
call fcn.005c8dfe
add esp, 0x14
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x2c], vtable.CDynamicPool_struct_CPythonTextTail::STextTail_.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.004a7a40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4aa070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x58edadb9
xor ecx, ecx
cmp byte [ebp - 4], cl
jbe 0x4aa0ab
mov eax, dword [ebp - 4]
xor eax, 0x80164043
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub eax, 0x29e08a43
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ecx*4 + 0x748ea0], eax
inc ecx
movzx eax, byte [ebp - 4]
cmp ecx, eax
jb 0x4aa082
movups xmm0, xmmword [0x748f3d]
push esi
xor esi, esi
movups xmmword [0x748e80], xmm0
nop dword [eax]
call fcn.00506a50
mov dword [esi + 0x748e80], eax
add esi, 4
cmp esi, 0x10
jb 0x4aa0c0
pop esi
push 0x10
push 0x748ec5
push 0x748e80
push 0x748e90
call fcn.0050c500
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x4af270
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x73a280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push edi
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push eax
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x18], xmm0
call fcn.004aecb0
push 0x6bc000
push esi
call fcn.00658471
add esp, 8
mov edi, eax
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
movss xmm0, dword [ebp - 0x20]
sub esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x24]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x28]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CenterPos__f__f__f_n
push 0
push edi
call fcn.00523fa0
movss xmm0, dword [ebp - 0x10]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0xc]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebp - 8]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CameraSetting__f__f__f_n
push 0
push edi
call fcn.00523fa0
movss xmm0, dword [ebp - 0x14]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x1c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CmrPos__f__f__f_n
push 0
push edi
call fcn.00523fa0
cvttss2si eax, dword [ebp - 0x14]
push eax
cvttss2si eax, dword [ebp - 0x18]
push eax
cvttss2si eax, dword [ebp - 0x1c]
push eax
cvttss2si eax, dword [ebp - 0x10]
push eax
cvttss2si eax, dword [ebp - 0xc]
push eax
cvttss2si eax, dword [ebp - 8]
push eax
cvttss2si eax, dword [ebp - 0x20]
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
cvttss2si eax, dword [ebp - 0x28]
push eax
push str.Line__x__dy__dz__ddistance__dpitch__drot__dup__dview__dcross__d__n
push 0
push edi
call fcn.00523fa0
add esp, 0x54
push edi
call fcn.0065838a
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
call fcn.005c8a4d
mov esp, ebp
pop ebp
ret 4

Function at 0x4b3750
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
push 0x40
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 0xc

Function at 0x4b3bc0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.00539240
Function at 0x4b6390
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x6bf7fc
push str.interface.cfg
mov edi, ecx
call fcn.00658471
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b63b1
pop edi
xor al, al
pop esi
ret
push esi
push 0xc8
lea eax, [edi + 0x2648]
push 1
push eax
call fcn.006593b3
push esi
call fcn.0065838a
add esp, 0x14
mov al, 1
pop edi
pop esi
ret

Function at 0x4b96d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 1
call dword [sym.imp.DevIL.dll_ilGenImages]
push dword [ebp - 4]
call dword [sym.imp.DevIL.dll_ilBindImage]
push 0x600
call dword [sym.imp.DevIL.dll_ilEnable]
push 0x602
call dword [sym.imp.DevIL.dll_ilOriginFunc]
mov edi, dword [ebp + 8]
push edi
push 0
call dword [sym.imp.DevIL.dll_ilLoad]
test al, al
jne 0x4b9726
mov eax, dword [ebp + 0xc]
pop edi
pop ebx
mov dword [eax], 2
xor al, al
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [sym.imp.DevIL.dll_ilGetInteger]
push 0xde4
call esi
cmp eax, 0x40
je 0x4b974d
mov eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov dword [eax], 3
xor al, al
mov esp, ebp
pop ebp
ret 8
push 0xde5
call esi
cmp eax, 0x80
je 0x4b976f
mov eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov dword [eax], 4
xor al, al
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 4]
push eax
push 1
call dword [sym.imp.DevIL.dll_ilDeleteImages]
call dword [sym.imp.DevIL.dll_ilShutDown]
push 0x6bf7fc
push edi
call fcn.00658471
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b979e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 2
push 2
push 0
push esi
call fcn.00659790
push esi
call fcn.00659eb4
push 0
push 0
push esi
mov dword [ebx + 0x390], eax
call fcn.00659790
push dword [ebx + 0x390]
call fcn.005c91ea
push esi
push 1
push dword [ebx + 0x390]
mov dword [ebx + 0x398], eax
push eax
call fcn.006593b3
push esi
call fcn.0065838a
push edi
call fcn.0050c8b0
add esp, 0x38
mov dword [ebx + 0x394], eax
mov al, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8