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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x284
mov eax, dword [0x6d63d0]
mov dword [esp + 0x280], eax
push ebx
add ecx, 0x338
lea eax, [esp + 0x80]
push esi
mov esi, dword [ebp + 8]
sub eax, ecx
push edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], 8
lea ecx, [ecx]
mov ax, word [ecx + 0x100]
test ax, ax
je 0x4e0a66
mov eax, dword [ecx + 0x104]
mov edx, dword [ecx + 0x110]
inc eax
cmp eax, edx
mov dword [esp + 0x20], eax
mov dword [ecx + 0x104], eax
mov dword [esp + 0x18], edx
jl 0x4e063d
mov word [ecx + 0x100], 0
jmp 0x4e0a66
mov edx, dword [ecx + 0x10c]
cmp eax, edx
jle 0x4e0a66
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov ebx, 0x80
mov dword [esp + 0x1c], eax
mov edi, ecx
lea ecx, [ecx]
mov al, byte [edi]
mov edx, dword [esp + 0x3c]
mov byte [edx + edi], al
inc edi
test al, al
jne 0x4e0660
mov edi, dword [esp + 0x1c]
dec edi
mov al, byte [esp + edi + 0x89]
inc edi
and al, 0xc0
cmp al, 0x80
je 0x4e0673
mov al, byte [esp + edi + 0x88]
test al, al
jne 0x4e06c3
cmp word [ecx + 0x100], 3
jne 0x4e06b0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
sub eax, edx
cmp eax, 0x3c
jle 0x4e06c3
add edx, 0x3c
mov dword [ecx + 0x110], edx
jmp 0x4e06c3
mov edx, dword [esp + 0x20]
mov eax, 0xff
cmp edx, eax
jge 0x4e06c3
mov dword [ecx + 0x104], eax
cmp edi, 0x200
jge 0x4e06d3
mov byte [esp + edi + 0x88], 0
cmp edi, dword [ecx + 0x108]
je 0x4e06e1
mov dword [ecx + 0x108], edi
mov eax, dword [ecx + 0x110]
mov edx, dword [ecx + 0x104]
lea edi, [eax - 0x1e]
cmp edx, edi
jle 0x4e070e
sub eax, edx
shl eax, 7
mov edi, eax
mov eax, 0x88888889
imul edi
add edx, edi
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
push ecx
mov ecx, dword [0x6f2260]
mov dword [esp + 0x3c], 0x3f800000
call fcn.0060b660
cmp eax, 0x190
mov dword [esp + 0x18], eax
jle 0x4e073b
fild dword [esp + 0x18]
fdivr dword [0x68d078]
fstp dword [esp + 0x38]
mov ecx, dword [0x6beef4]
mov edx, dword [0x6beeec]
push ecx
push edx
call fcn.004d1260
mov ecx, dword [0x6beef0]
mov di, ax
mov eax, dword [0x6beef4]
push eax
push ecx
call fcn.004d12e0
mov edx, dword [0x74106c]
mov ecx, dword [0x6f225c]
mov word [esp + 0x5e], ax
mov eax, dword [edx + 0xe94]
add esp, 0x10
push eax
call fcn.0060b660
cdq
sub eax, edx
movsx edx, word [esp + 0x4e]
sar eax, 1
neg eax
add di, ax
lea eax, [ebx + ebx*2]
sar eax, 2
mov dword [esp + 0x18], edx
mov byte [esp + 0x33], al
mov dword [esp + 0x24], eax
fild dword [esp + 0x18]
movsx eax, di
fstp dword [esp + 0x20]
mov byte [esp + 0x30], 0
mov byte [esp + 0x31], 0
mov byte [esp + 0x32], 0
mov ecx, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [0x74106c]
mov edx, dword [ecx + 0xe94]
mov ecx, dword [0x6f225c]
mov dword [esp + 0x18], eax
push 0xffffffffffffffff
push edx
fild dword [esp + 0x20]
push 0x3f800000
sub esp, 8
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fadd dword [0x68b50c]
fstp dword [esp + 4]
fld dword [esp + 0x30]
fadd dword [0x68b50c]
fstp dword [esp]
push esi
call fcn.0060bf50
mov eax, dword [0x6c78a8]
mov byte [esp + 0x34], al
mov al, byte [0x6c78aa]
mov byte [esp + 0x35], ah
mov byte [esp + 0x36], al
mov byte [esp + 0x37], bl
mov ecx, dword [esp + 0x34]
mov dword [esi + 4], ecx
mov edx, dword [0x74106c]
mov eax, dword [edx + 0xe94]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
push eax
push 0x3f800000
push ecx
mov ecx, dword [0x6f225c]
push edx
push esi
call fcn.0060bf50
mov edi, dword [0x6bef00]
mov eax, dword [0x6beef8]
push edi
push eax
call fcn.004d1260
mov word [esp + 0x50], ax
mov ecx, dword [0x6beefc]
push edi
push ecx
call fcn.004d12e0
movsx edx, word [esp + 0x58]
mov ecx, dword [0x6f2260]
mov dword [esp + 0x28], edx
mov di, ax
mov eax, dword [esp + 0x50]
fild dword [esp + 0x28]
add esp, 0x10
push eax
fstp dword [esp + 0x20]
call fcn.0060b660
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esp + 0x38]
fmul dword [0x68b504]
fsubr dword [esp + 0x1c]
call fcn.00602090
fld dword [0x6c6928]
fmul dword [esp + 0x38]
mov ecx, dword [0x6f2260]
mov byte [esp + 0x28], 0
mov byte [esp + 0x29], 0
fstp dword [esp + 0x18]
mov byte [esp + 0x2a], 0
fld dword [0x6c692c]
movss xmm0, dword [esp + 0x18]
fmul dword [esp + 0x38]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [0x68b4fc]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [0x68b4fc]
fstp dword [esp + 0x18]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmmword [esp + 0x50]
movaps xmmword [ecx + 0x20], xmm0
or byte [ecx + 0x32], 1
mov cl, byte [esp + 0x24]
mov byte [esp + 0x2b], cl
mov edx, dword [esp + 0x28]
movsx ecx, di
mov dword [esp + 0x24], ecx
mov dword [esi + 4], edx
mov ecx, dword [0x6f2260]
fild dword [esp + 0x24]
movsx edx, ax
fstp dword [esp + 0x1c]
mov dword [esp + 0x24], edx
push 0xffffffffffffffff
lea eax, [esp + 0x8c]
fild dword [esp + 0x28]
push eax
push 0x3f800000
sub esp, 8
fstp dword [esp + 0x34]
fld dword [esp + 0x30]
fadd dword [0x68b50c]
fstp dword [esp + 4]
fld dword [esp + 0x34]
fadd dword [0x68b50c]
fstp dword [esp]
push esi
call fcn.0060bf50
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x34], 0x80
mov byte [esp + 0x35], 0x80
mov byte [esp + 0x36], 0x80
mov byte [esp + 0x37], bl
mov ecx, dword [esp + 0x34]
push 0x3f800000
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [0x6f2260]
push esi
call fcn.0060bf50
movss xmm0, dword [0x68b500]
movss xmm1, dword [0x68b4fc]
mov eax, dword [0x6f2260]
mov ecx, dword [esp + 0x40]
movss dword [esp + 0x60], xmm1
movss xmm1, dword [0x68b4fc]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [0x68b4fc]
movss dword [esp + 0x64], xmm1
movss xmm1, dword [0x68b4fc]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [0x68b4fc]
movss dword [esp + 0x68], xmm1
movss xmm1, dword [0x68b500]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [0x68b4fc]
movss dword [esp + 0x6c], xmm1
movaps xmm1, xmmword [esp + 0x60]
movss dword [esp + 0x7c], xmm0
movaps xmm0, xmmword [esp + 0x70]
addss xmm1, xmm0
movaps xmmword [eax + 0x20], xmm1
or byte [eax + 0x32], 1
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
add ecx, 0x114
sub edx, 0x114
dec eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], eax
jne 0x4e0600
push esi
call fcn.004db970
mov ecx, dword [esp + 0x290]
add esp, 4
call fcn.00671b23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4