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

Disassembly:
sub esp, 0x118
lea eax, [esp + 0xf4]
push ebx
mov ebx, dword [esp + 0x124]
push ebp
mov ebp, dword [esp + 0x12c]
push esi
push edi
push ebp
push ebx
push eax
call fcn.00491950
mov ecx, 9
mov esi, eax
lea edi, [esp + 0x110]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
lea esi, [esp + 0x104]
lea edi, [esp + 0x48]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x18
lea edi, [esp + 0xa4]
test ebp, ebp
rep stosd dword es:[edi], eax
jle 0x494948
fld dword [esp + 0x50]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x110]
fstp dword [esp + 0x60]
fld dword [esp + 0x5c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x64]
fst dword [esp + 0x64]
fld dword [ebx]
fld dword [ebx + 4]
fld dword [ebx + 8]
fld dword [esp + 0x108]
fmul st(2)
fld dword [esp + 0x60]
fmul st(2)
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x108]
cmp ebp, 0xffffff81
faddp st(1)
fld dword [esp + 0x48]
fmul st(4)
mov dword [esp + 0x54], edx
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x58]
fmul st(2)
fld dword [esp + 0x110]
fmul st(4)
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
faddp st(1)
fld st(1)
fmul st(5)
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x68]
fmul st(1)
fld dword [esp + 0x5c]
fmul st(3)
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], ecx
faddp st(1)
fld dword [esp + 0x50]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], edx
jle 0x491c74
lea esi, [ebx + 0x28]
lea edi, [ebp - 1]
fld dword [esi - 8]
fld dword [esi - 4]
fld dword [esi]
fld dword [esp + 0x60]
fmul st(1)
fld st(2)
fmul dword [esp + 0x54]
faddp st(1)
fld st(3)
fmul dword [esp + 0x48]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x64]
fmul st(1)
fld st(2)
fmul dword [esp + 0x58]
faddp st(1)
fld dword [esp + 0x4c]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x14]
fmul dword [esp + 0x68]
fxch st(1)
fmul dword [esp + 0x5c]
faddp st(1)
fld dword [esp + 0x50]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0x44]
fld dword [esp + 0x18]
fcompp
fnstsw ax
test ah, 5
jp 0x491b5c
fld dword [esp + 0x44]
jmp 0x491b60
fld dword [esp + 0x18]
fstp dword [esp + 0x20]
fld dword [esp + 0x40]
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 5
jp 0x491b7b
fld dword [esp + 0x40]
jmp 0x491b7f
fld dword [esp - 0x65]
fstp dword [esp + 0x1c]
fld dword [esp + 0x3c]
fcomp dword [esp + 0x10]
fnstsw ax
and eax, 0x4100
jne 0x491b9e
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], edx
jmp 0x491ba6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x70]
push ecx
push edx
push eax
lea ecx, [esp + 0x80]
call fcn.00402d30
fld dword [esp + 0x38]
fld dword [esp + 0x18]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x44], eax
fcompp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
fnstsw ax
test ah, 5
jp 0x491bf0
fld dword [esp + 0x18]
jmp 0x491bf4
fld dword [esp + 0x38]
fstp dword [esp + 0x1c]
fld dword [esp + 0x34]
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 5
jp 0x491c0f
fld dword [esp + 0x14]
jmp 0x491c13
fld dword [esp + 0x34]
fstp dword [esp + 0x20]
fld dword [esp + 0x30]
fcomp dword [esp + 0x10]
fnstsw ax
and eax, 0x4100
jne 0x491c32
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x6c], ecx
jmp 0x491c3a
mov edx, dword [esp + 0x30]
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
push eax
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00402d30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add esi, 0x20
dec edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
jne 0x491aef
lea ecx, [esp + 0x48]
call fcn.00491e70
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00402d30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1f0084], ecx
push 1
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x90], edx
call fcn.00491ea0
mov ecx, dword [eax]
push 2
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x28]
mov dword [esp + 0x94], edx
mov eax, dword [eax + 8]
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], eax
call fcn.00491ea0
mov edx, dword [eax]
mov dword [esp + 0x98], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x9c], ecx
mov edx, dword [eax + 8]
out dx, eax
and esp, dword [eax + ecx*2]
xor dword [esp + 0xa0], edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00410e30
push eax
lea ecx, [eax + edx*2 + 0x88]
push 0x3f3b0000
push ecx
call fcn.00474920
add esp, 0x18
lea edx, [esp + 0x14]
push eax
push edx
call fcn.00492920
mov ecx, dword [eax]
mov dword [esp + 0xb0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xb4], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0xc0], eax
call fcn.004622e0
mov ecx, dword [eax]
mov dword [esp + 0xc4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xc8], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x38]
push ecx
push edx
mov dword [esp + 0xd4], eax
call fcn.004622e0
mov ecx, dword [eax]
mov dword [esp + 0xd8], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0xb4]
mov dword [esp + 0xdc], edx
mov eax, dword [eax + 8]
lea edx, [esp + 0x40]
push ecx
push edx
mov dword [esp + 0xe8], eax
call fcn.004622e0
mov ecx, dword [eax]
mov dword [esp + 0xec], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xf0], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 0xf4], eax
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.0045a200
push eax
lea ecx, [esp + 0xa8]
push 0x3f000000
push ecx
call 0x480120
mov edx, dword [eax]
mov dword [esp + 0x134], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x138], ecx
mov edx, dword [eax + 8]
lea eax, [esp + 0xe0]
or dword [esp + 0x13c], edx
push eax
call fcn.0045d520
add esp, 0x40
mov eax, dword [esp + 0x12c]
lea esi, [esp + 0xa4]
mov edi, eax
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
or eax, 0x53251c
push str.A3DVertexCollector::AllocateSlot__Failed_to_create_slot_buffer_
push ecx
call fcn.0047b060
add esp, 0xc
xor eax, eax
pop esi
pop ebx
ret 4