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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb4
push ebx
push esi
mov esi, dword [0xd9cc00]
test esi, esi
push edi
je 0x54ba96
mov ebx, dword [0xd9cb84]
test ebx, ebx
je 0x54ba96
mov eax, dword [0xd9cb68]
add eax, 0xfffffffe
test eax, eax
mov dword [esp + 0x8c], eax
fild dword [esp + 0x8c]
jge 0x54b1db
fadd dword [0x87079c]
fmul dword [ebp + 8]
mov edi, dword [0xd9cb90]
add esi, 0x5b0
fadd dword [0x870780]
fstp dword [ebp + 8]
mov ecx, dword [ebp + 8]
push ecx
push ebx
push edi
call fcn.0054b010
fld dword [ebp + 8]
fsub dword [0x87076c]
add esi, 0x10
fstp dword [ebp + 8]
mov edx, dword [ebp + 8]
push edx
push ebx
push edi
call fcn.0054b010
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov edi, edx
mov edx, dword [0xd9cb68]
mov ecx, 1
add esp, 0x18
shr edi, 3
add esi, 0x10
cmp edx, ecx
lea eax, [ebx - 2]
mov dword [esp + 0x88], ecx
jbe 0x54b367
test eax, eax
mov dword [esp + 0x8c], eax
fild dword [esp + 0x8c]
jge 0x54b261
fadd dword [0x87079c]
fstp dword [esp + 0x8c]
lea ebx, [esi - 8]
jmp 0x54b270
mov edx, dword [esp + 0x88]
fild dword [esp + 0x88]
test edx, edx
jge 0x54b288
fadd dword [0x87079c]
fdiv dword [esp + 0x8c]
mov eax, dword [0xd9cb84]
push ecx
mov ecx, dword [0xd9cb90]
fsubr dword [0x87076c]
fmul dword [ebp + 8]
fstp dword [esp]
push eax
push ecx
call fcn.0054b010
mov edx, eax
mov eax, 0xcccccccd
mul edx
mov eax, dword [0xd9cb64]
add esp, 0xc
shr edx, 3
test eax, eax
jne 0x54b344
cmp edi, edx
je 0x54b342
mov ecx, dword [0xd9cb90]
lea eax, [edi + edi*4]
shl eax, 1
shl eax, 4
fld dword [ecx + eax]
add ecx, eax
fsub dword [ebx - 8]
fstp dword [esp + 0x10]
fld dword [ecx + 4]
fsub dword [ebx - 4]
fstp dword [esp + 0x14]
fld dword [ecx + 8]
fsub dword [ebx]
fstp dword [esp + 0x18]
fld dword [ecx + 0xc]
fsub dword [ebx + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fcomp dword [0x879dc4]
fnstsw ax
test ah, 0x44
jnp 0x54b342
mov edi, dword [ecx]
mov eax, esi
mov dword [eax], edi
mov edi, dword [ecx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + 8]
mov dword [eax + 8], edi
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov edi, edx
mov eax, dword [esp + 0x88]
mov ecx, dword [0xd9cb68]
inc eax
add esi, 0x10
add ebx, 0x10
cmp eax, ecx
mov dword [esp + 0x88], eax
jb 0x54b270
fld dword [0xe74e40]
mov edx, dword [0xe74e30]
fld dword [0xe74e44]
mov eax, dword [0xe74e34]
mov ecx, dword [0xe74e38]
fxch st(1)
mov dword [esp + 0x90], edx
fsub dword [esp + 0x90]
mov edx, dword [0xe74e48]
mov dword [esp + 0x94], eax
fstp dword [esp + 0x40]
mov dword [esp + 0x48], edx
mov dword [esp + 0x98], ecx
fsub dword [esp + 0x94]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x44]
fstp dword [esp + 0x48]
push ecx
fld dword [esp + 0x50]
fsub dword [esp + 0xa0]
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fsub dword [esp + 0xa4]
fstp dword [esp + 0x54]
call fcn.00402c01
fld dword [esp + 0x44]
mov dword [esp + 0x10], 0
fmul dword [0x879dc4]
mov dword [esp + 0x14], 0x3f800000
fld dword [esp + 0x48]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
fsubr st(1)
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
fld dword [esp + 0x48]
mov dword [esp + 0x70], edx
fmul dword [0x879dc4]
fld dword [esp + 0x40]
fmul dword [0x879dc4]
fsubp st(1)
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
fld dword [esp + 0x40]
mov dword [esp + 0x74], eax
fsub st(1)
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x78], ecx
fstp st(0)
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fcomp dword [0x879dc4]
fnstsw ax
test ah, 0x44
jp 0x54b4a5
mov dword [esp + 0x70], 0x3f800000
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
jmp 0x54b4b4
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.00402c01
mov esi, dword [0xd9cc00]
fld dword [esi + 0x5c0]
add esi, 0x5b0
fsub dword [esi]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x24]
fstp dword [esp + 0x24]
push edx
fld dword [esi + 0x14]
fsub dword [esi + 4]
fstp dword [esp + 0x2c]
fld dword [esi + 0x18]
fsub dword [esi + 8]
fstp dword [esp + 0x30]
fld dword [esi + 0x1c]
fsub dword [esi + 0xc]
fstp dword [esp + 0x34]
call fcn.00402c01
fld dword [esp + 0x20]
fmul dword [0xd9cb80]
fstp dword [esp + 0x10]
fld dword [esp + 0x24]
fmul dword [0xd9cb80]
fstp dword [esp + 0x14]
fld dword [esp + 0x28]
fmul dword [0xd9cb80]
fstp dword [esp + 0x18]
fld dword [esp + 0x2c]
fmul dword [0xd9cb80]
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fadd dword [esi]
fstp dword [esp + 0x50]
fld dword [esp + 0x14]
fadd dword [esi + 4]
fstp dword [esp + 0x54]
fld dword [esp + 0x18]
fadd dword [esi + 8]
fstp dword [esp + 0x58]
fld dword [esp + 0x1c]
fadd dword [esi + 0xc]
fld dword [esp + 0x50]
fsub dword [esp + 0x90]
fstp dword [esp + 0x10]
fld dword [esp + 0x54]
fsub dword [esp + 0x94]
fstp dword [esp + 0x14]
fld dword [esp + 0x58]
fsub dword [esp + 0x98]
fstp dword [esp + 0x18]
fsub dword [esp + 0x9c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fcomp dword [0x879dc4]
fnstsw ax
test ah, 0x44
jp 0x54b5db
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jmp 0x54b5ea
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00402c01
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
fld dword [esp + 0x24]
fmul dword [esp + 0x18]
fsubp st(1)
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fld dword [esp + 0x20]
fmul dword [esp + 0x18]
fld dword [esp + 0x28]
fmul dword [esp + 0x10]
fsubp st(1)
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
fld dword [esp + 0x24]
fmul dword [esp + 0x10]
mov dword [esp + 0x10], eax
fld dword [esp + 0x20]
fmul dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fsubp st(1)
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
fld dword [esp + 0x3c]
mov dword [esp + 0x18], edx
fmul dword [esp + 0x3c]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fcomp dword [0x879dc4]
fnstsw ax
test ah, 0x44
jp 0x54b68f
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jmp 0x54b69e
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00402c01
fld dword [0xd9cb8c]
mov edi, dword [0xd9cb6c]
fmul dword [esp + 0x10]
fstp dword [esp + 0x20]
fld dword [0xd9cb8c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x24]
fld dword [0xd9cb8c]
fmul dword [esp + 0x18]
fstp dword [esp + 0x28]
fld dword [0xd9cb8c]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x2c]
mov eax, dword [esi]
fld dword [esp + 0x20]
mov dword [0xd9cbb8], eax
fadd dword [esp + 0x50]
mov ecx, dword [esi + 4]
fld dword [esp + 0x24]
mov dword [0xd9cbbc], ecx
fadd dword [esp + 0x54]
mov edx, dword [esi + 8]
fld dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
fadd dword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov dword [0xd9cbd4], ecx
mov dword [0xd9cbc0], edx
fstp dword [esp + 0xb8]
mov edx, dword [esp + 0x58]
fld dword [esp + 0x50]
mov dword [0xd9cbd8], edx
fsub dword [esp + 0x20]
mov dword [0xd9cbd0], eax
mov eax, dword [esp + 0xb8]
mov dword [0xd9cba8], eax
fstp dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
fld dword [esp + 0x54]
mov dword [0xd9cbe8], ecx
fsub dword [esp + 0x24]
fstp dword [esp + 0x64]
mov edx, dword [esp + 0x64]
fld dword [esp + 0x58]
mov dword [0xd9cbec], edx
fsub dword [esp + 0x28]
fstp dword [esp + 0x68]
mov eax, dword [esp + 0x68]
fxch st(1)
mov dword [0xd9cbf0], eax
fstp dword [0xd9cba0]
fstp dword [0xd9cba4]
fld dword [0xd9cb98]
fmul dword [esp + 0x10]
fstp dword [esp + 0x20]
fld dword [0xd9cb98]
fmul dword [esp + 0x14]
fstp dword [esp + 0x24]
fld dword [0xd9cb98]
fmul dword [esp + 0x18]
fstp dword [esp + 0x28]
fld dword [0xd9cb98]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x20]
fadd dword [esp + 0x50]
fld dword [esp + 0x24]
fadd dword [esp + 0x54]
fld dword [esp + 0x28]
fadd dword [esp + 0x58]
fld dword [esp + 0x50]
fsub dword [esp + 0x20]
fstp dword [esp + 0x60]
fld dword [esp + 0x54]
fsub dword [esp + 0x24]
fstp dword [esp + 0x64]
fld dword [esp + 0x58]
fsub dword [esp + 0x28]
fstp dword [esp + 0x68]
fxch st(2)
fstp dword [edi]
mov eax, dword [esp + 0x68]
fstp dword [edi + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
fstp dword [edi + 8]
add edi, 0x18
mov dword [edi + 8], eax
mov eax, dword [0xd9cb84]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov ebx, 2
add edi, 0x18
cmp eax, ebx
jbe 0x54ba96
add esi, 0x14
lea esp, [esp]
fld dword [esi + 0xc]
fsub dword [esp + 0x90]
fstp dword [esp + 0x10]
fld dword [esi + 0x10]
fsub dword [esp + 0x94]
fstp dword [esp + 0x14]
fld dword [esi + 0x14]
fsub dword [esp + 0x98]
fstp dword [esp + 0x18]
fld dword [esi + 0x18]
fsub dword [esp + 0x9c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fcomp dword [0x879dc4]
fnstsw ax
test ah, 0x44
jp 0x54b8c3
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jmp 0x54b8d2
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.00402c01
cmp ebx, dword [0xd9cb68]
jne 0x54b8fc
fld dword [esi + 0xc]
fsub dword [esi - 4]
fstp dword [esp + 0x20]
fld dword [esi + 0x10]
fsub dword [esi]
fstp dword [esp + 0x24]
fld dword [esi + 0x14]
fsub dword [esi + 4]
fstp dword [esp + 0x28]
fld dword [esi + 0x18]
jmp 0x54b91c
fld dword [esi + 0x1c]
fsub dword [esi - 4]
fstp dword [esp + 0x20]
fld dword [esi + 0x20]
fsub dword [esi]
fstp dword [esp + 0x24]
fld dword [esi + 0x24]
fsub dword [esi + 4]
fstp dword [esp + 0x28]
fld dword [esi + 0x28]
fsub dword [esi + 8]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x24]
push edx
fstp dword [esp + 0x34]
call fcn.00402c01
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
fld dword [esp + 0x24]
fmul dword [esp + 0x18]
fsubp st(1)
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fld dword [esp + 0x20]
fmul dword [esp + 0x18]
fld dword [esp + 0x28]
fmul dword [esp + 0x10]
fsubp st(1)
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
fld dword [esp + 0x24]
fmul dword [esp + 0x10]
mov dword [esp + 0x10], eax
fld dword [esp + 0x20]
fmul dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fsubp st(1)
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
fld dword [esp + 0x3c]
mov dword [esp + 0x18], edx
fmul dword [esp + 0x3c]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fcomp dword [0x879dc4]
fnstsw ax
test ah, 0x44
jp 0x54b9d7
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jmp 0x54b9e6
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00402c01
fld dword [0xd9cb98]
add edi, 0x18
fmul dword [esp + 0x10]
add edi, 0x18
inc ebx
add esi, 0x10
fstp dword [esp + 0x20]
fld dword [0xd9cb98]
fmul dword [esp + 0x14]
fstp dword [esp + 0x24]
fld dword [0xd9cb98]
fmul dword [esp + 0x18]
fstp dword [esp + 0x28]
fld dword [0xd9cb98]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x20]
fadd dword [esi - 4]
fld dword [esp + 0x24]
fadd dword [esi]
fld dword [esp + 0x28]
fadd dword [esi + 4]
fstp dword [esp + 0xb8]
mov eax, dword [esp + 0xb8]
fld dword [esi - 4]
fsub dword [esp + 0x20]
fstp dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
fld dword [esi]
fsub dword [esp + 0x24]
fstp dword [esp + 0x64]
mov edx, dword [esp + 0x64]
fld dword [esi + 4]
fsub dword [esp + 0x28]
mov dword [edi - 0x28], eax
fstp dword [esp + 0x68]
mov eax, dword [esp + 0x68]
fxch st(1)
fstp dword [edi - 0x30]
fstp dword [edi - 0x2c]
mov dword [edi - 0x10], eax
cmp ebx, dword [0xd9cb84]
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], edx
jb 0x54b840
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret