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

Disassembly:
sub esp, 0x1d8
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x74]
mov eax, dword [eax + 0x78]
mov dword [esp + 0x18], eax
add eax, ecx
mov dword [ebx + 0x68], eax
shl eax, 2
push ebp
push eax
mov dword [esp + 0x24], ecx
call fcn.004c73ca
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x68]
shl eax, 2
push eax
call fcn.004c73ca
add esp, 8
mov dword [ebx + 0x64], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x50]
lea ebp, [ebx + 0x10]
push ecx
mov ecx, ebp
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.0044d9e0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], 0x3f800000
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], edx
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x18]
push ecx
mov ecx, ebp
mov dword [esp + 0x50], edx
call fcn.0044d9e0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0xc], edx
fld dword [esp + 0xc]
fsub dword [esp + 0x34]
mov edx, dword [eax + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
fstp dword [esp + 0xc]
fld dword [esp + 0x10]
fsub dword [esp + 0x38]
fld dword [esp + 0x14]
fsub dword [esp + 0x3c]
fld dword [esp + 0x48]
fmul st(1)
fld dword [esp + 0x44]
fmul st(3)
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0xc]
faddp st(1)
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
fld dword [esp + 0xc]
fmul dword [esp + 0xc]
faddp st(1)
fsqrt
fstp st(3)
fxch st(2)
fdivp st(2)
fxch st(1)
fstp dword [esp + 8]
fstp st(0)
fld dword [esp + 8]
fcomp dword [0x4db294]
fnstsw ax
test ah, 0x41
jne 0x42014f
fld dword [esp + 8]
fld qword [0x4db398]
call fcn.004c78aa
fstp dword [esp + 8]
fld dword [esp + 8]
call fcn.004c7fd0
fstp dword [esp + 8]
fld dword [esp + 0xc]
fcomp dword [0x4fd1ec]
fnstsw ax
test ah, 5
jp 0x42017b
fld dword [esp + 8]
fmul dword [0x4db3a0]
fstp dword [esp + 8]
mov eax, dword [esp + 8]
push esi
push edi
push eax
lea ecx, [esp + 0xac]
call fcn.0044d550
mov ecx, 0xc
lea esi, [esp + 0xa8]
lea edi, [esp + 0x188]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x100]
push ecx
call fcn.0049e130
lea edx, [esp + 0x148]
push edx
call fcn.0049e130
lea eax, [esp + 0x108]
push eax
call fcn.0049e130
mov eax, dword [esp + 0x34]
xor esi, esi
add esp, 0xc
cmp eax, esi
jbe 0x420377
mov dword [esp + 0x20], esi
nop
mov ecx, dword [ebx + 4]
mov edi, dword [ecx + 0x7c]
add edi, dword [esp + 0x20]
push edi
lea edx, [esp + 0xec]
push edx
mov ecx, ebp
call fcn.0044d9e0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0xf8]
mov dword [esp + 0x58], ecx
push eax
mov ecx, ebp
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.0044db60
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
mov dword [esp + 0x18], edx
fld dword [esp + 0x18]
mov dword [esp + 0x14], ecx
fmul dword [esp + 0x18]
mov ecx, dword [ebx + 0x58]
lea edx, [esp + 0x144]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fsqrt
fstp dword [esp + 0x2c]
mov edi, dword [esp + 0x2c]
push edi
push ecx
push edx
call fcn.0049e740
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x110]
push ecx
call fcn.0049e170
mov edx, dword [ebx + 0x54]
push edx
call fcn.004a8160
mov ecx, dword [ebx + 0x64]
mov dword [ecx + esi*4], eax
mov edx, dword [ebx + 0x64]
mov eax, dword [edx + esi*4]
push 1
push eax
call fcn.004a81f0
push edi
push 0
call fcn.004a3e80
mov ecx, dword [ebx + 0x60]
mov dword [ecx + esi*4], eax
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + esi*4]
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx + esi*4]
push eax
push edx
call fcn.004a8190
mov eax, dword [ebx + 0xc]
add esp, 0x30
test eax, eax
jne 0x420344
fld dword [esp + 0x30]
mov eax, dword [esp + 0x10]
fsub dword [esp + 0x3c]
push eax
lea ecx, [esp + 0xac]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fsub dword [esp + 0x44]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fsub dword [esp + 0x48]
fstp dword [esp + 0x3c]
call fcn.0044d550
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0xb0]
call fcn.0044d9e0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0x60]
push 0
push ecx
mov ecx, dword [eax + esi*4]
push edx
push ecx
call fcn.0049fe00
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
add esp, 0x10
inc esi
add ecx, 0x10
cmp esi, eax
mov dword [esp + 0x20], ecx
jb 0x4201e0
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x4205d1
mov ebp, dword [esp + 0x28]
mov edx, eax
mov dword [esp + 0x2c], 0
shl ebp, 2
mov dword [esp + 0x24], edx
mov esi, dword [esp + 0x2c]
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x80]
add ecx, esi
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.004506e0
fld dword [esp + 0x98]
fmul dword [esp + 0x5c]
add esp, 0xc
fld dword [esp + 0x88]
fmul dword [esp + 0x4c]
faddp st(1)
fld dword [esp + 0x84]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [esp + 0x84]
fmul dword [esp + 0x84]
fld dword [esp + 0x88]
fmul dword [esp + 0x88]
faddp st(1)
fld dword [esp + 0x8c]
fmul dword [esp + 0x8c]
faddp st(1)
fsqrt
fst dword [esp + 0x28]
fdivp st(1)
call fcn.004c7fd0
fstp dword [esp + 0x20]
fld dword [esp + 0x84]
fcomp dword [0x4fd1ec]
fnstsw ax
test ah, 5
jp 0x42043f
fld dword [esp + 0x20]
fmul dword [0x4db3a0]
fstp dword [esp + 0x20]
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x420454
fld dword [esp + 0x20]
push ecx
fsub dword [esp + 0x14]
fstp dword [esp]
jmp 0x420459
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0xac]
call fcn.0044d550
fld dword [esp + 0x70]
fadd st(0), st(0)
push 0x3f800000
sub esp, 8
mov ecx, 0xc
fstp dword [esp + 4]
fld dword [esp + 0x78]
lea esi, [esp + 0xb4]
fadd st(0), st(0)
lea edi, [esp + 0x1c4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x58]
lea edx, [esp + 0x150]
fstp dword [esp]
push ecx
push edx
call fcn.0049e770
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x118]
push ecx
call fcn.0049e170
mov edx, dword [ebx + 0x54]
push edx
call fcn.004a8160
mov ecx, dword [ebx + 0x64]
mov dword [ecx + ebp], eax
mov edx, dword [ebx + 0x64]
mov eax, dword [edx + ebp]
push 1
push eax
call fcn.004a81f0
fld dword [esp + 0x98]
fadd st(0), st(0)
add esp, 0x28
push 0x3f800000
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x78]
fadd st(0), st(0)
fstp dword [esp]
push 0
call fcn.004a4030
mov ecx, dword [ebx + 0x60]
mov dword [ecx + ebp], eax
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + ebp]
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx + ebp]
push eax
push edx
call fcn.004a8190
mov eax, dword [ebx + 0xc]
add esp, 0x18
test eax, eax
jne 0x420585
fld dword [esp + 0x60]
mov eax, dword [esp + 0x10]
fsub dword [esp + 0x3c]
push eax
lea ecx, [esp + 0xac]
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fsub dword [esp + 0x44]
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fsub dword [esp + 0x48]
fstp dword [esp + 0x6c]
call fcn.0044d550
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0xb0]
call fcn.0044d9e0
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov eax, dword [ebx + 0x60]
push 0
push ecx
mov ecx, dword [eax + ebp]
push edx
push ecx
call fcn.0049fe00
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + ebp]
lea edx, [esp + 0x1c8]
push edx
push ecx
call fcn.0049feb0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
add ecx, 0x3c
add esp, 0x18
add ebp, 4
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
jne 0x420398
mov eax, dword [ebx + 0x68]
xor esi, esi
test eax, eax
jbe 0x4205f8
lea ebx, [ebx]
mov edx, dword [ebx + 0x64]
mov eax, dword [edx + esi*4]
push ebx
push eax
call fcn.0049fc40
mov eax, dword [ebx + 0x68]
add esp, 8
inc esi
cmp esi, eax
jb 0x4205e0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [ebx + 0x5c]
push 0
push ecx
push edx
push eax
call fcn.0049e8d0
mov edx, dword [ebx + 0x5c]
lea ecx, [esp + 0x198]
push ecx
push edx
call fcn.0049e930
mov ecx, dword [ebx + 0x5c]
lea eax, [esp + 0x118]
push eax
push ecx
call fcn.0049ebf0
mov eax, dword [ebx + 0xc]
add esp, 0x20
xor edi, edi
test eax, eax
jne 0x42063e
mov edi, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x68]
xor esi, esi
test eax, eax
jbe 0x420697
mov edx, dword [ebx + 0x64]
mov eax, dword [edx + esi*4]
push edi
push eax
call fcn.0049fcb0
mov eax, dword [ebx + 0x8c]
add esp, 8
cmp eax, 0xffffffff
jne 0x42067f
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x420674
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx + esi*4]
push 0
push edx
jmp 0x420687
mov eax, dword [ebx + 0x64]
mov ecx, dword [eax + esi*4]
push 1
push ecx
jmp 0x420687
mov edx, dword [ebx + 0x64]
push eax
mov eax, dword [edx + esi*4]
push eax
call fcn.004a0060
mov eax, dword [ebx + 0x68]
add esp, 8
inc esi
cmp esi, eax
jb 0x420647
mov eax, dword [ebx + 0xc]
test eax, eax
pop edi
pop esi
je 0x4206b5
mov ecx, dword [ebx + 0x5c]
push ecx
call fcn.0049f040
add esp, 4
pop ebp
pop ebx
add esp, 0x1d8
ret
mov edx, dword [ebx + 0x5c]
push edx
call fcn.0049eff0
add esp, 4
pop ebp
pop ebx
add esp, 0x1d8
ret