Function at 0x508d80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b379
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x763480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push eax
mov dword [ebp - 0x204], eax
call fcn.00638fad
add esp, 8
test eax, eax
jne 0x50963c
push str.Note:_PackFirst_mode_enabled.__pack__n
call fcn.0051f0f0
add esp, 4
call fcn.0054c630
mov ecx, dword [0x777728]
call fcn.00561250
mov ecx, dword [0x777728]
push 1
call fcn.00561260
call fcn.005d0c60
mov eax, dword [str.effect]
mov dword [ebp - 0x1d8], eax
movzx eax, word [0x6a06e0]
mov dword [ebp - 0x1c4], 0xf
mov dword [ebp - 0x1c8], 6
mov word [ebp - 0x1d4], ax
mov byte [ebp - 0x1d2], 0
movzx eax, word [0x6b5c54]
mov dword [ebp - 0x1c0], 0
mov word [ebp - 0x1c0], ax
movzx eax, byte [0x6b5c56]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1ac], 0xf
mov dword [ebp - 0x1b0], 3
mov byte [ebp - 0x1be], al
mov byte [ebp - 0x1bd], 0
mov dword [ebp - 0x194], 0xf
mov dword [ebp - 0x198], 4
mov dword [ebp - 0x1a8], 0x6e6f6369
mov byte [ebp - 0x1a4], 0
mov dword [ebp - 0x17c], 0xf
mov dword [ebp - 0x180], 4
mov dword [ebp - 0x190], 0x6d657469
mov byte [ebp - 0x18c], 0
mov eax, dword [str.locale]
mov dword [ebp - 0x178], eax
movzx eax, word [0x6b5c5c]
mov dword [ebp - 0x164], 0xf
mov dword [ebp - 0x168], 6
mov word [ebp - 0x174], ax
mov byte [ebp - 0x172], 0
mov dword [ebp - 0x14c], 0xf
mov dword [ebp - 0x150], 4
mov dword [ebp - 0x160], 0x7370616d
mov byte [ebp - 0x15c], 0
mov eax, dword [str.monster]
mov dword [ebp - 0x148], eax
movzx eax, word [0x6b5c64]
mov word [ebp - 0x144], ax
movzx eax, byte [0x6b5c66]
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 7
mov byte [ebp - 0x142], al
mov byte [ebp - 0x141], 0
movzx eax, word [0x6b5c68]
mov dword [ebp - 0x130], 0
mov word [ebp - 0x130], ax
movzx eax, byte [0x6b5c6a]
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 3
mov byte [ebp - 0x12e], al
mov byte [ebp - 0x12d], 0
mov dword [ebp - 0x118], 0
mov eax, 0x6370
mov dword [ebp - 0x104], 0xf
mov dword [ebp - 0x108], 2
mov word [ebp - 0x118], ax
mov byte [ebp - 0x116], 0
movzx eax, word [0x6b5c6c]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xec], 0xf
mov dword [ebp - 0xf0], 3
mov word [ebp - 0x100], ax
movzx eax, byte [0x6b5c6e]
mov byte [ebp - 0xfe], al
mov byte [ebp - 0xfd], 0
movzx eax, word [0x6b5c70]
mov dword [ebp - 0xe8], 0
mov word [ebp - 0xe8], ax
movzx eax, byte [0x6b5c72]
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 3
mov byte [ebp - 0xe6], al
mov byte [ebp - 0xe5], 0
push 8
mov dword [ebp - 0xd0], 0
lea ecx, [ebp - 0xd0]
push str.property
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
call fcn.00457e40
push 6
mov dword [ebp - 0xb8], 0
lea ecx, [ebp - 0xb8]
push str.images
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
call fcn.00457e40
push 5
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0xa0]
push str.sound
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00457e40
push 0xa
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0x88]
push str.textureset
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.00457e40
push 4
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x70]
push str.zone
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00457e40
push 0x180
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0
call fcn.005df3dc
mov esi, eax
add esp, 4
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x1fc], esi
mov dword [ebp - 0x1f8], esi
mov dword [ebp - 0x208], eax
lea ecx, [esi + 0x180]
mov dword [ebp - 0x1f4], ecx
lea edi, [ebp - 0x1d8]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x11
push edi
mov ecx, esi
call fcn.00455a50
add esi, 0x18
lea eax, [ebp - 0x58]
add edi, 0x18
mov dword [ebp - 0x18], esi
cmp edi, eax
jne 0x5091c5
mov dword [ebp - 0x1f8], esi
push fcn.00455610
push 0x10
push 0x18
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 0x13
push eax
call fcn.005df4f9
mov edi, dword [ebp - 0x1fc]
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x208], eax
cmp edi, eax
je 0x5094a3
nop dword [eax]
push 1
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x6b5588
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00457e40
mov ecx, dword [ebp - 0x204]
mov esi, ecx
mov byte [ebp - 4], 0x14
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x509257
mov eax, dword [ebp - 0x14]
sub esi, edx
mov edx, dword [ebp - 0x18]
sub eax, edx
cmp esi, eax
ja 0x5092fe
cmp dword [ebp - 0x14], 0x10
lea eax, [edx + esi]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x18], eax
cmovae edi, dword [ebp - 0x28]
lea eax, [ecx + esi]
cmp eax, edi
jbe 0x5092ab
lea eax, [edi + edx]
cmp ecx, eax
ja 0x5092ab
cmp edi, ecx
ja 0x50929f
mov dword [ebp - 0x200], 0
jmp 0x5092b1
mov eax, edi
sub eax, ecx
mov dword [ebp - 0x200], eax
jmp 0x5092b1
mov dword [ebp - 0x200], esi
lea eax, [edx + 1]
push eax
lea ecx, [edi + esi]
push edi
push ecx
call fcn.00627190
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push edi
call fcn.00627190
mov edx, dword [ebp - 0x200]
mov eax, esi
sub eax, edx
push eax
mov eax, dword [ebp - 0x204]
add eax, edx
lea ecx, [edi + edx]
add eax, esi
push eax
push ecx
call fcn.00627190
mov edi, dword [ebp - 0x20c]
lea eax, [ebp - 0x28]
add esp, 0x24
jmp 0x509318
push esi
push ecx
push 0
mov byte [ebp - 0x210], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x210]
push esi
call fcn.004d3c30
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [edi + 0x14], 0x10
mov eax, edi
mov byte [ebp - 4], 0x15
jb 0x50935d
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.00457cb0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov ecx, dword [0x777728]
cmovae eax, dword [ebp - 0x58]
push 0
push 0x6acd90
push eax
mov byte [ebp - 4], 0x16
call fcn.005605a0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x15
cmp edx, 0x10
jb 0x5093fa
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5093f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x509659
push edx
push ecx
call fcn.005df40c
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x509444
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50943a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x509659
push edx
push ecx
call fcn.005df40c
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0x13
cmp edx, 0x10
jb 0x50948e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x509484
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x509659
push edx
push ecx
call fcn.005df40c
add esp, 8
add edi, 0x18
mov dword [ebp - 0x20c], edi
cmp edi, dword [ebp - 0x208]
jne 0x509220
push 4
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.root
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00457e40
push 1
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x6b5588
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00457e40
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x18
push eax
push dword [ebp - 0x204]
lea eax, [ebp - 0x1f0]
push eax
call fcn.00508060
add esp, 0xc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x19
push ecx
push eax
push dword [ebp - 0x208]
lea ecx, [ebp - 0x28]
call fcn.005082c0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x777728]
cmovae eax, dword [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00560940
lea ecx, [ebp - 0x28]
call fcn.00455610
lea ecx, [ebp - 0x1f0]
call fcn.00455610
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x50958d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x509583
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x509659
push edx
push ecx
call fcn.005df40c
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x5095d3
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5095c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x509659
push edx
push ecx
call fcn.005df40c
add esp, 8
mov eax, dword [ebp - 0x1fc]
test eax, eax
je 0x50963c
lea ecx, [ebp - 0x1fc]
push ecx
push dword [ebp - 0x1f8]
push eax
call fcn.00459b90
mov ecx, dword [ebp - 0x1f4]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1fc]
add esp, 0xc
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x509632
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50965e
push ecx
push esi
call fcn.005df40c
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005df41a
mov esp, ebp
pop ebp
ret
call fcn.00631407
call fcn.00631407
int3