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

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x74]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x7c]
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebx + 0xc0], edi
mov dword [ebx + 0xcc], edi
fld dword [eax]
fsub dword [esi]
lea ecx, [esp + 0x40]
xor ebp, ebp
mov dword [esp + 0x24], ebp
fstp dword [esp + 0x58]
mov dword [esp + 0x60], ebp
fld dword [eax + 4]
lea eax, [esp + 0x58]
fsub dword [esi + 4]
push eax
push ecx
fstp dword [esp + 0x64]
call fcn.004ab180
fld dword [esp + 0x4c]
fchs
mov edx, dword [esp + 0x48]
fstp dword [esp + 0x54]
mov ecx, dword [ebx + 0xa0]
fld dword [esp + 0x50]
mov dword [esp + 0x58], edx
fmul dword [esi + 8]
xor edx, edx
fld dword [esp + 0x48]
add esp, 8
fmul dword [esi]
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], edx
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esi + 4]
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x4c]
fmul dword [esi]
fld dword [esp + 0x50]
fmul dword [esi + 4]
faddp st(1)
fld dword [esi + 8]
fmul dword [0x73d700]
faddp st(1)
fstp dword [esp + 0x84]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x2c], eax
jle 0x582aca
mov ecx, dword [ebx + 0x9c]
mov ecx, dword [ecx + edx*4]
cmp eax, ecx
mov dword [esp + 0x34], ecx
mov edi, eax
jge 0x582a9b
jmp 0x582712
mov eax, dword [esp + 0x2c]
lea ebp, [edi + 1]
lea esi, [ebp - 2]
cmp esi, eax
mov dword [esp + 0x3c], ebp
jge 0x582723
lea esi, [ecx - 1]
cmp ebp, dword [esp + 0x34]
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + esi*8]
mov ecx, dword [ebx + 0x60]
mov esi, dword [ecx + esi*4]
mov edx, dword [ebx + 0x54]
lea esi, [esi + esi*2]
lea esi, [edx + esi*4]
mov dword [esp + 0x1c], esi
mov esi, dword [eax + edi*8]
mov esi, dword [ecx + esi*4]
lea esi, [esi + esi*2]
lea esi, [edx + esi*4]
jne 0x582755
mov ebp, dword [esp + 0x2c]
fld dword [esp + 0x40]
mov eax, dword [eax + ebp*8]
fmul dword [esi]
mov ecx, dword [ecx + eax*4]
fld dword [esp + 0x48]
lea ecx, [ecx + ecx*2]
fmul dword [esi + 8]
lea ecx, [edx + ecx*4]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esi + 4]
faddp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x4c]
fmul dword [esi]
fld dword [esp + 0x50]
fmul dword [esi + 4]
faddp st(1)
fld dword [esi + 8]
fmul dword [0x73d700]
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x50]
fmul dword [ecx + 4]
fld dword [esp + 0x4c]
fmul dword [ecx]
faddp st(1)
fld dword [ecx + 8]
fmul dword [0x73d700]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 5
jp 0x5827dd
fld dword [esp + 0x84]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jnp 0x582809
fld dword [esp + 0x10]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 5
jp 0x5828cc
fld dword [esp + 0x84]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x5828cc
fld dword [esp + 0x84]
fsub dword [esp + 0x10]
fld dword [esp + 0x14]
fsub dword [esp + 0x10]
fdivp st(1)
fld dword [0x73d764]
fsub st(1)
fld st(0)
fmul dword [ecx]
fstp dword [esp + 0x64]
fld st(0)
fmul dword [ecx + 4]
fstp dword [esp + 0x68]
fmul dword [ecx + 8]
fld st(1)
fmul dword [esi]
fld st(2)
fmul dword [esi + 4]
fxch st(3)
fmul dword [esi + 8]
fstp dword [esp + 0x78]
fadd dword [esp + 0x64]
fstp dword [esp + 0x58]
fxch st(1)
fadd dword [esp + 0x68]
fstp dword [esp + 0x5c]
fld dword [esp + 0x78]
fadd st(1)
fstp dword [esp + 0x60]
fstp st(0)
fld dword [esp + 0x60]
fmul dword [esp + 0x48]
fld dword [esp + 0x5c]
fmul dword [esp + 0x44]
faddp st(1)
fld dword [esp + 0x58]
fmul dword [esp + 0x40]
faddp st(1)
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
jne 0x5828cc
push edi
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x4c]
push ecx
push edx
mov ecx, ebx
call fcn.00581d90
mov ebp, dword [esp + 0x20]
test ebp, ebp
jne 0x5828d0
mov eax, dword [esp + 0x88]
mov ebp, 1
mov dword [eax], edi
mov dword [esp + 0x20], ebp
jmp 0x5828d0
mov ebp, dword [esp + 0x20]
fld dword [esp + 0x14]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 0x44
jp 0x582a83
fld dword [esp + 0x30]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
jne 0x582a83
mov eax, dword [esp + 0x1c]
fld dword [esp + 0x50]
fmul dword [eax + 4]
fld dword [esp + 0x4c]
fmul dword [eax]
faddp st(1)
fld dword [eax + 8]
fmul dword [0x73d700]
faddp st(1)
fst dword [esp + 0x1c]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x44
jp 0x582939
fld dword [esp + 0x14]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x44
jnp 0x582a83
fld dword [esp + 0x18]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 0x44
jp 0x582967
fld dword [esp + 0x1c]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 0x44
jnp 0x5829cb
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
jmp 0x5829cb
fld dword [esp + 0x18]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 5
jp 0x58298b
fld dword [esp + 0x10]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 5
jnp 0x5829af
fld dword [esp + 0x18]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 0x41
jne 0x5829b6
fld dword [esp + 0x10]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 0x41
jne 0x5829b6
mov eax, 1
jmp 0x5829b8
xor eax, eax
test eax, eax
mov edx, dword [esp + 0x84]
mov dword [esp + 0x18], edx
je 0x582a83
mov edx, dword [esp + 0x80]
push edi
lea eax, [esp + 0x28]
push eax
push esi
lea ecx, [esp + 0x4c]
push ecx
push edx
mov ecx, ebx
call fcn.00581d90
test ebp, ebp
jne 0x5829fc
mov eax, dword [esp + 0x88]
mov ebp, 1
mov dword [eax], edi
mov dword [esp + 0x20], ebp
fld dword [esp + 0x30]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x44
jnp 0x582a83
fld dword [esp + 0x1c]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 5
jp 0x582a2f
fld dword [esp + 0x10]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 5
jnp 0x582a53
fld dword [esp + 0x1c]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 0x41
jne 0x582a83
fld dword [esp + 0x10]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 0x41
jne 0x582a83
mov eax, dword [esp + 0x80]
push edi
lea ecx, [esp + 0x28]
push ecx
push esi
lea edx, [esp + 0x4c]
push edx
push eax
mov ecx, ebx
call fcn.00581d90
test ebp, ebp
jne 0x582a83
mov ecx, dword [esp + 0x88]
mov dword [ecx], edi
mov dword [esp + 0x20], 1
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
cmp edi, ecx
jl 0x58270e
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x24]
mov eax, ecx
mov ecx, dword [ebx + 0xa0]
inc edx
cmp edx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edx
jl 0x5826f5
cmp ebp, 1
jle 0x582aca
mov edx, dword [ebx + 0xc8]
mov eax, dword [edx]
mov ecx, dword [esp + 0x88]
mov dword [ecx], eax
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x6c
ret 0xc