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

Disassembly:
sub esp, 0x94
mov eax, dword [0x51f198]
mov dword [esp + 0x20], ecx
cmp eax, 4
je 0x45b35b
mov al, byte [ecx + 0x721]
test al, al
je 0x45b35b
mov eax, dword [ecx + 0x158]
mov edx, dword [ecx + 0x15c]
mov eax, dword [eax + 4]
cmp eax, edx
mov dword [esp + 0x1c], eax
je 0x45b35b
push ebx
push ebp
push esi
push edi
mov ebx, dword [eax]
mov edx, dword [ecx + 0x714]
cmp edx, dword [ebx]
jne 0x45b342
mov ecx, dword [ebx + 0x134]
mov eax, dword [ecx]
call dword [eax + 0x2c]
lea ecx, [ebx + 0x144]
mov eax, dword [ebx + 0x144]
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x24], edx
mov esi, dword [ecx + 8]
lea ecx, [ebx + 0x150]
mov dword [esp + 0x28], esi
mov edi, dword [ecx]
mov dword [esp + 0x14], edi
mov ebp, dword [ecx + 4]
mov dword [esp + 0x18], ebp
mov ecx, dword [ecx + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
je 0x45b2d6
call fcn.0045e330
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x60]
fmul dword [esp + 0x28]
fld dword [esp + 0x50]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x20]
faddp st(1)
fadd dword [esp + 0x70]
fld dword [esp + 0x64]
fdiv dword [ebx]
and al, 0x28
fld dword [esp + 0x54]
fmul dword [esp + 0x24]
ficom word [ebx]
fld dword [esp + 0x44]
fmul dword [esp + 0x20]
faddp st(1)
fadd dword [esp + 0x74]
fld dword [esp + 0x68]
fmul dword [esp + 0x28]
fld dword [esp + 0x58]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [esp + 0x20]
faddp st(1)
fadd dword [esp + 0x78]
fstp dword [esp + 0x3c]
fld dword [esp + 0x6c]
fmul dword [esp + 0x28]
fld dword [esp + 0x5c]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x4c]
fmul dword [esp + 0x20]
faddp st(1)
fadd dword [esp + 0x7c]
fdivr dword [0x4fe6cc]
fst dword [esp + 0x10]
fmul st(2)
fstp dword [esp + 0x34]
fld dword [esp + 0x10]
fmul st(1)
mov eax, dword [esp + 0x34]
fstp dword [esp + 0x38]
mov edx, dword [esp + 0x38]
fstp st(0)
fstp st(0)
fld dword [esp + 0x10]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fldcw word [edi + 0x24]
jo 0x45b19c
inc esp
and al, 0x74
fld dword [esp + 0x78]
fstp dword [esp + 0xa0]
fld dword [esp + 0x1c]
fmul dword [esp + 0x60]
fld dword [esp + 0x18]
fmul dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x40]
faddp st(1)
fadd dword [esp + 0x70]
fld dword [esp + 0x1c]
fmul dword [esp + 0x64]
fld dword [esp + 0x18]
fmul dword [esp + 0x54]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esp + 0x14]
faddp st(1)
fadd dword [esp + 0x74]
fld dword [esp + 0x1c]
fmul dword [esp + 0x68]
fld dword [esp + 0x18]
fmul dword [esp + 0x58]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [esp + 0x14]
faddp st(1)
fadd dword [esp + 0x78]
fstp dword [esp + 0x88]
fld dword [esp + 0x1c]
fmul dword [esp + 0x6c]
fld dword [esp + 0x18]
fmul dword [esp + 0x5c]
faddp st(1)
fld dword [esp + 0x4c]
fmul dword [esp + 0x14]
faddp st(1)
fadd dword [esp + 0x7c]
fdivr dword [0x4fe6cc]
fst dword [esp + 0x10]
fmul st(2)
fstp dword [esp + 0x80]
fld dword [esp + 0x10]
fmul st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x10]
fmul dword [esp + 0x88]
fstp dword [esp + 0x88]
fld dword [esp + 0x80]
fsub st(3)
fstp dword [esp + 0x8c]
mov edi, dword [esp + 0x8c]
fsub st(1)
fstp dword [esp + 0x90]
mov ebp, dword [esp + 0x90]
fstp st(0)
fstp st(0)
fld dword [esp + 0x88]
fsub dword [esp + 0xa0]
fstp dword [esp + 0x94]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x134]
add ecx, 0x158
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], edx
mov dword [ecx + 8], esi
mov edx, dword [ebx + 0x134]
add edx, 0x178
mov dword [edx], edi
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
mov ecx, dword [ebx + 0x134]
call fcn.004ab640
mov ecx, dword [ebx + 0x134]
mov edx, dword [ecx]
call dword [edx + 0x34]
test al, al
je 0x45b33a
mov eax, dword [ebx + 0x138]
mov dword [eax + 0x104], ebx
mov ecx, dword [ebx + 0x134]
mov al, byte [ebx + 0x186]
mov edx, dword [ecx]
push eax
call dword [edx + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 0x15c]
cmp eax, edx
mov dword [esp + 0x2c], eax
jne 0x45b095
pop edi
pop esi
pop ebp
pop ebx
mov al, 1
add esp, 0x94
ret