Function at 0x577cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6172d3
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x6ac9e8]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov esi, dword [esp + 0x190]
xor ebx, ebx
mov eax, esi
mov ebp, ecx
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea edi, [eax + 1]
jmp 0x577d10
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x577d10
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00416460
mov dword [esp + 0x38], vtable.CFilename.0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x44]
lea edi, [ebp + 0x74]
push eax
lea ecx, [edi + 4]
mov dword [esp + 0x194], ebx
call fcn.00416950
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x188], 0xffffffff
mov dword [esp + 0x38], vtable.CFilename.0
jb 0x577d6d
mov ecx, dword [esp + 0x40]
push ecx
call fcn.005c5896
add esp, 4
mov ecx, edi
call fcn.004e2fe0
lea ecx, [esp + 0xb8]
call fcn.0051f5b0
push esi
lea ecx, [esp + 0xbc]
mov dword [esp + 0x18c], 1
call fcn.0051fc20
lea ecx, [esp + 0xb8]
test al, al
jne 0x577dba
mov dword [esp + 0x188], 0xffffffff
call fcn.0051f410
xor al, al
jmp 0x578223
call fcn.0051db80
push 0x14
push str.boundingsphereradius
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.00416460
lea esi, [ebp + 0x64]
push esi
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0xc0]
mov byte [esp + 0x190], 2
call fcn.0051e460
test eax, eax
mov edi, 0x10
sete byte [esp + 0x17]
mov byte [esp + 0x188], 1
cmp dword [esp + 0x70], edi
jb 0x577e23
mov eax, dword [esp + 0x5c]
push eax
call fcn.005c5896
add esp, 4
cmp byte [esp + 0x17], bl
je 0x577e2d
fldz
fstp dword [esi]
push 0x16
push str.boundingsphereposition
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.00416460
lea esi, [ebp + 0x68]
push esi
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0xc0]
mov byte [esp + 0x190], 3
call fcn.0051e580
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x188], 1
cmp dword [esp + 0x70], edi
jb 0x577e8c
mov edx, dword [esp + 0x5c]
push edx
call fcn.005c5896
add esp, 4
cmp byte [esp + 0x17], bl
je 0x577e9c
fldz
fst dword [ebp + 0x70]
fst dword [ebp + 0x6c]
fstp dword [esi]
lea ecx, [esp + 0xb8]
xor edi, edi
call fcn.0051dbe0
test eax, eax
jbe 0x577fca
push edi
lea ecx, [esp + 0xbc]
call fcn.0051dcb0
test eax, eax
je 0x577fb5
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x18c], 4
call fcn.0051df20
test eax, eax
je 0x577f99
mov edx, dword [esp + 0x6c]
push 4
push str.mesh
push edx
push ebx
lea ecx, [esp + 0x68]
call fcn.0042ed60
test eax, eax
jne 0x577f1a
mov eax, dword [ebp]
mov edx, dword [eax + 8]
jmp 0x577f71
mov ecx, dword [esp + 0x6c]
push 8
push str.particle
push ecx
push ebx
lea ecx, [esp + 0x68]
call fcn.0042ed60
test eax, eax
jne 0x577f51
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov esi, eax
mov ecx, esi
call fcn.00583b70
lea ecx, [esp + 0xb8]
push ecx
jmp 0x577f86
mov edx, dword [esp + 0x6c]
push 5
push str.light
push edx
push ebx
lea ecx, [esp + 0x68]
call fcn.0042ed60
test eax, eax
jne 0x577f8d
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
mov ecx, ebp
call edx
mov esi, eax
mov ecx, esi
call fcn.00583b70
lea eax, [esp + 0xb8]
push eax
mov ecx, esi
call fcn.00584380
lea ecx, [esp + 0xb8]
call fcn.0051db90
cmp dword [esp + 0x70], 0x10
mov byte [esp + 0x188], 1
jb 0x577fb5
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.005c5896
add esp, 4
lea ecx, [esp + 0xb8]
inc edi
call fcn.0051dbe0
cmp edi, eax
jb 0x577eb2
push 0xd
push str.d:_ymir_work_
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.00416460
mov dword [esp + 0x78], vtable.CFilename.0
lea edx, [esp + 0x98]
push edx
lea ecx, [ebp + 0x74]
mov byte [esp + 0x18c], 5
call fcn.004c12e0
mov edx, dword [esp + 0x80]
mov edi, 0x10
cmp dword [esp + 0x94], edi
jae 0x578032
lea edx, [esp + 0x80]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x578037
sub eax, esi
push eax
push ebx
push edx
lea ecx, [esp + 0xa8]
call fcn.0046d4b0
cmp eax, ebx
jl 0x578199
mov eax, dword [esp + 0xb0]
cmp eax, dword [esp + 0x90]
jbe 0x578199
mov esi, 0xf
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov dword [esp + 0x58], vtable.CFilename.0
push 6
push str.sound_
lea ecx, [esp + 0x24]
mov byte [esp + 0x190], 7
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00416460
mov dword [esp + 0x18], vtable.CFilename.0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x194], 8
call fcn.00416950
mov byte [esp + 0x188], 7
mov dword [esp + 0x18], vtable.CFilename.0
cmp dword [esp + 0x34], edi
jb 0x5780ec
mov edx, dword [esp + 0x20]
push edx
call fcn.005c5896
add esp, 4
mov eax, dword [esp + 0x90]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov esi, eax
cmp eax, dword [esp + 0xb0]
jbe 0x57810f
call fcn.005c5aaf
mov eax, dword [esp + 0xa0]
cmp dword [esp + 0xb4], edi
jae 0x578126
lea eax, [esp + 0xa0]
add esi, eax
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x578130
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x64]
call fcn.004161e0
push 4
push str..mss
lea ecx, [esp + 0x64]
call fcn.004161e0
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x578162
lea eax, [esp + 0x60]
push eax
mov ecx, ebp
call fcn.005779e0
mov esi, vtable.CFilename.0
mov dword [esp + 0x58], esi
cmp dword [esp + 0x74], edi
jb 0x578186
mov eax, dword [esp + 0x60]
push eax
call fcn.005c5896
add esp, 4
mov ebp, 0xf
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jmp 0x5781a3
mov esi, vtable.CFilename.0
mov ebp, 0xf
mov dword [esp + 0x98], esi
cmp dword [esp + 0xb4], edi
jb 0x5781c3
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.005c5896
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov dword [esp + 0x78], esi
cmp dword [esp + 0x94], edi
jb 0x5781f5
mov edx, dword [esp + 0x80]
push edx
call fcn.005c5896
add esp, 4
lea ecx, [esp + 0xb8]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov dword [esp + 0x188], 0xffffffff
call fcn.0051f410
mov al, 1
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.005c5ea5
add esp, 0x178
ret 4