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

Disassembly:
sub esp, 0x3f8
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 0x120]
test ecx, ecx
je 0x4f07b7
mov al, byte [ebx + 0x500]
test al, al
jne 0x4f07b7
fld dword [ebx + 0x350]
fld dword [ebx + 0x354]
fcompp
fnstsw ax
test ah, 1
je 0x4ef564
fld dword [ebx + 0x350]
jmp 0x4ef56a
fld dword [ebx + 0x354]
fld dword [ebx + 0x358]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4ef5a0
fld dword [ebx + 0x350]
fld dword [ebx + 0x354]
fcompp
fnstsw ax
test ah, 1
je 0x4ef598
fld dword [ebx + 0x350]
jmp 0x4ef5a6
fld dword [ebx + 0x354]
jmp 0x4ef5a6
fld dword [ebx + 0x358]
fcomp dword [0x594438]
fnstsw ax
test ah, 1
je 0x4ef6f7
fld dword [ebx + 0x2ec]
fmul dword [ebx + 0x314]
fld dword [ebx + 0x2dc]
fmul dword [ebx + 0x310]
faddp st(1)
fld dword [ebx + 0x30c]
fmul dword [ebx + 0x2cc]
faddp st(1)
fadd dword [ebx + 0x2fc]
fld dword [ebx + 0x2d0]
fmul dword [ebx + 0x30c]
fld dword [ebx + 0x2f0]
fmul dword [ebx + 0x314]
faddp st(1)
fld dword [ebx + 0x2e0]
fmul dword [ebx + 0x310]
faddp st(1)
fadd dword [ebx + 0x300]
fstp dword [esp + 0x20]
fld dword [ebx + 0x2d4]
fmul dword [ebx + 0x30c]
fld dword [ebx + 0x2f4]
fmul dword [ebx + 0x314]
faddp st(1)
fld dword [ebx + 0x2e4]
fmul dword [ebx + 0x310]
faddp st(1)
fadd dword [ebx + 0x304]
fstp dword [esp + 0x24]
fld dword [ebx + 0x2d8]
fmul dword [ebx + 0x30c]
fld dword [ebx + 0x2f8]
fmul dword [ebx + 0x314]
faddp st(1)
fld dword [ebx + 0x2e8]
fmul dword [ebx + 0x310]
faddp st(1)
fadd dword [ebx + 0x308]
fdivr dword [0x58d5d4]
fst dword [esp + 0xc]
fmul st(1)
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fstp st(0)
fld dword [esp + 0xc]
fmul dword [esp + 0x20]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x20]
fld dword [esp + 0xc]
fmul dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov ecx, dword [ecx + 0x764]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x4ef6f7
mov eax, dword [eax + 0xba0]
test eax, eax
je 0x4ef6f7
mov ecx, dword [eax + 0x114]
test ecx, ecx
je 0x4ef6f7
mov eax, dword [eax + 0x118]
test eax, eax
jl 0x4ef6f7
lea edx, [esp + 0x10]
push eax
push edx
call fcn.00505a10
test al, al
je 0x4f07b7
mov eax, dword [ebx + 0x110]
test eax, eax
je 0x4ef726
mov eax, dword [ebx + 0x114]
test eax, eax
je 0x4ef726
mov eax, dword [esp + 0x408]
mov ecx, ebx
push eax
call fcn.004ef290
pop edi
pop esi
pop ebx
add esp, 0x3f8
ret 4
mov ecx, dword [esp + 0x408]
lea esi, [ebx + 0x2cc]
fld dword [ebx + 0x35c]
mov edx, dword [ecx + 0x134]
lea edi, [esp + 0x50]
fcomp dword [0x58ddb8]
add edx, 0x124
push ebp
mov eax, dword [edx]
mov dword [esp + 0x144], eax
mov ecx, dword [edx + 4]
fnstsw ax
mov dword [esp + 0x148], ecx
mov edx, dword [edx + 8]
mov ecx, 0x10
mov dword [esp + 0x14c], edx
test ah, 0x40
rep movsd dword es:[edi], dword [esi]
jne 0x4ef822
fld dword [ebx + 0x35c]
fmul dword [0x58dc8c]
push ecx
lea eax, [esp + 0x220]
fstp dword [esp]
push eax
call fcn.004aba10
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x224]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
lea edi, [esp + 0x264]
rep stosd dword es:[edi], eax
add esp, 8
xor edi, edi
lea esi, [esp + 0x54]
lea ebp, [esp + edi + 0x25c]
mov dword [esp + 0x44], 4
fld dword [ebp]
lea ecx, [esp + edi + 0x21c]
mov eax, esi
mov edx, 4
fld dword [ecx]
fmul dword [eax]
add eax, 0x10
add ecx, 4
dec edx
faddp st(1)
jne 0x4ef7e5
fstp dword [ebp]
mov eax, dword [esp + 0x44]
add ebp, 4
add esi, 4
dec eax
mov dword [esp + 0x44], eax
jne 0x4ef7d4
add edi, 0x10
cmp edi, 0x40
jl 0x4ef7c1
mov ecx, 0x10
lea esi, [esp + 0x25c]
lea edi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x84]
fld dword [esp + 0x88]
fld dword [esp + 0x8c]
fld dword [ebx + 0x330]
fmul dword [0x58d5d8]
fld dword [ebx + 0x334]
fmul dword [0x58d5d8]
fld dword [ebx + 0x338]
fmul dword [0x58d5d8]
fld dword [esp + 0x74]
fmul st(1)
fld dword [esp + 0x64]
fmul st(3)
push ecx
faddp st(1)
fld dword [esp + 0x58]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x88]
fstp dword [esp + 0x24]
fld dword [esp + 0x7c]
fmul st(1)
fld dword [esp + 0x6c]
fmul st(3)
faddp st(1)
fld dword [esp + 0x5c]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x8c]
fstp dword [esp + 0x28]
fld dword [esp + 0x80]
fmul st(1)
fld dword [esp + 0x70]
fmul st(3)
faddp st(1)
fld dword [esp + 0x60]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x90]
fstp dword [esp + 0x2c]
fld dword [esp + 0x84]
fmul st(1)
fld dword [esp + 0x74]
fmul st(3)
faddp st(1)
fld dword [esp + 0x64]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x94]
fdivr dword [0x58d5d4]
fstp dword [esp + 0x14]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x14]
fmul dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x14]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x14]
fmul dword [esp + 0x2c]
fsub st(1)
fstp dword [esp]
push ecx
fstp st(0)
fld dword [esp + 0x2c]
fsub st(1)
fstp dword [esp]
push ecx
fstp st(0)
fld dword [esp + 0x2c]
fsub st(1)
fstp dword [esp]
lea ecx, [esp + 0xa8]
fstp st(0)
call fcn.0040cf40
mov ecx, dword [eax]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
push esi
mov eax, dword [eax + 8]
push edi
push ebp
lea ecx, [esp + 0xa8]
mov dword [esp + 0x4c], eax
call fcn.0040cf40
fld dword [esp + 0x74]
fmul dword [ebx + 0x32c]
fld dword [esp + 0x64]
fmul dword [ebx + 0x328]
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x18], ecx
faddp st(1)
fld dword [esp + 0x58]
fmul dword [ebx + 0x324]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
faddp st(1)
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
fadd dword [esp + 0x88]
fld dword [esp + 0x7c]
fmul dword [ebx + 0x32c]
fld dword [esp + 0x6c]
fmul dword [ebx + 0x328]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [ebx + 0x324]
faddp st(1)
fadd dword [esp + 0x8c]
fstp dword [esp + 0x28]
fld dword [esp + 0x80]
fmul dword [ebx + 0x32c]
fld dword [esp + 0x70]
fmul dword [ebx + 0x328]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [ebx + 0x324]
faddp st(1)
fadd dword [esp + 0x90]
fstp dword [esp + 0x2c]
fld dword [esp + 0x84]
fmul dword [ebx + 0x32c]
fld dword [esp + 0x74]
fmul dword [ebx + 0x328]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [ebx + 0x324]
faddp st(1)
fadd dword [esp + 0x94]
fdivr dword [0x58d5d4]
fst dword [esp + 0x14]
fmulp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x28]
fld dword [esp + 0x14]
fmul dword [esp + 0x2c]
fsub dword [esp + 0x20]
fstp dword [esp]
push ecx
fsub dword [esp + 0x20]
fstp dword [esp]
push ecx
lea ecx, [esp + 0x20]
fsub dword [esp + 0x20]
fstp dword [esp]
call fcn.0040cf40
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
push esi
mov eax, dword [eax + 8]
push edi
push ebp
lea ecx, [esp + 0xa8]
mov dword [esp + 0x5c], eax
call fcn.0040cf40
fld dword [esp + 0x54]
fmul dword [ebx + 0x318]
fld dword [esp + 0x74]
fmul dword [ebx + 0x320]
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x18], ecx
faddp st(1)
fld dword [esp + 0x68]
fmul dword [ebx + 0x31c]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
faddp st(1)
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
fadd dword [esp + 0x88]
fld dword [esp + 0x7c]
fmul dword [ebx + 0x320]
fld dword [esp + 0x6c]
fmul dword [ebx + 0x31c]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [ebx + 0x318]
faddp st(1)
fadd dword [esp + 0x8c]
fstp dword [esp + 0x28]
fld dword [esp + 0x80]
fmul dword [ebx + 0x320]
fld dword [esp + 0x70]
fmul dword [ebx + 0x31c]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [ebx + 0x318]
faddp st(1)
fadd dword [esp + 0x90]
fstp dword [esp + 0x2c]
fld dword [esp + 0x84]
fmul dword [ebx + 0x320]
fld dword [esp + 0x74]
fmul dword [ebx + 0x31c]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [ebx + 0x318]
faddp st(1)
fadd dword [esp + 0x94]
fdivr dword [0x58d5d4]
fst dword [esp + 0x14]
fmulp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x28]
fld dword [esp + 0x14]
fmul dword [esp + 0x2c]
fsub dword [esp + 0x20]
fstp dword [esp]
push ecx
fsub dword [esp + 0x20]
fstp dword [esp]
push ecx
lea ecx, [esp + 0x20]
fsub dword [esp + 0x20]
fstp dword [esp]
call fcn.0040cf40
mov ecx, dword [eax]
fld dword [esp + 0x54]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
fmul dword [ebx + 0x30c]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
fld dword [esp + 0x74]
fmul dword [ebx + 0x314]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [ebx + 0x310]
faddp st(1)
fadd dword [esp + 0x84]
fld dword [esp + 0x58]
fmul dword [ebx + 0x30c]
fld dword [esp + 0x78]
fmul dword [ebx + 0x314]
faddp st(1)
fld dword [esp + 0x68]
fmul dword [ebx + 0x310]
faddp st(1)
fadd dword [esp + 0x88]
fstp dword [esp + 0x18]
fld dword [esp + 0x5c]
fmul dword [ebx + 0x30c]
fld dword [esp + 0x7c]
fmul dword [ebx + 0x314]
faddp st(1)
fld dword [esp + 0x6c]
fmul dword [ebx + 0x310]
faddp st(1)
fadd dword [esp + 0x8c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x60]
fmul dword [ebx + 0x30c]
fld dword [esp + 0x80]
fmul dword [ebx + 0x314]
faddp st(1)
fld dword [esp + 0x70]
fmul dword [ebx + 0x310]
faddp st(1)
fadd dword [esp + 0x90]
fdivr dword [0x58d5d4]
fst dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
fstp st(0)
fld dword [esp + 0x10]
fmul dword [esp + 0x18]
push ecx
mov dword [esp + 0x30], ecx
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
fmul dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], edx
fstp dword [esp + 0x20]
fld dword [ebx + 0x350]
fld dword [esp + 0x44]
fmul st(1)
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
fstp dword [esp]
fld dword [esp + 0x40]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0x40]
fmul st(1)
push ecx
lea ecx, [esp + 0xa8]
fstp dword [esp]
fstp st(0)
call fcn.0040cf40
mov ecx, dword [eax]
fld dword [ebx + 0x340]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp]
fld dword [esp + 0x1c]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0x1c]
fmul st(1)
push ecx
lea ecx, [esp + 0x20]
fstp dword [esp]
fstp st(0)
call fcn.0040cf40
fld dword [ebx + 0x354]
fld dword [esp + 0x50]
mov ecx, dword [eax]
fmul st(1)
push ecx
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
fstp dword [esp]
fld dword [esp + 0x50]
fmul st(1)
push ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
fstp dword [esp]
fld dword [esp + 0x50]
fmul st(1)
push ecx
lea ecx, [esp + 0xa8]
fstp dword [esp]
fstp st(0)
call fcn.0040cf40
mov ecx, dword [eax]
fld dword [ebx + 0x344]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp]
fld dword [esp + 0x1c]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0x1c]
fmul st(1)
push ecx
lea ecx, [esp + 0x20]
fstp dword [esp]
fstp st(0)
call fcn.0040cf40
mov ecx, dword [eax]
fld dword [ebx + 0x34c]
fcomp dword [0x58ddb8]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x50], eax
fnstsw ax
test ah, 0x40
jne 0x4efdf7
fld dword [ebx + 0x34c]
fld dword [esp + 0x28]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0x28]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0x28]
fmul st(1)
push ecx
lea ecx, [esp + 0xa8]
fstp dword [esp]
fstp st(0)
jmp 0x4efe67
fld dword [ebx + 0x358]
fld dword [esp + 0x28]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0x28]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0x28]
fmul st(1)
push ecx
lea ecx, [esp + 0xa8]
fstp dword [esp]
fstp st(0)
call fcn.0040cf40
mov ecx, dword [eax]
fld dword [ebx + 0x348]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp]
fld dword [esp + 0x1c]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0x1c]
fmul st(1)
push ecx
lea ecx, [esp + 0x20]
fstp dword [esp]
fstp st(0)
call fcn.0040cf40
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x4f8]
test eax, eax
je 0x4f018d
cmp eax, 3
je 0x4f000f
fld dword [esp + 0x34]
fsub dword [esp + 0x40]
push ecx
fstp dword [esp]
fld dword [esp + 0x34]
fsub dword [esp + 0x40]
push ecx
fstp dword [esp]
fld dword [esp + 0x34]
fsub dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
fstp dword [esp]
call fcn.0040cf40
mov ecx, dword [eax]
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0x48]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0xa4], edx
lea edx, [esp + 0xa0]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0xac], eax
lea eax, [esp + 0x20c]
push eax
call fcn.00461160
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0xb4], ecx
lea ecx, [esp + 0x48]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0xbc], edx
lea edx, [esp + 0x3c]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x1b8]
push eax
push ecx
call fcn.00461160
add esp, 0xc
lea edx, [esp + 0x1fc]
push eax
push edx
call fcn.00461160
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0xc0], ecx
lea ecx, [esp + 0x48]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0xc8], edx
lea edx, [esp + 0x3c]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0xd0], eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x1dc]
push eax
push ecx
call fcn.0045f890
add esp, 0xc
lea edx, [esp + 0x1e4]
push eax
push edx
call fcn.0045f890
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0xcc], ecx
lea ecx, [esp + 0x48]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0xd4], edx
lea edx, [esp + 0x3c]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0xdc], eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x17c]
push eax
push ecx
call fcn.00461160
add esp, 0xc
lea edx, [esp + 0x154]
push eax
push edx
call fcn.0045f890
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x10], 1
mov edx, dword [eax + 4]
mov dword [esp + 0xdc], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xe0], eax
jmp 0x4f0501
mov ecx, dword [ebx + 0x340]
mov edx, dword [ebx + 0x350]
push ecx
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x14c]
push eax
lea edx, [esp + 0x198]
push ecx
push edx
call fcn.004d80b0
push eax
lea eax, [esp + 0x204]
push eax
call fcn.0045fa00
add esp, 0x14
lea ecx, [esp + 0x1ac]
push eax
push ecx
call fcn.004611b0
add esp, 0xc
lea edx, [esp + 0x214]
push eax
push edx
call fcn.004611b0
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x48]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x40], edx
lea edx, [esp + 0x3c]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x1c4]
push eax
push ecx
call fcn.0045f890
add esp, 0xc
lea edx, [esp + 0x1cc]
push eax
push edx
call fcn.00461160
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0xb4], ecx
lea ecx, [esp + 0x48]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0xbc], edx
lea edx, [esp + 0x3c]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x164]
push eax
push ecx
call fcn.00461160
add esp, 0xc
lea edx, [esp + 0x16c]
push eax
push edx
call fcn.00461160
mov ecx, dword [eax]
mov dword [esp + 0xcc], ecx
lea ecx, [esp + 0x44]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0xd4], edx
lea edx, [esp + 0x3c]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0xdc], eax
lea eax, [esp + 0x194]
push eax
call fcn.0045f890
mov ecx, dword [eax]
mov dword [esp + 0xe4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xe8], edx
lea ecx, [esp + 0x50]
mov eax, dword [eax + 8]
lea edx, [esp + 0x44]
mov dword [esp + 0xec], eax
push ecx
lea eax, [esp + 0x1b4]
push edx
push eax
call fcn.00461160
mov ecx, dword [eax]
add esp, 0x24
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x10], 1
mov edx, dword [eax + 4]
mov dword [esp + 0xdc], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xe0], eax
jmp 0x4f0501
fld dword [esp + 0x34]
fsub dword [esp + 0x40]
push ecx
fstp dword [esp]
fld dword [esp + 0x34]
fsub dword [esp + 0x40]
push ecx
fstp dword [esp]
fld dword [esp + 0x34]
fsub dword [esp + 0x40]
push ecx
lea ecx, [esp + 0xb4]
fstp dword [esp]
call fcn.0040cf40
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
fld dword [esp + 0x20]
fadd dword [esp + 0x2c]
fstp dword [esp]
fld dword [esp + 0x1c]
fadd dword [esp + 0x28]
push ecx
fstp dword [esp]
fld dword [esp + 0x1c]
fadd dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
fstp dword [esp]
call fcn.0040cf40
fld dword [esp + 0x34]
mov ecx, dword [eax]
fadd dword [esp + 0x40]
push ecx
mov dword [esp + 0xb8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xbc], edx
fstp dword [esp]
fld dword [esp + 0x34]
fadd dword [esp + 0x40]
push ecx
mov eax, dword [eax + 8]
mov dword [esp + 0xc4], eax
fstp dword [esp]
fld dword [esp + 0x34]
fadd dword [esp + 0x40]
push ecx
lea ecx, [esp + 0xb4]
fstp dword [esp]
call fcn.0040cf40
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
fld dword [esp + 0x20]
fadd dword [esp + 0x2c]
fstp dword [esp]
fld dword [esp + 0x1c]
fadd dword [esp + 0x28]
push ecx
fstp dword [esp]
fld dword [esp + 0x1c]
fadd dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
fstp dword [esp]
call fcn.0040cf40
mov ecx, dword [eax]
fld dword [esp + 0x34]
mov dword [esp + 0xc0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xc4], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xc8], eax
fsub dword [esp + 0x40]
push ecx
fstp dword [esp]
fld dword [esp + 0x34]
fsub dword [esp + 0x40]
push ecx
fstp dword [esp]
fld dword [esp + 0x34]
fsub dword [esp + 0x40]
push ecx
lea ecx, [esp + 0xb4]
fstp dword [esp]
call fcn.0040cf40
fld dword [esp + 0x34]
mov ecx, dword [eax]
fadd dword [esp + 0x40]
push ecx
mov dword [esp + 0xd0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xd4], edx
fstp dword [esp]
fld dword [esp + 0x34]
fadd dword [esp + 0x40]
push ecx
mov eax, dword [eax + 8]
mov dword [esp + 0xdc], eax
fstp dword [esp]
fld dword [esp + 0x34]
fadd dword [esp + 0x40]
push ecx
lea ecx, [esp + 0xb4]
fstp dword [esp]
call fcn.0040cf40
fld dword [esp + 0x34]
mov ecx, dword [eax]
fadd dword [esp + 0x50]
push ecx
mov dword [esp + 0xdc], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xe0], edx
fstp dword [esp]
fld dword [esp + 0x34]
fadd dword [esp + 0x50]
push ecx
mov eax, dword [eax + 8]
mov dword [esp + 0xe8], eax
fstp dword [esp]
fld dword [esp + 0x34]
fadd dword [esp + 0x50]
push ecx
lea ecx, [esp + 0xb4]
fstp dword [esp]
call fcn.0040cf40
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
fld dword [esp + 0x20]
fadd dword [esp + 0x2c]
fstp dword [esp]
fld dword [esp + 0x1c]
fadd dword [esp + 0x28]
push ecx
fstp dword [esp]
fld dword [esp + 0x1c]
fadd dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
fstp dword [esp]
call fcn.0040cf40
mov ecx, dword [eax]
fld dword [esp + 0x34]
fsub dword [esp + 0x50]
mov dword [esp + 0xe4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xe8], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xec], eax
push ecx
fstp dword [esp]
fld dword [esp + 0x34]
fsub dword [esp + 0x50]
push ecx
fstp dword [esp]
fld dword [esp + 0x34]
fsub dword [esp + 0x50]
push ecx
lea ecx, [esp + 0xb4]
fstp dword [esp]
call fcn.0040cf40
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
fld dword [esp + 0x20]
fadd dword [esp + 0x2c]
fstp dword [esp]
fld dword [esp + 0x1c]
fadd dword [esp + 0x28]
push ecx
fstp dword [esp]
fld dword [esp + 0x1c]
fadd dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
fstp dword [esp]
call fcn.0040cf40
fld dword [esp + 0x34]
mov ecx, dword [eax]
fadd dword [esp + 0x50]
push ecx
mov dword [esp + 0xf4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xf8], edx
fstp dword [esp]
fld dword [esp + 0x34]
fadd dword [esp + 0x50]
push ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x100], eax
fstp dword [esp]
fld dword [esp + 0x34]
fadd dword [esp + 0x50]
push ecx
lea ecx, [esp + 0xb4]
fstp dword [esp]
call fcn.0040cf40
fld dword [esp + 0x34]
mov ecx, dword [eax]
fsub dword [esp + 0x50]
push ecx
mov dword [esp + 0x100], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x104], edx
fstp dword [esp]
fld dword [esp + 0x34]
fsub dword [esp + 0x50]
push ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x10c], eax
fstp dword [esp]
fld dword [esp + 0x34]
fsub dword [esp + 0x50]
push ecx
lea ecx, [esp + 0xb4]
fstp dword [esp]
call fcn.0040cf40
mov ecx, dword [eax]
mov dword [esp + 0x10], 2
mov dword [esp + 0x108], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x10c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x110], eax
fild dword [ebx + 0x23c]
mov eax, dword [esp + 0x10]
xor ebp, ebp
shl eax, 2
fidiv dword [ebx + 0x234]
fst dword [0x5cfa0c]
fstp dword [0x5cfa04]
mov ecx, dword [ebx + 0x23c]
inc ecx
mov dword [esp + 0x44], ecx
fild dword [esp + 0x44]
fidiv dword [ebx + 0x234]
fst dword [0x5cfa10]
fstp dword [0x5cfa08]
fild dword [ebx + 0x238]
fidiv dword [ebx + 0x230]
fst dword [0x5cfa18]
fstp dword [0x5cfa14]
mov edx, dword [ebx + 0x238]
inc edx
mov dword [esp + 0x44], edx
fild dword [esp + 0x44]
test eax, eax
mov dword [esp + 0x44], eax
fidiv dword [ebx + 0x230]
fst dword [0x5cfa20]
fstp dword [0x5cfa1c]
jle 0x4f061f
lea ecx, [esp + 0x2b8]
lea edx, [esp + 0xb4]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x94], edx
mov eax, ebp
and eax, 0x80000003
jns 0x4f05b2
dec eax
or eax, 0xfffffffc
inc eax
shl eax, 2
mov ecx, dword [eax + 0x5cfa14]
mov edx, dword [eax + 0x5cfa04]
mov eax, dword [0x5cfa00]
push ecx
mov ecx, dword [ebx + 0x360]
push edx
mov edx, dword [esp + 0x9c]
push eax
push ecx
push edx
lea ecx, [esp + 0x2b0]
call fcn.00427900
mov edi, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
mov ecx, 7
mov esi, eax
mov eax, dword [esp + 0x44]
inc ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x98]
add edx, 0xc
add ecx, 0x1c
cmp ebp, eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
jl 0x4f05a4
mov ecx, dword [ebx + 0x120]
pop ebp
mov edx, dword [ecx + 0x764]
cmp byte [edx + 0x9f], 0
je 0x4f0690
cmp dword [0x5c989c], 2
je 0x4f0690
mov ecx, dword [edx + 0x58]
mov edx, dword [esp + 0xc]
lea edx, [edx + edx*2]
shl edx, 1
push edx
mov edx, dword [ebx + 0x504]
push 0x5cfa24
push eax
lea eax, [esp + 0x2c0]
push eax
push 1
push edx
call fcn.004d0b80
test al, al
jne 0x4f07b7
mov eax, dword [0x5e062c]
push str.A3DBillBoard::Render_add_to_vertex_collector_fail_
push eax
call fcn.004c6d70
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x3f8
ret 4
mov edx, dword [ebx + 0x244]
push edx
call fcn.0049c820
mov eax, dword [ebx + 0x248]
mov ecx, dword [ebx + 0x120]
push eax
call fcn.0049c840
mov ecx, dword [ebx + 0x120]
push 0
call fcn.0049c780
mov ecx, dword [ebx + 0x120]
push 1
call fcn.0049ca60
mov ecx, dword [ebx + 0x120]
push 0
call fcn.0049c8d0
lea ecx, [esp + 0x258]
push ecx
call fcn.004aab90
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x21c]
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x120]
lea edx, [esp + 0x218]
push edx
call fcn.0049c170
mov esi, dword [esp + 0x40]
mov ecx, dword [ebx + 0x128]
lea eax, [esp + 0x2b4]
push esi
push eax
call fcn.004c7990
mov ecx, dword [ebx + 0x128]
call fcn.004c7b80
mov ecx, dword [ebx + 0x124]
test ecx, ecx
je 0x4f073e
mov edx, dword [ecx]
push 0
call dword [edx + 0x14]
jmp 0x4f074b
mov ecx, dword [ebx + 0x120]
push 0
call fcn.0049d270
mov eax, dword [esp + 0xc]
lea ecx, [eax + eax]
push ecx
mov ecx, dword [ebx + 0x120]
push 0
push esi
push 0
push 4
call fcn.0049cb60
mov ecx, dword [ebx + 0x124]
test ecx, ecx
je 0x4f0776
mov edx, dword [ecx]
push 0
call dword [edx + 0x18]
mov ecx, dword [ebx + 0x120]
push 1
call fcn.0049c8d0
mov ecx, dword [ebx + 0x120]
push 1
call fcn.0049c780
mov ecx, dword [ebx + 0x120]
push 3
call fcn.0049ca60
mov ecx, dword [ebx + 0x120]
push 5
call fcn.0049c820
mov ecx, dword [ebx + 0x120]
push 6
call fcn.0049c840
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x3f8
ret 4