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

Disassembly:
push 0xffffffffffffffff
push 0x728548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
mov esi, ecx
test byte [esi + 0x108], 1
push edi
mov dword [esp + 0x34], esi
jne 0x41337d
mov eax, dword [esi + 4]
test eax, eax
jne 0x412feb
call fcn.00412bf0
mov dword [esp + 0x38], 0x7f7fffff
mov dword [esp + 0x3c], 0xff7fffff
lea ebx, [esi + 0x44]
mov dword [esp + 0x28], 0x10
xor edx, edx
mov dword [esp + 0x20], edx
mov eax, dword [ebx - 0x40]
cmp dword [eax + 0x9c], edx
ja 0x413021
mov dword [esp + 0x1c], 0
jmp 0x41302e
mov eax, dword [eax + 0x94]
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 0x108]
shr eax, 1
test al, 1
jne 0x413343
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x98]
mov ebp, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov edx, dword [edx*4 + 0x7cae30]
mov esi, dword [ebx]
mov dword [esp + 0x14], eax
xor eax, eax
mov ax, word [edx]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], 0x7f7fffff
mov dword [esp + 0x54], 0xff7fffff
mov dword [esp + 0x10], 0
lea eax, [eax + eax*2]
movsx edi, word [esi + eax*2]
lea eax, [esi + eax*2]
movsx eax, word [eax + 2]
mov dword [esp + 0x24], edi
lea edi, [ecx + 8]
fild dword [esp + 0x24]
mov dword [esp + 0x24], eax
xor eax, eax
mov ax, word [edx + 0x30]
fstp dword [esp + 0x40]
fild dword [esp + 0x24]
fstp dword [esp + 0x44]
lea edx, [eax + eax*2]
lea eax, [esi + edx*2]
movsx edx, word [eax]
movsx eax, word [eax + 2]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
fild dword [esp + 0x24]
mov dword [esp + 0x24], eax
fstp dword [esp + 0x4c]
fild dword [esp + 0x24]
mov dword [esp + 0x24], ebp
sub ebp, ecx
mov dword [esp + 0x2c], ebp
fstp dword [esp + 0x50]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax*4 + 0x7cae30]
mov edx, dword [esp + 0x10]
xor esi, esi
mov si, word [edx + ecx]
mov ecx, dword [ebx + 0x40]
push ecx
lea eax, [esi + esi*2]
add eax, ecx
mov dx, word [eax]
mov al, byte [eax + 2]
mov ecx, esp
mov word [ecx], dx
mov byte [ecx + 2], al
lea ecx, [esp + 0x5c]
push ecx
call fcn.004ce680
mov edx, dword [eax]
mov dword [edi - 8], edx
mov ecx, dword [eax + 4]
mov dword [edi - 4], ecx
mov edx, dword [eax + 8]
mov dword [edi], edx
mov edx, dword [ebx]
lea ebp, [esi + esi*2]
shl ebp, 1
mov eax, ebp
add eax, edx
mov edx, dword [eax]
mov ax, word [eax + 4]
mov ecx, esp
mov dword [ecx], edx
mov word [ecx + 4], ax
lea ecx, [esp + 0x6c]
push ecx
call fcn.004ce720
mov edx, dword [eax]
mov ecx, dword [esp + 0x30]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x38]
mov dword [edx + edi], eax
mov eax, dword [ebx + 0x80]
mov edx, dword [eax + esi*4]
lea esi, [eax + esi*4]
mov eax, dword [esp + 0x20]
mov dword [eax], edx
mov edx, dword [ebx]
movsx eax, word [ebp + edx + 4]
add ebp, edx
mov dword [esp + 0x30], eax
add esp, 0xc
fild dword [esp + 0x24]
fld dword [esp + 0x48]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4131a9
movsx edx, word [ebp + 4]
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fstp dword [esp + 0x48]
fld dword [esp + 0x54]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 1
je 0x4131c8
movsx eax, word [ebp + 4]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add eax, 2
add ecx, 0xc
add edx, 4
add edi, 0xc
cmp eax, 0x32
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], edx
jl 0x4130e5
fld dword [esp + 0x54]
fadd dword [esp + 0x48]
fld dword [esp + 0x50]
fadd dword [esp + 0x44]
fstp dword [esp + 0x2c]
fld dword [esp + 0x4c]
fadd dword [esp + 0x40]
fstp dword [esp + 0x24]
fmul dword [0x746498]
fstp dword [esp + 0x10]
fld dword [esp + 0x2c]
fmul dword [0x746498]
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fmul dword [0x746498]
fstp dword [esp + 0x24]
fld dword [esp + 0x38]
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 0x41
jne 0x41324e
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], ecx
fld dword [esp + 0x3c]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 1
je 0x413265
mov edx, dword [esp + 0x54]
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], 0
lea ecx, [eax + 4]
mov edx, 0x19
fld dword [ecx + 4]
fsub dword [esp + 0x10]
fld dword [ecx]
fsub dword [esp + 0x14]
fld dword [ecx - 4]
fsub dword [esp + 0x24]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fsqrt
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4132b6
fstp dword [esp + 0x18]
jmp 0x4132b8
fstp st(0)
add ecx, 0xc
dec edx
jne 0x413279
lea ecx, [esp + 0x70]
call fcn.006f25e0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x98]
lea edx, [esp + 0x70]
mov dword [esp + 0x7c], ecx
push edx
lea ecx, [eax + 0xc]
mov dword [esp + 0x8c], 0
call fcn.006ed100
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov eax, dword [esi + 0x98]
inc word [eax + 0x30]
cmp word [eax + 0x30], 0
jne 0x413327
mov word [eax + 0x30], 1
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], 0xffffffff
call fcn.006e9a00
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
inc edx
cmp edx, 0x10
mov dword [esp + 0x20], edx
jl 0x41300c
mov eax, dword [esp + 0x28]
add ebx, 4
dec eax
mov dword [esp + 0x28], eax
jne 0x413006
mov eax, dword [esi]
test eax, eax
je 0x41337d
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x238], ecx
mov dword [eax + 0x23c], edx
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x7c
ret