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

Disassembly:
push ebp
push dword [ebp - 4]
mov ebp, esp
add ebp, 4
sub esp, 0x298
push ebx
push esi
push edi
mov ebx, dword [0x5b9690]
mov edx, dword [ebx + 0x5c]
cmp edx, 2
jge 0x4d1d30
cmp dword [ebx + 0x60], 2
jge 0x4d1d30
push 0
call fcn.004cd02c
push 0x12
push 0x5b9fe6
call fcn.004cccc3
push 2
push 0x39b
call fcn.004cdf3a
jmp 0x4d24e6
cmp byte [ebx + 0xb7c1], 0
je 0x4d2175
mov dword [ebp - 0x24], edx
mov esi, 1
mov dword [ebp - 0x48], 0x194
jmp 0x4d1db5
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x28], eax
mov edi, 1
mov dword [ebp - 0x4c], 4
jmp 0x4d1da6
push esi
push edi
call fcn.004d1be6
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x48]
fimul dword [ebx + eax + reloc.gdi32.dll_AbortDoc]
fadd qword [ebx + 0x38]
fstp qword [ebx + 0x38]
push esi
push edi
call fcn.004d1be6
mov eax, dword [ebp - 0x48]
fild dword [ebx + eax + 0x3ac]
mov eax, dword [ebp - 0x4c]
fimul dword [ebx + eax + reloc.gdi32.dll_AbortDoc]
fmulp st(1)
fadd qword [ebx + 0x40]
fstp qword [ebx + 0x40]
add dword [ebp - 0x4c], 4
inc edi
jo 0x4d1dab
cmp edi, dword [ebp - 0x28]
jle 0x4d1d62
add dword [ebp - 0x48], reloc.gdi32.dll_AbortDoc
inc esi
jo 0x4d1dba
cmp esi, dword [ebp - 0x24]
jle 0x4d1d4e
fld qword [ebx + 0x38]
fdiv qword [ebx + 0x20]
fstp qword [ebx + 0x38]
fld qword [ebx + 0x40]
fdiv qword [ebx + 0x20]
fdiv qword [ebx + 0x20]
fstp qword [ebx + 0x40]
fld qword [0x5ba090]
fcomp qword [ebx + 0x40]
wait
fnstsw ax
test ah, 0x40
jne 0x4d24f7
fld qword [ebx + 0x38]
fsub qword [ebx + 0x40]
fld dword [0x5b9f64]
fsub qword [ebx + 0x40]
fdivp st(1)
fstp qword [ebx + 0x48]
fld dword [0x5b9f64]
fsub qword [ebx + 0x40]
fstp qword [ebx + 0x18]
fld qword [ebx + 0x20]
fmul qword [ebx + 0x18]
fmul qword [ebx + 0x18]
fstp qword [ebx + 0x18]
push 2
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
push 3
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.00416c9f
push 0
call fcn.004cd02c
push 0x1f
push 0x5ba010
call fcn.004cccc3
push 0
push 0x29f
call fcn.004cdf3a
push 0xc
push 0x5ba098
call fcn.004cccc3
push 0x13
push 0x5b9f92
call fcn.004cccc3
push 1
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.004cdd44
push 0xa
push 0x5b9f4c
call fcn.004cccc3
xor edi, edi
mov ecx, dword [ebp - 4]
mov dword [ecx - reloc.gdi32.dll_AbortDoc], edi
mov dword [ecx - reloc.gdi32.dll_AbortDoc], edi
mov dword [ecx - reloc.gdi32.dll_AbortDoc], edi
mov dword [ecx - reloc.gdi32.dll_AbortDoc], edi
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x2c], eax
mov esi, 1
mov dword [ebp - 0x50], 0x194
jmp 0x4d1f99
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x30], eax
mov edi, 1
mov dword [ebp - 0x54], 4
jmp 0x4d1f86
push esi
push edi
call fcn.004d1be6
push esi
push edi
call fcn.004d1c37
push esi
push edi
call fcn.004d1c8d
faddp st(1)
fsubp st(1)
fabs
sub esp, 8
fstp qword [esp]
push 0x40000000
push 0
call fcn.0042c667
mov eax, dword [ebp - 0x50]
fild dword [ebx + eax + 0x3ac]
fdiv qword [ebx + 0x20]
mov eax, dword [ebp - 0x54]
fild dword [ebx + eax + 0x3ac]
fdiv qword [ebx + 0x20]
fmulp st(1)
fmulp st(1)
mov ecx, dword [ebp - 4]
fadd qword [ecx - 0x228]
fstp qword [ecx - 0x228]
push esi
push edi
call fcn.004d1be6
push esi
push edi
call fcn.004d1c37
push esi
push edi
call fcn.004d1c8d
faddp st(1)
fld dword [0x5b9f64]
fsub qword [ebx + 0x48]
fmulp st(1)
fsubp st(1)
fabs
sub esp, 8
fstp qword [esp]
push 0x40000000
push 0
call fcn.0042c667
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x50]
fild dword [ebx + eax + 0x3ac]
fdiv qword [ebx + 0x20]
fmulp st(1)
mov ecx, dword [ebp - 4]
fadd qword [ecx - 0x230]
fstp qword [ecx - 0x230]
add dword [ebp - 0x54], 4
inc edi
jo 0x4d1f8f
cmp edi, dword [ebp - 0x30]
jle 0x4d1ecc
add dword [ebp - 0x50], reloc.gdi32.dll_AbortDoc
inc esi
jo 0x4d1fa2
cmp esi, dword [ebp - 0x2c]
jle 0x4d1eb5
mov eax, dword [ebp - 4]
fld qword [eax - 0x228]
fld qword [ebx + 0x40]
fmul qword [ebx + 0x40]
fsubp st(1)
fstp qword [eax - 0x228]
mov esi, eax
fld qword [eax - 0x230]
fld qword [ebx + 0x48]
fld qword [ebx + 0x40]
fld dword [0x5b9f64]
fsub qword [ebx + 0x48]
fmulp st(1)
fsubp st(1)
sub esp, 8
fstp qword [esp]
push 0x40000000
push 0
call fcn.0042c667
fsubp st(1)
fstp qword [esi - 0x230]
push dword [esi - 0x224]
push dword [esi - 0x228]
call fcn.0042c7b4
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.0042c7b4
fld dword [0x5b9f64]
fsub qword [ebx + 0x40]
fmulp st(1)
fdivp st(1)
fstp qword [esi - 0x228]
push dword [esi - 0x22c]
push dword [esi - 0x230]
call fcn.0042c7b4
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.0042c7b4
fld dword [0x5b9f64]
fsub qword [ebx + 0x40]
fmulp st(1)
fdivp st(1)
fstp qword [esi - 0x230]
push 2
push dword [esi - 0x22c]
push dword [esi - 0x230]
push 3
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.00416c9f
push 0x15
push 0x5b9fba
call fcn.004cccc3
push 0
push 0x20f
call fcn.004cdf3a
push 0x13
push 0x5b9f92
call fcn.004cccc3
push 1
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.004cdd44
push 0xa
push 0x5b9f4c
call fcn.004cccc3
push 0x15
push 0x5b9fba
call fcn.004cccc3
push 0
push 0x21c
call fcn.004cdf3a
push 0x13
push 0x5b9f92
call fcn.004cccc3
fld qword [esi - 0x230]
fmul qword [0x5ba0b8]
fstp qword [ebp - 0x74]
push 0
push 0xbff00000
push 0
fld qword [ebx + 0x48]
fsub qword [ebp - 0x74]
sub esp, 8
fstp qword [esp]
call fcn.0044693b
sub esp, 8
fstp qword [esp]
push 0x3ff00000
push 0
fld qword [ebx + 0x48]
fadd qword [ebp - 0x74]
sub esp, 8
fstp qword [esp]
call fcn.0044695a
sub esp, 8
fstp qword [esp]
push 3
call fcn.004ce96a
push 0xa
push 0x5b9f4c
call fcn.004cccc3
call fcn.004cd044
push 0x38
push 0x5ba0c0
call fcn.004cccc3
mov ecx, dword [0x5b9690]
cmp dword [ecx + 0x78], 1
push 0
jne 0x4d215a
push 0x2b8
jmp 0x4d215f
push 0x2b7
call fcn.004cdf3a
push 4
push 0x5b9e1e
call fcn.004cccc3
jmp 0x4d24f7
xor edi, edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x44], edi
mov edi, 0x194
mov edx, 4
mov esi, 1
mov ecx, dword [ebx + 0x5c]
jmp 0x4d21ca
lea eax, [edi + edx]
fild dword [ebx + eax + 0x3ac]
fadd qword [ebx + 0x38]
fstp qword [ebx + 0x38]
fild dword [ebx + edi + 0x3ac]
fimul dword [ebx + edx + reloc.gdi32.dll_AbortDoc]
fdiv qword [ebx + 0x20]
fadd qword [ebx + 0x40]
fstp qword [ebx + 0x40]
add edx, 4
add edi, 0x194
inc esi
jo 0x4d21ce
cmp esi, ecx
jle 0x4d2197
fld qword [ebx + 0x38]
fdiv qword [ebx + 0x20]
fstp qword [ebx + 0x38]
fld qword [ebx + 0x40]
fdiv qword [ebx + 0x20]
fstp qword [ebx + 0x40]
fld qword [0x5ba090]
fcomp qword [ebx + 0x40]
wait
fnstsw ax
test ah, 0x40
jne 0x4d24f7
fld qword [ebx + 0x38]
fsub qword [ebx + 0x40]
fld dword [0x5b9f64]
fsub qword [ebx + 0x40]
fdivp st(1)
fstp qword [ebx + 0x48]
push 0x13ec8
lea eax, [ebp - 8]
push eax
call sub.mclib32.dll__ALLOCATE_8
xor esi, esi
mov edi, esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov edx, esi
mov dword [ecx + 4], 0x3ff00000
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x58], edx
jmp 0x4d2281
xor ecx, ecx
mov esi, ecx
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], ecx
jmp 0x4d226c
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x58]
fild dword [ebx + eax + 0x3ac]
fdiv qword [ebx + 0x20]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x5c]
add eax, edi
fstp qword [ecx + eax]
add dword [ebp - 0x5c], 8
add dword [ebp - 0x60], 4
inc esi
jo 0x4d2271
cmp esi, dword [ebp - 0x38]
jle 0x4d2246
add edi, 0x328
add dword [ebp - 0x58], 0x194
inc edx
jo 0x4d2286
cmp edx, dword [ebp - 0x34]
jle 0x4d2234
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x3c], eax
mov edi, 8
mov esi, 0x328
mov edx, 1
jmp 0x4d22e2
fld dword [0x5b9f64]
mov ecx, dword [ebp - 8]
fld qword [ecx + esi]
fadd qword [ecx + edi]
fld dword [0x5b9f64]
fsub qword [ebx + 0x48]
fmulp st(1)
fsubp st(1)
fstp qword [ebx + 0x18]
lea eax, [esi + edi]
fld qword [ecx + eax]
fmul qword [ebx + 0x18]
fmul qword [ebx + 0x18]
fadd qword [ebp - 0x10]
fstp qword [ebp - 0x10]
add esi, 0x328
add edi, 8
inc edx
jo 0x4d22e7
cmp edx, dword [ebp - 0x3c]
jle 0x4d22a5
xor edi, edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x40], eax
mov edi, 0x328
mov edx, 1
mov dword [ebp - 0x64], 8
jmp 0x4d236d
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x44], eax
mov esi, 1
mov dword [ebp - 0x68], 8
mov dword [ebp - 0x6c], 0x328
jmp 0x4d235b
cmp edx, esi
je 0x4d234d
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x6c]
fld qword [ecx + eax]
mov eax, dword [ebp - 0x64]
fadd qword [ecx + eax]
fstp qword [ebp - 0x7c]
mov eax, dword [ebp - 0x68]
add eax, edi
fld qword [ecx + eax]
fmul qword [ebp - 0x7c]
fmul qword [ebp - 0x7c]
fadd qword [ebx + 0x18]
fstp qword [ebx + 0x18]
add dword [ebp - 0x68], 8
add dword [ebp - 0x6c], 0x328
inc esi
jo 0x4d2360
cmp esi, dword [ebp - 0x44]
jle 0x4d2323
add edi, 0x328
add dword [ebp - 0x64], 8
inc edx
jo 0x4d2372
cmp edx, dword [ebp - 0x40]
jle 0x4d2308
push 0x13ec8
lea eax, [ebp - 8]
push eax
call sub.mclib32.dll__DEALLOCATE_8
fld dword [0x5b9f64]
fsub qword [ebx + 0x48]
fst qword [ebp - 0x84]
fmul qword [ebp - 0x84]
fmul qword [ebx + 0x18]
fstp qword [ebp - 0x18]
fld qword [ebx + 0x48]
fld qword [ebx + 0x40]
fmul qword [ebp - 0x84]
fsubp st(1)
fst qword [ebp - 0x20]
fmul qword [ebp - 0x20]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x10]
fadd qword [ebp - 0x18]
fsub qword [ebp - 0x20]
sub esp, 8
fstp qword [esp]
call fcn.0042c7b4
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.0042c7b4
fld dword [0x5b9f64]
fsub qword [ebx + 0x40]
fmulp st(1)
fdivp st(1)
fstp qword [ebx + 0x18]
fld qword [ebx + 0x18]
fstp qword [ebx + 0x50]
push 0
call fcn.004cd02c
push 0x1f
push 0x5ba010
call fcn.004cccc3
push 0
push 0x20e
call fcn.004cdf3a
push 0x13
push 0x5b9f92
call fcn.004cccc3
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
push 3
call fcn.004ce751
push 0xa
push 0x5b9f4c
call fcn.004cccc3
push 0x15
push 0x5b9fba
call fcn.004cccc3
push 0
push 0x20f
call fcn.004cdf3a
push 0x13
push 0x5b9f92
call fcn.004cccc3
push dword [ebx + 0x54]
push dword [ebx + 0x50]
push 3
call fcn.004ce751
push 0xa
push 0x5b9f4c
call fcn.004cccc3
push 0x15
push 0x5b9fba
call fcn.004cccc3
push 0
push 0x21c
call fcn.004cdf3a
push 0x13
push 0x5b9f92
call fcn.004cccc3
fld qword [ebx + 0x50]
fmul qword [0x5ba0b8]
fstp qword [ebp - 0x8c]
push 0
push 0xbff00000
push 0
fld qword [ebx + 0x48]
fsub qword [ebp - 0x8c]
sub esp, 8
fstp qword [esp]
call fcn.0044693b
sub esp, 8
fstp qword [esp]
push 0x3ff00000
push 0
fld qword [ebx + 0x48]
fadd qword [ebp - 0x8c]
sub esp, 8
fstp qword [esp]
call fcn.0044695a
sub esp, 8
fstp qword [esp]
push 3
call fcn.004ce96a
push 0xa
push 0x5b9f4c
call fcn.004cccc3
call fcn.004cd044
pop edi
pop esi
pop ebx
leave
ret