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

Disassembly:
sub esp, 0xe8
xor eax, eax
push ebx
mov ebx, dword [esp + 0xf0]
mov ax, word [ebx + 0xa]
push ebp
xor ebp, ebp
mov bp, word [ebx + 8]
xor ecx, ecx
mov cx, word [ebx + 0x14]
lea ebp, [eax + ebp + 1]
xor eax, eax
cmp word [edi + 0x20], 1
mov ax, word [ebx + 0x16]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], eax
lea eax, [ecx + eax + 1]
mov dword [esp + 0x28], eax
jne 0x4d9673
movsx eax, ax
movsx ecx, bp
imul ecx, eax
mov dword [esp + 0x2c], eax
movsx eax, word [edi + 0x22]
cmp eax, ecx
jl 0x4d9673
test byte [edi + 0x3a], 1
je 0x4d907f
mov al, byte [0x624a98]
test al, al
jne 0x4d9078
mov eax, dword [edi + 0x88]
test eax, eax
jne 0x4d907f
mov byte [esp + 0xb], 1
jmp 0x4d9084
mov byte [esp + 0xb], 0
fld dword [esp + 0xf8]
fcomp dword [0x612220]
fnstsw ax
test ah, 5
jp 0x4d909c
fld dword [ebx]
jmp 0x4d909f
fld dword [ebx + 4]
fld dword [0x612220]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x4d90ba
mov dword [esp + 0x10], 0
jmp 0x4d90c7
fld dword [esp + 0xf8]
fdiv st(1)
fstp dword [esp + 0x10]
fstp st(0)
push esi
fld dword [esp + 0x14]
call fcn.005de054
fld dword [esp + 0x14]
fld qword [0x612258]
mov esi, eax
call fcn.005ce01a
fst dword [esp + 0x10]
fcomp dword [0x612220]
fnstsw ax
test ah, 5
jp 0x4d9104
fld dword [esp + 0x10]
dec esi
fadd dword [0x612224]
fstp dword [esp + 0x10]
xor eax, eax
mov ax, word [ebx + 0xa]
cmp si, ax
jl 0x4d911a
lea esi, [eax - 1]
mov dword [esp + 0x10], 0x3f800000
xor eax, eax
mov ax, word [ebx + 8]
movsx ecx, ax
movsx edx, si
neg ecx
cmp edx, ecx
jge 0x4d9138
mov esi, eax
neg esi
mov dword [esp + 0x10], 0
fld dword [esp + 0x100]
add esi, eax
fcomp dword [0x612220]
fnstsw ax
test ah, 5
jp 0x4d9153
fld dword [ebx + 0xc]
jmp 0x4d9156
fld dword [ebx + 0x10]
fld dword [0x612220]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x4d9171
mov dword [esp + 0x14], 0
jmp 0x4d917e
fld dword [esp + 0x100]
fdiv st(1)
fstp dword [esp + 0x14]
fstp st(0)
fld dword [esp + 0x14]
call fcn.005de054
fld dword [esp + 0x14]
fld qword [0x612258]
mov ebx, eax
call fcn.005ce01a
fst dword [esp + 0x18]
fcomp dword [0x612220]
fnstsw ax
test ah, 5
jp 0x4d91ba
fld dword [esp + 0x18]
dec ebx
fadd dword [0x612224]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x38]
cmp bx, ax
jl 0x4d91ce
lea ebx, [eax - 1]
mov dword [esp + 0x18], 0x3f800000
mov eax, dword [esp + 0x44]
movsx ecx, ax
movsx edx, bx
neg ecx
cmp edx, ecx
jge 0x4d91ea
mov ebx, eax
neg ebx
mov dword [esp + 0x18], 0
add ebx, eax
test bx, bx
jl 0x4d9672
cmp bx, word [esp + 0x2c]
jge 0x4d9672
test si, si
jl 0x4d9672
cmp si, bp
jge 0x4d9672
movsx eax, si
movsx ecx, bp
lea edx, [eax + 1]
cmp edx, ecx
jne 0x4d9221
mov edx, eax
mov ecx, dword [esp + 0x30]
movsx eax, bx
inc eax
cmp eax, ecx
jne 0x4d9230
movsx eax, bx
mov dword [esp + 0x28], eax
mov eax, ebx
imul eax, ebp
lea ecx, [eax + esi]
lea ebx, [eax + edx]
mov eax, dword [esp + 0x28]
imul eax, ebp
mov dword [esp + 0x30], ecx
add esi, eax
lea ebp, [eax + edx]
push ecx
mov ecx, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x3c], ebp
call fcn.004d7c10
push ebx
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.004d7c10
push esi
mov ecx, edi
mov dword [esp + 0x4c], eax
call fcn.004d7c10
push ebp
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.004d7c10
xor esi, esi
xor ebx, ebx
add esp, 0x10
xor ebp, ebp
cmp word [edi + 0x2c], bx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
jle 0x4d9672
mov ecx, dword [esp + 0x104]
movsx eax, bx
shl eax, 5
add eax, ecx
test bl, 0x1f
mov dword [esp + 0x48], eax
jne 0x4d92d4
mov ax, bx
sar ax, 5
movsx eax, ax
mov ecx, dword [edi + eax*4 + 0x5c]
mov edx, dword [edi + eax*4 + 0x6c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x50], edx
test byte [esp + 0x50], 1
je 0x4d9467
mov al, byte [esp + 0xf]
test al, al
lea eax, [esp + 0x84]
je 0x4d9386
movsx ecx, word [esp + 0x30]
push eax
mov dword [esp + 0x20], ecx
push ebx
push esi
fild dword [esp + 0x28]
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.004d9f60
movsx eax, word [esp + 0x3c]
add esp, 0x10
lea edx, [esp + 0xd4]
push edx
push ebx
mov dword [esp + 0x24], eax
push esi
push ecx
fild dword [esp + 0x2c]
mov ecx, edi
fstp dword [esp]
call fcn.004d9f60
movsx edx, word [esp + 0x54]
add esp, 0x10
lea ecx, [esp + 0x94]
push ecx
push ebx
mov dword [esp + 0x24], edx
push esi
push ecx
fild dword [esp + 0x2c]
mov ecx, edi
fstp dword [esp]
call fcn.004d9f60
movsx ecx, word [esp + 0x48]
add esp, 0x10
lea eax, [esp + 0xb4]
push eax
mov dword [esp + 0x20], ecx
push ebx
push esi
fild dword [esp + 0x28]
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.004d9f60
add esp, 0x10
inc esi
mov dword [esp + 0x1c], esi
jmp 0x4d93e3
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.004d9730
add esi, 8
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x40]
lea eax, [esp + 0xd4]
mov ecx, esi
call fcn.004d9730
add esi, 8
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x94]
mov ecx, esi
call fcn.004d9730
add esi, 8
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xb4]
mov ecx, esi
call fcn.004d9730
add esi, 8
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x10]
push edx
lea esi, [esp + 0xc8]
lea ecx, [esp + 0xd8]
lea edx, [esp + 0x88]
call fcn.004d10c0
mov ecx, esi
call fcn.004d0f20
mov eax, dword [esp + 0x14]
push eax
lea esi, [esp + 0xac]
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x9c]
call fcn.004d10c0
mov ecx, esi
call fcn.004d0f20
mov ecx, dword [esp + 0x20]
push ecx
lea esi, [esp + 0xf0]
lea ecx, [esp + 0xb0]
lea edx, [esp + 0xd0]
call fcn.004d10c0
add esp, 0xc
mov ecx, esi
call fcn.004d0f20
mov eax, dword [esp + 0x48]
mov edx, eax
call fcn.004d0ff0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
mov al, byte [esp + 0x28]
shr ecx, 1
test al, 1
mov dword [esp + 0x50], ecx
je 0x4d965d
fld dword [0x612224]
mov al, byte [esp + 0xf]
test al, al
fsub dword [esp + 0x10]
fstp dword [esp + 0x24]
fld dword [0x612224]
fsub dword [esp + 0x18]
fstp dword [esp + 0x4c]
je 0x4d9533
movsx eax, word [esp + 0x30]
lea edx, [esp + 0x54]
push edx
push ebx
mov dword [esp + 0x28], eax
push ebp
push ecx
fild dword [esp + 0x30]
mov ecx, edi
fstp dword [esp]
call fcn.004da0f0
movsx edx, word [esp + 0x3c]
add esp, 0x10
lea ecx, [esp + 0x6c]
push ecx
push ebx
mov dword [esp + 0x28], edx
push ebp
push ecx
fild dword [esp + 0x30]
mov ecx, edi
fstp dword [esp]
call fcn.004da0f0
movsx ecx, word [esp + 0x54]
add esp, 0x10
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x24], ecx
push ebx
push ebp
fild dword [esp + 0x2c]
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.004da0f0
movsx eax, word [esp + 0x48]
add esp, 0x10
lea edx, [esp + 0x78]
push edx
push ebx
mov dword [esp + 0x28], eax
push ebp
push ecx
fild dword [esp + 0x30]
mov ecx, edi
fstp dword [esp]
call fcn.004da0f0
add esp, 0x10
inc ebp
jmp 0x4d95ba
mov eax, dword [esp + 0x3c]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x54], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
add eax, 0xc
mov dword [esp + 0x58], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], ecx
mov edx, eax
mov ecx, dword [edx]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
add eax, 0xc
mov dword [esp + 0x70], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x74], edx
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x60], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
add eax, 0xc
mov dword [esp + 0x64], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov edx, eax
mov dword [esp + 0x68], ecx
mov ecx, dword [edx]
mov dword [esp + 0x78], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
add eax, 0xc
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x14], eax
fld dword [esp + 0x60]
mov eax, dword [esp + 0x48]
fmul dword [esp + 0x24]
fld dword [esp + 0x78]
fmul dword [esp + 0x10]
faddp st(1)
fmul dword [esp + 0x18]
fld dword [esp + 0x54]
fmul dword [esp + 0x24]
fld dword [esp + 0x6c]
fmul dword [esp + 0x10]
faddp st(1)
fmul dword [esp + 0x4c]
faddp st(1)
fadd dword [eax + 0x10]
fstp dword [eax + 0x10]
fld dword [esp + 0x64]
fmul dword [esp + 0x24]
fld dword [esp + 0x7c]
fmul dword [esp + 0x10]
faddp st(1)
fmul dword [esp + 0x18]
fld dword [esp + 0x58]
fmul dword [esp + 0x24]
fld dword [esp + 0x70]
fmul dword [esp + 0x10]
faddp st(1)
fmul dword [esp + 0x4c]
faddp st(1)
fadd dword [eax + 0x14]
fstp dword [eax + 0x14]
fld dword [esp + 0x5c]
fmul dword [esp + 0x24]
fld dword [esp + 0x74]
fmul dword [esp + 0x10]
faddp st(1)
fmul dword [esp + 0x4c]
fld dword [esp + 0x68]
fmul dword [esp + 0x24]
fld dword [esp + 0x80]
fmul dword [esp + 0x10]
faddp st(1)
fmul dword [esp + 0x18]
faddp st(1)
fadd dword [eax + 0x18]
fstp dword [eax + 0x18]
mov edx, dword [esp + 0x28]
shr edx, 1
inc ebx
cmp bx, word [edi + 0x2c]
mov dword [esp + 0x28], edx
jl 0x4d92a2
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret