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

Disassembly:
sub esp, 0x70
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push ebx
push ebp
mov edx, dword [ecx + 4]
push esi
mov esi, dword [eax + 4]
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], esi
mov esi, dword [eax + 8]
fild dword [esp + 0x40]
mov eax, dword [eax]
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx]
fidiv dword [esp + 0x3c]
and eax, 2
mov dword [esp + 0x40], ebx
or edi, eax
mov dword [esp + 0x38], esi
mov dword [ecx], edi
fmul dword [0x5472d4]
fstp dword [esp + 0x44]
fnstcw word [esp + 0x12]
fld dword [esp + 0x44]
mov ax, word [esp + 0x12]
or ah, 0xc
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x30]
fldcw word [esp + 0x12]
fild dword [esp + 0x38]
fidiv dword [esp + 0x40]
fmul dword [0x5472d4]
fstp dword [esp + 0x44]
fnstcw word [esp + 0x10]
fld dword [esp + 0x44]
mov ax, word [esp + 0x10]
or ah, 0xc
mov word [esp + 0x12], ax
fldcw word [esp + 0x12]
fistp dword [esp + 0x28]
fldcw word [esp + 0x10]
xor ebp, ebp
xor eax, eax
test ebx, ebx
mov dword [esp + 0x44], eax
jle 0x4ebb1b
mov esi, dword [ecx + 0x10]
mov edi, dword [ecx + 0x14]
imul esi, eax
add esi, edi
xor edi, edi
test edx, edx
jle 0x4ebb08
mov ecx, dword [esp + 0x28]
lea eax, [ecx + ebp - 1]
mov ecx, ebp
mov ebx, eax
sub ebx, ebp
mov dword [esp + 0x38], ebx
fild dword [esp + 0x38]
sar ecx, 0x10
sar eax, 0x10
fmul dword [0x5472d0]
add esi, 2
mov dword [esp + 0x48], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edx
fstp dword [esp + 0x2c]
jmp 0x4eb814
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
cmp ecx, eax
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x60]
lea ebx, [edx + edi - 1]
mov edx, dword [esp + 0x2c]
push eax
push ebp
push ebx
push edi
mov dword [esp + 0x5c], edx
push ecx
jne 0x4eb871
call fcn.004ebb30
mov edx, dword [esp + 0x40]
add esp, 0x14
mov dword [esp + 0x20], edx
fld dword [esp + 0x20]
fmul dword [esp + 0x60]
fld dword [esp + 0x64]
fmul dword [esp + 0x20]
fld dword [esp + 0x68]
fmul dword [esp + 0x20]
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fmul dword [esp + 0x20]
jmp 0x4eb9b0
mov esi, ebp
and esi, 0xffff0000
add esi, 0x10000
call fcn.004ebb30
mov edx, esi
mov ecx, dword [esp + 0x38]
sub edx, ebp
mov eax, esi
mov dword [esp + 0x34], edx
add esp, 0x14
fild dword [esp + 0x20]
sar eax, 0x10
cmp eax, ecx
fmul dword [0x5472d0]
fld dword [esp + 0x60]
fmul st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x64]
fmul st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fmul st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fmul st(1)
fstp dword [esp + 0x6c]
fstp st(0)
je 0x4eb92e
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x70]
push ecx
push esi
push ebx
push edi
push edx
call fcn.004ebb30
fld dword [esp + 0x84]
fadd dword [esp + 0x74]
mov ecx, dword [esp + 0x38]
add esi, 0x10000
mov eax, esi
add esp, 0x14
fstp dword [esp + 0x60]
fld dword [esp + 0x64]
fadd dword [esp + 0x74]
sar eax, 0x10
cmp eax, ecx
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fadd dword [esp + 0x78]
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x6c]
jne 0x4eb8d0
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x70]
push ecx
push esi
push ebx
push edi
push edx
call fcn.004ebb30
mov eax, dword [esp + 0x3c]
add esp, 0x14
lea eax, [eax + ebp - 1]
sub eax, esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [0x5472d0]
fld dword [esp + 0x70]
fmul st(1)
fstp dword [esp + 0x70]
fld dword [esp + 0x74]
fmul st(1)
fstp dword [esp + 0x74]
fld dword [esp + 0x78]
fmul st(1)
fstp dword [esp + 0x78]
fld dword [esp + 0x7c]
fmul st(1)
fstp dword [esp + 0x7c]
fstp st(0)
fld dword [esp + 0x70]
fadd dword [esp + 0x60]
fld dword [esp + 0x64]
fadd dword [esp + 0x74]
fld dword [esp + 0x68]
fadd dword [esp + 0x78]
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x6c]
fld dword [0x5303b4]
fdiv dword [esp + 0x4c]
fst dword [esp + 0x20]
fmul st(2)
fstp dword [esp + 0x60]
fmul dword [esp + 0x20]
fstp dword [esp + 0x64]
fstp st(0)
fld dword [esp + 0x68]
fmul dword [esp + 0x20]
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fmul dword [esp + 0x20]
fstp dword [esp + 0x6c]
fld dword [esp + 0x60]
fmul dword [0x530a6c]
fadd dword [0x5303bc]
fstp dword [esp + 0x34]
fnstcw word [esp + 0x10]
fld dword [esp + 0x34]
mov ax, word [esp + 0x10]
or ah, 0xc
mov word [esp + 0x12], ax
fldcw word [esp + 0x12]
fistp dword [esp + 0x50]
fldcw word [esp + 0x10]
fld dword [esp + 0x64]
fmul dword [0x530a6c]
mov cl, byte [esp + 0x50]
mov byte [esi - 2], cl
fadd dword [0x5303bc]
fstp dword [esp + 0x34]
fnstcw word [esp + 0x16]
fld dword [esp + 0x34]
mov ax, word [esp + 0x16]
or ah, 0xc
mov word [esp + 0x14], ax
fldcw word [esp + 0x14]
fistp dword [esp + 0x54]
fldcw word [esp + 0x16]
fld dword [esp + 0x68]
fmul dword [0x530a6c]
mov dl, byte [esp + 0x54]
mov byte [esi - 1], dl
fadd dword [0x5303bc]
fstp dword [esp + 0x34]
fnstcw word [esp + 0x1a]
fld dword [esp + 0x34]
mov ax, word [esp + 0x1a]
or ah, 0xc
mov word [esp + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0x58]
fldcw word [esp + 0x1a]
fld dword [esp + 0x6c]
fmul dword [0x530a6c]
mov al, byte [esp + 0x58]
mov byte [esi], al
fadd dword [0x5303bc]
fstp dword [esp + 0x34]
fnstcw word [esp + 0x1e]
fld dword [esp + 0x34]
mov ax, word [esp + 0x1e]
or ah, 0xc
mov word [esp + 0x1c], ax
fldcw word [esp + 0x1c]
fistp dword [esp + 0x5c]
fldcw word [esp + 0x1e]
mov cl, byte [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov byte [esi + 1], cl
add edi, edx
add esi, 4
dec eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
jne 0x4eb80c
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
add ebp, esi
inc eax
cmp eax, ebx
mov dword [esp + 0x44], eax
jl 0x4eb7bc
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x70
ret