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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
add eax, 0x90
lea esi, [eax + 4]
push esi
mov dword [esp + 0x4c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi + 0x28], 0
je 0x4292e4
cmp byte [edi + 0x29], 0
je 0x4292e4
cmp byte [edi + 0x2a], 0
je 0x4292e4
mov eax, dword [edi + 0x68]
cmp eax, dword [edi + 0x6c]
jae 0x4292e4
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x24]
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x14], esi
add esi, edx
add esi, ecx
add esi, eax
mov dword [esp + 0x20], esi
fild dword [esp + 0x20]
mov esi, dword [ebx + 0x30]
fld qword [0x46b2b0]
mov dword [esp + 0x24], edx
mov edx, dword [ebx + 0x34]
fmul st(1), st(0)
mov dword [esp + 0x30], esi
add esi, edx
fxch st(1)
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x38]
fstp dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x3c]
add esi, ecx
add esi, eax
mov dword [esp + 0x20], esi
fimul dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
fstp dword [esp + 0x20]
fild dword [esp + 0x14]
fld dword [esp + 0x3c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fabs
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x18]
fild dword [esp + 0x24]
fsub st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fabs
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x428f84
fstp dword [esp + 0x18]
jmp 0x428f86
fstp st(0)
fild dword [esp + 0x28]
fsub st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fabs
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x428fbb
fstp dword [esp + 0x18]
jmp 0x428fbd
fstp st(0)
fisubr dword [esp + 0x2c]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fabs
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x428ff0
fstp dword [esp + 0x18]
jmp 0x428ff2
fstp st(0)
fild dword [esp + 0x30]
fld dword [esp + 0x20]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fabs
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x42902f
fstp dword [esp + 0x18]
jmp 0x429031
fstp st(0)
fild dword [esp + 0x34]
fsub st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fabs
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x429066
fstp dword [esp + 0x18]
jmp 0x429068
fstp st(0)
fild dword [esp + 0x38]
fsub st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fabs
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x42909d
fstp dword [esp + 0x18]
jmp 0x42909f
fstp st(0)
fisubr dword [esp + 0x10]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4290d2
fstp dword [esp + 0x18]
jmp 0x4290d4
fstp st(0)
fld dword [esp + 0x18]
sub esp, 0xc
fmul qword [0x46b268]
lea esi, [esp + 0x94]
fstp dword [esp + 0x1c]
fld dword [ebp + 0x18]
fstp dword [esp + 8]
fld dword [ebp + 0x14]
fstp dword [esp + 4]
fld dword [ebp + 0x10]
fstp dword [esp]
call fcn.004206c0
fild dword [ebx + 0x20]
mov eax, dword [edi + 0x68]
fld dword [esp + 0x48]
add eax, eax
fld st(0)
lea ecx, [eax*8]
fsubp st(2)
sub ecx, eax
fxch st(1)
add ecx, ecx
add esp, 0xc
fstp dword [esp + 0x58]
add ecx, ecx
fld dword [esp + 0x30]
lea edx, [ebx + 0x50]
fstp dword [esp + 0x5c]
lea eax, [esp + 0x60]
fldz
fst dword [esp + 0x60]
fld dword [esp + 0x44]
fstp dword [esp + 0x64]
fld dword [esp + 0x2c]
fstp dword [esp + 0x68]
fst dword [esp + 0x6c]
fld dword [esp + 0x40]
fstp dword [esp + 0x70]
fld dword [esp + 0x28]
fstp dword [esp + 0x74]
fst dword [esp + 0x78]
fld dword [esp + 0x24]
fstp dword [esp + 0x7c]
fld dword [esp + 0x14]
mov dword [esp + 0x14], 4
fstp dword [esp + 0x80]
fstp dword [esp + 0x84]
fld dword [esp + 0x10]
fld dword [esp + 0xb0]
fld dword [esp + 0xac]
fld qword [0x46b2a8]
fld dword [esp + 0x98]
mov esi, dword [edi + 0x64]
fmul dword [eax - 4]
fld dword [esp + 0x88]
fmul dword [eax - 8]
faddp st(1)
fld dword [eax]
fmul dword [esp + 0xa8]
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x9c]
fmul dword [eax - 4]
fld dword [esp + 0x8c]
fmul dword [eax - 8]
faddp st(1)
fld dword [eax]
fmul st(3)
faddp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0xa0]
fmul dword [eax - 4]
fld dword [esp + 0x90]
fmul dword [eax - 8]
faddp st(1)
fld dword [eax]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd st(4)
fstp dword [esp + 0x54]
fld dword [esp + 0x4c]
fmul st(4)
fld dword [esp + 0x54]
fld st(0)
fdivp st(2)
fld st(6)
faddp st(2)
fxch st(1)
fsub st(2)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [ecx + esi]
mov esi, dword [edi + 0x64]
fld dword [esp + 0x50]
fmul st(5)
fdiv st(1)
fadd dword [esp + 0x20]
fsub st(2)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [ecx + esi + 4]
mov esi, dword [edx - 0x10]
fild dword [edx - 0x10]
test esi, esi
jge 0x429262
fadd dword [0x46b238]
fmul dword [edi + 0x20]
mov esi, dword [edi + 0x64]
add ecx, 0x1c
add eax, 0xc
fstp dword [esp + 0x10]
add edx, 4
sub dword [esp + 0x14], 1
fld dword [esp + 0x10]
fstp dword [ecx + esi - 0x14]
mov esi, dword [edi + 0x64]
fld st(4)
fdivp st(1)
fdivr dword [edx - 4]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [ecx + esi - 0x10]
mov esi, dword [edi + 0x64]
mov ebx, dword [edx + 0xc]
mov dword [ecx + esi - 0xc], ebx
fild dword [edx - 0x54]
mov esi, dword [edi + 0x64]
fmul dword [edi + 0x18]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [ecx + esi - 8]
mov esi, dword [edi + 0x64]
fild dword [edx - 0x44]
fmul dword [edi + 0x1c]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [ecx + esi - 4]
jne 0x4291a2
add dword [edi + 0x68], 2
fstp st(3)
mov esi, dword [esp + 0x48]
fstp st(2)
fstp st(2)
fstp st(1)
fstp st(0)
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18