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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea esi, [ebp - 0x1c]
mov ebx, ecx
sub esp, 0x6c
mov eax, dword [0x57be84]
mov dword [esp + 4], esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.0044eb80
sub esp, 0xc
mov ecx, esi
lea edi, [ebx + 0x38]
call fcn.004b7d60
mov eax, dword [ebp + 0xc]
mov dword [ebx], vtable.TD.0
mov ecx, esi
mov dword [ebx + 0x28], 5
mov dword [ebx + 0x30], 7
mov dword [ebx + 0x34], 0
mov dword [ebp - 0x50], edi
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0xc]
sub eax, 4
and eax, 0xfffffffb
setne al
movzx eax, al
add eax, 1
mov dword [ebx + 0x2c], eax
mov eax, dword [0x57c2c8]
mov dword [esp + 4], 1
mov dword [esp], 2
mov dword [ebp - 0x2c], eax
call eax
mov edx, dword [0x57c260]
fldz
sub esp, 8
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], 0x10
mov ecx, edi
mov dword [esp + 0xc], 1
fstp qword [esp + 4]
mov dword [esp], esi
mov dword [ebp - 0x30], edx
call edx
mov edi, dword [0x57c2d8]
sub esp, 0x18
mov ecx, esi
mov dword [ebp - 0x34], edi
call edi
lea ecx, [ebx + 0x3c]
mov dword [esp + 4], 1
mov dword [esp], 9
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], ecx
mov ecx, esi
call eax
fld dword [0x4e1550]
sub esp, 8
lea ecx, [ebx + 0x3c]
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], 0x10
mov dword [esp + 0xc], 1
fstp qword [esp + 4]
mov dword [esp], esi
mov edx, dword [ebp - 0x30]
call edx
sub esp, 0x18
mov ecx, esi
mov dword [ebp - 0x34], edi
call edi
mov eax, dword [ebx + 0xc]
mov ecx, dword [0x57be84]
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x40], ecx
lea ecx, [ebx + 0x44]
mov edi, ecx
add eax, 0x28
mov dword [esp], eax
mov eax, dword [0x57c2a0]
mov dword [ebp - 0x40], eax
call eax
mov edx, dword [0x57c440]
lea ecx, [ebx + 0x4c]
sub esp, 4
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], ecx
mov ecx, edi
mov dword [ebp - 0x4c], edx
call edx
mov ecx, dword [ebp - 0x3c]
mov edi, eax
mov eax, dword [0x57c434]
mov dword [esp], ecx
mov dword [ebp - 0x44], eax
mov ecx, esi
call eax
sub esp, 4
lea ecx, [ebx + 0x4c]
mov dword [esp + 4], edi
mov edi, dword [0x57c29c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4b
mov dword [esp], esi
mov dword [ebp - 0x48], edi
call edi
sub esp, 0x10
mov ecx, esi
call fcn.004b7d60
lea ecx, [ebx + 0x54]
mov edi, dword [0x57c2e4]
mov dword [esp], 2
call edi
sub esp, 4
lea ecx, [ebx + 0x64]
mov dword [esp], 9
call edi
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0x78]
sub esp, 4
mov byte [ebx + 0x74], 1
mov dword [ebp - 0x38], ecx
mov eax, dword [eax + 0x14]
add eax, 0x28
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
sub esp, 4
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x4c]
call edx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x44]
mov dword [esp], ecx
mov ecx, esi
call edx
mov ecx, dword [ebp - 0x40]
sub esp, 4
mov eax, dword [ebp - 0x48]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4b
mov dword [esp], esi
mov dword [esp + 4], ecx
lea ecx, [ebx + 0x80]
call eax
sub esp, 0x10
mov ecx, esi
call fcn.004b7d60
lea ecx, [ebx + 0x88]
mov dword [esp], 2
call edi
sub esp, 4
lea ecx, [ebx + 0x98]
mov dword [esp], 9
call edi
lea ecx, [ebx + 0xb0]
sub esp, 4
mov dword [ebx + 0xa8], 6
mov byte [ebx + 0xac], 0x67
mov byte [ebx + 0xad], 1
mov byte [ebx + 0xae], 1
mov byte [ebx + 0xaf], 1
mov edi, ecx
mov dword [ebp - 0x40], ecx
mov dword [esp + 4], 1
mov ecx, esi
mov dword [esp], 2
mov eax, dword [ebp - 0x2c]
call eax
fldz
sub esp, 8
mov ecx, edi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], 0x10
mov dword [esp + 0xc], 1
fstp qword [esp + 4]
mov dword [esp], esi
mov edx, dword [ebp - 0x30]
call edx
sub esp, 0x18
mov ecx, esi
mov edi, dword [ebp - 0x34]
call edi
mov dword [esp + 4], 1
mov dword [esp], 9
mov ecx, esi
mov eax, dword [ebp - 0x2c]
call eax
fld dword [0x4e1550]
sub esp, 8
lea ecx, [ebx + 0xb4]
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], 0x10
mov dword [esp + 0xc], 1
fstp qword [esp + 4]
mov dword [esp], esi
mov edx, dword [ebp - 0x30]
call edx
sub esp, 0x18
mov ecx, esi
call edi
mov dword [esp + 4], 1
mov dword [esp], 2
mov ecx, esi
mov eax, dword [ebp - 0x2c]
call eax
fldz
sub esp, 8
lea ecx, [ebx + 0xb8]
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], 0x10
mov dword [esp + 0xc], 1
fstp qword [esp + 4]
mov dword [esp], esi
mov edx, dword [ebp - 0x30]
call edx
sub esp, 0x18
mov ecx, esi
call edi
lea ecx, [ebx + 0xbc]
mov dword [esp + 4], 1
mov dword [esp], 9
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], ecx
mov ecx, esi
call eax
fld dword [0x4e1550]
sub esp, 8
lea ecx, [ebx + 0xbc]
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], 0x10
mov dword [esp + 0xc], 1
fstp qword [esp + 4]
mov dword [esp], esi
mov edx, dword [ebp - 0x30]
call edx
sub esp, 0x18
mov ecx, esi
call edi
fldz
mov byte [ebx + 0xd0], 0
mov dword [ebx + 0xd4], 0
fstp qword [ebx + 0xc0]
fld dword [0x4e14f8]
fstp qword [ebx + 0xc8]
mov dword [esp], 0x30
call fcn.0048f508
mov dword [esp], ebx
mov ecx, eax
mov esi, eax
call fcn.004502a0
mov eax, dword [ebp + 8]
sub esp, 4
mov dword [ebx + 0xd8], esi
mov edi, dword [eax + 0xc]
mov dword [esp], 0x140
call fcn.0048f508
mov dword [esp], edi
mov ecx, eax
mov esi, eax
call fcn.0041bc10
sub esp, 4
mov dword [ebx + 0xdc], esi
mov dword [esp], 0x18
call fcn.0048f508
fldz
mov dword [eax], vtable.orScale.0
mov dword [eax + 4], 0
mov dword [eax + 8], 5
mov dword [ebx + 0xe0], eax
mov esi, eax
fstp qword [eax + 0x10]
mov dword [esp], 0x10
call fcn.0048f508
fldz
mov dword [eax + 0xc], esi
mov dword [eax + 8], 0x49c140
mov dword [eax + 4], 1
mov dword [eax], 1
fst qword [ebx + 0x100]
mov dword [ebx + 0xe4], eax
mov eax, dword [0x57be84]
mov ecx, ebx
mov byte [ebx + 0xf4], 0
mov dword [ebx + 0xf8], 0
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xec], eax
mov dword [ebx + 0xf0], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x110], 0
mov dword [ebx + 0x114], 0
fstp qword [ebx + 0x108]
mov dword [esp], eax
call dword [0x57bfd0]
mov eax, dword [ebx + 0xd8]
sub esp, 4
mov ecx, ebx
mov byte [eax + 8], 0
mov byte [ebx + 0x1c], 0
mov dword [esp + 4], 0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0xa0]
mov dword [esp], eax
call fcn.0044e950
sub esp, 8
cmp dword [ebp + 0xc], 4
je 0x450b10
cmp dword [ebp + 0xc], 2
je 0x450ad0
cmp dword [ebp + 0xc], 8
je 0x450b90
cmp dword [ebp + 0xc], 1
je 0x450b50
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebx + 0xdc]
cmp dword [eax + 0x70], 7
je 0x450aea
mov dword [eax + 0x70], 7
mov byte [ebx + 0xf4], 0
cmp dword [eax + 0x50], 0xc
je 0x450abc
mov dword [eax + 0x50], 0xc
mov byte [ebx + 0xf4], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebx + 0xdc]
cmp dword [eax + 0x70], 3
je 0x450b2a
mov dword [eax + 0x70], 3
mov byte [ebx + 0xf4], 0
cmp dword [eax + 0x50], 6
je 0x450abc
mov dword [eax + 0x50], 6
mov byte [ebx + 0xf4], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebx + 0xdc]
cmp dword [eax + 0x70], 5
je 0x450b6a
mov dword [eax + 0x70], 5
mov byte [ebx + 0xf4], 0
cmp dword [eax + 0x50], 0xa
je 0x450abc
mov dword [eax + 0x50], 0xa
mov byte [ebx + 0xf4], 0
jmp 0x450abc
mov eax, dword [ebx + 0xdc]
cmp dword [eax + 0x70], 3
je 0x450baa
mov dword [eax + 0x70], 3
mov byte [ebx + 0xf4], 0
cmp dword [eax + 0x50], 3
je 0x450abc
mov dword [eax + 0x50], 3
mov byte [ebx + 0xf4], 0
jmp 0x450abc