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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4eb018]
xor eax, ebp
mov dword [ebp - 4], eax
fldz
mov eax, dword [ebp + 8]
push ebx
fst dword [ebp - 0x120]
push esi
fstp dword [ebp - 0x10c]
xor ebx, ebx
push edi
mov edi, dword [0x4f88f0]
push ebx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x108], ebx
call dword [0x4b737c]
mov dword [ebp - 0x11c], eax
mov esi, eax
add esp, 4
lea eax, [edi + 4]
push eax
call dword [0x4b7124]
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x114], ecx
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx]
cmp eax, ecx
je 0x46156f
fld1
mov edx, ecx
cmp dword [eax + 0x20], 0
jne 0x461502
mov ecx, dword [eax + 0x18]
inc ebx
mov dword [ebp - 0x124], ecx
test ecx, ecx
je 0x461516
fld dword [eax + 0x14]
fidiv dword [ebp - 0x124]
fadd dword [ebp - 0x120]
fstp dword [ebp - 0x120]
jmp 0x461516
fld dword [ebp - 0x10c]
inc dword [ebp - 0x108]
fadd st(1)
fstp dword [ebp - 0x10c]
mov ecx, dword [eax + 0x1c]
cmp ecx, esi
jge 0x46151f
mov esi, ecx
cmp byte [eax + 0x41], 0
jne 0x46155f
mov ecx, dword [eax + 8]
cmp byte [ecx + 0x41], 0
jne 0x461544
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0x41], 0
jne 0x46155f
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0x41], 0
je 0x461538
jmp 0x46155f
mov ecx, dword [eax + 4]
cmp byte [ecx + 0x41], 0
jne 0x46155d
cmp eax, dword [ecx + 8]
jne 0x46155d
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0x41], 0
je 0x46154d
mov eax, ecx
cmp eax, edx
jne 0x4614d7
fstp st(0)
mov dword [ebp - 0x124], ebx
lea eax, [edi + 4]
push eax
call dword [0x4b7128]
fld dword [ebp - 0x120]
fld st(0)
fldz
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x4615ac
mov edx, dword [ebp - 0x108]
fld dword [ebp - 0x10c]
add edx, ebx
fstp dword [ebp - 0x110]
mov dword [ebp - 0x10c], edx
jmp 0x4615bc
fxch st(1)
mov dword [ebp - 0x10c], ebx
fst dword [ebp - 0x110]
fxch st(1)
xor ebx, ebx
cmp dword [ebp - 0x114], ebx
jne 0x4615fc
mov eax, dword [ebp - 0x118]
fstp st(0)
fstp st(0)
cmp eax, ebx
je 0x4615e4
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ebx
jb 0x4615df
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
pop edi
pop esi
mov eax, 0x64
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ab7a3
mov esp, ebp
pop ebp
ret 4
fld dword [ebp - 0x110]
fld st(0)
fld st(2)
fucompp
fnstsw ax
test ah, 0x44
jp 0x461644
mov eax, dword [ebp - 0x118]
fstp st(0)
fstp st(0)
fstp st(0)
cmp eax, ebx
je 0x46162f
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ebx
jb 0x46162a
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ab7a3
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x118], ebx
je 0x46186a
mov ecx, dword [ebp - 0x11c]
fstp st(2)
sub ecx, esi
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
shl edx, 4
sub edx, eax
add edx, edx
add edx, edx
mov dword [ebp - 0x12c], eax
mov eax, dword [edi + 0x6c]
sub ecx, edx
mov dword [ebp - 0x128], ecx
cmp eax, ebx
jne 0x4616a9
mov eax, dword [ebp - 0x11c]
fxch st(1)
mov ecx, dword [ebp - 0x10c]
fst dword [edi + 0x64]
mov dword [edi + 0x6c], eax
mov dword [edi + 0x68], ecx
jmp 0x46177c
mov ecx, dword [ebp - 0x11c]
sub ecx, eax
mov dword [ebp - 0x108], ecx
cmp ecx, 2
jl 0x46177a
fld dword [edi + 0x64]
fsubp st(2)
fxch st(1)
fstp dword [ebp - 0x114]
fld dword [ebp - 0x114]
fidiv dword [ebp - 0x108]
fstp dword [ebp - 0x108]
fcom dword [ebp - 0x108]
fnstsw ax
test ah, 5
jnp 0x4616f4
fstp dword [ebp - 0x108]
jmp 0x4616f6
fstp st(0)
push 0x24
lea esi, [edi + 0x38]
lea edx, [edi + 0x3c]
push esi
push edx
call dword [0x4b7364]
fld dword [ebp - 0x108]
inc dword [edi + 0x60]
fstp dword [esi]
fldz
mov edx, dword [edi + 0x60]
add esp, 0xc
fst dword [edi + 0x70]
xor eax, eax
mov ecx, edx
cmp edx, 0xa
jl 0x46172a
mov ecx, 0xa
cmp eax, ecx
jge 0x46173c
fld dword [esi]
inc eax
fadd dword [edi + 0x70]
add esi, 4
fstp dword [edi + 0x70]
jmp 0x46171e
mov dword [ebp - 0x108], edx
cmp edx, 0xa
jl 0x461751
mov dword [ebp - 0x108], 0xa
fld dword [edi + 0x70]
mov eax, dword [ebp - 0x11c]
fidiv dword [ebp - 0x108]
mov ecx, dword [ebp - 0x10c]
mov dword [edi + 0x6c], eax
mov dword [edi + 0x68], ecx
fstp dword [edi + 0x70]
fld dword [ebp - 0x110]
fst dword [edi + 0x64]
jmp 0x46177c
fxch st(1)
fxch st(1)
fcomp dword [edi + 0x70]
fnstsw ax
test ah, 5
jp 0x4617cc
fisubr dword [ebp - 0x10c]
fdiv dword [edi + 0x70]
fadd qword [0x4db888]
call fcn.004ac1b0
mov ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, esi
shl edx, 4
sub edx, esi
add edx, edx
add edx, edx
sub ecx, edx
mov dword [edi + 0x74], esi
mov dword [ebp - 0x110], ecx
mov dword [edi + 0x78], ecx
jmp 0x4617da
mov eax, dword [edi + 0x78]
fstp st(0)
mov esi, dword [edi + 0x74]
mov dword [ebp - 0x110], eax
mov edi, dword [0x4f88ac]
lea ecx, [edi + 4]
lea ebx, [ebp - 0x114]
lea eax, [ebp - 0x108]
mov dword [ebp - 0x114], 0x1389
call fcn.00456ac0
mov eax, dword [ebp - 0x108]
cmp eax, dword [edi + 8]
jne 0x461810
mov eax, 0x4f94f0
jmp 0x461813
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x128]
push ecx
mov ecx, dword [ebp - 0x12c]
push esi
push edx
push ecx
push eax
lea edx, [ebp - 0x104]
call fcn.004018a0
lea eax, [ebp - 0x104]
add esp, 0x14
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x461841
mov esi, dword [ebp - 0x118]
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x104]
call fcn.00402c00
fld dword [ebp - 0x120]
jmp 0x46186e
fstp st(0)
fstp st(0)
fmul qword [0x4db900]
fidiv dword [ebp - 0x124]
fadd qword [0x4db888]
call fcn.004ac1b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ab7a3
mov esp, ebp
pop ebp
ret 4